Rendering of rst tables seems to be missing

This may be a known issue but just something I noticed so I thought I'd mention it here - it looks like rst table syntax is not being properly rendered in the html output. I noticed this while looking at the papyri-generated API docs for numpy.digitize, which has a table in the extended summary of the docstring.

Yes, and so far I'm relying on tree-sitter-rst,
which does not parse tables for rst.
And. my understanding is that detecting and parsing tables is a hell lot complicated,
I'm thinking that if there are few enough table I could try to convinces the few use case to migrate to a .. table: directive.

For the Scientific Python theme, we use yaml for tables.  For example,
{{< yamlToTable >}}
headers:
  - Project
  - Available Packages
  - Download location

format:
  - align: left
  - align: left
  - align: right

rows:
  - columns:
      - "NumPy"
      - |
        Official *source code* (all platforms) and *binaries* for

        **Windows**, **Linux**, and **Mac OS X**
      - "[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)"

  - columns:
      - SciPy
      - |
        Official *source code* (all platforms) and *binaries* for

        **Windows**, **Linux** and **Mac OS X**
      - |
        [SciPy release page](https://github.com/scipy/scipy/releases) (sources)

        [PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)

{{< /yamlToTable >}}

You can see the rendered version here:
https://theme.scientific-python.org/shortcodes/#yamltotable
I suspect something along those lines could work for NetworkX, but I suspect we also want it to work for Sphinx.  Not sure how that would work, though.

I think having a sphinx directive that renders table should not be too complicated as long as we can emit the right docutils nodes.
There is even already a table directive so it should not be a problem.

It would be nice to have the same format for the hugo theme.  We are happy to modify the format if it helps.

Yeas, that should not be a problem in the long run, I'm just likely not going to make it a priority.


Chunked and null-safe fetching of locations in Track Requests

Issue Addressed
This PR closes #750 .
Description
We introduce ArrayUtils.chunk, and use it to break the locations list into chunks of no more than CompositeId.MAX_FEATURES features.  We also update /api/locations/byCentreline to filter out null values.
Tests
Added unit test for ArrayUtils.chunk.  Tested quickly in frontend.

Tested features in frontend - LGTM.

Tested features in frontend - LGTM.


Add two new gd32f4 boards

Summary
The Xiaomi AIoT development platform (training box) has two gd32f4 series sub boards, and the board level configuration has been updated to the community
Impact
The addition of a new board has no impact on other content
Testing
Successfully run on board

@mishuaishuai please squash your patch into one

@mishuaishuai you missed to include the board Documentation, all boards in the systems need to have a Doc page with the picture of the board, which features the board has, what is implemented, what is missing, etc
There are many examples you can use as base, i.e.: https://nuttx.apache.org/docs/latest/platforms/arm/stm32h7/boards/linum-stm32h753bi/index.html


FAWE WorldGuard Not Compatible

The FAWE worldguard does not seem to be compatible with this plugin, the worldguard wrapper also seems to be pretty far behind.

Please try again with the latest snapshot if you're still interested in this plugin.


virtualenv module is not installed

Current Situation
Apple TV Enhanced is throwing the following error on startup:
Logs
[Apple TV Enhanced] Python check: virtualenv python module is not installed. You need to install the python package virtualenv either by using 'python3 -m pip install virutalenv' or installing it via system packages. On debian based distributions this is usally 'sudo apt install python3-venv'

Configuration
}
            "name": "Apple TV Enhanced",
            "deviceStateDelay": 0,
            "avadaKedavraAppAmount": 15,
            "disableVolumeControlRemote": false,
            "forceVenvRecreate": true,
            "logLevel": 3,
            "platform": "AppleTVEnhanced"
        }

Environment

OS: Synology
Docker: true
Homebridge: 1.7.0
Apple TV Enhanced:1.0.1
Node: v20.10.0
npm: 10.2.3
Python: 3.8.10
pip: 20.0.2

Additional Context
No response

Before we start ... only write in English. This makes sure that everybody can follow the conversation.

Which version of the docker image are you using?

It is okay for me
Gesendet von Outlook für iOShttps://aka.ms/o0ukef

Von: Maximilian Leith @.>
Gesendet: Saturday, January 6, 2024 1:52:35 PM
An: maxileith/homebridge-appletv-enhanced @.>
Cc: Jörg Trieu @.>; Author @.>
Betreff: Re: [maxileith/homebridge-appletv-enhanced] virtualenv module is not installed (Issue #163)
Before we start ... only write in English. This makes sure that everybody can follow the conversation.
—
Reply to this email directly, view it on GitHubhttps://github.com/maxileith/homebridge-appletv-enhanced/issues/163#issuecomment-1879673606, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN2NKZQVV22NYIWSCHROMZ3YNFCJHAVCNFSM6AAAAABBPQBYVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGY3TGNRQGY.
You are receiving this because you authored the thread.Message ID: @.***>

Which version of the docker image are you using?
sorry where can i find this, i see that it is the last one from onzu

Just because it is tagged as latest doesn't mean that it is the latest.
I am not here to explain you the basics of docker.
I am not familiar with Synology.
You are probably not fulfilling the requirements that you should have read before installing the plugin. from the README:

Python virtual environment module virtualenv. (the plugin will create a virtual environment on startup and will install python dependencies in this virtual environment)

On homebridge apt-package >=1.1.4 the python module is installed automatically as a dependency, see homebridge/homebridge-apt-pkg#16

raspian image >= 1.1.2 includes this apt-package, so there is no need to install it manually.
homebridge-docker >= 2023-11-28 includes this apt-package, so there is no need to install it manually.

Otherwise, the python module virtualenv has to be installed manually. This won't be handled by the plugin itself.

On debian-based distros: sudo apt install python3-venv
Installation on other distros may vary

ok thanks I check this

Especially homebridge-docker >= 2023-11-28

Alternatively, you can just execute sudo apt install python3-venv in the console as suggested by the error message in the log.

this error then occurs  Package 'python3-venv' has no installation candidate

Then you are using a very old docker image which does not even use Ubuntu 22.04 as its base image. You really should keep your software uptodate. You can use ˋpython3 -m pip install venvˋ to install the required module.
However, this is not the docker way since this will be discarded when updating the image because docker containers are stateless. Just update your image to the latest one https://hub.docker.com/layers/homebridge/homebridge/latest/images/sha256-392a3913060b4d3a12fd19845074ac6dee032948763306f3bba1795ac6248bae

Unfortunately it does not work either, this message appears.
python3 -m pip install venv
ERROR: Could not find a version that satisfies the requirement venv (from versions: none)
ERROR: No matching distribution found for venv

It is virtualenv not venv. And as I said, it is the cleaner way to just update the image.

@onkben any updates?

Thanks for the request I will update the docker the days
Gesendet von Outlook für iOShttps://aka.ms/o0ukef

Von: Maximilian Leith @.>
Gesendet: Sunday, January 7, 2024 5:12:01 PM
An: maxileith/homebridge-appletv-enhanced @.>
Cc: Jörg Trieu @.>; Mention @.>
Betreff: Re: [maxileith/homebridge-appletv-enhanced] virtualenv module is not installed (Issue #163)
@onkbenhttps://github.com/onkben any updates?
—
Reply to this email directly, view it on GitHubhttps://github.com/maxileith/homebridge-appletv-enhanced/issues/163#issuecomment-1880101098, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN2NKZS7545ZGXXAQSYFL5LYNLCNDAVCNFSM6AAAAABBPQBYVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGEYDCMBZHA.
You are receiving this because you were mentioned.Message ID: @.***>


Rust sendrecv should get support for TLS websockets

See https://github.com/centricular/gstwebrtc-demos/pull/20#issuecomment-430013169 and surrounding comments. CC @maxmcd @MathieuDuponchelle
What basically has to be done is to use the proper API for creating the websocket, which gives us TLS but no way to split the sender/receiver part of the socket anymore. Which then means that we have to handle both sending and receiving in a non-blocking fashion on a single thread via tokio, and communicate (like before) with channels with the other code. The main difference would be that the websocket is handled from a single thread instead of two.

Working on this now

Done, and it now also handles SDP offers instead of just answers.


Add option to scan for using prebuilt xctestrun without workspace/project

Feature Request
It would be cool if scan supported the option to use xctestrun instead of workspace/project
Motivation Behind Feature
Running UI tests on iPhones/iPads that are stored in a less secure place (to allow easier access to the devices in case they need manual reboot) would security benefit from not having to access the codebase but only the xctestrun file.
Feature Description
If xctestrun file is provided then scan should work without specifying workspace/project path
Alternatives or Workarounds

.

Yes, this is still valid.
So I'm using this project as an example: https://github.com/Cyberbeni/TypedNotificationCenter
First I build the test: xcodebuild build-for-testing -project TypedNotificationCenter.xcodeproj -scheme TypedNotificationCenter\ macOS -derivedDataPath ./dd
Then I move the dd directory to another location, then I can run the test with xcodebuild with the following command: xcodebuild test-without-building -xctestrun ./dd/Build/Products/TypedNotificationCenter\ macOS_macosx10.15-x86_64.xctestrun -destination 'platform=OS X,arch=x86_64'
Which would translate to the following fastlane command: fastlane scan xctestrun:./dd/Build/Products/TypedNotificationCenter\ macOS_macosx10.15-x86_64.xctestrun
But this results in the following prompt: Couldn't automatically detect the project file, please provide a path:

👀 Do notifications have emojis, Josh?

I'm starting to think that @joshdholtz is not getting notifications about this 🤔

I’m here. I just have a lot of other notifications that come my way and a big list of existing tasks I’m trying to finish up 😇 And more fastlane projects than just this repo 😉

Cool, no worries.

.

I'll add it to my wishlist asap

.

I've been working with a regression and other feature, still in my to-do list, my apologies 🙇🏻♂

Still a thing, sorry, just finished my previous PR

.

Do you have an ETA for this issue?

In currently working on another Swift issue, I'll try to work with it ASAP


Velocity command interface

Hi,
I am trying to control an ABB robot in simulation with the command interface in velocity with ROS2 foxy. The values of the joint velocities states, in simulation, are changing but the robot is not moving. While if I try to move the robot using the position command interface I can do it.
Is it possible to move the robot only using the velocity command interface? If so, is there any example on how to do it?
Thanks.

did you get answer to it?

No but on ROS2 Humble the velocity command interface works on real hardware. You should launch this RAPID on the robot to use the hardware interface in velocity.

I was able to implement velocity-only control by setting the EGM gain to 0 in the EGM Motion setup which makes the robot's controller ignore position references. See control law described on pg 21. This also required me to set the Level to Raw (from Filtering) in the EGM motion setup. I still kept the position and velocity as command interfaces on the ROS 2 side.
It worked well but at some point I realized the robot doesn't converge to the goal very nicely but perhaps this is something that could be fixed with the PID values on the joint_trajectory_controller side.


bug: Issue with gemma

Summary
[You]:
Write me a short description of the Adidas brand
[Bot]:
^C
Reproduction steps
alex@M1 ~ % bash <(curl -sSfL 'https://code.flows.network/webhook/iwYN1SdN3AmPgR5ao5Gt/run-llm.sh')
[I] This is a helper script for deploying LlamaEdge API Server on this machine.
The following tasks will be done:
- Download GGUF model
- Install WasmEdge Runtime and the wasi-nn_ggml plugin
- Download LlamaEdge API Server

Upon the tasks done, an HTTP server will be started and it will serve the selected
model.

Please note:

- All downloaded files will be stored in the current folder
- The server will be listening on all network interfaces
- The server will run with default settings which are not always optimal
- Do not judge the quality of a model based on the results from this script
- This script is only for demonstration purposes

During the whole process, you can press Ctrl-C to abort the current process at any time.

Press Enter to continue ...

[+] Installing WasmEdge ...
1) Install the latest version of WasmEdge and wasi-nn_ggml plugin (recommended)
2) Keep the current version

