Error in ./~/jspdf/dist/jspdf.es.min.js

Module parse failed: node_modules\jspdf\dist\jspdf.es.min.js Unexpected token (207:77)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (207:77)

Please provide more contextual information: which jsPDF version, which build tool (+version), which plugins (+versions).

Please provide more contextual information: which jsPDF version, which build tool (+version), which plugins (+versions).

Hello,
Having the same problem here.
jsPDF 2.3.0 (installed through npm)
Angular 7
ERROR in ./node_modules/jspdf/dist/jspdf.es.min.js 207:77
Module parse failed: Unexpected token (207:77)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)

I assume Angular 7 does not support import(...) expressions. Maybe upgrade Angular?

I assume Angular 7 does not support import(...) expressions. Maybe upgrade Angular?
Not possible unfortunately. The project is a bit complex and upgrading it will set me off the project roadmap.

jsPDF 1.5.3 seems to be working though. Unfortunatly I needed to use the addSvgAsImage function, which did not exist in 1.x.
I will use a workarround with canvg.

What you also might try is to replace the .es.min.js file with the .umd.min.js file during the build.

I'm having this same problem on React

I was stuck on this issue for about a week until we just resolved it yesterday. If you're curious, we edited the angular.json file to include a fileReplacement to swap the .es.min.js with the .umd.min.js file in order to get the build to work properly. (Shoutout to @HackbrettXXX for this suggestion)
"fileReplacements": [{
                "replace": "src/environments/environment.ts",
                "with": "src/environments/environment.test.ts"
              },{
                **"replace": "./node_modules/jspdf/dist/jspdf.es.min.js",
                "with": "./node_modules/jspdf/dist/jspdf.umd.min.js"**
              }]
            },

For reference, the other options we had were:

Upgrade Angular version - includes a lot of work
Downgrade to an older version of jsPDF - not ideal
Use the umd version of jsPDF - quick fix to get our app to build

Hope this helps anyone else that comes across this issue.

this solution might work in build, but when I am locally running the code, it's throwing the below error:
ERROR in ./node_modules/jspdf/dist/jspdf.es.min.js 207:77
Module parse failed: Unexpected token (207:77)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
Please help here.

I am also getting the same error:
ERROR in ./node_modules/jspdf/dist/jspdf.es.min.js 207:77
Module parse failed: Unexpected token (207:77)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
I tried @linsera1809 and @HackbrettXXX solutions but it doesn't seem to make a difference.
This is my build:
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/iicm-angular-client",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css",
"src/assets/font-awesome-4.7.0/css/font-awesome.min.css",
"node_modules/ol/ol.css"
],
"scripts": [
"./node_modules/jspdf/dist/jspdf.node.min.js",
"./node_modules/jspdf/dist/jspdf.es.min.js",
"./node_modules/html2canvas/dist/html2canvas.min.js",
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/popper.js/dist/umd/popper.min.js",
"./node_modules/bootstrap/dist/js/bootstrap.min.js"
],
"es5BrowserSupport": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
},
{
"replace": "./node_modules/jspdf/dist/jspdf.es.min.js",
"with": "./node_modules/jspdf/dist/jspdf.umd.min.js"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}]
}
}
}

Having the same problem here.
jsPDF 2.3.1 (installed through npm)
React 16
./node_modules/jspdf/dist/jspdf.es.min.js 207:77
Module parse failed: Unexpected token (207:77)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)

Hello,
I am using jsPDF v2.3.0, SystemJS loader (as we have a core application that is then injected with a standalone 'library' of an application) and finally, this is for an Angular 10 project
I am facing a slightly different version of the issue but I am guessing the root cause is the same as is being experienced by some people's mentions above.
Attached is are the relevant code additions:
angular.json's script section for the core application
"scripts": [
  "node_modules/systemjs/dist/system.js",
  "node_modules/jspdf/dist/jspdf.umd.min.js",
  "node_modules/html2canvas/dist/html2canvas.min.js"
]

loader.deps.ts - SystemJS loader configured in the core application
import * as jsPDF from 'jspdf';
import * as html2canvas from 'html2canvas';

declare const SystemJS: any;

SystemJS.set('jspdf', SystemJS.newModule(jsPDF));
SystemJS.set('html2canvas', SystemJS.newModule(html2canvas));

export default SystemJS;

usage of jsPDF in the 'library' application's component.ts
import { Component, ElementRef, Input, OnInit } from '@angular/core';

// Using this form of 'import' as jspdf should already be imported via the SystemJS loader.
// Additionally, if the approach was wrong, then html2canvas import would've failed too
declare const html2canvas: any;
declare const jsPDF: any;

(window as any).html2canvas = html2canvas;

@Component({
  selector: 'pdf-download',
  templateUrl: './pdf-download.component.html',
  styleUrls: ['./pdf-download.component.scss']
})
export class PdfDownloadComponent implements OnInit {

  @Input() contentToPrint: any;

  constructor() {}

  ngOnInit(): void {
  }

  download(): void {
    console.warn('This is the contentToPrint', this.contentToPrint);
    const DATA = this.contentToPrint;
    html2canvas(DATA).then(canvas => {
      let fileWidth = 200;
      let fileHeight = canvas.height * fileWidth / canvas.width;

      const FILEURI = canvas.toDataURL('image/png')
      let PDF = new jsPDF('p', 'mm', 'a4');   // <-- THIS right here is where it fails
      let position = 0;
      PDF.addImage(FILEURI, 'PNG', 5, 5, fileWidth, fileHeight)
      PDF.save('message-history.pdf');
    });
  }

}

The error that I get is as follow:
ERROR Error: Uncaught (in promise): ReferenceError: jsPDF is not defined
ReferenceError: jsPDF is not defined
I feel that it might have something to do with the way I am adding the .../jspdf.umd.min.js script in angular.json. Or is there another way to do this?
Thank you

Hello,
I am using jsPDF v2.3.0, SystemJS loader (as we have a core application that is then injected with a standalone 'library' of an application) and finally, this is for an Angular 10 project
The error that I get is as follows:
ERROR Error: Uncaught (in promise): ReferenceError: jsPDF is not defined ReferenceError: jsPDF is not defined
I am facing a slightly different version of the issue but I am guessing the root cause is the same as is being experienced by some people's mentions above.
Attached are the relevant code excerpts:
angular.json's script section for the core application
"scripts": [
  "node_modules/systemjs/dist/system.js",
  "node_modules/jspdf/dist/jspdf.umd.min.js",
  "node_modules/html2canvas/dist/html2canvas.min.js"
]

loader.deps.ts - SystemJS loader configured in the core application
import * as jsPDF from 'jspdf';
import * as html2canvas from 'html2canvas';

declare const SystemJS: any;

SystemJS.set('jspdf', SystemJS.newModule(jsPDF));
SystemJS.set('html2canvas', SystemJS.newModule(html2canvas));

export default SystemJS;

usage of jsPDF in the 'library' application's component.ts
import { Component, ElementRef, Input, OnInit } from '@angular/core';

// Using this form of 'import' as jspdf should already be imported via the SystemJS loader.
// Additionally, if the approach was wrong, then html2canvas import would've failed too
declare const html2canvas: any;
declare const jsPDF: any;

(window as any).html2canvas = html2canvas;

@Component({
  selector: 'pdf-download',
  templateUrl: './pdf-download.component.html',
  styleUrls: ['./pdf-download.component.scss']
})
export class PdfDownloadComponent implements OnInit {

  @Input() contentToPrint: any;

  constructor() {}

  ngOnInit(): void {
  }

  download(): void {
    console.warn('This is the contentToPrint', this.contentToPrint);
    const DATA = this.contentToPrint;
    html2canvas(DATA).then(canvas => {
      let fileWidth = 200;
      let fileHeight = canvas.height * fileWidth / canvas.width;

      const FILEURI = canvas.toDataURL('image/png')
      let PDF = new jsPDF('p', 'mm', 'a4');   // <-- THIS right here is where it fails
      let position = 0;
      PDF.addImage(FILEURI, 'PNG', 5, 5, fileWidth, fileHeight)
      PDF.save('message-history.pdf');
    });
  }

}

I feel that it might have something to do with the way I am adding the .../jspdf.umd.min.js script in angular.json. Or is there another way to do this?
Thank you

Ooops, I am just now seeing this issue right here where it mentions to add
window.jsPDF = window.jspdf.jsPDF
and that seems to make me move forward, but not completely!
Nonetheless, this should not be an issue for me anymore.
Thank you for your time!

Closing this because it's not really a bug in jsPDF. You can still use it for discussion.

Hello.
it Seems your suggestions were targeted for angular developers. Unfortunately, i faced the same issue on my vue.js application. How do i configure it to work on my application.

Opening this for discussion as the recommended suggestions have not fixed the issue.
I still get the error:
ERROR in ./node_modules/jspdf/dist/jspdf.es.min.js 207:77
Module parse failed: Unexpected token (207:77)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
I have done the replacements:
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
},{
"replace": "./node_modules/jspdf/dist/jspdf.es.min.js",
"with": "./node_modules/jspdf/dist/jspdf.umd.min.js"
}
Not sure if this script is correct:
"scripts": [
"node_modules/tinymce/tinymce.min.js",
"node_modules/jspdf/dist/jspdf.umd.min.js",
"node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.min.js",
"node_modules/html2pdf.js/dist/html2pdf.js",
"./src/assets/js/Graphik-normal.js",
"./src/assets/js/Graphik Bold-bold.js"
        ]

previously, it was this:
"scripts": [
"node_modules/tinymce/tinymce.min.js",
"node_modules/jspdf/dist/jspdf.min.js",
"node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.min.js",
"node_modules/html2pdf.js/dist/html2pdf.js",
"./src/assets/js/Graphik-normal.js",
"./src/assets/js/Graphik Bold-bold.js"
        ]

Please help


Update component to work with Hydrogen 2.0

Hi,
The component needs to be updated to work with Hydrogen 2.0.
ClientAnalytics and loadScript do not work anymore.
Thanks!

Would really appreciate an update to this as well.


Fixup Map the Debris

Units were missing, calculated values do not match results using constants for Earth's Radius, Earth's Mass, and the Gravitational Constant G from Wikipedia.

Units are implied to be in KM and seconds, grabbing the formula from Wikipedia (which was part of the point of this challenge) makes that obvious. Additionally, your updated units do not match what I'm pulling from Wikipedia, nor Wolfram Alpha.
I'll need to see a functioning algorithm that succeeds using the tests you've provided before this can be accepted.