[+] Select a number from the list above: 1
Using Python: /opt/homebrew/bin/python3
INFO    - CUDA is only supported on Linux
INFO    - CUDA is only supported on Linux
WARNING - Experimental Option Selected: plugins
WARNING - plugins option may change later
INFO    - Compatible with current configuration
INFO    - Running Uninstaller
WARNING - SHELL variable not found. Using zsh as SHELL
INFO    - shell configuration updated
INFO    - Downloading WasmEdge
|============================================================|100.00 %INFO    - Downloaded
INFO    - Installing WasmEdge
INFO    - WasmEdge Successfully installed
INFO    - Downloading Plugin: wasi_nn-ggml
|============================================================|100.00 %INFO    - Downloaded
INFO    - Run:
source /Users/alex/.zshenv
The WasmEdge Runtime is installed in /Users/alex/.wasmedge/bin/wasmedge.

[+] The most popular models at https://huggingface.co/second-state:
 1) Gemma-7b-it-GGUF
 2) Gemma-2b-it-GGUF
 3) Llama-2-7B-Chat-GGUF
 4) stablelm-2-zephyr-1.6b-GGUF
 5) OpenChat-3.5-0106-GGUF
 6) Yi-34B-Chat-GGUF
 7) Yi-34Bx2-MoE-60B-GGUF
 8) Deepseek-LLM-7B-Chat-GGUF
 9) Deepseek-Coder-6.7B-Instruct-GGUF
10) Mistral-7B-Instruct-v0.2-GGUF
11) dolphin-2.6-mistral-7B-GGUF
12) Orca-2-13B-GGUF
13) TinyLlama-1.1B-Chat-v1.0-GGUF
14) SOLAR-10.7B-Instruct-v1.0-GGUF

Or choose one from: https://huggingface.co/models?sort=trending&search=gguf

[+] Please select a number from the list above or enter an URL: 1
[+] Downloading the selected model from https://huggingface.co/second-state/Gemma-7b-it-GGUF/resolve/main/gemma-7b-it-Q5_K_M.gguf
######################################################################### 100.0%######################################################################### 100.0%
[+] Extracting prompt type: gemma-instruct
[+] No reverse prompt required
[+] Running mode:
 1) API Server with Chatbot web app
 2) CLI Chat

[+] Select a number from the list above: 2
[+] Selected running mode: 2 (CLI Chat)
[+] You already have llama-chat.wasm. Download the latest llama-chat.wasm? (y/n): y
[+] Downloading the latest llama-chat.wasm ...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2295k  100 2295k    0     0  1732k      0  0:00:01  0:00:01 --:--:-- 9793k
[+] Will run the following command to start CLI Chat:
wasmedge --dir .:. --nn-preload default:GGML:AUTO:gemma-7b-it-Q5_K_M.gguf llama-chat.wasm --prompt-template gemma-instruct

[+] Confirm to start CLI Chat? (y/n): y
********************* LlamaEdge *********************
[INFO] Model alias: default
[INFO] Prompt context size: 512
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 100
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 0.8
[INFO] Top-p sampling (1.0 = disabled): 0.9
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] presence penalty (0.0 = disabled): 0
[INFO] frequency penalty (0.0 = disabled): 0
[INFO] Use default system prompt
[INFO] Prompt template: GemmaInstruct
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
[INFO] Plugin version: b2230 (commit 89febfed)
================================== Running in interactive mode. ===================================
- Press [Ctrl+C] to interject at any time.
- Press [Return] to end the input.
- For multi-line inputs, end each line with '\' and press [Return] to get another line.

[You]:
Write me a short description of the Adidas brand
[Bot]:
^C
alex@M1 ~ % wasmedge --dir .:. --nn-preload default:GGML:AUTO:~/ai/gemma-7b-it-Q4_K_M.gguf llama-chat.wasm -p gemma-instruct -c 512
[INFO] Model alias: default
[INFO] Prompt context size: 512
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 100
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 0.8
[INFO] Top-p sampling (1.0 = disabled): 0.9
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] presence penalty (0.0 = disabled): 0
[INFO] frequency penalty (0.0 = disabled): 0
[INFO] Use default system prompt
[INFO] Prompt template: GemmaInstruct
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
[2024-02-25 13:10:22.030] [error] [WASI-NN] GGML backend: Error: unable to init model.
Error: "Fail to load model into wasi-nn: Backend Error: WASI-NN Backend Error: Caller module passed an invalid argument"
alex@M1 ~ % wasmedge --dir .:. --nn-preload default:GGML:AUTO:~/ai/gemma-7b-it-Q4_K_M.gguf llama-chat.wasm -p gemma-instruct -c 512
[INFO] Model alias: default
[INFO] Prompt context size: 512
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 100
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 0.8
[INFO] Top-p sampling (1.0 = disabled): 0.9
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] presence penalty (0.0 = disabled): 0
[INFO] frequency penalty (0.0 = disabled): 0
[INFO] Use default system prompt
[INFO] Prompt template: GemmaInstruct
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
[2024-02-25 13:10:57.677] [error] [WASI-NN] GGML backend: Error: unable to init model.
Error: "Fail to load model into wasi-nn: Backend Error: WASI-NN Backend Error: Caller module passed an invalid argument"
alex@M1 ~ %
Screenshots

Any logs you want to share for showing the specific issue
No response
Model Information
gemma-7b-it-Q5_K_M.gguf, gemma-7b-it-45_K_M.gguf
Operating system information
macOS Sonoma
ARCH
arm64
CPU Information
Apple M1
Memory Size
8GB
GPU Information
Apple M1
VRAM Size
8GB

NO, the output was like this:
[You]:
Write me a short description of the Adidas brand
[Bot]:
^C

Hi @alexcardo
Can you please try Gemma-2b? It seems that there was something wrong with the Gemma-7B-it GGUF model file. https://huggingface.co/google/gemma-7b-it/discussions/38#65d7b14adb51f7c160769fa1
Will let you know when the problem solved.


Allow DLLs

Is this pull request associated with an issue(s)?
None
Description
Lifts the restriction on libraries having the suffix dll.

 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.

Once @jwaldrop107 responds to my review I'm willing to force merge this. I opened #161 to track the CI problem.


Since some recent update the cursor is changing and moving to the overlay popup window after item search