Here is the JavaScript code I used.
Alternatively you could just list the constants used to reach your solution in the problem description.
I do not think units should ever be implied, it also may be wise to allow for a certain amount of error in solutions.
  function AltToPeriod(alt) {
    var G = 6.6738480e-11; /*http://en.wikipedia.org/wiki/Gravitational_constant*/
    var Me = 5.97219e24; /*http://en.wikipedia.org/wiki/Earth*/
    var Re = 6371000; /*http://en.wikipedia.org/wiki/Earth*/
    /*Small body orbiting a central body from http://en.wikipedia.org/wiki/Orbital_period
     T = 2\pi\sqrt{a^3/mu} where, mu=G*M */
    /*T=2*pi*sqrt((Alt(in Meters)+Radius_Earth)^3/(G*M_Earth)) */
    return Math.round( 2*Math.PI*Math.sqrt(Math.pow(alt*1000+Re,3)/(G*Me)) );
  }

While I still somewhat disagree about the units (the formula is given in KM and seconds, afterall), I agree it should be cleaned up to be precise.
I also like the idea of a range as people can get slightly different values depending on where they get their info (preferable Wolfram Alpha!).
If you could add that in to this bonfire I'll gladly pull this in.

Also thanks to @johnmellis


Added webac maven profile

Please link to a ticket, and put that ticket in the "Start Review" state.

https://jira.duraspace.org/browse/FCREPO-1718


SNMP enabling crashed the box

Related to https://redmine.pfsense.org/issues/4403
If anybody has a crash report I'd be delighted.

Not sure who has reported this issue for OPNsense, but tested with latest release works fine.
Proof :-)

Close? Close?

No, needs to be fixed for empty SD slot case. Fringe case, but still unresolved in FreeBSD. :(

On 23.06.2015, at 17:48, Jos Schellevis<EMAIL_ADDRESS>wrote:
Close? Close?
—
Reply to this email directly or view it on GitHub.

ok...
It does work on Netboard A10 with SSD and empty SD slot.. but on APU the SD card slot is actually a converter..

Timeout


As a player, I want to see my current score displayed on the screen so that I can keep track of my progress.

Notes
This topic is kind of a side track. Reason is that my learning requirements slightly changed. Especially with regards to  NFR-4 - Modular Design it was requested to show a "multi-view" approach. Meaning that there are at least 2 different views on the same model. Therefore this user story was kind of made up and Milestone v0.2 - multi view support was added.
Acceptance Criteria

[ ] Size of snake is shown in a separate view (let's call it live statistics for the time being) when game is started (basically extends #5 )
[ ] Food eaten count is shown in the same live statistics view. It is 0 when the game starts.
[ ] Value will not changed currently. That will be added later when other stories are realized (e.g. #10 ).

Additional values for the live statistics might be added with later stories.

What is required for this story?

Behavior

MainWindow will show 2 widgets: the game board and the live statistics view when application starts
Live statistics show snake size when started. Value depends on the initial size the game is started with (as implemented in #4 )
Live statistics show food eaten count when started. Value should be provided by model. To test everything it can be manually set to another value than 0.


Remove ref reads during render in CSS transition polyfill

Fix #207
This diff updates the useStyleTransition hook to utilize the hook equivalent of the"getDerivedStateFromProps" pattern — which ultimately means to "set state" in render instead of writting/reading refs during render.
The only annoying part of this change is needing to do a deep comparison of the style objects since their identies are almost guaranteed to change every render. I've mitigated the performance implications of this by only comparing the style properties which are designated by transitionProperties. This does create some limitations in terms of how close we can get to exactly the browser's behaviro wrt CSS transitions but in my testing that limitation was already present before my changes so at least it isn't a regression.
This strategy also inherently provided some improvements like avoiding unecessary interpolate calls and unnecessary animations being triggered.

which ultimately means to "set state" in render instead of writting/reading refs during render.

Would useDeferredValue work as well?

which ultimately means to "set state" in render instead of writting/reading refs during render.

Would useDeferredValue work as well?

I'm admittedly less familiar with useDeferredValue but after a quick read of the docs I think it falls short in a couple ways:

It doesn't have the ability to provide a custom equality check which this solution requires otherwise it causes render loops
AFAIK useDeferredValue actually causes multiple full tree re-renders/commits whereas this solution causes just the component which set state in render to re-render and results in only one commit.


chore(docs): update README.md

Typo in the readme: "if don't" (sorry on mobile) :)

Fixed in https://github.com/Azure/draft/pull/75


Circular import in ESC-50 classification recipe

Describe the bug
Since the isort refactoring ESC-50 classification recipes do not run.
Expected behaviour
Classification recipes working.
To Reproduce
python train_classifier.py hparams/cnn14_classifier.yaml --data_folder data
> ImportError: cannot import name 'length_to_mask' from partially initialized module 'speechbrain.dataio.dataio' (most likely due to a circular import)
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response

This is connected to #2500. Solving that is quite urgent. I'm wondering why all our tests did not detect this issue before merging that PR.


Get list of streams

Hi,
How do I get a list of streams, without all the configured streams being deleted?

As mentioned in section 4.1 of the documentation:

For historical reasons, the “streams”, “config” and “log” API responses are always given, even
if not requested, unless the request “"minimal": 1” is sent along with the API requests.

So, just send an empty API request and read the "streams" object from the response.


NeuroDesk - A flexible, scalable, and easy to use data analysis environment for reproducible neuroimaging

Project info
Title:
NeuroDesk - A flexible, scalable, and easy to use data analysis environment for reproducible neuroimaging
Project lead:
Steffen Bollmann, @sbollmann_mri
Project collaborators:
Aswin Narayanan
Oren Civier @OrenCivier
Christopher Nolan @cnolanAU
Jakub Kaczmarzyk @JakubKaczmarzyk
Martin Grignard @grignard_martin
MEJ Campbell @MegaEJ_Campbell
Thom Shaw @thomcat992
Tom Johnstone @itjohnstone
Registered Brainhack Global 2020 Event:
https://brainhack-ankara.github.io/
Project Description:
Installing neuroimaging software is hard. Running neuroimaging software on Windows, Mac and HPCs is difficult. Moving analyses between platforms is a pain. Reproducing an analysis stack on a different computer is almost impossible. We are attempting to help with this and we are building an analysis environment for Neuroimaging with the goal to make it very easy to run a variety of neuroimaging tools on any operating system. The project aims to make reproducible and scalable neuroimaging analysis as easy as possible. With this we are not just helping beginners to get access to the tools they need without waiting for their administrators to compile them, but we are also aiming to build good habits by making it easy to document and control software versions, and we enable power users to quickly scale up their analyses and run identical software on a variety of compute platforms.
All skill levels can work on our project, from improving the documentation, testing or adding their favourite tool, working on the underlying container infrastructure or developing CI and CD to make our workflows as robust and easy as possible.
Link to project repository/sources:
https://github.com/NeuroDesk
Goals for Brainhack Global 2020:
Easy:

test neurodesk on a variety of platforms and gather feedback: what works, what doesn't, what tools are missing
improve documentation

Medium:

build new software containers with currently missing applications
develop documentation for analysis workflows
improve our CI/CD (how to test GUI applications?, how to test workflows?)
improve handling of licenses (e.g. freesurfer ...)

Hard:

add support for flexible screen resolutions,
fix user-id mapping when running inside docker container,
work on the "Inception Mode": Execute unprivileged containers inside unprivileged containers ... we know it's possible, but we need a container guru to help us getting it to work
enable a persistent homedirectory so that user settings can persist across container update

Good first issues:

test neurodesk on a variety of platforms and gather feedback: what works, what doesn't, what tools are missing
build new software containers with currently missing applications

Skills:

making documentation beginner friendly
testing our current version - what works, what doesn't?
python development: refactoring of code currently in shell scripts
sys-admin skills: improve desktop experience
CI/CD: better tests, more coverage

Tools/Software/Methods to Use:

docker and visual studio code

Communication channels:
https://mattermost.brainhack.org/brainhack/channels/virtual-neuro-machine-vnm
Project labels

Type of project:
#coding_methods, #data_management, #documentation, #method_development,
#pipeline_development, tutorial_recording, visualization

Project development status:
0_concept_no_content, 1_basic structure, #2_releases_existing

Topic of the projet:
Bayesian_approaches, causality, connectome, data_visualisation, deep_learning,
diffusion, diversity_inclusivity_equality, EEG_EventRelatedResponseModelling,
EEG_source_modelling, Granger_causality, hypothesis_testing, ICA, information_theory,
machine_learning, #MR_methodologies, neural_decoding, neural_encoding, neural_networks,
PCA, physiology, reinforcement_learning, #reproducible_scientific_methods, single_neuron_models,
statistical_modelling, systems_neuroscience, tractography

Tools used in the project:
#AFNI, #ANTs, #BIDS, Brainstorm, CPAC, #Datalad, DIPY, FieldTrip, #fMRIPrep, #Freesurfer,
#FSL, Jupyter, MNE, #MRtrix, #Nipype, NWB, #SPM

Tools skill level required to enter the project (more than one possible):
#comfortable, #expert, #familiar, #no_skills_required

Programming language used in the project:
#no_programming_involved, C++, #containerization, #documentation, Java, Julia, Matlab,
#Python, R, #shell_scripting, #Unix_command_line, #Web, #workflows

Modalities involved in the project (if any):
behavioral, #DWI, ECG, ECOG, #EEG, eye_tracking, #fMRI, fNIRS, #MEG, #MRI, PET, TDCS, TMS

Git skills reuired to enter the project (more than one possible):
#0_no_git_skills, #1_commit_push, #2_branches_PRs, #3_continuous_integration

[x] I added all of the labels I want an associate to my project

Project Submission
Submission checklist
Once the issue is submitted, please check items in this list as you add under ‘Additional project info’

[x] Link to your project: could be a code repository, a shared document, etc.
[x] Goals for Brainhack Global 2020: describe what you want to achieve during this brainhack.
[x] Flesh out at least 2 “good first issues”: those are tasks that do not require any prior knowledge about your project, could be defined as issues in a GitHub repository, or in a shared document.
[x] Skills: list skills that would be particularly suitable for your project. We ask you to include at least one non-coding skill. Use the issue labels for this purpose.
[x] Chat channel: A link to a chat channel that will be used during the Brainhack Global 2020 event. This can be an existing channel or a new one. We recommend using the Brainhack space on Mattermost.

Optionally, you can also include information about:

[ ] Number of participants required.
[x] Twitter-sized summary of your project pitch.
NeuroDesk - A flexible, scalable, and easy to use data analysis environment for reproducible neuroimaging
[x] Provide an image of your project for the Brainhack Global 2020 website.

We would like to think about how you will credit and onboard new members to your project. If you’d like to share your thoughts with future project participants, you can include information about:

[x] Specify how you will acknowledge contributions (e.g. listing members on a contributing page).
contribution page + paper co-authorship once in a publishable state
[ ] Provide links to onboarding documents if you have some:

Hi @stebo85 👋 Welcome to the Brainhack Global 2020! :tada:  Thank you so much or your project submission.
Your issue looks all good and ready to be listed at the website! ✅
Hope you enjoy the event and have a chance to get nice contributions from the community! 🍀

Cool - Thank you :)


X509_digest_sig(): Improve default hash for EdDSA and allow to return the chosen default

This implements the result of the discussion in https://github.com/openssl/openssl/issues/15477#issuecomment-860249525.
It turned out that SHA-256 is not the right default hash for EdDSA. This is fixed here.
Moreover, X509_digest_sig() is generalized such that the caller can learn the default hash alg chosen. This will be needed for supporting the upcoming CMPv3.

[x] documentation is added or updated

I just learned an hour ago the beta1 likely is going to be close in the next two days.
Please let's bring this PR in before that, since for the function X509_digest_sig(), which is new in 3.0, needs to be generalized as done here.

Windows CI errors are unrelated:
Run ilammy/setup-nasm@v1
Downloading binary distribution...
Warning: binaries did not work: FetchError: request to https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
Downloading source code...
Warning: source code did not work: FetchError: request to https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
Error: could not install NASM: Error: I'm sorry, Dave. I'm afraid I can't do that.

Two wording suggestions.

Thanks @paulidale for the immediate handling!
Fixed the two wording issues.

@paulidale please reconfirm.

Pushed. Thanks.


Handle authentication on responseMatches-style check

So that the response from something like Consul can be parsed.

Possible issue: Distributive currently reads from plain text configs. How would secrets be stored? Vault? Seems complex.

@LeeLammert What do you think about how the authentication data might be stored?

It is common practice in the Nagios world to have different levels of authority - i.e. a "read only" access level could logically be stored in clear text. Authentication data for responseMatches & responseMatchesInsecure should be kept securely, and we should not rely on good practice to ensure that level of security.
In this case, it would be good to store the credentials in vault.

Yeah, I definitely don't think we should store anything in plain text, even if it is secured via permissions. If someone gets root access to a node or physical access to the disk, they then have access to administration of your cluster. We should wait on the integration of Vault into MI before we get started on this. Pushing it to a long-term feature.

A temporary workaround is to use "commandOutputMatches", provide your regexp, and use curl to pass authentication data.


[Question] About ROS 2 Jetson docker

Hello,
Do you have a ROS 2 Jetson docker image or Dockerfile for testing this zed-ros2-wrapper?
Thanks,
Bo

We are considering ROS 2 because ROS Melodic doesn't support Python 3 fully. We'd like to try ROS 2 to avoid using Python 2.

Hi @cnpcshangbo
there is not yet a ROS2 docker available yet, but we plan to release it soon.

Great. Thanks.

+1 for a ROS2 docker image for the Jetson Nano!

+1. I'm trying to build my own container but having some issues getting the Python API to work building on-top of the dustynv ros foxy container. If I don't get any further I'll open an issue on the relevant repo.

I have a working one. Just got it to build yesterday. Let me do a bit more testing and I will create a repo for it. I started with dusty nv also but you need to use one of the stereolabs images so the sdk will be installed properly. If you are having issues with numpy core dumping use this. export OPENBLAS_CORETYPE=ARMV8 I suspect this has caused a faulty install of the sdk python stuff.

That fixed the coredump issue I was having! Seems to be working (the Hello Zed tutorial is all I've tested so far). Thanks!
For reference, below is my Dockerfile so far. Need to manually export OPENBLAS_CORETYPE=ARMV8 after launching the container interactively
ARG ROS_VERSION=foxy
ARG L4T_MINOR_VERSION=5.0
ARG FROM_IMAGE=dustynv/ros:$ROS_VERSION-ros-base-l4t-r32.$L4T_MINOR_VERSION
ARG OVERLAY_WS=/opt/ros/overlay_ws

# Base container
FROM $FROM_IMAGE

# After using an arg in a `FROM` line, the arg is lost.
# This will allow it to be used again.
ARG ROS_VERSION
ARG L4T_MINOR_VERSION
ARG OVERLAY_WS

ARG ZED_SDK_MAJOR=3
ARG ZED_SDK_MINOR=5
ARG JETPACK_MAJOR=4
ARG JETPACK_MINOR=5

# Update and install dependencies
RUN apt-get update && apt-get install --no-install-recommends -y \
    lsb-release \
    less \
    udev \
    wget \
    apt-transport-https \
    python3-pip

# Fix for numpy installation later on
RUN pip3 install --upgrade pip

# Install ZED SDK
RUN echo "# R32 (release), REVISION: ${L4T_MINOR_VERSION}" > /etc/nv_tegra_release ; \
    wget -q --no-check-certificate -O ZED_SDK_Linux_JP.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/jp${JETPACK_MAJOR}${JETPACK_MINOR}/jetsons && \
    chmod +x ZED_SDK_Linux_JP.run ; ./ZED_SDK_Linux_JP.run silent skip_tools && \
    rm -rf /usr/local/zed/resources/* \
    rm -rf ZED_SDK_Linux_JP.run && \
    rm -rf /var/lib/apt/lists/*

# Install ZED Python API
RUN apt-get update -y && apt-get install --no-install-recommends python3 python3-pip python3-dev gfortran gcc musl-dev python3-setuptools build-essential -y && \
    wget download.stereolabs.com/zedsdk/pyzed -O /usr/local/zed/get_python_api.py && \
    python3 /usr/local/zed/get_python_api.py && \
    python3 -m pip install cython wheel && \
    python3 -m pip install numpy pyopengl *.whl && \
    apt-get remove --purge build-essential -y && apt-get autoremove -y && \
    rm *.whl ; rm -rf /var/lib/apt/lists/*

# Copy source
WORKDIR $OVERLAY_WS
COPY src src

# Build
RUN /bin/bash -c "source /opt/ros/${ROS_VERSION}/install/setup.bash && colcon build"

# Source entrypoint setup, used if running container interactively to
# automatically source the ROS workspace.
ENV OVERLAY_WS $OVERLAY_WS
RUN sed --in-place --expression \
    '$isource "$OVERLAY_WS/install/setup.bash"' \
    /ros_entrypoint.sh

Need to manually export OPENBLAS_CORETYPE=ARMV8 after launching the container interactively, and I'm using the below run command to launch it.
sudo docker run -it --rm --gpus all --privileged --network=host ${container_name}

if you go to the stereolabs section of hub.docker.com there are prebuilt images you can start with. https://hub.docker.com/r/stereolabs/zed/  Adding one of those to my your dockerfile with the from keyword is how I built mine.  The ones I built are for ros2 foxy. You should be able to add that export with some sed commands to your .bashrc file in the container.

@griz1112 Which image did you start with? From what I understand they're all either without ROS or ROS1.
Still learning about all this but everything Jetson specific seems to be based off Ubuntu 18.04, looks like this might cause issues with e.g. the ROS2 Wrapper node.

You can actually install ros2 foxy native on 18.04 there are a few extra packages you need to compile for it to work that aren't included in the 18.04 distro. But then you can't have ros1 on the same machine because it removes part of it. So the container route is the best way to go. Especially if you need to use the ros2 bridge for some of your nodes. There is a Dockerfile in jetson-containers that will build ros2 foxy and ros1 noetic. I took the one for foxy and modified it to use the stereolabs image here https://github.com/stereolabs/zed-docker/blob/master/3.X/jetpack_4.X/tools-devel/ Dockerfile so I would have the ZED SDK. Built a base and desktop image from that. I've tested it with a ZED ZED Mini and ZED 2i on an Xavier and Nano. Most of the packages on 20.04 are the same as 18.04.  You can build a 20.04 container that will run on a 18.04 install. I've even installed 20.04 on one of my jetson boards. However I wouldn't recommend it as its possible to brick your jetson if you aren't very careful. And I'm sure there are some differences in the kernel that could cause you some grief. Dusty wouldn't put a Dockerfile out there for foxy on 18.04 if it wasn't ok to run it that way. I've been working with jetsons for almost 6 years now. Starting with a 4 node TK1 cluster.

Ran into a problem testing the container with the ros2_wrapper.
[zed_wrapper-2]<PHONE_NUMBER>.149991893 [rcl] [ERROR] Failed to parse global arguments
[zed_wrapper-2] terminate called after throwing an instance of 'rclcpp::exceptions::RCLInvalidROSArgsError'
[zed_wrapper-2]   what():  failed to initialize rcl: Couldn't parse params file: '--params-file /zed/install/zed_wrapper/share/zed_wrapper/config/zedm.yaml'. Error: Error parsing a event near line 14, at /opt/ros/foxy/src/rcl/rcl_yaml_param_parser/src/parse.c:600, at /opt/ros/foxy/src/rcl/rcl/src/rcl/arguments.c:390
[ERROR] [zed_wrapper-2]: process has died [pid 2972, exit code -6, cmd '/zed/install/zed_wrapper/lib/zed_wrapper/zed_wrapper --ros-args -r __node:=zed_node -r __ns:=/zedm --params-file /zed/install/zed_wrapper/share/zed_wrapper/config/common.yaml --params-file /zed/install/zed_wrapper/share/zed_wrapper/config/zedm.yaml'].
On my intel box on 20.04 this works just fine. So not sure changing the zed config yaml files will do any good. One of the things you have to add to get foxy installed in the container is libyaml so I suspect its something to do with that. Guess I need to study up on yaml files next.

@XDGFX a really useful job. Thank you :+1:

this is my dockerfile for ZED 2i and Jetson NX Xavier.
https://dev.to/circleoncircles/how-to-build-zed-2i-camera-x-ros2-foxy-x-nvidia-jetson-x-ubuntu-18-04-via-docker-8o4
it is a bit big(~3.4GB) but also work perfectly.

@Myzhar is there ros2 foxy zed docker conrainer by stereolabs by now?

Hi @AndreV84, we stopped generating the ROS/ROS2 containers because it was not easy to keep them synchronized with the latest updates by the many operators involved (Stereolabs, Nvidia, ROS/ROS2, ecc).

@Myzhar could you advise which value to put for zed camera in the global frame for ros2 foxy zed wrapper?
Usually, the "global_frame" is map, but it depends on your configuration and on what node you are using.

@AndreV84 this is a closed issue and this question is off-topic.
Can you please write to<EMAIL_ADDRESS>or post the question with more details on our forum

@Myzhar is it likely that you could support building in Humble ROS container[provided by nvidia] on Jetson? outside of container for Humble? asked to email too but no response


Clear the list of WSLg apps after removing/reinstalling WSL distro

I've noticed a bug on my machine. I'm on Windows 11 21H2. After completely removing the wsl Ubuntu distro and even wsl and wslg updates from "Install and remove software" I have a list of wslg apps in a start menu that can't be removed, even though there is no more Ubuntu system installed or any gui app as well. I haven't completely uninstalled wsl cause I'm using also docker. How can I clear the list of gui apps in a start menu?

They are just shortcuts, they would be cleaned up if you uninstalled the apps first, but you can just delete them manually if they werent

I've run into this as well. The expectation is that the shortcuts would be removed when the distro is removed. Instead, I have to manually drill down to where the shortcuts are and remove them. It makes test-driving the various distros more cumbersome than it should be.

This is dup of https://github.com/microsoft/wslg/issues/24. Thanks!


Upper bound v1.2.2 on CmdStan 2.35

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

CmdStanPy 1.2.3 should be released shortly, in the mean time this is just precautionary.

@conda-forge-admin, please rerender


ModuleNotFoundError: No module named 'flax.linen.core'

when i used the docker imageghcr.io/nvidia/rosetta-t5x:latest i get above error
however, if i don't, i just pip install https://github.com/google-research/t5x.
is above module missing ?

Hi @cometta . Could you provide the following to help understand what's going on:

the build date of the container:

docker run --rm ghcr.io/nvidia/rosetta-t5x:latest sh -c 'echo $BUILD_DATE'

The full stack trace and what you ran that resulted in ModuleNotFoundError

echo $BUILD_DATE
2023-07-17

    File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "/home/appuser/.local/lib/python3.10/site-packages/t5x/train.py", line 805, in main
    _main(argv)
  File "/home/appuser/.local/lib/python3.10/site-packages/t5x/train.py", line 860, in _main
    gin_utils.parse_gin_flags(
  File "/home/appuser/.local/lib/python3.10/site-packages/t5x/gin_utils.py", line 80, in parse_gin_flags
    gin.parse_config_files_and_bindings(
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2497, in parse_config_files_and_bindings
    includes_and_imports = parse_config_file(config_file, skip_unknown)
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2450, in parse_config_file
    includes, imports = parse_config(f, skip_unknown=skip_unknown)
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2346, in parse_config
    with utils.try_with_location(statement.location):
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 60, in try_with_location
    augment_exception_message_and_reraise(exception, _format_location(location))
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 56, in try_with_location
    yield
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2347, in parse_config
    nested_includes = parse_config_file(statement.filename, skip_unknown)
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2450, in parse_config_file
    includes, imports = parse_config(f, skip_unknown=skip_unknown)
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2338, in parse_config
    with utils.try_with_location(statement.location):
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 60, in try_with_location
    augment_exception_message_and_reraise(exception, _format_location(location))
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/usr/local/lib/python3.10/dist-packages/gin/utils.py", line 56, in try_with_location
    yield
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 2340, in parse_config
    parse_context.process_import(statement)
  File "/usr/local/lib/python3.10/dist-packages/gin/config.py", line 205, in process_import
    module = __import__(statement.module, fromlist=fromlist)
  File "/opt/flax/flax/linen/__init__.py", line 58, in <module>
    from ..core import (
ModuleNotFoundError: No module named 'flax.linen.core'
  In file "myapp/configs/models/t5_1_1_flaxformer.gin", line 13
    from flax import linen
  In file "myapp/configs/models/myapp.gin", line 12
    include 'myapp/configs/models/t5_1_1_flaxformer.gin'ƒ


Add Feature to Rename Tasks

We need to implement a feature that allows users to rename existing tasks in the Task Manager app. This feature will enhance the usability and flexibility of the app by enabling users to update task names as needed.

i can take this issue


Proposal for waitForTransaction improvement

Now that block times are much faster it would make sense to lower the retryInterval param from 5000ms (waited on twice, so it's 10s) to something more realistic.
Also, I find it weird that retryInterval is an optional param. In my opinion, it would make more sense to require it explicitly, with a suggested value in the docs. I see it as a better DX.
This would be a breaking change. So, it is something to consider for the next major release.

hello @Cussone can i hop on this issue?

Not sure what you are referring to, but feel free to write anything you think about this.

Has been discussed in Slack: will not be modified, as user can customize the value.

Has been discussed in Slack: will not be modified, as user can customize the value.

Yup, that was the conclusion for the current version, but I opened this proposal for the next version, as we also discussed on Slack.

to fix your trouble check this solution click
maybe this will solve your problem.

Another improvements would be:

do not call sleep after receipt is successfully resolved here - right now even if transaction is ready we are still waiting for 5s.
do not call sleep on entry here

I've had issue with my tests where everything was super slow (even when using starknet-devnet) and actually the issue is that each call to waitForTransaction will take at least 10s unless you modify transactionRetryIntervalFallback.


PoC : regex/s are vulnerable for validation

TL;DR : request to remove some regex-base validation, like email regex validation.
Background : So many CVE's cause by Regex (See : https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=regex )

Please use Regex wisely, there is email validation using regex and Go has std package/s like validation/v10 or net/mail .
Use Regex for validating data with limited character types. Example to validate valid names in id_ID where characters are limited to A-Za-z, with the addition of space, dash and/or a single tick/quote, you can use a regex pattern for validate that name-type.
If there isn't a regex pattern available or too hard to create for validating specific data, consider using string replacement and validating each separated part of the data/value, it's more safe and clear to see.
And please provide datasets as well for testing each regex base validation/s .

note<EMAIL_ADDRESS>(with dot in the end) is valid email for regex validation.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (1bccdaa) 91.61% compared to head (91a9a3f) 91.61%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #53   +/-   ##
=======================================
  Coverage   91.61%   91.61%
=======================================
  Files          13       13
  Lines         465      465
=======================================
  Hits          426      426
  Misses         30       30
  Partials        9        9

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


Brief blinks and visual bugs

When I go back to a Stories feed (stories, favorites or recents) the story images sometimes briefly blink. I assume the page is being refreshed, but I'd prefer to do that in the background (without transitions)

Sometimes, above and below the search field, two white lines appear

@thm I think the problem was that the stories view was being refreshed even if there were no stories added or removed.  I've removed the call to refresh the view in those cases and it seems to solve the problem.  I haven't encountered the double-lines, but can you try and see under what situations they appear?  Is it maybe associated with rotation?

No need to reassign if an issue isn't fixed yet :). It's not associated with rotation. It seems to happen most often when I enter the app from the app-switcher, or when I enter the app-switcher

@thm I haven't been able to reproduce this at all.  Are you on an iPhone6?  Can you tell me which version of iOS?  Just to confirm: the blinking problem should be resolved, and we're working on just the white lines problem?

Yes, iPhone 6 (iOS 8.4.1, app v607), and just for the white lines. The blinking seems to be fixed!


folders list command exits out

following shows as error.
awk: cmd (FILENAME=- FNR=1) fatal: function `secho' not defined

Thanks for reporting this issue.
It has been solved in the following commit: https://github.com/guarinogabriel/Mac-CLI/commit/bc6cc6c71671f935bf3531e0fc4487b4c69e4e2f


Fix cache req body

Fixed a bug when caching would error for certain types of HTTP body (eg, IOBuffer)

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 0.71%. Comparing base (28a5de8) to head (0a331fe).

Files
Patch %
Lines

src/CacheLayer.jl
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #17      +/-   ##
========================================
- Coverage   0.72%   0.71%   -0.01%
========================================
  Files         15      15
  Lines        416     417       +1
========================================
  Hits           3       3
- Misses       413     414       +1

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


Register Support for Custom Types

If a user adds a type to a PropertyInfo<> that CSLA's MobileFormatter doesn't support (e.g. PropertyInfo<MyCustomStruct>), it'll fail. Same with this SG serializer. There may be a way to do this though with IoC support. The idea is that a user would register (probably as a singleton) key-value pairs to a SerializationTypes<TType, (TSerializer, TDeserializer)> instance, and the SG would gen code to reach into the IoC, grab that instance, and call the serializer or deserializer (the values are basically delegates that get a reference to the context).

I should remove direct support for these types now, as they're kind of one-offs, and if they're really needed by someone, they can add it in with customization registrations:

byte[][]
List<int>


Readd updated recorded recommendations

You should be able to merge this directly and it will update your PR on the main repo

Dear Jérémy,
Thank you for your help!
I got 23 failures even after running twice pytest nevergrad/optimization/test_optimizerlib.py
According to the output log, All the failures were due to the assertions of tell and ask when testing EDA variants (I guess so). I’m not very familiar with the code.
Could you please kindly give me some hints? Attached please find the log file.
Best,
Jialin
error.log

You should be able to merge this directly and it will update your PR on the main repo

Dear Jérémy,
Thank you for your help!
I got 23 failures even after running twice pytest nevergrad/optimization/test_optimizerlib.py
According to the output log, All the failures were due to the assertions of tell and ask when testing EDA variants (I guess so). I’m not very familiar with the code.
Could you please kindly give me some hints? Attached please find the log file.
Best,
Jialin
error.log

This is now fixed (see https://github.com/facebookresearch/nevergrad/pull/383#pullrequestreview-336707495), the root cause was a wrong indent that the PR was adding in test_optimizerlib.py


RTL support

Does this software support RTL and other languages?

Throat has never been tested on RTL languages. It might or might not work


Error: exnihiloadscensio:topprovider?

Got this om my server, and can't use mechanical user. Don't  have this issue on singelplayer game.
I use the custom map from Hermit Skies (Project Ozone Lite).
Can't  figure out where the error originate from.

Did you enable fake player sieving in the Ex Nihilo Adscensio config?


Add option to hide query string in log / WebUI

Scope & Purpose
Add option to hide query string in log / WebUI

[ ] :hankey: Bugfix
[x] :pizza: New feature

Backports:

[ ] No backports required
[x] Backports required for: 3.7, devel

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added Regression Tests
[ ] Added new C++ Unit Tests
[ ] Added new integration tests (i.e. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

Additionally:

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/12226/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12228/

Tests blue.


Reproducing the evaluation results in the paper

Hi,
Thanks for the great dataset and evaluation scripts.
I was wondering if there is a toy example for the targets.jsonl.
I saw this line The targets.jsonl file should be in the evaluation format from https://github.com/iesl/protoqa-data., but I'm not sure which file is the so-called evaluation format .
For example, if I want to evaluate data/dev/dev.predictions.gpt2finetuned.json over the data/dev/dev.crowdsourced.jsonl, what should be the command lines, such that I can reproduce the experimental results table in the paper?
Thanks very much in advance.  @mboratko

The command to use is protoqa_evaluator evaluate, which has help information available for the options / arguments.
For example, to use the exact_match similarity metric you can run
protoqa_evaluator evaluate --similarity_function exact_match data/dev/dev.crowdsourced.jsonl data/dev/dev.predictions.gpt2finetuned.json

For WordNet, you can run
protoqa_evaluator evaluate --similarity_function wordnet data/dev/dev.crowdsourced.jsonl data/dev/dev.predictions.gpt2finetuned.json

I will leave this open until we can add these examples to the README to make this clearer.

The command to use is protoqa_evaluator evaluate, which has help information available for the options / arguments.
For example, to use the exact_match similarity metric you can run
protoqa_evaluator evaluate --similarity_function exact_match data/dev/dev.crowdsourced.jsonl data/dev/dev.predictions.gpt2finetuned.json

For WordNet, you can run
protoqa_evaluator evaluate --similarity_function wordnet data/dev/dev.crowdsourced.jsonl data/dev/dev.predictions.gpt2finetuned.json

I will leave this open until we can add these examples to the README to make this clearer.

Upon reinspection I noticed this already was in the README, so I am closing this issue. Please let me know if you have further questions.

Upon reinspection I noticed this already was in the README, so I am closing this issue. Please let me know if you have further questions.


Supply.reduce waits for the Supply to finish

I think Supply.reduce should be listed as one of the methods that wait for the Supply to finish.

I'm not totally sure about this. It does create another supply, on one hand. Will it only work if all elements in the supply are available?

Yep, looking at source:
https://github.com/rakudo/rakudo/blob/5c8c7324e64d1edef0a07515e52bde8c56663717/src/core.c/Supply-factories.pm6#L481-L493
It totally does. So let's move it around.


How to handle failure or exception that may occur in Orderbook processing.

How to handle or add handler code  which gets executed when any failure or exception occurs during Orderbook order Processing during newOrder(OrderCommand cmd); or cancel order -    CommandResultCode cancelOrder(OrderCommand cmd);

Can you elaborate your issue?


cant fold block comment

Issue Type: Bug
i usually write endpoints like this, but after vscode update coming, i cant fold comments.
not works, example:
/**
 *
 * NOT WORKS
 *
 * @api {PUT} /cars/:carId cars update
 * @apiName Cars
 * @apiGroup Cars
 * @apiVersion 1.0.0
 */
app.put('/:carId', updateHandler);

but the feature fold comment will work if I put block comments on the function.
works, example:
  /**
   *
   * THIS WORKS
   * @param {*} travellerId
   */
  async detail(travellerId) {
  }

VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T07:04:11.329Z)
OS version: Darwin x64 17.0.0

That's TypeScript, correct?

Duplicate of https://github.com/Microsoft/TypeScript/issues/22732


Inet data type doesn't appear to be supported

In working through an issue I found with the sabisu gem, it appears that simple_form doesn't natively support the inet datatype new in rails 4 for IP addresses. They used to be stored as strings/varchar(255).
Here's the issue I was having with sabisu gem and my stackoverflow answer for the issue:
https://github.com/IcaliaLabs/sabisu-rails/issues/20
http://stackoverflow.com/questions/29340177/cant-get-sabisu-gem-to-render-shows-no-input-found-for-inet-error/29340178#29340178
And the article that led me to the solution: https://blog.engineyard.com/2013/new-in-rails-4
Not sure if there was some other way to approach, so I just created a new migration to push those fields back to string. So personally I don't need this fixed, but wanted to make sure I shared it.

We could simply map them to strings, as I did in this experimental branch some time ago. Meanwhile you can map those yourself, or pass as: :string on these input fields.

Had an issue on the SQL Server adapter since we subclass every ActiveRecord core type with explicit SQL Server types. Based on our chart here Native Data Type Support perhaps this project can add adapter specific mappings? Here is what I see for ours.
# SQL Server Adapter
map_type :ntext, :varchar_max, :nvarchar_max,    to: SimpleForm::Inputs::TextInput
map_type :char, :nchar, :varchar,                to: SimpleForm::Inputs::StringInput
map_type :bigint, :real, :smallmoney, :money,    to: SimpleForm::Inputs::NumericInput

My expectation for this problem was that I would simply do
config.input_mappings = { /varchar/ => :string }
and that would take care of the issue (because all I needed to map was varchar).  But the input_mappings code doesn't behave the way I expect - it appends 'input' to the pattern and tries to match that to a class.
Certainly some kind of simple mapping as described above would solve the problem.  I ended up adding a VarcharInput class to SimpleForm (that mostly just subclassed StringInput).  Not hard, but certainly more work than I expected.

You can put following line in the initializer to define custom input mappings.
SimpleForm::FormBuilder.map_type :inet, to: SimpleForm::Inputs::StringInput


Get-Help About_Automatic_Variables does not dislay the full help content

Steps to reproduce
In PowerShell version 6.0.0-Alpha.17 typing "Get-Help About_Automatic_Variables" in the console does not display the full help content, I've tried other about_* topics but same issue.
Expected behavior
Typing "Get-Help About_Automatic_Variables" must display the full help content.
Actual behavior
PS C:\Program Files\PowerShell\<IP_ADDRESS>> Get-Help about_Automatic_Variables
Name                              Category  Module                    Synopsis

about_Automatic_Variables         HelpFile                            Describes variables that store state informati...
about_Automatic_Variables         HelpFile                            SHORT DESCRIPTION
Environment data

> $PSVersionTable
Name                           Value
----                           -----
WSManStackVersion              3.0
CLRVersion
PSVersion                      6.0.0-alpha
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
GitCommitId                    v6.0.0-alpha.17
PSEdition                      Core
SerializationVersion           <IP_ADDRESS>
BuildVersion                   <IP_ADDRESS>

This is more anything you try to do a 'Get-Help About_--any topic--'  will not display the information.
PS C:\Program Files\PowerShell\6.0.0-alpha.18> $PSVersionTable
Name                           Value

PSRemotingProtocolVersion      2.3
CLRVersion
PSVersion                      6.0.0-alpha
PSEdition                      Core
GitCommitId                    v6.0.0-alpha.18
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
BuildVersion                   <IP_ADDRESS>
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
You can't even use the '-Detailed' to show the information.

It is duplicate #2653

This is not actually a duplicate. #2653 says that about_* topics are missing.
This issue here is that we're showing duplicates when there's only one copy in $PSHome.
@HemantMahawar is adding a lower-priority issue now to enable disambiguation when duplicates exist (and to expose the help location name and module version to ease disambiguation).

I lied! The original is #2565. Pasting my above context there to keep things clean.


Specs for changeset functions

Thank you! I have added just one tiny comment!

Updated.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


APIM Analytics 3.1.0 Dashboards are shown in APIM 3.2.0 Analytics Dashboard portal when migrated from 3.1.0 to 3.2.0

Description:
The following three APIM 3.1.0 Dashboards are shown in APIM 3.2.0 Analytics Dashboard portal when migrated from 3.1.0 to 3.2.0
APIM Admin
APIM Publisher
APIM Developer Portal
A step should be added to remove records related to these dashboards from the DASHBOARD_DB in the migration documentation.
Suggested Labels:
apim-analytics-3.2.0
Affected Product Version:
apim-analytics-3.2.0
Steps to reproduce:
Migrate from APIM Analytics 3.1.0 to APIM Analytics 3.2.0

@ruwiniwj , please let us know the exact change that is needed in the docs to fix this issue.

We can add a note saying that only the ANALYTICS_DB  needs to be migrated and the other DBs need to be either pointed to new DBs or be cleaned. @TanyaM there wouldn't be an issue with using new DBs for other DBs right?

We can add a note saying that only the ANALYTICS_DB needs to be migrated and the other DBs need to be either pointed to new DBs or be cleaned. @TanyaM there wouldn't be an issue with using new DBs for other DBs right?

In the default case we can use fresh DB's for Dashboard DB and Permission DB, but we might need to add a note specifying the steps if there are custom dashboards.

For custom dashboards are recommended approach is to export and import them right?

@RakhithaRR , can you look into this issue please.


Optionally remove spaces between emotes

Original PR #2651
Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

Open question: Should this feature be enabled by default?
I'm leaning towards having it enabled by default.

Open question: Should this feature be enabled by default?

I'm voting against it

Off by default it is :ok_hand:


Include the azurerm_kubernetes_cluster identity block in the module's output

Added the azurerm_kubernetes_cluster's identity block to the module's output
Checklist before requesting a review

[x] The pr title can be used to describe what this pr did in CHANGELOG.md file
[x] I have executed pre-commit on my machine
[x] I have passed pr-check on my machine

Thanks for your cooperation!

@mr-onion-2 there is already an output cluster_identity. Can you explain why we need this additional output ? thanks

Oh so there is!
I did see that but I assumed it was some other identity - I should have noticed it is indeed the same identity block
Thanks, I'll close


Add Travis CI tracker about master/develop.

This PR allows us to show Travis CI results on both master and develop branches separately.

Fixed.

Thanks！


nixos/doc: Allow olinks from options to the manual

This allows to use <olink> tags inside NixOS options to reference sections from the manual. I've originally introduced it in #14476 to reference the Taskserver specific documentation from the options reference but as suggested by @nbp, this is now done here as a separate pull request to ensure greater visibility rather than being "hidden" in the Taskserver branch.
The build time for the manual is around 30s on my machine without this change and 34s with this change, so it shouldn't have a very big impact on the build time of the manual.
Olinks between the options reference and the manual now will look like this:
"More instructions about NixOS in conjuction with Taskserver can be found in the NixOS manual at Chapter 15, Taskserver." (the part in bold is the actual olink)
More documentation about olinks can be found here:
http://www.sagehill.net/docbookxsl/Olinking.html
Cc: @edolstra, @nbp

Confirmed that #15108 goes away with this PR.
$ time sudo nix-build nixos/release.nix -A manual.x86_64-linux
these derivations will be built:
  /nix/store/m2k73xqy4pd3vgg3v7f66526sb1w4qwa-options-db.xml.drv
  /nix/store/d9bmgn2k3nc56afqy7j8zld6bfx13jsm-manual-olinkdb.drv
  /nix/store/hxfkcrpv9ya1g9x9c20v7y2v59gq3n45-nixos-manual.drv
building path(s) ‘/nix/store/r07ma6z0hrmjzpy9yy034mhfz1yp8j7v-options-db.xml’
building path(s) ‘/nix/store/ys1ka8w064vn9dg27d75cvzy3nfp5xwz-manual-olinkdb’
Writing /nix/store/ys1ka8w064vn9dg27d75cvzy3nfp5xwz-manual-olinkdb/manual.db for book(book-nixos-manual)
./man-pages.xml validates
building path(s) ‘/nix/store/n2n34mx5m8wzs2dsngv6nwhq3k9y3nb6-nixos-manual’
manual.xml validates
Writing options.html for appendix(ch-options)
Writing release-notes.html for appendix(ch-release-notes)
Writing index.html for book(book-nixos-manual)
/nix/store/n2n34mx5m8wzs2dsngv6nwhq3k9y3nb6-nixos-manual

real	0m58.829s
user	0m40.082s
sys	0m11.637s

@NotaseCretagen: This was originally part of the taskserver branch in #14476 but I reverted it in c36d6e59647794aa1c4dbb2dcd7e5242d9c5b6b8 so that it can be reviewed seperately here, as suggested by @nbp in https://github.com/NixOS/nixpkgs/pull/14476#discussion_r59762311. Unfortunately so far nobody has commented here about that.
@nbp, @edolstra: Fine if I merge this?

@aszlig Sure.


Cannot install using Pip

Hello!
I have some trouble installing synplan through PyPi:
ERROR: Could not find a version that satisfies the requirement synplan (from versions: none)
ERROR: No matching distribution found for synplan

The search results on PyPi website also yield nothing.
Can you help me out with this? Thanks in advance!

Hi, we are currently working on the pip installation and it is not yet available. I would suggest you to use other types of installations, for example conda one.


Starlink 18 update info

Booster should be B1059 and it should be its 6th flight.
Please don't close this issue until launch is completed so it's possible to have all corrections under only one topic.

Updated

Updated

Pad is 39A.

Pad is 39A.

I don't know why booster_status is currently Unkown.

I don't know why booster_status is currently Unkown.

Also, OCISLY departed towed by Tug Lauren Foss.

Also, OCISLY departed towed by Tug Lauren Foss.

Updated, looks like the core status was finally updated in the wiki, so we should be good on that bit.

Updated, looks like the core status was finally updated in the wiki, so we should be good on that bit.

On this launch there will be also Ms.Chief, Ms.Tree and GO Quest (the last one is missing from #655).

Booster is B1060. One half of Falcon 9’s fairing flew on the SAOCOM-1B, and the other GPS III SV03.

I don't see the success changed to true and the usual update of booster succesfully landing.

Stayed up to flip the upcoming field and the booster landing, but did't stay up long enough to flip the sucess field for the payload deployment. Should be good now 👍


Light State Bleeding

Light should be applied to sibling node Afters and no others.
repro case https://github.com/cedricpinson/osgjs/pull/734

Behaviour is normal:
light is a positional state attribute it means that its position in the scene graph will define its position position in space, but the attribute will affect globally. until there is a light that disable a part of the scenegraph.
Is it your issue ?
maybe it's better explained here http://www.stackedboxes.org/~lmb/en/computer-stuff/asittbpo-open-scene-graph/chapter-3-more-state


Using ListView in 0.4.0 logs "Your code is broken!" warning

When displaying a ListView the following warning is logged:
"Your code is broken! Do not iterate over arrays with for...in."
I'm not sure whether it's the ListView or the ScrollView doing something weird.

See #848, it's the deepDiffer's treating objects as arrays.

So, why was the bug closed? The bug is still there.

It's being tracked in #868.

Ah ok, thanks.


[WIP] multi-repo-action: Cleanups (2/n)

Continuation of https://github.com/ossf/scorecard-action/pull/301.
Part of https://github.com/ossf/scorecard-action/issues/52 and https://github.com/ossf/scorecard-action/issues/765.

Here's what an installer run looks like in https://github.com/ossf/scorecard-action/pull/833/commits/de6c4cdcdff28c87e8faba03b4e7d939c01b6b06:
❯ GITHUB_TOKEN=$(cat ~/.github-token) go run cmd/installer/main.go --owner uwu-tools
2022/08/22 04:46:21 No repositories provided. Fetching all repositories under organization.
2022/08/22 04:46:21 getting repo metadata for go-ghcrawl
2022/08/22 04:46:21 checking for scorecard workflow file (.github/workflows/scorecards.yml)
2022/08/22 04:46:22 checking for scorecard workflow file (.github/workflows/scorecards-analysis.yml)
2022/08/22 04:46:22 could not find a scorecard workflow file: getting repo content: GET https://api.github.com/repos/uwu-tools/go-ghcrawl/contents/.github/workflows/scorecards-analysis.yml: 404 Not Found []
2022/08/22 04:46:24 successfully created PR #6 for repository go-ghcrawl: https://github.com/uwu-tools/go-ghcrawl/pull/6
2022/08/22 04:46:24 finished processing repository go-ghcrawl
2022/08/22 04:46:24 getting repo metadata for k-release
2022/08/22 04:46:24 checking for scorecard workflow file (.github/workflows/scorecards.yml)
2022/08/22 04:46:24 checking for scorecard workflow file (.github/workflows/scorecards-analysis.yml)
2022/08/22 04:46:24 skipping repo (k-release) since scorecard workflow already exists: .github/workflows/scorecards-analysis.yml
2022/08/22 04:46:24 finished processing repository k-release

And here's what an example pull request looks like: https://github.com/uwu-tools/go-ghcrawl/pull/6

@ossf/scorecard-maintainers - These updates to the GitHub Action installation tool are ready for review!
In the next batch of updates, I'd like to combine the following GitHub clients:

https://github.com/ossf/scorecard-action/blob/main/github/github.go
https://github.com/ossf/scorecard-action/blob/main/install/github/github.go

We currently have the following comment in code:
// ParseFromURL is a function to get the repository information.
// It is decided to not use the golang GitHub library because of the
// dependency on the github.com/google/go-github/github library
// which will in turn require other dependencies.

...but as we've introduced the go-github library to support the installer tool, it makes sense to deduplicate common code paths.
As part of that deduplication, I'll be able to mock the GitHub client and write a few tests for previously uncovered code paths.


Clear the saved jupyter interpreter path if it fails to launch

Launch jupyter from an interpreter (you want it to be cached in the jupyter interpreter memento).
Now remove that interpreter from your system
Open a new workspace and point VSCode at a valid jupyter installed interpreter
Try to execute a cell

Result:
Jupyter will not start. However you won't get a popup on this or a notification of what interpreter it was trying to use. You just get a call stack of our code (NativeEditor.startServer ect..) displayed in the output cell.
Expected:
Any of the following would help:

Show the interpreter that we are trying to use, so I could at least tell what what happening
Guide the user to the "Select Jupyter Interpreter" command for a failing cached interpreter
Clear the saved interpreter if it fails so we move back to using the VSCode selected interpreter.

I vote for number 3

This feels like a regression to me. It wouldn't have done this before

Yeah, folks won't be removing interpreters all the time, but it's not that rare. And it's pretty bad when you get into this state. Plus the user has no idea that the first time they successfully launch Jupyter that they have set this internal setting.

Note. I was not able to repro the situation where I was failing and didn't see the missing dependencies popup. When I deleted or removed jupyter from the saved jupyter interpreter I always got the missing dependencies popup. So I added the target interpreter to that dialog (so the user can see what they are trying to use) and improved the help link.

Hmm. I can repro this if I set the jupyter interpreter to something that doesn't support it. Like a virtual env with jupyter.

@rchiodo Sorry what's an example of this "Like a virtual env with jupyter." A virtual env with Jupyter installed should work just fine. Do you mean if you delete that env?

On windows I can't get a virtualenv (one created with venv) to work. I installed the default python from the store, then create  a venv for juptyer, pip install jupyter and try running a notebook. The kernel will crash.
If you set this as your selected jupyter interpreter, we never recover.

Hmm virtualenvs from venv work just fine for me. Not fully sure if I really want to fudge up my system by installing the default python. I'll try to check it out this afternoon.

Works for me.

Validated. Removed jupyter from a selected interpreter that was already working and it just moved onto the new one automatically.

Validated


Download statistics only show last two weeks of downloads (periodically appearing bug)

Hi!
The "Downloads last month" statistics for models on huggingface.co are occasionally affected by a bug where the download numbers for the first two weeks of the month are zeroed out for all models on the entire website. In other words: the "downloads last month" number only takes in to account the latter half of the month.
This seems to happen periodically (at least once a month). The faulty statistics last for 1-3 days and then the problem will typically resolve itself, with the stats and downloads from the first half of the month reappearing again.
Here are some screenshots on the plot and download numbers for the current top 3 models, for the purposes of documenting how they look like before the download statistics and plots go back to normal again:
https://huggingface.co/gpt2

https://huggingface.co/distilgpt2

https://huggingface.co/bert-base-uncased

For reference, here are the listed download numbers for the top 10 most downloaded models on huggingface the last two weeks:

These numbers will all jump up higher when this issue resolves itself, since huggingface.co then once again will start counting the first half of the month.
Every month I run a script to log the download numbers of my organization's models. This is the reason I noticed that this was a periodically appearing bug in the first place. Whenever this bug is in effect, I need to wait a day or two before it resolves itself before I can run my script to scrape the download numbers.

cc @julien-c @Pierrci

pinging @co42 on this! Do you have an idea Corentin?

@julien-c My bad, fixing

Fixed in prod.
PR : https://github.com/huggingface/moon-landing/pull/2988

The graphs look like normal again (how I remember them from before the bug).
However, all the "downloads last month" numbers were higher by a factor of 2 to 3 for our models a couple of days ago. Was there a change in how the numbers are tabulated @co42 ?

Download numbers for all top 10 models dropped by a lot after fix. Maybe counting all usages from a single user as only 1 use  now or something?

See archive.org Wayback machine from May 12th as reference:
https://web.archive.org/web/20220512124207/https://huggingface.co/models

@Lauler, the graph was fixed but not the total. It is now :)

Thank you! Much appreciated that you took the time to fix this issue.
It would be really nice if Huggingface could prioritize adding a feature to show historical download statistics for models further back than 1 month. Download numbers are very useful statistic to be able to show for many organizations when for example applying for grants, or for access to HPC resources.

For internal reference, we have an internal issue for this https://github.com/huggingface/moon-landing/issues/1340

The fix was actually not deployed in prod, but it should be from today on. (cc @Pierrci )
Tentatively closing this again, reopen if still happens in the coming days =) =)