🐞 bug report
Describe the bug
When evaluating an item (pressing CTRL+D) the overlay opens its popup window and the mouse cursor moves to it. This is a new and undesired behavior, which slows down the evaluation of several items stored next to each other since now it is necessary to move the mouse cursor from the center of the screen back to where the items are, after each evaluation.
To Reproduce

Evaluate item.
Move the mouse pointer after the evaluation window loads and check that it moved to the center of the screen.

Expected behavior
The mouse shouldn't move when doing an item evaluation.
🌍  Your Environment

OS: Win10 x64
PoE: tested on Steam's and GGG's version 3.10.1e with same result.

Solved by 0.6.26


Support non-utf-8 xml encoding

What did you implement:
Debian added a XML header with encoding="ASCII" to its OVAL files which breaks golangs xml.Unmarshal (xml: encoding "ASCII" declared but Decoder.CharsetReader is nil). Adding a CharsetReader based on IANA encoding charset or falling back to a standard io.Reader.
The Unmarshal function is based on that article: https://dzhg.dev/posts/2020/08/how-to-parse-xml-with-non-utf8-encoding-in-go/
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
$ go run main.go fetch debian 9 10 11
INFO[12-06|19:21:51] Fetching...                              URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml
INFO[12-06|19:21:51] Fetching...                              URL=https://www.debian.org/security/oval/oval-definitions-buster.xml
INFO[12-06|19:21:51] Fetching...                              URL=https://www.debian.org/security/oval/oval-definitions-bullseye.xml
INFO[12-06|19:21:53] Fetched...                               URL=https://www.debian.org/security/oval/oval-definitions-buster.xml
INFO[12-06|19:21:53] Fetched...                               URL=https://www.debian.org/security/oval/oval-definitions-bullseye.xml
INFO[12-06|19:21:53] Fetched...                               URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml
INFO[12-06|19:21:53] Finished fetching OVAL definitions
INFO[12-06|19:21:54] Fetched                                  URL=https://www.debian.org/security/oval/oval-definitions-buster.xml OVAL definitions=22502
INFO[12-06|19:21:54] Refreshing...                            Family=debian Version=10
INFO[12-06|19:21:54] Inserting new Definitions...
22501 / 22501 [-----------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 52046 p/s
INFO[12-06|19:21:55] Finish                                   Updated=22501
INFO[12-06|19:21:56] Fetched                                  URL=https://www.debian.org/security/oval/oval-definitions-bullseye.xml OVAL definitions=22288
INFO[12-06|19:21:56] Refreshing...                            Family=debian Version=11
INFO[12-06|19:21:56] Inserting new Definitions...
22286 / 22286 [-----------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 49205 p/s
INFO[12-06|19:21:57] Finish                                   Updated=22286
INFO[12-06|19:21:58] Fetched                                  URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml OVAL definitions=25006
INFO[12-06|19:21:58] Refreshing...                            Family=debian Version=9
INFO[12-06|19:21:58] Inserting new Definitions...
25006 / 25006 [-----------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 44172 p/s
INFO[12-06|19:21:59] Finish                                   Updated=25006

Checklist:
You don't have to satisfy all of the following.

[ ] Write tests
[ ] Write documentation
[x] Check that there aren't other open pull requests for the same issue/feature
[x] Format your source code by make fmt
[x] Pass the test by make test
[x] Provide verification config / commands
[x] Enable "Allow edits from maintainers" for this PR
[x] Update the messages below

Is this ready for review?: YES
Reference

https://blog.github.com/2015-01-21-how-to-write-the-perfect-pull-request/

Thank you for sending a pull request.
sorry. I merged the simpler one. #172

@martin-koerner
Thank you for the PR.
I really should have reviewed and nurtured this PR, but we didn't have time and I wrote one myself that solves a similar problem.
I hope you will continue to send me PRs if you have any.

Thanks @MaineK00n, no worries, I am happy that this issue is solved 👍


publish<EMAIL_ADDRESS>

Requested by: @krystofwoldrich
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave a comment containing #retract under this issue to retract the release (original issuer only).
Targets

[ ] npm
[ ] github
[ ] registry

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

iOS now builds -> https://github.com/getsentry/sentry-react-native/actions/runs/9415839307/job/25937701508
We can release

#retract
I will open new hotfix without native SDKs bumps (as they are not required for the hotfix).


Typescript generators

From @mhartington on January 18, 2016 21:23
From @tlancina on January 8, 2016 1:32
Right now the generated components are not typed.  Also might be nice for the tooling to differentiate between Typescript and ES6 projects (separate issue).
Copied from original issue: driftyco/ionic2#892
Copied from original issue: driftyco/ionic#5019

From @lordgreg on January 26, 2016 21:31
+1

From @Peekmo on January 26, 2016 21:35
Hello,
I'll like it a lot (as it is already possible to start a projet with --ts)
Regards,
Peekmo

Yea it would be a nice feature, +1 as typescript should become the default in the future
I will open an other issue for this generator concerning a way to chose a 'parent' directory

As we're working entirely in TypeScript, I would love to have this feature. The generated JS is close, but it is a pain to tweak it every time something is added.

It indeed makes sense that if you create a new project with --ts, the rest of the commands would match. That's what I did and I wondered why my service was .js, then I removed the files, called the command again with --ts and I wondered why I still got a .js.

This would be a very useful feature. Suck having to change extensions and covert every time something is created.

+1

This is done in beta.24 of the CLI when using beta.4 of the framework.


Css Glowing effects on Hover over navbar items

Issue Type:

[x ] Feature Request

Describe the bug

A clear and concise description of what the bug is.

Possible solution

Describe the solution you thought of.

Screenshots

If applicable, add screenshots to help explain your problem.

This is a hover effect which can be added to hamburger menu of nav elements.

I want to work on this issue under GSSoC'22


Configure email for invite confirmation

Currently via MailTrap - get free account for it to work, and configure mail variables in dds_app.cfg. Will be reconfigured in production


Model switching, samplers from api

Switching models requires WebUI to be at least on commit 5a6387e189dc365c47a7979b9040d5b6fdd7ba43
Updating the WebUI actually broke dreaming with this tool with the samplers hardcoded, so i added them from the api too. Make sure to test!
Also the model switching takes a while

works absolutely perfectly <3 thanks!


Add icon to distinguish videos

It would be useful to have a way to distinguish videos, probably with a video/play icon overlaid on the thumbnails ?

I experimented the same issue with subdirectory. I implemented it using a title div below the image div, and using a custom icon from material project. You can experiment it with my branch in https://github.com/Glandos/sigal/tree/photoswipe_blog using the photoswipe_blog theme.
This is not really a blog. I just stripped the "first" image, and make title appear on each image, to have a decent summary. The name is just the expression for my lack of imagination.
I wanted to open a pull request for this, but even if I'm still working on it, there is a lot of thing I need to polish before submitting.

About the difference between directories and pictures there is also #190. I experimented something there for colorbox  but was not happy with it. Looking at other similar project recently, I now think that (for colorbox and photoswipe) we could put an overlay on the bottom of the thumbnail with the album title and number of images, maybe something like lychee ?


DAVID

Hi,
Trying to run the ref-based RNA-seq in a GVL instance.
Can't find DAVID tool (Mentioned on page 21) in tool-shed - what should I be looking for?
TIA,
Mark

The tools seems to refer to a non-toolshed tool installed on usegalaxy.org: https://usegalaxy.org/?tool_id=hgv_david&version=1.0.1
Perhaps somebody could share the tool xml and we can see if we can turn it into a toolshed tool? (ping @nekrut)

Hi,
After exchanging with @bgruening and @nsoranzo because I was searching for a kind of "DAVID" tool, they mention others already Galaxy integrated tools like gprofiler : https://toolshed.g2.bx.psu.edu/view/tambeta/gprofiler/dfda180ac951  / Kobas https://toolshed.g2.bx.psu.edu/view/iuc/kobas/83b998fa34ea / Goseq https://toolshed.g2.bx.psu.edu/view/iuc/goseq/9d1256d9ef0b . I think, once we have tested these 3 tools, we have to modify the DAVID mention by one (or more ?) of these tools on the tutorial...

In any case DAVID or any other enrichment test should absolutely not be used with RNA-seq data without some sort of length correction. The goseq vignette and paper
Young MD, Wakefield MJ, Smyth GK and Oshlack A (2010). “Gene ontology analysis for RNA-seq: accounting for selection bias.” Genome Biology, 11, pp. R14.

go into details about this (I have read other papers that reach similar conclusions, but I don't have them at hand now). Basically DAVID was developed for microarray data, where there appears to be no length bias.


Problem importing AWS OIDC Provider

pulumi import aws:iam/openIdConnectProvider:OpenIdConnectProvider stack-oidcProvider arn:aws:iam::<ACCOUNT_ID>:oidc-provider/oidc.eks.us-east-2.amazonaws.com/id/<OIDC_UID>
Previewing import (stack/name)

     Type                              Name                      Plan       Info
     pulumi:pulumi:Stack               company-stack             1 error
 =   └─ aws:iam:OpenIdConnectProvider  stack-oidcProvider  import     2 errors

Diagnostics:
  aws:iam:OpenIdConnectProvider (stack-oidcProvider):
    error: aws:iam/openIdConnectProvider:OpenIdConnectProvider resource 'stack-oidcProvider' has a problem: "url" has to use HTTPS scheme (i.e. begin with https://). Examine values at 'OpenIdConnectProvider.Url'.
    error: Preview failed: one or more inputs failed to validate

  pulumi:pulumi:Stack (stack-stack):
    error: preview failed

This command is constructed according to https://www.pulumi.com/registry/packages/aws/api-docs/iam/openidconnectprovider/#import
I can confirm that my url starts with HTTPS with an aws eks describe-cluster --name cluster-name  --query "cluster.identity.oidc.issuer" --output text
When I do a aws iam get-open-id-connect-provider --open-id-connect-provider-arn arn:aws:iam::<ACCOUNT_ID>:oidc-provider/oidc.eks.us-east-2.amazonaws.com/id/<OIDC_UID> the URL does not begin with HTTPS.
Is it a bug or am I doing something wrong? Thanks!
Pulumi Version: 3.20.0
Package.json
{
    "name": "stack",
    "devDependencies": {
        "@types/node": "^16.9.6"
    },
    "dependencies": {
        "@pulumi/awsx": "^0.31.0",
        "@pulumi/eks": "^0.33.0",
        "@pulumi/pulumi": "^3.12.0",
        "dotenv": "^10.0.0",
        "yaml": "^1.10.2"
    }
}

To add more to this, it appears AWs doesn't specify the URL scheme as part of the Url property. A quick way to check this is to use the AWS cli to retrieve the OIDC.
aws iam get-open-id-connect-provider --open-id-connect-provider-arn arn:aws:iam::<AWS_ACCOUNT_ID>:oidc-provider/oidc.eks.ap-southeast-2.amazonaws.com/id/<OIDC_UID>
The the out is as follows:
{
    "Url": "oidc.eks.ap-southeast-2.amazonaws.com/id/<OIDC_UID>",
    "ClientIDList": [
        "sts.amazonaws.com"
    ],
    "ThumbprintList": [
        "9e99a48a9960b14926bb7f3b02e22da2b0ab7280"
    ],
    "CreateDate": "2021-12-24T01:35:40.251000+00:00",
    "Tags": []
}

Looking into the code, The function responsible for validating the URL is located here: https://github.com/pulumi/terraform-provider-aws/blob/pulumi-master/aws/validators.go#L1388-L1402
func validateOpenIdURL(v interface{}, k string) (ws []string, errors []error) {
	value := v.(string)
	u, err := url.Parse(value)
	if err != nil {
		errors = append(errors, fmt.Errorf("%q has to be a valid URL", k))
		return
	}
	if u.Scheme != "https" {
		errors = append(errors, fmt.Errorf("%q has to use HTTPS scheme (i.e. begin with https://)", k))
	}
	if len(u.Query()) > 0 {
		errors = append(errors, fmt.Errorf("%q cannot contain query parameters per the OIDC standard", k))
	}
	return
}

Import functionality has been significantly refactored in #8922 to substantially reduce the number of failures during pulumi import and make the generated code more truthful and complete. We haven't tested this exact issue, but we believe it's addressed by the refactoring.
I'll go ahead and close the issue - feel free if you still get issues with it after upgrading to the Pulumi CLI version 3.26.1 or above.
Read more about the changes in Easier IaC adoption with improved pulumi import experience.


pull request for e2e test at 01/23/2017 06:15:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


API not working?

Is this API not working anymore?  I'm using curl and seeing results but whenever I try using this API I get no results or errors.  I'm assuming this project is not usable anymore?

Hey @derekshull, we haven't changed our API, so I'm surprised that this isn't working for you.  We'll investigate.

I figured it out.  I'm going to make a change and do a pull request.

Awesome, thank you!


fix(compiler-core): append full tagEnd in generated loc.source

fixes #10694

Instead of changing tokenizer logic, it's better to handle this at the parser level in onCloseTag where the location info is generated. See https://github.com/vuejs/core/commit/16174da21d6c8ac0aae027dd964fc35e221ded0a
Also .trimEnd is ES2019 and cannot be used in the codebase.


correction of href / link targets

deleted some wrong space characters inside of link targets (href attribute)

Thanks!


fix docblock

Closing; since tests are excluded from the API docs, and the intention of the test can be determined in the test body, I don't think we need the change.


How do i install it?

 I figured out how to use the chatbot but not the drawbot. Can someone help me out?

Also, I know about all the steps and stuff but how do I get it into my lobby?


Code-only series creation/manipulation

While v2 introduced dynamic series of a sort, I have the need to add series completely from the back end.  The only difference with the Dynamic* series classes is that they don't rely on parameterized settings.

Hi I'm a bit curious why you need this?

Before v2, I pulled src and added these classes to dynamically clear and add series based on user input, etc.
I have attempted to upgrade to the nuget package for v2, using the dynamic display based on StateHasChanged to cause the rerendering of the new set of data, but part of the change is from one chart to another, from a 4 column chart to a categorized 8 column chart.  I am updating options, updating series, and rendering on the chart but I'm only getting 4 columns unless I click twice on my tab.  It may be I'm doing something wrong, but I have invested a lot of time in getting these reports to run with the DynamicSeries class I made and I have a lot of reports to update.  Since I'm having trouble with just the first one, I would rather keep using the class I made as it is working well for me.  It might help someone else.

I'm sorry but I would need some more details about the problem and alternative solutions before accepting this pr.
Dynamically changing a chart should be possible as it is right now. Could you provide simple repo that would show your issue?

Hi Joakim,
Sorry I didn't get to this yet.  I will attempt to soon.
Jean


2D Particle Editor freezes after Window loses then regains focus

My environment:
Intel Core i7-7700 CPU, 32.0 GB RAM, Windows 10 Pro 19041.1052 with Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
This also occurs on team member's Windows 10 machine with Java build 1.8.0_291-b10 and also on my machine with Java 11.0.10.
When running the latest downloadable jar of the 2D particle editor, the program becomes unresponsive after the windows loses focuses and then regains it. No log output occurs so there is no stack trace to show.
To reproduce: Launch the jar from command-line or double-clicking. Click on a different window, click on editor again.

I have tracked the issue down to the ParticleEditor.java:
public boolean touchUp (int x, int y, int pointer, int button) {     ParticleEditor.this.dispatchEvent(new WindowEvent(ParticleEditor.this, WindowEvent.WINDOW_LOST_FOCUS));     ParticleEditor.this.dispatchEvent(new WindowEvent(ParticleEditor.this, WindowEvent.WINDOW_GAINED_FOCUS));     ParticleEditor.this.requestFocusInWindow();         return false; }
Furthermore, the issue is only caused by clicking on the Window. All other forms of focusing the window e.g. alt+tab, clicking taskbar are working without issue.

I can reproduce, though it only freezes when both windows (particle editor and task manager, in my case) are on-screen at the same time. I have essentially no experience with particles and the editor, so I probably won't be able to help much.


Fix crash from missing valueDeclaration on intersection property

Fixes #37015
The error was occurring when trying to serialize a JS symbol into a class declaration, because one of its inherited property symbols was missing a valueDeclaration, which was the target of a Debug.assertIsDefined.
When two object types were unioned/intersectioned, the order of types was having an observable effect on whether the resulting property symbol had a valueDeclaration set. If the first type’s property didn’t have a valueDeclaration but a later type’s property did, we’d take the later one. But in the inverse case, we’d say that there was a non-uniform value declaration so we wouldn’t attach one at all.
Fixing this fixed the real-world repro at #37015 and improved one types baseline, but my minimal repro was still failing because the intersection property for toString had two different defined declarations, which seemed like a legitimate violation of the assertion’s assumption, so I removed the assertion. My understanding of this code is that inherited properties could all be filtered out, and if valueDeclaration is undefined, the property must be inherited.

We still want to serialise properties that come from an intersection but only have one source property, right? If I understand correctly, { a } & { b } should always produce a and b -- whereas { a: number } & { a: string } is the dual-defined case, and is OK to skip a. Is that correct? Is that what this PR does?

I thought there was a reliable way to differentiate between properties that are just passed through an intersection vs those that combine two source properties. It might be having a defined containingType, but I thought there was something else.
Combined, these two statements:

But in the inverse case, we’d say that there was a non-uniform value declaration so we wouldn’t attach one at all.

my minimal repro was still failing because the intersection property for toString had two different defined declarations

make me think that the rules for setting valueDeclaration on intersection properties should change first and then the serialisation code can change if there's still a need.

We still want to serialise properties that come from an intersection but only have one source property, right? If I understand correctly, { a } & { b } should always produce a and b -- whereas { a: number } & { a: string } is the dual-defined case, and is OK to skip a. Is that correct? Is that what this PR does?

Yep, that’s what this PR does. But in my test case, the inherited toString property still came from an intersection of Object and CoreObject, each with their own toString declaration, so the serialization had to change too.

I should also be more clear that I think my change to createUnionOrIntersectionProperty was just fixing a mistake, not changing the rules. It was dependent on the order of types in the union/intersection, which seems like it must have been unintentional.


Prevent setTimeout buildup during frequent document updates

Addresses https://github.com/ueberdosis/hocuspocus/issues/854
When making many edits to the same document within the disconnectTimeout window (1000ms by default), it's possible to stack a large number of redundant setTimeout calls. This tracks and clears any pending Timeouts when new hooks are fired against the same document.
in the case of afterStoreDocument, we immediately resolve the promise so that outstanding hooks complete. In the case of onDisconnect, we simply clear the timeout, since we'll set a new delayed disconnect call.

@janthurau any rough idea when this might be able to be reviewed? it's currently a blocking leak for us, but would prefer not to deploy a fork for too long/at all if avoidable.


Dead link in about-page

Hi!
Just a heads up
The about page(https://koto.dev/about/) has a link to learn more about iterators, but it is currently not a correct link:
https://koto.dev/about/core_lib/iterator

This is fixed now, thanks for the heads up!


net.minecraft.client.audio -> net.minecraft.client.sound

We have net.minecraft.sound, so the client-side package should be net.minecraft.client.sound.
Also, based on the alphabetical class name order (which is preserved by obfuscation), sound seems to be correct Mojang name:
...
net/minecraft/client/render/model/MultipartBakedModel (dvz)
net/minecraft/client/render/model/BasicBakedModel (dwa)
net/minecraft/client/render/model/UnbakedModel (dwb)
net/minecraft/client/render/model/WeightedBakedModel (dwc)
net/minecraft/client/audio/AbstractSoundInstance (dwf)
net/minecraft/client/audio/MovingSoundInstance (dwg)
net/minecraft/client/util/ClientPlayerTickable (dwh)
net/minecraft/client/audio/BubbleColumnSoundPlayer (dwi)
net/minecraft/client/audio/ElytraSoundInstance (dwj)
net/minecraft/client/audio/EntityTrackingSoundInstance (dwk)
...

sound is also how it's called in resource packs.

Yes.


About input text token max_length

Great work!
I noticed max_length is set to 25 here, which is much smaller than 77 of CLIP.
How do you derive this setting?

Hi, thanks for you interest in our paper.
This setting is determined by (1) the average sentence length of the pre-training dataset and (2) computational efficiency.
Feel free to let me know if you might have any other questions/suggestions. Thanks.

Thank you very much for your answer!


Odd behavior running with-razzle example

I'm running into very odd behavior using the with-razzle example. The Razzle app runs and reloads as expected prior to adding Rogue and I'm wondering if anyone else is seeing this behavior or not.
Steps to reproduce:

Create new Razzle app
create-razzle-app with-razzle
cd with-razzle

Start the app, make a change to Home.js, then verify the app is built and reloads as expected

Install Rogue using specific version to match with-razzle example
yarn add<EMAIL_ADDRESS>

Overwrite contents of local server.js, index.js, client.js, and App.js files with content from with-razzle example directory files

Start the app, make a change to App.js, then verify the app is built and reloads as expected
√ success server compiled in 141ms
√ success client compiled in 165ms
🔁  HMR Reloading `./server`...
[HMR] Updated modules:
[HMR]  - ./src/App.js
[HMR]  - ./src/server.js
[HMR] Update applied.
√ success client compiled in 564ms

Error displayed in the console:
Warning: Text content did not match. Server: "Roguejs with Razzle" Client: "Roguejs with Razzle!"

Browser still shows old content, but view source and JS bundle show the updated content

Upgrade @rogue/app to 0.6.11

Start the app, make a change to App.js, then verify the app is built and reloads as expected
√ success server compiled in 750ms
√ success client compiled in 671ms
🔁  HMR Reloading `./server`...
[HMR] Updated modules:
[HMR]  - ./src/App.js
[HMR]  - ./src/server.js
[HMR] Update applied.
√ success client compiled in 933ms

Browser shows the change quickly, then reverts to the content as it was prior to the change. Also, the 'text content did not match' message is back in the console.

View page source and JS bundle both have content matching the source
"dependencies": {
  "@roguejs/app": "0.6.11",
  "express": "4.16.3",
  "razzle": "2.2.0",
  "react": "16.4.1",
  "react-dom": "16.4.1",
  "react-router-dom": "4.3.1"
}

OS: Windows 10
Node: 8.11.3
Yarn: 1.5.1

I was running into this error with previous version of Rogue but I thought I had fixed this
can you link me to the exact repo you're experimenting with Rogue on? (since it's not the with-razzle example and that example does work for me at least)

hi @stevefan1999 thanks for commenting
I haven't been able to look into this yet but what code did you have to add to fix the problem?

@alidcastano 🤔Just some standard react-hot-loader stuff, either add a hot(module) decorator or put if (module.hot) module.hot.accept() on the last line of your client.js.

@corydeppen looks like this might be specific to razzle and react-hot-loader
Can you try above and see if it fixes your problem
Otherwise I'll give it a look when I get a chance

To be clear, the Razzle project reloads as expected prior to adding Rogue.
Adding react-hot-loader on top of Razzle doesn't seem appropriate, since Razzle already sets up HMR for you. Further, index.js in my example project calls module.hot.accept.

@corydeppen looking into this now but btw just realized the after.js example (https://github.com/jaredpalmer/razzle/blob/master/examples/with-afterjs/src/client.js#L17) also includes the line @stevefan1999 mentioned, so that's likely the issue

@corydeppen I forked your example and can confirm that added the above snippet + upgrading to 0.7.0 fixes the problem (at least on my side)
Also updated with-razzle example so others don't run into this issue


Market switch width - firefox

On Firefox problem with width market switch, IE & Chrome is ok.

Here we don't use flexible layout, you'd better adjust the width manually to accommodate high precision numbers.
The width is defined at:
https://github.com/peatio/peatio/blob/master/app/assets/stylesheets/vars/_market.css.scss#L31
Table column width is controlled by bootstrap classes:
https://github.com/peatio/peatio/blob/master/app/views/private/markets/_market_list.html.slim
https://github.com/peatio/peatio/blob/master/app/views/private/markets/_market_trades.html.slim


support function overloading

Summary
Fixes https://github.com/finos/legend-studio/issues/1211

https://user-images.githubusercontent.com/73408381/181059345-a64c2ea4-198e-463d-8197-cff7338c48c7.mov
How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

As a user, if there are some functions in your workspace, you will see some auto-computed changes as shown in the video below.
https://user-images.githubusercontent.com/73408381/193893212-11aeaaec-51f6-4e65-8649-86181fe17cb7.mov

###Data
Data testServiceStoreTestSuites::TestData
{
  ServiceStore
  #{
    [
      {
        request:
        {
          method: GET;
          url: '/employees/allEmployees';
        };
        response:
        {
          body:
            ExternalFormat
            #{
              contentType: 'application/json';
              data: '[ { "kerberos": "dummy kerberos", "employeeID": "dummy id", "title": "dummy title", "firstName": "dummy firstName", "lastName": "dummy lastname", "countryCode": "dummy countryCode" } ]';
            }#;
        };
      }
    ]
  }#
}

###Service
Service testServiceStoreTestSuites::TestService
{
  pattern: '/testServiceStoreTestSuites/testService';
  owners:
  [
    'dummy1',
    'dummy2'
  ];
  documentation: 'Service to test Service testSuite';
  autoActivateUpdates: true;
  execution: Single
  {
    query: |testServiceStoreTestSuites::Employee.all()->graphFetch(#{testServiceStoreTestSuites::Employee{kerberos,employeeID,title,firstName,lastName,countryCode}}#)->serialize(#{testServiceStoreTestSuites::Employee{kerberos,employeeID,title,firstName,lastName,countryCode}}#);
    mapping: testServiceStoreTestSuites::ServiceStoreMapping;
    runtime: testServiceStoreTestSuites::ServiceStoreRuntime;
  }
  testSuites:
  [
    testSuite1:
    {
      data:
      [
        connections:
        [
          connection_1:
            Reference
            #{
              testServiceStoreTestSuites::TestData
            }#
        ]
      ]
      tests:
      [
        test1:
        {
          asserts:
          [
            assert1:
              EqualToJson
              #{
                expected :
                  ExternalFormat
                  #{
                    contentType: 'application/json';
                    data: '{ "kerberos": "dummy kerberos", "employeeID": "dummy id", "title": "dummy title", "firstName": "dummy firstName", "lastName": "dummy lastname", "countryCode": "dummy countryCode" }';
                  }#;
              }#
          ]
        }
      ]
    }
  ]
}

###ServiceStore
ServiceStore testServiceStoreTestSuites::ServiceStore
(
  ServiceGroup EmployeeServices
  (
    path : '/employees';

    Service EmployeeService
    (
      path : '/allEmployees';
      method : GET;
      response : [testServiceStoreTestSuites::Employee <- testServiceStoreTestSuites::employeeServiceStoreSchemaBinding];
      security : [];
    )
    Service EmployeeServiceWithParameters
    (
      path : '/employeesWithParameters';
      method : GET;
      parameters :
      (
        stringParam : String ( location = query ),
        integerParam : Integer ( location = query ),
        floatParam : Float ( location = query ),
        booleanParam : Boolean ( location = query )
      );
      response : [testServiceStoreTestSuites::Employee2 <- testServiceStoreTestSuites::employeeServiceStoreSchemaBinding];
      security : [];
    )
  )
)

###ExternalFormat
Binding testServiceStoreTestSuites::employeeServiceStoreSchemaBinding
{
  contentType: 'application/json';
  modelIncludes: [
    testServiceStoreTestSuites::Employee,
    testServiceStoreTestSuites::Employee2
  ];
}

###Pure
Class testServiceStoreTestSuites::Employee
{
  kerberos: String[1];
  employeeID: String[1];
  title: String[0..1];
  firstName: String[0..1];
  lastName: String[0..1];
  countryCode: String[0..1];
}

Class testServiceStoreTestSuites::Employee2
{
  stringParam: String[1];
  integerParam: Integer[1];
  floatParam: Float[1];
  booleanParam: Boolean[1];
}

###Mapping
Mapping testServiceStoreTestSuites::ServiceStoreMapping
(
  *testServiceStoreTestSuites::Employee[employee_set]: ServiceStore
  {
    ~service [testServiceStoreTestSuites::ServiceStore] EmployeeServices.EmployeeService
  }
  *testServiceStoreTestSuites::Employee2[employee2_set]: ServiceStore
  {
    ~service [testServiceStoreTestSuites::ServiceStore] EmployeeServices.EmployeeServiceWithParameters
    (
      ~request
      (
        parameters
        (
          stringParam = $this.stringParam,
          integerParam = $this.integerParam,
          floatParam = $this.floatParam,
          booleanParam = $this.booleanParam
        )
      )
    )
  }
)

###Connection
ServiceStoreConnection testServiceStoreTestSuites::ServiceStoreConnection
{
  store: testServiceStoreTestSuites::ServiceStore;
  baseUrl: 'https://prodUrl.com';
}

###Runtime
Runtime testServiceStoreTestSuites::ServiceStoreRuntime
{
  mappings:
  [
    testServiceStoreTestSuites::ServiceStoreMapping
  ];
  connections:
  [
    testServiceStoreTestSuites::ServiceStore:
    [
      connection_1: testServiceStoreTestSuites::ServiceStoreConnection
    ]
  ];
}


DEVIL datasets used for training

Thanks for your work.
I'm interesting about video inpainting, but I found that popular datasets such as DAVIS and YT-VOS are not quite appropriate for the mission.  Since significant portion of them has too big annotations in the view to be inpainted, which is useless for the training process.
I wonder if you have ever consider use DEVIL datasets for training process and if you have done it, how it works?

Thanks for your interest in the project! DEVIL was primarily designed with evaluation in mind, so we have not tried using the data for training. If you are interested in using smaller masks, feel free to play with the mask code here.


deploy UI

@sujitmhj can you deploy the UI.  you had talked about doing that, and mentioned a URL, so maybe you already did that. :)

alrady deployed here: https://sangai.sujit.net.np/


Added autoclick textfield option. Makes way for other options

Integrating this nice feature from https://github.com/SteamDatabase/steamSummerMinigame. The first of what will surely be many.

Also, this addresses this issue: https://github.com/mouseas/steamSummerMinigame/issues/79#issuecomment-111870551

I played with it a little and their seems to be some bugs in it. Can we got some other people to test this out? It didn't seem to be setting the number correctly, and at one point it ignored the number all together and clicked really really fast.

Hmm I made sure to test it quite thoroughly, did you press enter after changing the number?

I did, it may have just been a problem my end. If we got one other person to test it I'll merge it. Just to be sure.

I tested it, made several tweaks until it was working nicely. Commit 6370ebeeeacd6dcaaa44c475ecd17057db3dadb7 which unfortunately doesn't include @JCKE's commit history. (Sorry, JCKE)

No problem, just happy to help


mixin: image

bootstrap image mixins from
https://github.com/twbs/bootstrapsass/blob/master/assets/stylesheets/bootstrap/mixins/_image.scss
Available Mixins

img_responsive
img_retina

Landed in 9751a2b


Can't get both a file upload and a text input

Hi,
I'm trying to convert a bash script to a CGI. This script takes a file and an text field as inputs.
My form looks like this:
<form method="POST" action="/backend.sh" enctype="multipart/form-data">
  <input type="file" name="file" />
  <input type="text" name="text" />
  <button type="submit">Go</button>
</form>

On the backend I receive the file properly:
FORMFILE_file=/tmp/cgibashopts-files.8/file
FORMS=file

But I don't receive the text value.
If I remove the file input :
<form method="POST" action="/backend.sh" enctype="multipart/form-data">
  <input type="text" name="text" />
  <button type="submit">Go</button>
</form>

Then I get the text value:
FORMS=text
FORM_text=dqdfsq
FORMFILES=
FORMQUERY=

Is it possible to handle both? Am I using it a wrong way?

You are using it properly.
It seems you just found a bug in cgibashopts. It seems to ignore fields present after a file field.
E.g, this works:
<form method="POST" action="cgi-bin/test-cgbo.cgi" enctype="multipart/form-data">
  <input type="file" name="file" />
  <input type="text" name="text" value="foo"/>
  <button type="submit">Go</button>
</form>
==> FORMS="text file"

But not:
<form method="POST" action="cgi-bin/test-cgbo.cgi" enctype="multipart/form-data">
  <input type="file" name="file" />
  <input type="text" name="text" value="foo"/>
  <button type="submit">Go</button>
</form>
FORMS="file"

And it ignores any type of field, not just text.
I will look on how to fix it. It should not be too long (a day or two?), but in the meantime you can use the workaround of making sure the file field is the last on in the form.
Thanks a lot for reporting the bug, and taking the time to provide a code sample!

I think you forgot to swap lines in your code examples :wink:
Thanks for the workaround :slightly_smiling_face:

Oops, yes, corrected!

Ok, fixed!
I published the v4.1.1 release with the fix.

Great! Thanks a lot :slightly_smiling_face:


Stock's count on hand not updating

Using Spree v4.5.1, I've noticed that whenever I increase the stock quantity then press "Add Stock" button, the "count on hand" never changes. Issue remains whether I add a variant or not.

Looking at the database, count_on_hand on table spree_stock_items is always zero
Rails: 7.0.4
Ruby: 3.1.2
OS: macOS Monterey v12.6

Sorted. I had to add config.track_inventory_levels = true in initializers/spree.rb


Any way to get timestamps and build times to work with CMake projects?

I love this extension and have used it for many years. I only use CMake projects in Visual Studio now. Tweak2022 manages to put timestamps in the output window during builds, but unfortunately, it messes up the text (never shows the line saying build complete, for example, so I can't tell when it is done). Any way that VSColorOutput64 could put timestamps that work better than Tweak2022's? Thanks.

I'm not quite following what you're requesting. Could you mock-up and example?

With a CMake project, none of the timestamp-related settings seem to do anything.

Using Tweak2022, it manages to insert timestamps okay, but then it does not display any indicator when the build completes.

I would not have expected that. I wonder if it is a Msbuild notification I'm keying off of. (been quite a while since I visited that part of the code).

I thought that it was Tweaks2022 that allowed the time stamps in the output window, but it might be a VS2022 (preview?) feature instead. Regardless, it doesn't tell me when builds finish, so it's not very helpful.


binary_sensor.yaris_cross_over_all_status 'problem'

Once in a while I see that the binary_sensor.yaris_cross_over_all_status changes its state to 'Problem'.
Using the mytoyota python library, I found out today that the Toyota server returned the following:
'overallStatus': 'DRIVING'
This is the expected state, as my wife was driving the car at that moment.
I believe this 'problem' state is caused by the limitations of the binary_sensor.
Can this sensor perhaps be updated to a regular sensor, and simply report the state without changing it?
Kind regards,
Bert

Thanks for the bug report, when i coded this, this was not a feature.
The binary sensor needs to be converted to a normale sensor instead. PR's are more the welcome :)

We recently released version 2.0.0 of the Custom Component with major changes and support for the new Mytoyota API.
As we unfortunately cannot provide support for Custom Component versions < v2.0.0, I hereby close your issue.
If the issue still applies to the current version, you are of course free to open a new issue. 😊


About the model type

Hi, what is the difference between Deterministic model and Stochastic model? And what should I do to change the Deterministic version to  Stochastic version?

The deterministic model predicts a single result, while the stochastic model generates a prediction of distribution.
To convert a deterministic model to a stochastic version, one simple approach would be to introduce Gaussian noise when generating predictions and sample from the distribution.

The deterministic model predicts a single result, while the stochastic model generates a prediction of distribution.
To convert a deterministic model to a stochastic version, one simple approach would be to introduce Gaussian noise when generating predictions and sample from the distribution.

Many thanks! And to convert a stochastic version to a deterministic version, I should throw away Gaussian noise when training  and generating predictions or just when generating predictions?

You are most welcome.
Yes, you should train the model without Gaussian noise.
However, for this repo, we only provide the stochastic version of STAR. The hyperparameters of the deterministic version and the stochastic version can be quite different.

You are most welcome.
Yes, you should train the model without Gaussian noise.
However, for this repo, we only provide the stochastic version of STAR. The hyperparameters of the deterministic version and the stochastic version can be quit

You are most welcome.
Yes, you should train the model without Gaussian noise.
However, for this repo, we only provide the stochastic version of STAR. The hyperparameters of the deterministic version and the stochastic version can be quite different.

Have you considered releasing the deterministic version？

We currently have no plan to release it since I'm quite occupied with other stuff.
However, we may try to release it once I have more free time to deal with it.

We currently have no plan to release it since I'm quite occupied with other stuff.
However, we may try to release it once I have more free time to deal with it.

Thanks again!


Razor tempfiles cleanup.

This kind of fixes  #273 .
Additionally I changed some Razor internals to improve speed (especially if you generate the same documentation for multiple domains, which should now almost be free).
This means we could now per default generate a local documentation as well

I tried to build this to test on the caching on F# Data, but I have errors while building (upstream/master builds fine):
Error		The namespace 'Compiler' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	11
Error		The namespace 'Compiler' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	12
Error		The namespace 'Compiler' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	14
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	24
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	25
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	26
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	27
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	28
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	29
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	30
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	31
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	32
Error		The value or constructor 'SourceTokenizer' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	64
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	69
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	71
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	73
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	73
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	73
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	85
Error		The field, constructor or member 'ColorClass' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	136
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	137
Error		The field, constructor or member 'ColorClass' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	143
Error		The namespace or module 'FSharpTokenColorKind' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	144
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	153
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	161
Error		The type referenced through 'Microsoft.FSharp.Compiler.SourceCodeServices.ToolTipText' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	163
Error		Type mismatch. Expecting a
    'a -> 'b option
but given a
    'a -> obj
The type ''a option' does not match the type 'obj'	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	164
Error		The type referenced through 'Microsoft.FSharp.Compiler.SourceCodeServices.ToolTipText' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	168
Error		Type mismatch. Expecting a
    'a -> 'b option
but given a
    'a -> obj
The type ''a option' does not match the type 'obj'	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	169
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	173
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	176
Error		The field, constructor or member 'TokenName' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	177
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	190
Error		Type constraint mismatch. The type
    obj
is not compatible with type
    Symbol
The type 'obj' is not compatible with the type 'Symbol'	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	190
Error		The field, constructor or member 'ColorClass' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	192
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	204
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	205
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	214
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	215
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	222
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	225
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	225
Error		The type referenced through 'Microsoft.FSharp.Compiler.AbstractIL.Internal.Library.Shim.IFileSystem' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	252
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	257
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	258
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	275
Error		The record label 'OtherOptions' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	281
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	286
Error		The type referenced through 'Microsoft.FSharp.Compiler.SourceCodeServices.FSharpTokenInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	289
Error		The type referenced through 'Microsoft.FSharp.Compiler.Range.range' is defined in an assembly that is not referenced. You must add a reference to assembly 'FSharp.Compiler.Service'.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	300
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	345
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	348
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	348
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	348
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	348
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	349
Error		The namespace or module 'FSharpErrorSeverity' is not defined	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	349
Error		Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.	FSharp.CodeFormat	C:\Git\FSharp.Formatting\src\FSharp.CodeFormat\CodeFormatAgent.fs	350
Error		Assembly reference 'C:\Git\FSharp.Formatting\bin\FSharp.CodeFormat.dll' was not found or is invalid	FSharp.Formatting.CommandTool	FSC	1
Error		Assembly reference 'C:\Git\FSharp.Formatting\bin\FSharp.Literate.dll' was not found or is invalid	FSharp.Formatting.CommandTool	FSC	1
Error		Assembly reference 'C:\Git\FSharp.Formatting\bin\FSharp.MetadataFormat.dll' was not found or is invalid	FSharp.Formatting.CommandTool	FSC	1

Ok, problem was just with VS2015, on VS2013 it builds fine (but master did build fine on both)

Humm, you just made me realize that the template of the current published docs is already broken :/ I'm getting the english template on the japanese docs, and it's not caused by this change, something else before broke it again

And with this change it's still not working? Can you link the code which implements this template selection (by language) I want to take a quick look (tomorrow).

Yes, after this change it's still not working.
https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/generate.fsx#L130

The root cause is that https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/generate.fsx#L131 already does recursive processing (you can disable it with processRecursive = false). I added it because internally it was already implemented and just not working (so I considered that as bugfix), but knowing that it might break people I added the flag.
Basically your files where generated correctly and than overwritten incorrectly.
Anyway I would recommend you another way of doing this, use the same layout-root for both languages and call your templates "template.cshtml" and "template-ja.cshtml" (doctemplate in https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/generate.fsx#L132). You can just enable processRecursive and only do your root manually (= select the appropriate template).
This way is easier to manage/debug and you might get some performance if you can share templates across languages (or default back to English for some)

Thanks, went with the simplest solution for now: https://github.com/fsharp/FSharp.Data/commit/6370c6c339cf35708fa5d308788f2a79926ea17e
Worked fine with this PR, but you should have a look on why doesn't it compile anymore with F# 4.0

Did you check if F# Formatting actually compiles without this PR on F# 4.0? Because from the error message I would say that isn't related to this PR at all...

Yes, it does compile on F# 4.0 without this PR.

Quite weird for multiple reasons:

is F# 4.0 not backwards compatible?
as FSharp.CodeFormat fails to compile and has no dependency on the code I changed here, I would assume the failing has more to do with the updated references .paket/paket.exe update. Than with this PR

I currently have no F# 4.0 installation, can you check if it starts failing after .paket/paket.exe update and maybe even report that to the F# Compiler people?

Humm, it now is compiling ok both on VS2013 and VS2015 :/ Don't know how that happened. Never mind then

OK, thank you for testing this. So if @tpetricek is fine with the changes this PR is ready.

Nice work!
I recently noticed that the recursive processing is doing something wrong. Does that work in the version with this PR? What would be the best way to proceed with that? (Should we make processRecursive=false the default and update ProjectScaffold, so that it does not go into subfolders explicitly and instead just uses processRecursive=true?)

I always thought ProcessDirectory should already process the directory recursive while keeping its structure and that it didn't do it was a bug. If you disagree feel free to change the default back to false. (sorry if that caused any confusion, but the code for recursive processing was already there.. it was just not working properly). But actually that is not part of this PR.
The change was done a while back here: https://github.com/tpetricek/FSharp.Formatting/commit/97c969405af9a831a1d7adae79d402fa615e1656#diff-ac2f189fea923d711033602ea8408a2cL179
Note that the the code was already there, the comment says it would process recursively and the function was marked with let rec :)

Yes, I agree it should be working recursively!
But I guess all F# projects that use F# formatting include the workaround that calls the function on all the sub-directories, so we'll need to correct this. But I guess not many projects actually use sub-directories. Is this done right in ProjectScaffold?

Ah, I agree there is a problem there. We could simply use processRecursive=false for now as fix.
If you want to fix projects already forked from ProjectScaffold, I agree that we need to change the default here :(.
But again this doesn't relate to this PR at all. I think globalization is an issue currently here at F# Formatting.
The solution of ProjectScaffold is a bit overly optimistic and does directly work against how the ProcessDirectory API is designed. In fact this is an huge abuse of the API. If you change the template to a non-Razor Template it will break. If F# Formatting takes the full path of the given template into account (like it is supposed to do) it will break. So its doomed to break anyway. I would rather remove this "localization" sooner than later.
Maybe we should open a new issue and discuss this separately? Or is there and chat-room for F# Formatting where we could discuss possible solutions (as there are several)?

After thinking about it, there may be a solution which doesn't disturb users too much and only needs minimal edits in ProjectScaffold (full disclosure: change the template AND the layout-root depending on the language or use only the template-name instead of the full path). We also should ensure that F# Formatting enforces proper usage of the API and I have another Razor caching improvement for this case in the pipeline. Whenever I find some time I will open separate pull requests.
Note that the current PR doesn't change/relate to the situation (as this only does some caching improvements and fixes temporary file cleanup). Should I add processRecursive=false here as a quick fix (It would make more sense in a separate PR; I can send that if you want, it's only a single line change though)?

Let's discuss ProjectScaffold changes as a separate issue - this PR looks good. I'll merge it on Friday (after one nasty deadline :-))


Unable to install Cloudmapper

Hi,
macOS 10.13.6 and following the install docs I get:
....
Collecting pandas==0.22.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz
Could not find a version that satisfies the requirement numpy==1.9.3 (from versions: 1.14.5, 1.15.0rc2, 1.15.0)
No matching distribution found for numpy==1.9.3
Installing with
pip install numpy==1.9.3
.. just leads me down the path of esoteric build errors...
numpy/random/mtrand/mtrand.c:34512:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~  ^
numpy/random/mtrand/mtrand.c:34513:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
.. and so on. Trying to change requirements.txt to use the latest pandas package gets further but fails compiling pyproj:
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
_proj.c:5152:17: warning: 'PyObject_AsWriteBuffer' is deprecated [-Wdeprecated-declarations]
  __pyx_t_1 = ((PyObject_AsWriteBuffer(__pyx_v_lats2, (&__pyx_v_distdat), (&__pyx_v_buflend)) != 0) != 0);
                ^
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/abstract.h:503:40: note: 'PyObject_AsWriteBuffer' has been explicitly marked deprecated here
                                       Py_DEPRECATED(3.0);
                                       ^
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
_proj.c:7421:21: error: no member named 'exc_type' in 'struct _ts'
    *type = tstate->exc_type;
            ~~~~~~  ^
_proj.c:7422:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    *value = tstate->exc_value;
                     ^~~~~~~~~
                     curexc_value

Any ideas?
Thanks,
Paul

Yep I did that. Full log:
PWMBP:~ pwakeford$ cd Projects/
PWMBP:Projects pwakeford$ ls
Test1
PWMBP:Projects pwakeford$ mkdir cm4
PWMBP:Projects pwakeford$ cd cm4
PWMBP:cm4 pwakeford$ # clone the repo
PWMBP:cm4 pwakeford$ git clone git@github.com:duo-labs/cloudmapper.git
Cloning into 'cloudmapper'...
remote: Counting objects: 1338, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 1338 (delta 24), reused 33 (delta 18), pack-reused 1293
Receiving objects: 100% (1338/1338), 4.39 MiB | 588.00 KiB/s, done.
Resolving deltas: 100% (611/611), done.
PWMBP:cm4 pwakeford$ # Install pre-reqs for pyjq
PWMBP:cm4 pwakeford$ brew install autoconf automake libtool jq awscli python3
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/cask).
==> Updated Formulae
bear                     dependency-check         guile                    libxkbcommon             quicktype                thors-serializer
ckan                     firebase-cli             kubectx                  mafft                    sbt                      webpack
composer                 geos                     libgit2                  openapi-generator        sqlmap
corsixth                 goenv                    librealsense             phpunit                  sslyze
Warning: autoconf 2.69 is already installed and up-to-date
To reinstall 2.69, run brew reinstall autoconf
Warning: automake 1.16.1 is already installed and up-to-date
To reinstall 1.16.1, run brew reinstall automake
Warning: libtool 2.4.6_1 is already installed and up-to-date
To reinstall 2.4.6_1, run brew reinstall libtool
Warning: jq 1.5_3 is already installed and up-to-date
To reinstall 1.5_3, run brew reinstall jq
Warning: awscli 1.15.70 is already installed, it's just not linked
You can use brew link awscli to link this version.
Warning: python 3.7.0 is already installed and up-to-date
To reinstall 3.7.0, run brew reinstall python
PWMBP:cm4 pwakeford$ cd cloudmapper/
PWMBP:cloudmapper pwakeford$ python3 -m venv ./venv
PWMBP:cloudmapper pwakeford$ source venv/bin/activate
(venv) PWMBP:cloudmapper pwakeford$ pip install -r requirements.txt
Collecting pyjq==2.1.0 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/ec/c1/b5fcba48cb715b88b5ad619d1769204411383e2a275dfddda2d2fa8f99dd/pyjq-2.1.0.tar.gz
Collecting netaddr==0.7.19 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl
Collecting six==1.10.0 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting boto3==1.5.32 (from -r requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/22/8b/b120349f2684341fc08b389cb9fca1761a0cd1444b9550ad0ef91073a8d9/boto3-1.5.32-py2.py3-none-any.whl
Collecting pandas==0.22.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz
Could not find a version that satisfies the requirement numpy==1.9.3 (from versions: 1.14.5, 1.15.0rc2, 1.15.0)
No matching distribution found for numpy==1.9.3
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) PWMBP:cloudmapper pwakeford$