I have problems with fontFamily in dialogList

When i try to change the app: fontFamily="@font/raleway_semibold" does nothing.

@yoandryrf I am also facing the same situation, how did u manage to change fontfamily ?

@yoandryrf I am also facing the same situation, how did u manage to change fontfamily ?

@muankit I don't remember well because it was a long time ago, but I think I had to do it in code and not in xml, sorry for my English.

@muankit I don't remember well because it was a long time ago, but I think I had to do it in code and not in xml, sorry for my English.


chore: Trigger run with node 16 & bump @actions/core to latest version

Bump node js version to node16
Bump @actions/core to 1.10.0
Bump @actions/glob to 0.3.0
Add Pull Request template
Bump @octokit/fixtures to 22.0.6
Replace @zeit/ncc with @vercel/ncc
Update nock to 13.2.9
Update eslint to 8.3.0

@renatoabreu11 Wasn't the PR merged with failing tests? 🤔

@renatoabreu11 Wasn't the PR merged with failing tests? 🤔

It is expected to verify that the annotations are created during test runs; what matters is that the build step runs properly.
It is a bit weird 😄 and we can consider adjusting it later.


BottomSheet support

Hello, I cannot find any mention of bottomsheet. How does it work with this library? Is it expected to use DialogNavigator to show those bottomsheet? I expect that bottomsheet is a bit more complicated as some swiping down should skip further animation (the swipe already animated the destination removal or it should continue animating). Thank you

@hrach Hi, there is no current integration with ModalBottomSheetLayout and BottomSheetScaffold. And yes, it is actually not that trivial to implement. I'm planning to give it a go in the future, but not yet.
For now, I can suggest using DialogNavHost with BottomSheetDialog from this library: https://github.com/holixfactory/bottomsheetdialog-compose
I've tested it and it works great. Just be aware of this small issue: https://github.com/holixfactory/bottomsheetdialog-compose/issues/1
Until developers fix the issue, it can be handled in this way (see how dismissCalled prevents the second accidental pop):
val navController = rememberNavController<DialogNavHostDestination>(
    initialBackstack = emptyList()
)

DialogNavHost(navController) { destination ->
    var dismissCalled by remember { mutableStateOf(false) }
    BottomSheetDialog(onDismissRequest = {
        if (!dismissCalled) {
            dismissCalled = true
            navController.pop()
        }
    }) {
        when (destination) {
            DialogNavHostDestination.First -> FirstDialogLayout(
                toSecondDialogButtonClick = { navController.navigate(DialogNavHostDestination.Second) }
            )
            DialogNavHostDestination.Second -> SecondDialogLayout()
        }
    }
}

Thank you for the response. What's the motivation not to use the material bottom sheet?

I'm not sure what do you mean.