Looks like it might be this issue: https://github.com/pandas-dev/pandas/issues/20697
I'm running Python 3.6.4 and pip 9.0.1.  Looks like within the virtualenv, you can run pip install python --upgrade to update your Python version.

The most current version of Python from Homebrew is 3.7. This version seems to break a lot package installation. If you step down to 3.6.5 all of the packages build and install without errors.
To step down
brew switch python 3.6.5
I had the same problems you saw with python 3.7.

this may be a better solution for venvs:
/usr/local/Cellar/python3/3.6.5_1/bin/python3  -m venv venv

Installing and switching to 3.6.5 resolved this - thanks everyone.

my python versions seem untouched. from a new terminal ...
$ python --version
Python 2.7.15
$ python3 --version
Python 3.7.0
$ /usr/local/var/pyenv/versions/3.6.5/bin/python3.6 --version   # <-- obviously
Python 3.6.5

my understanding of python ecosystem is trivial at best but i seem to have not mucked my machine about here.

PR #160 (which I haven't merged yet) is for using pipenv, which seems to support specifying an exact python version.  So using that PR could resolve this issue along with better pinning libraries to use.  I'll investigate this weekend.

right on. i'll note in my internal docs and watch PR #160
thanks!

This should be resolved now by using pipenv and Python 3.7 via #187