Yes, I mean the Compose Material implementation. Bringing the View system or even the View's  bottomsheet behavior seems quite non-optimal to me and we will always lack the latest features for Compose.

But it is the same as using composable Dialogs. It is just a separate window with a compose layout inside. I've used this library in a separate project and find it so much more convenient for simple cases rather than ModalBottomSheetLayout and BottomSheetScaffold.
But again, I'm not strictly against Compose's implementations, just give me the time, I have ideas on how it could be done better. But not at these exact moment. Sorry for inconvenience.

BottomSheetNavHost is finally implemented as part of reimagined-material artifact in version 1.3.0.


Add Model 2 protonfix

Add a protonfix file for the Model 2 emulator, https://segaretro.org/Model_2_Emulator
Can PR the database with relevant info if this is merged :)

can you change the filename to ulwgl-modal2?
We implemented parsing of the second part of the name so that if it determines it's numeric it is parsed as a steam ID, this is needed so that valve's proton can apply it's fixes in the proton launch script.
for games not on steam the second part of the ID should have at least one letter but preferably be a phrase thats easily understandable simply so that it's not parsed as a steam id and proton steam id specific fixes therefore dont get applied

can you change the filename to ulwgl-modal2?
We implemented parsing of the second part of the name so that if it determines it's numeric it is parsed as a steam ID, this is needed so that valve's proton can apply it's fixes in the proton launch script.
for games not on steam the second part of the ID should have at least one letter but preferably be a phrase thats easily understandable simply so that it's not parsed as a steam id and proton steam id specific fixes therefore dont get applied