add policy-list to policy-object-parcel converters

Added converters:

AppProbeClassList: app_probe
AppList: app_list
ClassMapList: class_map
ColorList: color
CommunityList: community
DataIPv6PrefixList: data_prefix_ipv6
DataPrefixList: data_prefix
ExpandedCommunityList: expanded_community
FQDNList: fqdn
GeoLocationList: geo_location
IPSSignatureList: ips_signature
IPv6PrefixList: prefix_ipv6
LocalDomainList: local_domain
PolicerList: policer
PortList: port,
PreferredColorGroupList: preferred_color_group
PrefixList: prefix
ProtocolNameList: protocol,
SLAClassList: sla_class
TLOCList: tloc
URLAllowList: url_allow
URLBlockList: url_block
ZoneList: zone

Fixed models/validators when needed

Updated transform() method to use new converters

Updated UX1Config model so all policy items include both uuid and content of item

Updated collect() method so it collects Security Policies

Checklist:

[x] Make sure to run pre-commit before committing changes
[x] Make sure all checks have passed
[x] PR description is clear and comprehensive
[x] Mentioned the issue that this PR solves (if applicable)
[x] Make sure you test the changes

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/516


Add deep links to lit.dev equivalent pages.

Related to https://github,com/lit/lit.dev/issues/471
Staged: https://lit-dev-links-dot-polymer-lit-element.uk.r.appspot.com/guide
Also updated text a bit:

Here's the banner with updated text:

Updated staging at https://lit-dev-links-dot-polymer-lit-element.uk.r.appspot.com


Security contact for vulnerability report

Hello,
The GitHub Security Lab team has found a potential vulnerability in your project. Please create a Security Advisory and invite me in to further disclose and discuss the vulnerability details and potential fix. Alternatively, please add a Security Policy containing a security email address to send the details to, and/or enable Public Vulnerability Reporting so we can submit the details.
If you prefer to contact us by email, please reach out to<EMAIL_ADDRESS>with reference to GHSL-2023-109.
Thank you,
GitHub Security Lab

done!


Not escape tabs

Closes #304

Coverage remained the same at 100.0% when pulling 85468b82bb9d396bc74d162d1e1b8f38182ebfb2 on juanjoDiaz:bugfix/not_escape_tabs into c191adf43cf89fa6948a0c5ac700805a2a43c9e1 on zemirco:master.


Detecting US_BANK_NUMBER with Pattern match and context

One of the important personally identifiable information (PII) is your bank number. A bank account is your own personal account through a bank that will have your protected banking information. Your bank number is how you will identify your account. There are a lot of benefits to having a bank account. Once you open a checking account in your bank account, you will have a debit card for instant transactions and online pay without having to use cash. You can also open a savings account to save the money you wish to keep for the future and your bank can offer interest rates so you can earn more money the longer you save. With all this being said, it is essential to keep this particular PII secured. Attackers can get your bank number through phishing attacks, malware attacks, skimming devices, and more. So in, order to protect this PII, you're going to want to make sure your passwords are secured, secure your account with biometrics such as face ID and fingerprint, and not falling for scam emails.
References/More information:
here
here

Will you include the physical and virtual measures that banks have in order to keep their clients bank numbers secure?

Will you include the physical and virtual measures that banks have in order to keep their clients bank numbers secure?

Yes, I intend to use and improve the measures banks use to secure their client's bank numbers.


Add deadletterPolicy to exclude deadletters with 404 not found reason

This change would allow to configure ghcrawler not to store deadletters with status 404 / not found reason.
@jeffmcaffer, could you please review?

Replace debug with AppInsights logger


Preview randomly start

Since the version 5+ of decentraland-ecs the previewmode randomly start.
I need to reload the page at least 2-3 times.

Tested with firefox, chrome, brave on windows 10
the option --web3 change nothing
be logged in metamask change nothing
HotReload doesn't work neither
the scene doesn't matter the tutorial scene (dcl init) has the some result
F5 or ctrl+F5
When it works my scene load in less that 10s otherwise even 5min nothing happen

The logger is full errors and warnings maybe a lead?

so I revert my version to<EMAIL_ADDRESS>and it works! I tried 6.9.0 and @6.8.2-1855284948.commit-843b67a it fails! So something happen between this two versions.