Sorry about that, done!
Does this mean that I can use model2 as my ID when launching Model 2 using the gamelauncher.sh?

yes ulwgl-modal2 specifically. i updated the database guidelines with an explanation and example of what i was talking about with steam's game specific fixes in proton


support sphinx 8.x

Hi,
I have a project that include a few different themes, some of them depend on sphinx 8.x to work, including sphinx-rtd-theme, which has just released its 3.x version that builds with sphinx 8.x.
However, when I install the nefertiti theme, it will downgrade my sphinx back to 7.x. So I'm wondering, is there any plan to upgrade nefertiti to make it work with sphinx 8.x ?
Thanks.

Hi @zliu, thanks for your message.
I will make a release to remove that constraint. It is an unintentional constrain, Nefertiti for Sphinx works with Sphinx 8. :-)
I am in the process of implementing other changes (back-to-top button, customizable header links, breadcrumbs, etc.) that will be part of a subsequent release, I hope I will have that one in one or two weeks.

It is done. Release 0.4.2 works with Sphinx 8. Thanks again for telling.
If your project is publicly available, please, share the link, I would like to see it :-)

@danirus  Thanks for the quick update, it is really fast.
My project is pulling these public packages through company proxy, so we can use the up-to-date features. However my project is not public, I'm building an internal document hosting site using several different themes for work purpose. It is within our company private network, sorry for not able to share it.


Run utPLSQL test greyed out in other schema

Hi,
I'm using the utPLSQL extension version 1.2.0 with SQL Developer 19.4.
I can right-click in the connections window and run utPLSQL tests on packages in my own schema, but I cannot do this on packages in another schema - the utPLSQL options are greyed out. Any idea what could be causing this? If I run them like this from my own schema, it works fine:
set serveroutput on
begin
ut.run('other_schema.ut_package');
end;
PS: I have enough rights to create and execute objects in the other schema.
Thanks
Matthias

Hi Philipp,
We are using utPLSQL version v<IP_ADDRESS>70.
I executed your piece of PL/SQL code and it returned 1 in my case, so this looks ok.
However, I have found something else based on your feedback.
I normally browse to the objects of other users by right-clicking in my schema name in the connections window, then choose "Schema Browser" and select the required schema. The utPLSQL options are greyed out there! However, when I try it your way and open the other schema from the "Other Users" folder in my schema, it works fine and the utPLSQL context menu is correctly enabled! Can you reproduce this behaviour? Let me know if you need more information.
Thanks,
Matthias

Yes, I can reproduce it.

It looks like it's not possible to select test packages in the Schema Browser. It does not matter which schema is selected. Does not work with the own schema schema. I consider this a bug. Thank you for reporting it.

Thanks, good to know it's a bug and not something related to my configuration ;-)

(oops maybe I should better not close this one)

Thanks, I can confirm it's working fine now (I tried v1.2.1 with SQL Developer 20.2.


Fix #136 fitBounds burst issue

This should solve #136.
A reference to the map object needs to be available at all times, or it won't receive the updated fitBounds (or any other property for that matter).

@alex3165 Do you have some time to take a look at this?

Hey @gschjetne, thanks for reporting but we need to wait until the style of the map is loaded before rendering any children of the Map component (Layer, Source...). Otherwise nothing is displayed until you trigger a re-rendering the Map. Maybe we can set the reference of the map as you did and use another property in the component state to render the children elements when the style is loaded. In any case you can run the examples to make sure you changes doesn't break anything.

Would this do the trick??

That works well, could we add a test for the original issue? to make sure we don't introduce regression later.

Good idea. I'll give it a crack tomorrow at the office.

I will get this merged, we can write a unit test later ! 👍  thank you for the PR

Released with version 2.1.0 👍

Excellent, thanks!


Suppress Calm works with Transmission=No

Use Transmission field to indicate whether a work should be transformed or surpressed

#559 instead


feature: add chain ID and token names

Proof-of-concept for the addition of chain IDs and token names.
Update: Now includes all token names and symbols.

In summary, added:

Names and symbols to all ERC20 and LP tokens
Decimal to LP tokens
CHAIN_ID and MULTICALL_V2 to all chains


fix: SingleSelectListState.selectedItem type should be nullable

The SingleSelectListState<T>.selectedItem type should be nullable as the useSingleSelectListState is assigning it to null where there is no default selectedKey as seen below.
  let selectedItem = selectedKey != null
    ? collection.getItem(selectedKey)
    : null;

✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Hey, thanks for putting this fix through. Does anyone know when this change hits NPM?
@yihuiliao @snowystinger @PHILLIPS71

Anyone else who is waiting on this to get into an NPM version can fix this in their project like so:
// types/index.d.ts
import { type Node } from "@react-types/shared";

declare module 'react-stately' {
    export interface SingleSelectListState<T> {
      selectedItem: Node<T> | null;
    }
  }

We're working on a release now, so hopefully soon!


Customizing the favicon

Hi, I want to customize the favicon for the chatbot I'm building (I'd like to put an emoticon such as 🐤 as favicon instead of the chainlit logo). Is there a way to do that in the current version of Chainlit?

This is not possible yet, will be coming with the theme customisability features

This is now possible! Docs here.


Need form generator which supports cuelang

json-editor takes a JSON Schema and uses it to generate an HTML form and can integrate with several popular CSS frameworks (bootstrap, spectre, tailwind)..
Does such tool exist for cuelang?

Cuelang can export to OpenAPI which is a json-schema.

@eadlam Thanks for the answer.


when changing environment in java project the code lens are not updated

when changing environment in java project the code lens are not updated.
What actually happened:
the code lens did not update
What effect it has on our system (System implications)
code lens are not updated
the intellij code vision daemon will only update code lens when the file is changed or closed/opened, or some time in the future when it will be triggered by something else.
so the files that are opened in the editor are not updated.
in C# for example we trigger an update when changing environment, probably its possible to do that for java too.

@shaykeren @MykolaYaremchuk
I fixed it , but please do a test and if you think its ok you can close this issue.
same for python.

@shalom938 where can we see your fix? is it present in main branch?

maybe you've forgotten to push your changes?

@MykolaYaremchuk  I didn't forget.
It starts from org.digma.intellij.plugin.emvironment.EnvironmentChangeHandler#environmentChanged
and you can follow the code from there. eventually all code lens services will be notified that the environment changed and will refresh code lens.

Not reproducible.  Checked in Rider and Intellij IDEA, everything is works.


Error in test command

In order for the test command to work, you must create the "test-WDATP-test" folder first.  Either add that to the script or put it in the instructions.  This needs to be updated in the WDATP portal as well.

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

ID: e1a58ecc-aa01-3b7a-c1f7-a039063c7c38
Version Independent ID: b1b9a0ef-fd7e-96e2-730d-01158fb93eee
Content: Run a detection test on a newly onboarded Windows Defender ATP machine
Content Source: windows/security/threat-protection/windows-defender-atp/run-detection-test-windows-defender-advanced-threat-protection.md
Product: w10
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Thank you for your feedback. Updates to the page will be reflected soon.

Hello,
I don't get it. Why do I need to create a folder in first place? How creating a folder will change the result of running the test command?
Why not just open a command line with elevated priviledges and run the command? 🤷♂


Add bs-alert, bs-alert-dismiss, bs-popover, bs-tooltip components

Add bootstrap dependency for popover and tooltip

fixes #107
Examples coming

@sandersonet For your review. This adds the following components:

{{bs-popover}}
{{bs-tooltip}}
{{bs-alert}}
{{bs-alert-dismiss}}

The alert component has some trickiness to handle reception of the innner bs-alert-dismiss 'dismiss' action properly.
Some specifics:

for popover and tooltip you can specify 'placement', 'bs-container' and 'bs-trigger' properties. These are passed through to the bootstrap javascript options (the "bs-" prefix is stripped from container and trigger — it's necessary because those are keywords for ember properties).
The bootstrap default trigger will apply if not explicitly specified, but
The 'placement' property is defaulted to 'bottom' because I looked over dashboard's code and almost all cases are 'bottom'
The 'bs-container' property defaults to 'body' for the same reason
None of the other possible bootstrap options are passed through (such as 'delay', 'selector', 'template', etc) because I didn't see these in use in dashboard, but they could be added later
The {{bs-alert}} can take an alert property ('warning','success','info' or 'danger'), defaulting to 'warning')

Additional details and usage examples are in the js files for each of the components.
The handlebars below will generate the screencap that follows it.

      {{#bs-alert alert='danger' as |component|}}
        This is an alert message
        {{#bs-alert-dismiss target=component}}
          Click here to close
        {{/bs-alert-dismiss}}
      {{/bs-alert}}

      {{#bs-alert as |component|}}
        This is another alert message
        {{#bs-alert-dismiss target=component}}
          <button type="button" class="close" aria-label="Close">
            ×
          </button>
        {{/bs-alert-dismiss}}
      {{/bs-alert}}

      {{#bs-alert alert='info' as |component|}}
        This is an info alert message.
        {{#bs-alert-dismiss target=component}}
          {{#bs-tooltip title="Click this to close"}}
            Click here to close
          {{/bs-tooltip}}
        {{/bs-alert-dismiss}}
      {{/bs-alert}}

      {{#bs-tooltip title="Here is a active-on-hover tooltip"}}
        I have a tooltip
      {{/bs-tooltip}}

      {{#bs-tooltip bs-trigger='click' placement='right' title="Here is a tooltip that is shown on click"}}
        Click me to see tooltip
      {{/bs-tooltip}}

      {{#bs-popover bs-container='body' placement='right' bs-trigger='focus' title="Password rules" content="The password must be 8 characters, contain an upper and lowercase letter and a number"}}
        {{input class='form-control' type='password'}}
      {{/bs-popover}}

Awesome!

@sandersonet Great — merging. If there are popover, tooltip or alert use-cases that aren't covered by these components lmk and we can address them as they arise. Should be pretty simple to expand on this base as necessary.


How to call function inside route?

Hi everyone,
i've some problem with calling custom function inside a route method.
I've the following request that broke the server when sendMessagge  is called, can you give some hint?
Thanks in advance,
Simone
Flight::route('/send', function(){ $return = array(); $response = sendMessage(); $return["allresponses"] = $response; $return = json_encode( $return); echo $return; });

I found a dumb issue that caused the error inside the method.  No problem with calling function inside routes, it was just my fault.


Validate the extension specific parameters of siddhi App with the patterns specified by a new annotation @ParameterOverload in the extension class

Purpose

Currently the siddhi extension developer should write the extension specific parameter validation logic in the init method. But this validation logic must be handled at java annotation level. This PR brings the init method specific parameter validation logic to the java annotation level so that future extension developers can avoid writing validation logics & just specify the valid patterns through a new annotation

Goals

Validate the extension specific parameters of siddhi App with the patterns specified by a new annotation @ParameterOverload in the extension class

Approach

A new custom annotation ParameterOverload is introduced to the Extension annotation so that the extension developer can give the supported patterns of the extension specific parameters using the new ParameterOverload annotation.

Then a new Annotation validation class with an annotation validator method is written in the Siddhi core to access the relevant extension class using Java Reflections & do the relevant validation. Java Runtime specific annotation processing can be done through Java Reflections. Relevant exceptions are thrown if the siddhi app level extension parameters doesn't support the pattern specified in the new ParameterOverload annotation.

This annotation validation class is called at a higher level of each extension class like the AbstractStreamProcessor or FunctionExecutor class level. This PR is related with window processor type extension annotation validation. So here it is called at AbstractStreamProcessor class level.

Annotation Validation logic can be handled at java compile time using the Siddhi annotation processor which is an instance of Annotation Processor. But extension specific parameter level information of siddhi App was not technically accesible at this level. So extension processing was handled using Java
Reflections.

instanceof ConstantExpressionExecutor or VariableExpressionExecutor information is not available at annotation level. So there is no common way which validates all the extension classes for the following case. Different extensions follow different logics. So can't write a common logic without the above information in the annotation level. So suggest to add a new variable in the Extension -> Parameter annotation to add this information as the extension writer already knows this information. So that the validation logic can be handled commonly for all siddhi extensions

Automation tests

Unit tests

Test were done by changing the TimeWindowProcessor, TimeLengthWindowProcessor, TimeBatchWindowProcessor extension classes by adding the new ParameterOverload annotation and by removing the init method. Unit tests were done by running the TimeWindowTestCase, TimeLengthWindowTestCase, TimeBatchWindowTestCase classes.

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Test environment

Tests were done using Lenovo T530 with Core™ i7-3520M, 8GB RAM, 500GB HDD.
JDK version (1.8)
Operating System (Ubuntu 18.04)

Codecov Report

Merging #1221 into master will decrease coverage by 0.11%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1221      +/-   ##
============================================
- Coverage     61.43%   61.32%   -0.12%
  Complexity       35       35
============================================
  Files           619      620       +1
  Lines         24942    25003      +61
  Branches       3909     3933      +24
============================================
+ Hits          15324    15333       +9
- Misses         8292     8344      +52
  Partials       1326     1326

Impacted Files
Coverage Δ
Complexity Δ

...cessor/stream/window/TimeBatchWindowProcessor.java
68.83% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ddhi/core/util/parser/SingleInputStreamParser.java
84.82% <ø> (ø)
0 <0> (ø)
:arrow_down:

...essor/stream/window/TimeLengthWindowProcessor.java
67.56% <ø> (ø)
0 <0> (ø)
:arrow_down:

...uery/processor/stream/AbstractStreamProcessor.java
97.82% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../core/annotation/ProcessorAnnotationValidator.java
0% <0%> (ø)
0 <0> (?)

...ore/util/persistence/InMemoryPersistenceStore.java
53.84% <0%> (-5.13%)
0% <0%> (ø)

.../io/siddhi/core/util/snapshot/SnapshotService.java
38.3% <0%> (-0.21%)
0% <0%> (ø)

...ut/stream/state/AbsentStreamPreStateProcessor.java
86.61% <0%> (+1.4%)
0% <0%> (ø)
:arrow_down:

...rocessor/stream/window/SessionWindowProcessor.java
75.37% <0%> (+1.49%)
0% <0%> (ø)
:arrow_down:

... and 1 more

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 5082278...6be013a. Read the comment docs.


Split test_tag and testx_tag

test_tag will contain only tests that do not require additional dependencies

coverage: 39.162%. remained the same
when pulling<PHONE_NUMBER>dd0b779de059f7202680b1a6ad4672 on bact:add-tag-tests
into cf6997f27052836b813d19a5ae5b97ac2581f2eb on PyThaiNLP:dev.

We have some tag tests back now


update k8saudit-eks plugin blog post

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Update the blog post about k8saudit-eks plugin to use falcoctl
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

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

@pmusa: changing LGTM is restricted to collaborators

In response to this:

Great job! Left some minor comments.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

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

LGTM label has been added.  Git tree hash: 00fe1c3a5b4d2754b02131d421758e22f93a2517


Avoid page shrinking when Drag and drop cards on iOS devices

Ref: https://github.com/kanboard/kanboard/issues/4385

@Haocen thanks for the contribution!


Fixed conflict with windows min() and max() macros in spirv_common.hpp

If windows.h is included before spirv_common.hpp without NOMINMAX being defined the windows min and max macros will conflict with the STL std::numeric_limits functions.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.