[Error] WebSocket connection to 'ws://[::]:4000/ws' failed

Environment
------------------------------
- Operating System: `Darwin`
- Node Version:     `v18.9.0`
- Nuxt Version:     `3.0.0-rc.12`
- Nitro Version:    `0.6.0`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `experimental`, `build`, `buildModules`, `modules`, `publicRuntimeConfig`, `privateRuntimeConfig`, `globalName`, `app`, `intlify`, `http`, `proxy`, `auth`, `tailwindcss`, `googleFonts`
- Runtime Modules:  `<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>- Build Modules:    `<EMAIL_ADDRESS>------------------------------

Reproduction
Upgrade from rc11 to rc12 and run npm run dev
Describe the bug
The error:
[Error] WebSocket connection to 'ws://[::]:4000/ws' failed: The Internet connection appears to be offline.

appears in the debug console over and over again. It seems like Nuxt tries to use IPv6 here, which doesn't seem to work on my macOS env. Before, if used "localhost" as hostname.
Additional context

Logs
No response

@Suniron @ahoiroman
I am using the latest version of the Nuxt content "@nuxt/content": "^2.13.2", and seeing the issue in the latest Google Chrome browser (both in normal and incognito mode) Version 128.0.6613.120 (Official Build) (x86_64). Just wanted to confirm if this has already been taken care of.
Because all the opened issues associated with this problem have already been closed but still exist. But I see a lot of people still reporting this issue. Found the following issues:
https://github.com/nuxt/nuxt/issues/15201
https://github.com/nuxt/content/issues/1622
https://github.com/activist-org/activist/issues/837

The problem seems to be fixed from multiple months for me

@Suniron Thanks a lot for the response but for some reason when I run the application in dev mode I am seeing these console.log messages. I am using the latest Nuxt content.

I'm having the same issue. It was working a few days ago but now not anymore. I must mention I'm using ubuntu on wsl.

@rmenai Thanks a lot for confirming the issue.
@ahoiroman Can you please let us know how to resolve the issue we are seeing the issue with the latest version of Nuxt and Nuxt content?


failed to clone nums

trying to install hashings. It says it requires lua-nums.
installed luarocks using apt on ubuntu 20.04
when I try sudo luarocks install lua-nums-scm-1.rockspec
I get
Cloning into 'lua-nums'...
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out
Error: Failed cloning git repository.
I copied the rock
what am I doing wrong.
lua-nums-scm-1.rockspec  is defined as
package = "lua-nums"
version = "scm-1"
source = {
url = "git://github.com/user-none/lua-nums.git"
}
description = {
summary    = "Pure Lua number library providing BigNum and fixed width unsigned integer types",
homepage   = "https://github.com/user-none/lua-nums.git",
license    = "MIT/X11",
maintainer = "John Schember<EMAIL_ADDRESS>}
dependencies = {
"lua >= 5.3"
}
build = {
type    = "builtin",
modules = {
["nums"]       = "nums/init.lua",
["nums.bn"]    = "nums/bn.lua",
["nums.uintn"] = "nums/uintn.lua",
["nums.uintb"] = "nums/uintb.lua"
}
}

It is maybe a github issue.
Try with luarocks 3.8.0 that include a fix to convert url from "git://" to "git+https://"
or edit the rockspec file
 source = {
-url = "git://github.com/user-none/lua-nums.git"
+url = "git+https://github.com/user-none/lua-nums.git"
 }


remove kui

Signed-off-by: Cameron Wall<EMAIL_ADDRESS>

/retest

PR Function test is failing due to unrelated reason.

/lgtm


Is it posible with MS Hololens ?

Yes, actually the Bluetooth Beacon Interactor is available in the Store on HoloLens and works perfectly fine!

Hi Andreas,
Thanks for your response i tried your app with HoloLens app integrate
with unity3d and i got beacon response. Thanks once again thanks.
Cheers,
Ankit Sangani.
On 3/30/2017 1:13 PM, Andreas Jakl wrote:

Yes, actually the Bluetooth Beacon Interactor is available in the
Store on HoloLens and works perfectly fine!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andijakl/universal-beacon/issues/12#issuecomment-290329244,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYgFErjcc5O4TiYsn_TbpdGw8SyxclBYks5rq102gaJpZM4Ms2el.


support for LLFF data format or customized data?

Can you please let me know if it supports LLFF data for customized images?

Hi @bennyguo,
Thanks for maintaining this project and helping the community. Does this project support LLFF or forward facing scenes now?

@srinath1412001 Actually, you can use the dataset(llff images) as COLMAP type, and training & validation work well (PNSR 27+), the only different part is the test should be 'crearte a spiral poses' instead of 'create_spheric_poses', I hope you can understand. And https://github.com/Fyusion/LLFF/issues/19.


For $ExpectType assertions, alphabetically sort unions and intersections

Not a perfect solution to Microsoft/TypeScript#17944 as it operates on strings and thus can't delve into types easily, but should be enough to fix our test failures for now.
When this is merged I'll have to update all the tests on DT to align with this at the same time this is published.

@andy-ms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

There's going to be an immediate limitation with type literals containing unions (i.e. { a: number | string }). Does that not come up in DefinitelyTyped?

I didn't see a lot, so added code to just anything with an object literal in it for now.

If we don't expect this to work perfectly, why not try to see if the current ones are identical, then try the adjustment as a fallback mechanism? Does that sound reasonable?


TaskMapperContext refactoring.

Pull Request type

[ ] Bugfix
[ ] Feature
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
[ ] WHOSUSING.md
[ ] Other (please describe):

Changes in this PR

taskToSchedule -> workflowTask.
workflowInstance -> workflowModel.
Removed unused workflowDefinition.
Changed bean name from taskProcessorsMap to taskMappersByTaskType.
Added TaskMapperContext#createTaskModel() which creates a basic TaskModel with properties copied from WorkflowTask and WorkflowModel.
FORK_JOIN_DYNAMIC now sets startTime.
TaskMapper implementations set the time fields in TaskModel corresponding to its status.
Removed start and execute methods from Wait.

@apanicker-nflx @jxu-nflx PR will be easier to review if each commit is reviewed separately.


Fix server example

Make the IPv6 address used in the server example the same as the IPv6
address used in the others.

@m-labs-homu r+

:pushpin: Commit 968cc04 has been approved by dlrobertson

:hourglass: Testing commit 968cc040df53c6cf419ca5bb48329f5fe8caf6f0 with merge 602724b2858e11d664bc686abed0cdebd1d97696...

:sunny: Test successful - status-travis
Approved by: dlrobertson
Pushing 602724b2858e11d664bc686abed0cdebd1d97696 to master...


1.0.0-eap to develop

1.0.0-eap

@derberg message for squashed commit:
1.0.0-EAP

@Pakisan we have develop branch? 😄

@derberg yeah, we have.
Master for releases, develop for snapshots

@derberg oh, 😰

@Pakisan you're gonna love it 😉 no pressure though 😄 maybe just a bit 😄


Child process IPC message fails on Windows - BTW why soooo big for a color picker (137MB)

Extension Version: 0.4.5
VS Code Version: 1.23.1
OS Version: Windows 10 x64
Node.js Version (result of command node -v): v10.0.0
NPM Version (result of command npm -v): 6.0.1

Steps to Reproduce:

Start, restart, uninstall, reinstall
Invoke Pick Color from Command Palette (ctrl+shift+p)
I doesn't do anything

I even did npm install from extension's directory. It was 121MB then 137MB in size. So big for a color picker IMHO. Maybe you can opt out electron and use FreePascal to create a multiplatform picker or any other programming language.
Log (All lines):
(Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)
[Extension Host] Start child process...
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Check version of: electron-prebuilt
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Check version of: comma-separated-values
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Check version of: js-yaml
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Check version of: process-bridge
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Try to send IPC message: 1
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Try to send IPC message: 2
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Child process disconnected
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:263 [Extension Host] Child process exited with code: 0

Hi @vhanla, thank you for the report.
As far as I see your report, it seems that the child process IPC message did not fail. Why you thought that?
Could you give me more details?
If you mean that a dialog box was not shown, try to specify 1 for colorHelper.disableGpu option.
BTW, file size (vsix file) of Color Picker is 296KB (not MB).
Electron is installed in to node_modules directory if you don't have it.
Also, VS Code is an app based Electron. That is required for GUI.

If you want, please make a new issue about Electron or the file size. Don't comment here about that.

Thank you, that was it! 👍

About the size, this is how it uses disk space in my extensions directory:

I know it is because of Electron (another instance of chromium), not the extension itself (without node_modules) xD

Electron executable here shown belongs to Color Picker (i.e. it is invoked by this extension), VSCode executable is Electron itself (modified of course), two instances (60MB RAM).

So, Electron from VSCode is not reusable, it has to download the Electron binary (executable electron.exe 70.4MB for this electron-prebuilt version) inside node_modules.
Electron-Prebuilt is deprecated, the extension uses version 0.37.3 (March 2016), latest release was April 2017 (v.1.3.15) and last pre-release (v1.6.12) on August 2017. Though, I don't think the vast collection of CVEs might become a problem, maybe I should be wrong.
Conclusion:
Extension is awesome, on cold boot it is slow, but afterwards it is fast.
Overall, I don't mind the size NOW, since it is working. However, I still would prefer a native application instead of Electron.

Thank you for the reply. :smile:
I also think that you are wrong.
However, as I said, you should not comment here about Electron.


Don't move the ER diagram until search is complete

Right now search function in ERD works like this: After any symbol input focus starts moving rapidly from table to table until the search is complete, this looks strange and maybe even scary.
It would be better to move a diagram to target table only after search is finished. Also I suggest adding a delay before search to allow inputting other symbols before search starts.

It looks as if DBeaver is having spasms


Using MQTT nodes crashes node-red

Node-RED version: v0.13.4
Node.js version: v0.12.10
I've tried fresh nodejs/node-red installs three times now (in separate docker containers) and the same thing happens each time.
After a fresh install of node-red, I added an MQTT output node and connected it to a debug node. I also added an MQTT input node and connected an Inject node to it. I then clicked the Deploy button and node-red crashed with the following error when trying to restart the flows:
...
19 Apr 03:24:17 - [info] Starting flows
19 Apr 03:24:17 - [info] Started flows
19 Apr 03:24:17 - [red] Uncaught Exception:
19 Apr 03:24:17 - TypeError: Cannot read property 'toString' of null
    at MqttClient._handlePublish (/usr/lib/node_modules/node-red/node_modules/mqtt/lib/client.js:733:27)

    at MqttClient._handlePacket (/usr/lib/node_modules/node-red/node_modules/mqtt/lib/client.js:268:12)

    at process (/usr/lib/node_modules/node-red/node_modules/mqtt/lib/client.js:226:12)
    at Writable.writable._write (/usr/lib/node_modules/node-red/node_modules/mqtt/lib/client.js:236:5)
    at doWrite (/usr/lib/node_modules/node-red/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:237:10)

    at writeOrBuffer (/usr/lib/node_modules/node-red/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:227:5)

    at Writable.write (/usr/lib/node_modules/node-red/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:194:11)

    at Socket.ondata (_stream_readable.js:540:20)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)

I tried adding and deploying several other types of nodes and they all seemed to work, but as soon as I deployed it with a single MQTT node, it crashed.

Hi there, I have the same problem on a local installation. Please, did you find any solution to this problem? Thank you!

exactly the same thing ? Which version of node.js ? Node-RED ?
What is the exact error in the console log when it starts ? crashes ?

Hi dceejay, here is the console log (there is version info too)
Welcome to Node-RED
1 Aug 09:26:25 - [info] Node-RED version: v0.14.5
1 Aug 09:26:25 - [info] Node.js  version: v4.1.0
1 Aug 09:26:25 - [info] Windows_NT 10.0.10586 x64 LE
1 Aug 09:26:25 - [info] Loading palette nodes
1 Aug 09:26:30 - [warn] ------------------------------------------------------
1 Aug 09:26:30 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
1 Aug 09:26:30 - [warn] [tail] Not currently supported on Windows.
1 Aug 09:26:30 - [warn] ------------------------------------------------------
1 Aug 09:26:30 - [info] Settings file  : C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\settings.js
1 Aug 09:26:30 - [info] User directory : \Users\Arakno.node-red
1 Aug 09:26:30 - [info] Flows file     : \Users\Arakno.node-red\flows_Araknopoli.json
1 Aug 09:26:30 - [info] Server now running at http://<IP_ADDRESS>:1880/
1 Aug 09:26:30 - [info] Starting flows
1 Aug 09:26:31 - [info] Started flows
1 Aug 09:26:31 - [red] Uncaught Exception:
1 Aug 09:26:31 - TypeError: Cannot read property 'toString' of null
at MqttClient._handlePublish (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\lib\client.js:748:27)
at MqttClient._handlePacket (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\lib\client.js:277:12)
at process (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\lib\client.js:233:12)
at Writable.writable._write (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\lib\client.js:243:5)
at doWrite (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\node_modules\readable-stream\lib_stream_writable.js:237:10)
at writeOrBuffer (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\node_modules\readable-stream\lib_stream_writable.js:227:5)
at Writable.write (C:\Users\Arakno\AppData\Roaming\npm\node_modules\node-red\node_modules\mqtt\node_modules\readable-stream\lib_stream_writable.js:194:11)
at Socket.ondata (_stream_readable.js:525:20)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)

hmm - it seems to indicate that there is no topic set ( msg.topic ).
but that shouldn't crash Node-RED either...

the topic has been set, as you can see in the flow desc (and it was working until this morning...)
[{"id":"48477a13.4989e4","type":"tab","label":"Flow 1"},{"id":"470b8c8f.7d039c","type":"mqtt-broker","z":"48477a13.4989e4","broker":"<IP_ADDRESS>","port":"1883","clientid":"Ar@kno","usetls":false,"compatmode":true,"keepalive":"600","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"770a5349.5b171c","type":"mqtt in","z":"48477a13.4989e4","name":"master01/boa/paola","topic":"master01/boa/paola","qos":"1","broker":"470b8c8f.7d039c","x":179.5,"y":97,"wires":[["20f18672.cbf84a"]]},{"id":"20f18672.cbf84a","type":"json","z":"48477a13.4989e4","name":"","x":551,"y":227,"wires":[["81e09e44.67d368","cbb8e4e2.81d128"]]},{"id":"81e09e44.67d368","type":"http request","z":"48477a13.4989e4","name":"","method":"POST","ret":"obj","url":"http://localhost/smartsign/cantiere/create","tls":"","x":834,"y":219,"wires":[["6ac58c6a.38e33c"]]},{"id":"6ac58c6a.38e33c","type":"debug","z":"48477a13.4989e4","name":"","active":true,"console":"false","complete":"true","x":933,"y":353,"wires":[]},{"id":"cbb8e4e2.81d128","type":"debug","z":"48477a13.4989e4","name":"","active":true,"console":"false","complete":"false","x":665,"y":334,"wires":[]}]


refactor: getDepsFromBundle now walks an AST

I noticed getDepsFromBundle() was not finding dynamic imports using import().
I've updated the code to use acorn and acorn-walk to find dependencies imported using import 'XXX', import('XXX'), and require('XXX').

Awesome - much better than our hacky regex 👍


"Skip transaction validation" option

Closes #169

Codecov Report

Merging #179 (dc2b098) into master (945d217) will decrease coverage by 0.15%.
The diff coverage is 62.50%.

:exclamation: Current head dc2b098 differs from pull request most recent head f36ffd7. Consider uploading reports for the commit f36ffd7 to get more accurate results

@@            Coverage Diff             @@
##           master     #179      +/-   ##
==========================================
- Coverage   51.76%   51.61%   -0.16%
==========================================
  Files          29       29
  Lines        2345     2356      +11
==========================================
+ Hits         1214     1216       +2
- Misses        991      998       +7
- Partials      140      142       +2

Flag
Coverage Δ

unittests
51.61% <62.50%> (-0.16%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/server.go
50.81% <0.00%> (-2.18%)
:arrow_down:

blockchain.go
75.49% <78.94%> (-0.47%)
:arrow_down:

Continue to review full report at Codecov.

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

Not sure how to test this logic, I appreciate any assistance.

I was thinking of announcing this kind of feature as experimental at first, what do you think? My thinking is that this makes the execution of transactions act different to how they would work on mainnet and hence I would like to have the user understand that, one way is to accept the experimental mode. Maybe some of the features would require to use additional ---experiemental flag which in docs would be explained that this is potentially "dangerous" territory but it allows you have way more freedom (of course in nicer words). This is a bit subjective for sure but feels right to me, what do you think @bluesign
cc @psiemens

@sideninja  --experiemental is great idea actually. Or maybe we can prefix flags with experiemental.
--experimental-skip-tx-validation ( or can be another prefix advanced, expertmode etc )

if good for all:

I am renaming flag to --experimental-skip-tx-validation
updating documentation

However, I think an experimental flag should only be used to gate commands that a) are new and may not work as expected or b) have a high chance of breaking in the future.
I generally prefer using a prefix instead of a separate flag.
IMO the best way to communicate that a flag is an advanced feature is to give it a long and scary name. This feels scary enough to me --skip-tx-validation TBH

Fair enough. I still think having a group command tagged as advanced commands would be good, then again experimental might more indicate instability and breaking stuff and might not be best suited, but maybe "advanced" (like bluesign wrote) might be good, so you could then have --advanced-skip-tx-validation and --advanced-storage-changes (duuno), but I like the idea of having those commands be grouped. I don't feel strongly about it, it was just an idea. So I'm fine with either direction here, I think the important thing is the cool feature :)

@bluesign can you resolve the conflicts when you have the time so we merge this in.


Changing triggermesh components version with config set results in 404

~/TriggerMesh % tmctl version
CLI:
 Version:  v1.0.0
 Commit:  08be377e0f5fb77cee7fdd2d0ad026297245b8eb
 OS/Arch: darwin/arm64

TriggerMesh:
 Components version:  v1.22.0

Docker:
  Docker Desktop 4.6.1 (76265)

~/TriggerMesh % tmctl config set triggermesh.version 1.21.0
~/TriggerMesh % tmctl version
2023/01/05 22:36:52 foo | Fetching 1.21.0 CRD
Error: CRD request failed: 404 Not Found

~/TriggerMesh % tmctl config set triggermesh.version 1.21.1
~/TriggerMesh % tmctl version
2023/01/05 22:37:03 foo | Fetching 1.21.1 CRD
Error: CRD request failed: 404 Not Found

~/TriggerMesh % tmctl config set triggermesh.version 1.21
~/TriggerMesh % tmctl version
2023/01/05 22:39:39 foo | Fetching 1.21 CRD
Error: CRD request failed: 404 Not Found

Then going back to 1.22.0 also fails:
~/TriggerMesh % tmctl config set triggermesh.version 1.22.0
~/TriggerMesh % tmctl version
2023/01/05 22:40:05 foo | Fetching 1.22.0 CRD
Error: CRD request failed: 404 Not Found

It is v1.21.0, v1.22.0, not 1.21.0, 1.22.0

~/TriggerMesh % tmctl version
...
TriggerMesh:
Components version:  v1.22.0


assert_has/3 on page title does exact matching by default

By default assert_has does substring matching unless exact: true is specified. But assert_has(session, "title", "some page title") always does exact string matching. This is surprising given how that function works with all other elements.
It's especially annoying when using a .live_title component with a prefix or suffix, because LiveView seems to include a bunch of whitespace (newlines and extra spaces) depending on the formatting in root.html.heex around where the @page_title assign is used.
For example, I have this in my root.html.heex:
    <.live_title suffix=" | My App">
      <%= assigns[:page_title] || "Home" %>
    </.live_title>

When I do assert_has(session, "title", "Title"), I get the following error:
Expected title to be "Title" but got "\nTitle\n     | My App"

Thanks @randycoulman! I noticed this too and had it in my list of to-dos. PR #65 should take care of it.


Style tag added even when component is not rendered

Describe the bug
Vite adds a style tag with css from a component that is not being rendered. What I mean is that there is a v-if directive evaluated to false for that component, and even so its style is added to the page.
Reproduction
Resulting source code:

you can see two style tags, one for each child component
Parent component:
<script setup lang="ts">
import { defineAsyncComponent, onMounted } from 'vue';

const LightTheme = defineAsyncComponent(() => import('./LightTheme.vue'));
const DarkTheme = defineAsyncComponent(() => import('./DarkTheme.vue'));

const isLight = ref(true);
const isDark = ref(false);

</script>

<template>
  <light-theme v-if="isLight">
    <router-view></router-view>
  </light-theme>
  <dark-theme v-else-if="isDark">
    <router-view></router-view>
  </dark-theme>
</template>

LightTheme:
<script setup lang="ts"></script>

<template>
  <slot></slot>
</template>

<style>
:root {
  --el-background-color-base: #c2c5ca;
}
</style>

DarkTheme:
<script setup lang="ts"></script>

<template>
  dark
  <slot></slot>
</template>

<style>
:root {
  --el-background-color-base: #22272e;
}
</style>

System Info
System:
    OS: Windows 10 10.0.19043
    CPU: (4) x64 AMD Ryzen 3 3200G with Radeon Vega Graphics
    Memory: 8.46 GB / 15.95 GB
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.20.5 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 96.0.4664.45
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.34)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @vitejs/plugin-vue: ^1.9.3 => 1.9.4
    vite: ^2.6.4 => 2.6.14

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think this is related to https://github.com/vitejs/vite/issues/4389, but perhaps it's something plugin-vue can fix within itself too.

Closing as I wasn't able to reproduce.
https://stackblitz.com/edit/vitejs-vite-xuiqhf?file=src%2FApp.vue&terminal=dev
Note that styles won't be unloaded even if the component got unmounted.


Update test-sample.php

good, please! make it work...

mhhh i think i have finally broken travis...


How to trigger recompiling imports?

Often when I make changes to one theory they don't get propagated to another open file which imports the changed files. Or I create a new file, but the import does not recognize it, resulting in invalid import, unknown module ... . How can I initiate recompiling the imports so that all that works?

Do you think this problem is specific to the HoTT version?
That is, have you ever observed this problem when using standard Lean (.lean files)?
Could you post a sequence of actions that produces the problem?
I'm having trouble reproducing it.
That being said, we can use linja to force rebuilds from scratch.

open shell
go to directory where your .project is located
execute

linja clean
linja

The linja tool is located in the same directory the lean executable is located: path-to-lean/bin.

Jakob and I noticed before that the "create project" menu option in emacs
created a makefile for .lean files, even if the file being edited was
.hlean. I mentioned it by e-mail I think but I don't remember if I opened
an issue. Has this been fixed?
On Tue, Jan 20, 2015 at 8:03 PM, Leonardo de Moura<EMAIL_ADDRESS>
wrote:

Do you think this problem is specific to the HoTT version?
That is, have you ever observed this problem when using standard Lean
(.lean files)?
Could you post a sequence of actions that produces the problem?
I'm having trouble reproducing it.
That being said, we can use linja to force rebuilds from scratch.

open shell
go to directory where your .project is located
execute

linja clean
linja
The linja tool is located in the same directory the lean executable is
located: path-to-lean/bin.
—
Reply to this email directly or view it on GitHub
https://github.com/leanprover/lean/issues/398#issuecomment-70766515.

The series of actions was just to change one file, compile it successfully, but the other file had the old version in cache, even after clicking "delete all cache". I couldn't reproduce it with dummy files though.
The problem with running linja is generally that one has many construction sites lying around the build process aborts. Couldn't we change linja to try to compile all files but return 1 when at least one of them fails?
@avigad At leat that's not what causes the problem in this case.

I will investigate.
BTW, linja has an option called --keep-going (-k)
If you call it using
linja -k 100000
It will not stop after the first error.
The parameter is the number of failures.

The series of actions was just to change one file, compile it successfully, but the other file had the old version in cache, even after clicking "delete all cache". I couldn't reproduce it with dummy files though.

I'm also having problems reproducing the issue with dummy files.
Which files in your development produce this problem?
I will try to use them.
Thanks

Thanks for the hint at the -k option!
The problem causing file is /code/thin_structure/decl.hlean.

The problem causing file is /code/thin_structure/decl.hlean.

I tried the following:

open /code/thin_structure/decl.hlean
open /code/dbl_cat/decl.hlean
comment dbl_precat structure, and save the file
go back to /code/thin_structure/decl.hlean, and make a change: flycheck reports error
go to /code/dbl_cat/decl.hlean, and uncomment dbl_precat, and save
go back to /code/thin_structure/decl.hlean, and make a change: flycheck reports no error

Remarks:

Information is only propagate to other files when we save the .lean file (in the steps above, I had to save /code/dbl_cat/decl.hlean)
If there is an error processing a foo.lean file, the previous foo.olean file is not deleted.
When I move to a file, flycheck is not automatically triggered if one of the imports have been modified. I had to make a change.

Are you experiencing a different kind of problem?

@javra any news?
Thanks,
Leo

@javra, do you still have this problem?

Haven't encountered it in the last days. I guess the .hlean support for Flycheck solves it.

@javra, thanks!


Document using Brigade without a git repo

If you look at the documentation, it might appear that you MUST have a git repo if you want to use Brigade. While the best practice has been to use a repo to store at least the brigade.js file, we should also show how to setup and use a project without ever using a git provider.

I think this scenario is a good match/aligned with a Generic Gateway tutorial, since one could "hit" the GW endpoint and activate a Build, without and VCS interaction whatsoever.


Output from erroridf does not include suppression instructions

{{ erroridf "error-42" "You should consider fixing this." }}

Prior to v0.114.0
ERROR 2023/09/25 15:40:58 You should consider fixing this.
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["error-42"]

With v0.114.0 and later:
ERROR You should consider fixing this.

Note that error suppression works as expected. This is just a console output issue.
I've also noticed that warnf, errorf, and erroridf no longer include timestamps. I don't particularly care about this (actually I think it's an improvement), but others might feel differently.

Duplicate of #11506


Features

Codecov Report

Merging #10 (7766dab) into main (91b9d86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   80.95%   80.95%
=======================================
  Files           7        7
  Lines          42       42
=======================================
  Hits           34       34
  Misses          8        8

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Flask support, and framework-agnosticism

It'd be great to be able to use this lib outside of django - for example in a Flask project. Most of the core code doesn't require django, and could easily be converted, with a compatibility wrapper in webpack_loader.contrib.django. Is this something that you'd consider?
I realise it'd involve a pretty serious refactor, and perhaps it'd be better as a new library. I'm happy to do the work either way, but I wanted to check if you had any thoughts first.

I see the appeal of that but a lot if not most of the code in the package is very specific to Django. If we do take out the django agnostic parts into another lib, it'll end up being very small and simplistic to the point that it might be much simpler to implement that independently for flask.
However, if you believe it's worth it to make this change, I'm all for it but I cannot afford to spend time on it right now. Your contribution would be more than welcome but before you get to writing any code, I think it would be helpful if you could propose the idea here so we can discuss it first.
My main concern would be how we would organize the code and what the API for usage in Django (and flask) would look like.

Cool, thanks for getting back to me - since raising this issue I've discovered https://github.com/nickjj/flask-webpack which is similar although seems less actively maintained. I think ideally I'd prefer to be able to use django-webpack-loader but flask-webpack is doing a reasonable job for now.


Allow users to see their infraction history, but not anyone elses.

Add a command or some kind of permission that allows a user to search their own infractions, but not others.

i would not be against such a feature but it does have some requirements:

disabled by default, servers should activate this themselves
always reply to the user in DM, this isn't something that should be shown in public for all to see, if the user then choses to share it with others they can but it should not be what the command does
doesn't show the moderator who issued the action
allow for a mode that only gives the type and infraction id but not the reason

May I ask why not the reason?

the reason should have an option to hide, some servers might not want to expose the reason
if you know the mods the specific wording used can be enough to identify the mod who wrote it so i want to give servers the option to hide it, also it might contain info the user should never have available, as well as the fact that it can contain the moderator username if a kick/ban was done though another bot and said bot includes the moderator name in the audit log reason

Makes sense

if someone wants to work on this feel free to not make any configuration commands for it, i can hook it up with the dashboard after as that will be the new primary way to configure the bot for servers


brunch new does not work anymore

Description
All brunch new commands do not work
Expected behavior
brunch new works
Actual behavior
13:44:51 - info: Cloning git repo "git://github.com/brunch/dead-simple.git" to "~/.brunch/skeletons/9dfacf90"...
13:44:51 - error: Git clone error: Error: Command failed: git clone git://github.com/brunch/dead-simple.git "/home/evan/.brunch/skeletons/9dfacf90"
Cloning into '/home/evan/.brunch/skeletons/9dfacf90'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

Environment
N/A
package.json contents
N/A
brunch config contents
N/A
Other useful files, when present (log, bower.json etc.)
Already attached

I have the same issue. Whatever I try, I just can't start a project. Always the same error: fatal: unable to connect to github.com:
github.com[0: 140.82.121._]: errno=Connection timed out


Removal of PILOT_ENABLE_INBOUND_PASSTHROUGH environment variable

Describe the feature request
This flag was added for 1.10 for legacy purposes. With the latest version being 1.13 at this time we have met our commitment of retaining this flag. It can now be removed.
See https://istio.io/latest/blog/2021/upcoming-networking-changes/ for more information
Describe alternatives you've considered
N/A
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

@jacob-delgado There are many companies (like us), which have many applications still listening on <IP_ADDRESS> instead of podip (and listening on podip is a security concern for us as people can bypass proxy). So I think we should leave this open for folks to use it. I know there is an alternative (envoy filter), but would prefer not to use envoy filter for such a core functionality.
Since this does not cleanup lot of code(or does not create more tech debt), can we please leave it?

+1 leave this to end users

I'm fine with leaving this option. We had a customer ask when they were going to remove this feature. Let's leave it in the the foreseeable future.

Thanks for leaving it in so far. IMHO, it could be removed as soon as there is a reliable/secure mechanism to let a workload ensure/determine that traffic really has passed through a sidecar.

@jacob-delgado There are many companies (like us), which have many applications still listening on <IP_ADDRESS> instead of podip (and listening on podip is a security concern for us as people can bypass proxy). So I think we should leave this open for folks to use it. I know there is an alternative (envoy filter), but would prefer not to use envoy filter for such a core functionality.
Since this does not cleanup lot of code(or does not create more tech debt), can we please leave it?

+1

For those who come across this: This finally has been removed in 1.21 :-/
The option to use a Sidecar manifest with a tuned defaultEndpoint still exists, but needs to be done per workload.

@ramaraochavali  Thanks for the heads-up, indeed. Unfortunately, this is only available in 1.22, but breaks in 1.21 :-/. We'll try to skip the 1.21 now, let's see how well this goes.


Allow ProtoParquetReader To Support InputFile

Reporter: David Mollitor / @belugabehr
Assignee: David Mollitor / @belugabehr
Related issues:

ParquetReader Should Support InputFile (supercedes)

Note: This issue was originally created as PARQUET-1914. Please see the migration documentation for further details.

David Mollitor / @belugabehr:
ProtoParquetReader.Builder should extends ParquetReader.Builder to correctly override getReadSupport() and to allow for using an InputFile in addition to the previously supported Path.
The usage pattern here is a bit confusing and I wanted to update the ParquetReader.Builder directly, but I think this is the way it is intended.


EHR python prediction resources

@ubhuiyan Could you please move any EHR/python related resources to an appropriate EHR location (rather than the Metagenomic_predict location)? I can move the EHR_ptyhon.py script but it's not clear to me if that's the only resource currently.

Hi @pmcneely. I have created a separate folder called "EHR_python" that should contain all the python code meant for EHR data.

Perfect, thank you. I'll close this up then.


Issues with schema validation when field middleware or directive middleware are involved.

Unbound types are automatically resolved when middleware is added to schema configuration, thus yielding query responses with null values for types which are not statically bound.

This one should be fixed.


DRY the CLI

Based on the discussion with @nrabinowitz in the prior CLI PR. This PR removes duplicate help text and argument types, and turns the arg length trick (and all of the "show subcommand-specific help text" code) into a macro, deleting about twice as much text as it adds.
PS. DRY the CLI does not rhyme.

coverage: 98.827%. remained the same
when pulling 3d6f752d5ef3324f4255f6ea546fd98f0d10e53f on dry-the-cli
into b49e72e6b3c6be7130c86236340d1b62a31496d2 on master.


Fix README headers

GitHub Markdown now requires a space after the # headers. Couldn't find a good reference to when this changed, but it's prevalent in all the documentation.
GitHub Markdown Guide > Basic writing and formatting syntax > Headings

Duplicate of many. Closing.


dws_cluster module

DWS Cluster module

Hi @vineet-pruthi please update version also in https://github.com/opentelekomcloud/ansible-collection-cloud/blob/main/galaxy.yml for release

Hi @vineet-pruthi please update version also in https://github.com/opentelekomcloud/ansible-collection-cloud/blob/main/galaxy.yml for release

Hi @anton-sidelnikov  Update version -> 0.14.4 in galaxy.yml

recheck

recheck


Opening UTF-8 files on Windows machines

If you try and do local install eg via pip / pipenv on a Windows machine you get a UnicodeDecodeError (see end).
Context
Using Python3.6.  Although correctly using io.open, encoding is not specified eg like this:
with open('README.md', encoding='utf-8') as readme_file:
    long_description = readme_file.read()

Expected Behavior
Should install
Actual Behavior
UnicodeDecodeError
Possible Fix
https://github.com/drummonds/Zappa/commit/244b1e1471a14607101b3fb9e1e6079907c314f8
I have tested on travis and all tests pass.  I haven't extended the test coverage.
I am working on this.
Steps to Reproduce
pip install C:/Users/HumphreyDrummond/ForkedProjects/zappa
where version is pre patch
Your Environment

Windows 10
Python 3.6
Version 0.47.1

Sample Error Message
Processing c:\users\humphreydrummond\forkedprojects\zappa
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\HUMPHR~1\AppData\Local\Temp\pip-req-build-qe6qv2o3\setup.py", line 8, in
long_description = readme_file.read()
File "c:\users\humphreydrummond.virtualenvs\bytestone.co.uk-6mzjitax\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 70907: character maps to

Having got it working I am going to suggest a pull request

All I did was clone and make the change that you made but a few weeks ago and it installed fine, thankfully fairly simple issue, but not too sure how it wasn't reported earlier

Do you have any other changes?  I have just go all the tests to run locally on Windows and now need to fix the issue with zipping paths in slim_handler when going from a Windows developement to lambda.

I had the bug with Pillow installing properly so I ended up giving up on Windows and only using Zappa for either checking the status or in my ci which uses linux

From: Humphrey Drummond<EMAIL_ADDRESS>Sent: Tuesday, March 5, 2019 6:54 pm
To: Miserlou/Zappa
Cc: Nihaal Sangha; Comment
Subject: Re: [Miserlou/Zappa] Opening UTF-8 files on Windows machines (#1801)
Do you have any other changes? I have just go all the tests to run locally on Windows and now need to fix the issue with zipping paths in slim_handler when going from a Windows developement to lambda.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Miserlou/Zappa/issues/1801#issuecomment-469812848, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARgADAzF_aKD6pNI-sf_wr7pbDZVWmk8ks5vTr1WgaJpZM4bcqlv.

I had the bug with Pillow installing properly so I ended up giving up on Windows and only using Zappa for either checking the status or in my ci which uses linux

I might investigate looking at a WSL type environment.  I now have all the tests working for Windows see issue 1358


Traditional class-based state in hooks

Is your feature request related to a problem? Please describe.
I often come across problems where I want to use the traditional approach to state / setState as in class components.
Describe the solution you'd like
I propose to implement useComplexState, which return [state, setState].
You can pass objects only.
Example:
const [state, setState] = useComplexState({
     foo: 1,
     bar: 2
})

setState({
     foo: 3
})

console.log(state);

// {
//     foo: 3,
//     bar: 2
// }

Ready to contribute by myself 😋

Hi @ptaberg thank you for your feature proposal :)
To be honest I think useReducer was designed for handling "complex states" and I personally tend to agree with its usage

@antonioru, yeah useReducer helps us solve this moment, but useReducer requires really much code, I think my proposed hook is faster and simpler to work with.

@ptaberg
On the other hand you can easily archive the same result passing a function the useState setter like the following:
const [state, setState] = useState({  prop1:"foo", prop2: "bar" });

onSomethingHappen = () => {
    // state will be { prop1: "foo", prop2: "zoo" }
    setState((prevState) => ({
         ...prevState,
         prop2: "zoo",
    });
}

That's why I think a custom hook for this would be a bit redundant


Add reactivate user option to the support admin manage users page

Background
A second frontend component for #5722, to go in with #6084
Action requested

Add an option in the manage user screen created in the move user to org spike

Update and add the needed tests

Acceptance Criteria

Option to reactivate user shows up in the manage user screen

Additional context

Will need to go in after #6083 so the mutation to consume exists
Coordinate with the move user to org work to add that option to the manage user screen

Closing since this will be handled in #6159 since we are porting over the org admin view user page, which includes the reactivate button


CmdBindDescriptorSets doesn't support setting firstSet

Similarly to #3, firstSet is also not settable in this function.

Gah! Ok, I'm really pretty sure that this is the last one. Hopefully.
I decided that we are past the expiration date of me being able to sneaky-update the lib contract. As a result, core, extensions, and integrations/sdl have been updated to v2. You'll need to change your imports to github.com/vkngwrapper/core/v2, github.com/vkngwrapper/extensions/v2, and github.com/vkngwrapper/integrations/sdl2/v2 respectively in order to make use of the fix. Examples and vulkan-tutorial have been updated in place since they're not libraries.

Let me know if your issue is corrected.

Yes, it seems to work - thanks again!
I noticed that even though I now have "github.com/vkngwrapper/integrations/sdl2/v2 v2.0.0" in my go.mod require block that "github.com/vkngwrapper/integrations/sdl2 v1.0.5 // indirect" still shows up in the indirect block, if this is not by design then maybe there is an old import still lurking somewhere.

integrations/sdl2/v2 v2.0.1 doesn't have that problem


RTC Registers from source code are different from reference  (IDFGH-7080)

Environment

Development Kit:    NodeMCU ESP32 DevKit V1
Module:  ESP32-WROOM-32
IDF version: master - Hash [e3c0229d2ec9bfd0203a3cab18d6642798457578]
Build System:   idf.py
Operating System:     macOS
Using an IDE?:  No
Power Supply:         USB

Problem Description
I'm looking at the ULP Coprocessor programming for ESP32, then I notice that the registers mapped into the ESP32 Technical reference is different from the source code. The image below shows the bits I'm talking about.

Commented below the part of the source code where it appears.
#define RTC_IO_TOUCH_PAD2_REG          (DR_REG_RTCIO_BASE + 0x9c)

/* ================ These mapping below isn't mapped into the reference   ================ */
/* RTC_IO_TOUCH_PAD2_HOLD : R/W ;bitpos:[31] ;default: 1'd0 ; */
/*description: hold the current value of the output when setting the hold to Ò1Ó*/
#define RTC_IO_TOUCH_PAD2_HOLD  (BIT(31))
#define RTC_IO_TOUCH_PAD2_HOLD_M  (BIT(31))
#define RTC_IO_TOUCH_PAD2_HOLD_V  0x1
#define RTC_IO_TOUCH_PAD2_HOLD_S  31
/* RTC_IO_TOUCH_PAD2_DRV : R/W ;bitpos:[30:29] ;default: 2'd2 ; */
/*description: the driver strength of the pad*/
#define RTC_IO_TOUCH_PAD2_DRV  0x00000003
#define RTC_IO_TOUCH_PAD2_DRV_M  ((RTC_IO_TOUCH_PAD2_DRV_V)<<(RTC_IO_TOUCH_PAD2_DRV_S))
#define RTC_IO_TOUCH_PAD2_DRV_V  0x3
#define RTC_IO_TOUCH_PAD2_DRV_S  29
/* RTC_IO_TOUCH_PAD2_RDE : R/W ;bitpos:[28] ;default: 1'd1 ; */
/*description: the pull down enable of the pad*/
#define RTC_IO_TOUCH_PAD2_RDE  (BIT(28))
#define RTC_IO_TOUCH_PAD2_RDE_M  (BIT(28))
#define RTC_IO_TOUCH_PAD2_RDE_V  0x1
#define RTC_IO_TOUCH_PAD2_RDE_S  28
/* RTC_IO_TOUCH_PAD2_RUE : R/W ;bitpos:[27] ;default: 1'd0 ; */
/*description: the pull up enable of the pad*/
#define RTC_IO_TOUCH_PAD2_RUE  (BIT(27))
#define RTC_IO_TOUCH_PAD2_RUE_M  (BIT(27))
#define RTC_IO_TOUCH_PAD2_RUE_V  0x1
#define RTC_IO_TOUCH_PAD2_RUE_S  27

/* ================ Bit 23-25 is mapped into the reference ================*/
/* RTC_IO_TOUCH_PAD2_DAC : R/W ;bitpos:[25:23] ;default: 3'h4 ; */
/*description: touch sensor slope control. 3-bit for each touch panel  default 100.*/
#define RTC_IO_TOUCH_PAD2_DAC  0x00000007
#define RTC_IO_TOUCH_PAD2_DAC_M  ((RTC_IO_TOUCH_PAD2_DAC_V)<<(RTC_IO_TOUCH_PAD2_DAC_S))
#define RTC_IO_TOUCH_PAD2_DAC_V  0x7
#define RTC_IO_TOUCH_PAD2_DAC_S  23

Expected behavior
Expecting the same information from the technical reference into the source code.
Actual behavior
Registers in the source code are different from the documentation.
Conclusion
Am I doing something wrong? Where can I find informations about these bits 25-31? I get this reference from official page, as showed below:

@costa-victor
You are right, there is a mismatch here. I'll check with our doc team to see if these bits are something that should be added to the TRM.

Thanks @ESP-Marius for the quick response.
Okay, I'll wait for this.

Code > Docs
☹

Turns out in this case the docs are actually correct. These bits (RTC_IO_TOUCH_PAD_RUE/RDE/DRV) do not work in ESP32. If a pin is configured as an RTC GPIO pin, its drive strength, pull-up resistor and pull-down resistor can only be controlled by the bits listed in column "Normal Execution OR SLP_SEL = 0", instead of "RUE/RDE/DRV" bits.
We'll clean up the code to reflect this.

@ESP-Marius how is the status? (It takes so much time to clean up the code?)

@AxelLin The time it takes is not necessarily related to the size of the issue. It goes into our backlog until someone responsible for that area picks it up, which time will depend on the issue's priority.


Correct see fqsens

When running phpdoc against it's own code base, it crashed on a @see tag of src/phpDocumentor/Plugin/Scrybe/Template/Twig.php because it was not a valid FQSEN. While correcting that tag, some other @see tags in the same file were corrected and the unit test was extended

No comments on this one. Thanks!


can't istall plugin from marketplace after manual installation

Hi Naotsun
i have a little trouble with 5.4.1.
i-ve installed the plugin manually with the 5.4 preview, everything worked fine. now i've seen that you upgraded the marketplace version to 5.4, so i've removed the files prom C:\Program Files\Epic\UE_5.4\Engine\Plugins and tryed to install but the epic launcher, but if i click to install nothing happens.
any suggestions?
thank you

It appears that Epic messed up the file settings. (I ran into this problem once before with another plugin.)
I will contact them to have them check the file.
Thank you for letting us know!

Thank you for your patience.
I contacted Marketplace Support and got them to update the file and confirmed that it can be installed on UE5.4 in my environment.

you're fabulous! thank you very much for your effort and your plugin!


Add support for managing Task Groups

Task Groups (along with Templates) can be used to somewhat centrally manage build and release task sequences to compensate for the fact that there is no longer a true centralized reusable definition which was possible with the XAML engine.
See https://www.visualstudio.com/en-us/docs/build/concepts/library/task-groups

Client SDK is currently still in preview: https://www.nuget.org/packages/Microsoft.VisualStudio.Services.DistributedTask.Client/


Release

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

8.6.0
GitHub release

Your semantic-release bot :package::rocket:


Remove duplicated codes at to_clipboard

The same logic looks at validate_arguments_and_invoke_function

Codecov Report

Merging #315 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #315      +/-   ##
==========================================
+ Coverage   93.76%   93.78%   +0.02%
==========================================
  Files          34       34
  Lines        3319     3315       -4
==========================================
- Hits         3112     3109       -3
+ Misses        207      206       -1

Impacted Files
Coverage Δ

databricks/koalas/frame.py
94.86% <ø> (+0.38%)
:arrow_up:

databricks/koalas/__init__.py
88.88% <0%> (-3.71%)
:arrow_down:

Continue to review full report at Codecov.

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


Players can leave the Runescape guide's house before they have spoken to him

Currently players can exit the first house they spawn in on Tutorial Island without speaking to the Runescape guide. If they try to leave too early, we should be showing the following message:

Fixed in 9e20ecf.


chore: add type signatures and type checker for CI

This PR

adds type checking to the CI

Related Issues
Fixes #53
Notes
Some of the types around contexts are probably a bit off. Then again, parts of the spec aren't actually implemented anyways. It seems to be a chicken-egg problem.
Follow-up Tasks
Decide which route to go for the context types (Hash vs class). The latter oen ahs better typing support, Hashes with optional keys are a bit weird.
How to test
This comes with a new job in the CI.

Howdy 👋🏻 I'll give this a look tonight and make sure I have notifications properly set up for this repo.

It's worth noting the initial rbs was just part of the bundle gem or whatever generated it, it wasn't like it was intentionally added.
@josecolella and I talked about sorbet for typing over on one earlier PRs, ie https://github.com/open-feature/ruby-sdk/pull/8 . Aside from the runtime dependency, I'm in favor of holding off typing until the implementation is a bit more solid. I argued it take more time keeping the types up to date while we are still working out the details, and that that would discourage refactoring..
_:pear:'d with @josecolella on 👀 _


.py not .ipynb for smaller file sizes.

Hi all,
I discovered a most excellent thing recently; Jupyter can open .py files like .ipynb files. Typically I avoid using .ipynb with git because it is an endless source of merge conflicts. For example if two people just run the same script on different branches it creates a merge conflict because the execution number of the cells is different. Moreover, these merge conflicts are annoying because you have to sift through an ungodly amount of .json making it hard to tell when actual code has been changed. In my experience there is also no syntax highlighting making it even more frustrating. No longer, I would be highly in favour of transferring our .ipynb files into .py files and running them as notebooks. The downside is that the final execution state is not saved but I do not see this as much of a problem.
Anyway let me know what you think,
Regards
Jordan

Strongly agree! A few things:

Once done, the .ipynb should all be purged from the past commits so the clone time decreases drastically and people can get started faster
The change should be made explicit in the docs since a lot of our users will look for .ipynb
(Windows users) I'm not sure if google colab can open the same way Jupyter can, at a glance it doesn't. We can, however, make our own google colab sharable links (e.g. see top of https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/tutorial11/NF_image_modeling.html). Sharable links might even make it easier since people don't need to clone to try dLux out.

Strongly agree! A few things:

Once done, the .ipynb should all be purged from the past commits so the clone time decreases drastically and people can get started faster
The change should be made explicit in the docs since a lot of our users will look for .ipynb
(Windows users) I'm not sure if google colab can open the same way Jupyter can, at a glance it doesn't. We can, however, make our own google colab sharable links (e.g. see top of https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/tutorial11/NF_image_modeling.html). Sharable links might even make it easier since people don't need to clone to try dLux out.

We need them in the docs, because they need to render all of their outputs. We don't need them elsewhere.

Jupyter can open .py files like .ipynb files.

How do you do this, can you show an example? I'm definitely a fan of reducing the package size and removing the notebooks is the way to go, but I couldn't find anything online really.
Also most of the notebooks that do exist will be turned into docs tutorials, which as Ben said need to be notebooks. That said the science/ and sandbox/ directories do have stuff that I need to move into other repos, but that has just been low on the priority list.

I just run
jupyter notebook

and then click on the .py file and it opens. It saves with #+ and #- comments where the breaks are.
If they will be going to other repositories then we probably do not need to worry about it too much.

Most notebooks have been removed, and we will implement tutorials as .md files in the future, not as .py files.


Adds turbo_refreshes_with template tag for upcoming changes in Turbo 8

Turbo 8 will add morph based page refresh changes, this adds a template tag to control those features.
Docs are quick and will need more information about page refresh with links out to the official docs once they launch.

@chrisgrande
I will check this part in a bit and keep you updated.
BTW, I just notice many projects under https://github.com/hotwire-django are Unmaintained and even the Github org is Unmaintained
Considering I am still working on some projects and avoid confusion, it is better to remove the Unmaintained text from the title of the Github org?
Thx.

Hi @michael-yin —
I noticed the addition of the 'unmaintained'. I was part of the original group that was coming together around Hotwire and Django but shortly after Basecamp had their issues in 2021 the entire project and the Slack kind of slowed down to a halt. I also noticed that Dan, the original author of this moved to mostly working around HTMX. I'm guessing you worked with him to take this over.
I see you have moved this to a new org too, if you're interested in assistance I'd be happy to as I still use Hotwire in my projects.


latest update breaks mamba entirely

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
https://github.com/mamba-org/mamba/issues/1744
https://github.com/mamba-org/mamba/issues/1743
Installed packages
- libcxx   14.0.4  h6a5c8ee_0
+ libcxx   14.0.5  h6a5c8ee_0

Environment info
n/a

Probably needs a webpage issue? I will leave that up to you @h-vetinari

Thanks @ngam and @isuruf for the fix!

Yes, thanks a lot. Sorry, I was MIA this weekend, just merged some bot PRs and really didn't expect any breakage because this recipe (resp. the LLVM stack) has been pretty stable

Thank @isuruf, not me!
I just noticed this when it happened and I thought I would open an issue here immediately in case someone can figure out why it happened (isuruf did!) before it spread to the CI, etc.
I have no idea why it happened, I actually would love a brief explanation if someone has a moment to explain it so that I can learn it 😺

conda-build didn't have a dependency on cctools so it was picking up the one from the system and that broke codesigning. Previously we had cctools as a dependency in conda-forge-ci-setup recipe, but I removed it since that isn't necessary.


add confluent mappings

I see this error in version "0.1.12":
Backend:
[1] 2024-10-01T11:44:47.856Z infrawallet debug Kafka Base does not belong to any category, do a regex search in the category mappings
[1] 2024-10-01T11:44:47.857Z infrawallet error TypeError: Cannot set properties of undefined (setting 'Kafka Base'

Frontend:

I believe it is due to the lack of this mapping.

Hi @holiiveira, thanks for this PR and sorry about the inconvenience :)
I will improve the error-handling for this CategoryMappingService in InfraWallet. Now the PR has been merged. Once the cached mappings expire, InfraWallet instances should be able to fetch the latest mappings and stop complaining about this one.


Start fixing docs

Fixes ~200 issues currently with docs.
As it is this may have to be split up.
Addresses https://github.com/flutter/flutter/issues/31931
I basically started working from top down of dartdoc warnings/errors, although some I did en masse (e.g. DiagnosticNode -> DiagnosticsNode, SemanticNode -> SemanticsNode) and some I grabbed because they were just close by in the file.

(There are still >600 issues remaining by local estimates)


Subsetting results modal primary and foreign keys should contain "ID" in label

Currently, columns representing primary and foreign keys in the subsetting results tables just say "Household", "Participant", "Participant repeated measure", etc.
We need to clarify that these are unique identifiers. Please update the labels to add "ID" to the end of all column headers for these keys, making sure to use sentence case:
Household ID
Household repeated measure ID
Participant ID
Sample ID
etc...
we want to roll this out along with the styling updates to the modal: https://github.com/VEuPathDB/web-eda/issues/935

This change can be made here: https://github.com/VEuPathDB/web-eda/blob/c4c7246d9bf944160226d7e32cd6291533de2664/src/lib/workspace/Subsetting/hooks.ts#L53


Did yesterday's (25/10/2017) update affect our API ?

Hello guys,
I heard that EA made an update on the web app yesterday.
Does anyone knows the impact of this on the current version of the toolkit ?
Thank's for your answers in advance!
Cheers

I havent experimented, but most of the changes seemed like front end behavior judging by the release notes


Support for setting NewLine string for output written by FileHelperEngine

Hello,
I'm producing files for Unix systems on Windows, so I was looking for a way how to set a line terminator for files written by FileHelperEngine. Found a way via WriteStream(), and passing own stream with proper line terminator, but even this method is not fully compatible as it uses StringHelper.NewLine when writing file header and footer.
So I extended the IFileHelperEngine with NewLineForWrite property and updated EngineBase to use this property for write operations instead of StringHelper.NewLine.
Please include this update into product if you find this useful. Thank you for great work on this library!
Jiri

Travis CI build failed when creating Pull request; I looked into loog and seems this was not caused by my changes, but rather by environment for unit test - however feel free to ping me in case there is something that needs to be done on my side for having unit tests passed
Thanks,
Jiri

Hi Jiri
Yes, the build broke, when the test framework was updated.
Thank you for your notice.
I might look into it next week.
Matthias


[debug mode] Opening a Diagram display traces on the console

When opening a diagram , on the console, the "jsonrpc" data structure is displayed, we should put this in a debug level mode, not necessary show it on the console log all the times unless we are in debug mode.

Fixed

Please link the commit...

https://github.com/theia-ide/yang-sprotty/commit/0f9d9b15f83419c6d68820785b1f8916b52f5ff1


Use channel title instead of channel name in video cards

Is your feature request related to a problem? Please describe.
Sorry if this is a duplicate.
 This is a cool change, but that said, I think now it would make sense to use the channel title instead of the name. The channel title is already sent in the claim search, most channel titles look better than just the channel name.
Describe the solution you'd like
Use the channel title instead of the channel name on video cards, since the @ is now stripped, there is no reason to use the name anymore, I think. 😅

I asked Julian about this and I think we want to keep the name. The name doesn't change also, which is a big positive. Twitter does names also, but both in other areas.


images used in signIn & signup page are dragable, ideally we need to disable this draggability

Describe the bug

images used in the signing & signup page are draggable { in mobile view also }
to check this issue on your end, just click on the image and hold & drag, you will see the starts image moving with the cursor, ideally this should be disabled

Possible solution

we need to add the attribute > draggable={false} to all the img _tags

Screenshots

I can work on it
Please add labels and assign it to me


Building from source is failing for MacOS

🐛 Bug

To Reproduce
Steps to reproduce the behavior:
Steps inside the documentation as described in the README.md
Error Message:
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
env=env)
File "/Users//miniconda3/envs/audio/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 89, in
zip_safe=False,
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 167, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
self.run_command(cmdname)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/Users//Documents/side_projects/audio/build_tools/setup_helpers/extension.py", line 169, in build_extension
super().build_extension(ext)
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/Users//miniconda3/envs/audio/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/Users//miniconda3/envs/audio/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
Expected behavior
Successful build from source
Environment

What commands did you used to install torchaudio (conda/pip/build from source)? from source

If you are building from source, which commit is it?  107718c8feea52

What does torchaudio.__version__ print? (If applicable) Not applicable

PyTorch Version (e.g., 1.0): 1.6.0

OS (e.g., Linux): macOS 11.1 (x86_64)

How you installed PyTorch (conda, pip, source): conda

Build command you used (if compiling from source):  BUILD_SOX=1 MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install

Python version: 3.7

CUDA/cuDNN version: No cuda

GPU models and configuration: No GPU

Any other relevant information:

Additional context

Hi @AzizCode92
Can you check if ninja is installed? You can install it with pip install ninja.
Also your PyTorch version 1.6.0 is very old, and I do not think it works with the latest commit.

Hi @AzizCode92
Can you check if ninja is installed? You can install it with pip install ninja.
Also your PyTorch version 1.6.0 is very old, and I do not think it works with the latest commit.

Hi @mthrok.
I installed pytorch 1.7.1 and did pip install ninja.
Still the build is failing for me.
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:24: error: unexpected namespace name 'torchaudio': expected expression
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                       ^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:1: error: C++ requires a type specifier for all declarations
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:36: error: use of undeclared identifier 'm'
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                                   ^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:38: error: expected ';' after top level declarator
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                                     ^
                                     ;
4 errors generated.

Hi @mthrok.
I installed pytorch 1.7.1 and did pip install ninja.
Still the build is failing for me.
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:24: error: unexpected namespace name 'torchaudio': expected expression
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                       ^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:1: error: C++ requires a type specifier for all declarations
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:36: error: use of undeclared identifier 'm'
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                                   ^
/Users//Documents/side_projects/audio/torchaudio/csrc/sox/register.cpp:5:38: error: expected ';' after top level declarator
TORCH_LIBRARY_FRAGMENT(torchaudio, m) {
                                     ^
                                     ;
4 errors generated.

@AzizCode92 Please try the nightly build of PyTorch. See pytorch.org for the installation.

@AzizCode92 Please try the nightly build of PyTorch. See pytorch.org for the installation.

@mthrok thanks, that fixed the issue.

@mthrok thanks, that fixed the issue.


deja-dup: remove unneeded rpath wrapping

Motivation for this change
Similarly to 9e37df185c75a2ba7724ae4ce5ce3c356c1ce225 and #31218, I cleaned up deja-dup. Unfortunately, deja-dup requires a custom library in $ORIGIN/../lib/deja-dup and meson for some reason adds $ORIGIN/../libdeja to the rpath (see  #31222).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This can be further simplified when #31436 is merged.


Add speex

Speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs. Finally, Speex is part of the GNU Project and is available under the revised BSD license.
https://github.com/xiph/speex

+1
Would be very nice, also to complete the suite of xiph codecs. Unfortunately so far speex has no cmake support at all, and the most recent solution file is VS 2008...
On top of it libsndfile, which just underwent a complete overhaul of cmake support and builds very well with msvc now. ;)

@ras0219-msft Could you close this?


Fixes #953, shifts focus of About page, notes on future fixes

Links still need to be removed/edited. If this is merged, the google docs will need to be updated.

Should be better now!


[Fixes #2108] StringOutputFormatter fails when HttpNotAcceptableOutputFo...

...rmatter is used
@harshgMSFT

Assuming you mean https://github.com/aspnet/Mvc/issues/2108 not https://github.com/aspnet/Mvc/issues/2107.

Good catch!, it is #2108 indeed.

Edited the PR title for you :smile:

Updated. /cc: @Eilon

Updated. /cc: @harshgMSFT

Updated. /cc: @harshgMSFT

One thing that we would need to document is if there is a Produces with one or more content types specified, the flag does not matter .. We should add a test case to that effect. :watch: .. this is the last thing I promise :smile: .

Updated as per our discussion offline. /cc: @harshgMSFT @rynowak

:shipit:  when @rynowak is happy.

:shipit: after addressing minor feedback. Let's review the docs quickly once updated.

@rynowak @harshgMSFT @yishaigalatzer : Updated the PR with the new design that we discussed earlier.

This seems better, and doesn't require hard to understand settings on options. @harshgMSFT thoughts?

:heart: it ... :shipit:


Add option to print banner before running commands

If there is a lot of warning/debug/test spew from a command, scrolling up to find where the command started can be difficult.
There should be some way to print a banner or pipe command output into less.

Drawing big letters with the recipe name, a la figlet, would be super fun.

I think I'm unlikely to implement this. Also, users can just use figlet for this:
test:
  figlet Testing...
  cargo test


Urgent! The emit defined by the child component, when used in the parent component, VSCode cannot jump to the definition! 急急急! 子组件定义的emit，在父组件中使用时，VSCode无法跳转到定义

Describe the bug
错误信息：

源码为本仓库的源码中的：
unplugin-vue-components/examples/vite-vue3

VSCode使用的插件：

复现方式：

pnpm install
重启vscode
如图，光标放在定义的事件上，键盘按F12

Reproduction
unplugin-vue-components/examples/vite-vue3
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 5.97 GB / 15.83 GB
  Binaries:
    Node: 16.17.1 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.15.0 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.819.0), Chromium (107.0.1418.35)
    Internet Explorer: 11.0.22621.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

What's the urgent?
vscode issue will not cause any build/run problems.
Also, this is not a unplugin-vue-components issue.
https://github.com/johnsoncodehk/volar/issues/2054

https://github.com/johnsoncodehk/volar/issues/2134


Mapping impls

@sbinet actually you were a bit too fast sending PRs ;-) some of the things you are proposing here are already in the works (e.g. iy,ix functions to padGroupType), others touch part of the code that's changed. Will need some time to carefully merge.

the tests are separated: they live in the mapping_test package (so they need to import the mapping package to do stuff.)
it's just that now, the test files are under the same directory than the files they are testing :)
one directory less.

for the parts that are already in the works, I'll do the rebase myself, once you've pushed your work :)
and then update that PR.

abandonned in favor of #11


Improve error message in case of DCP violations

Fix for #713
When run on:
x = cp.Variable(name='x')
prob = cp.Problem(cp.Minimize(x * x + 5))
prob.solve()

it prints:
cvxpy.error.DCPError: Problem does not follow DCP rules. Specifically:
The objective is not DCP. Its following subexpressions are not:
x * x

When run on:
x = cp.Variable(3)
prob = cp.Problem(cp.Minimize(cp.sum(x) - cp.sum_squares(x)))
prob.solve()

it prints:
cvxpy.error.DCPError: Problem does not follow DCP rules. Specifically:
The objective is not DCP. Its following subexpressions are not:
-quad_over_lin(var0, 1.0)

When run on:
x = cp.Variable(name='x')
y = cp.Variable(name='y')
expr = x
const1 = x == 3
const2 = y * y <= 5
prob = cp.Problem(cp.Minimize(expr), [const1, const2])
prob.solve()

it prints:
cvxpy.error.DCPError: Problem does not follow DCP rules. Specifically:
The following constraints are not DCP:
y * y <= 5.0 , because the following subexpressions are not:
|--  y * y

@rostyboost , gentle bump -- we'd love to help you move forward with this pull request! Let us know how we can help.

@akshayka will resume working on this one this week.

Second pass at it @akshayka @SteveDiamond
Now on:
x = cp.Variable(3)
prob = cp.Problem(cp.Minimize(cp.sum(x) - cp.sum_squares(x)))
prob.solve()

it prints:
cvxpy.error.DCPError: Problem does not follow DCP rules. Specifically:
The objective is not DCP, even though each sub-expression is.
You are trying to minimize a function that is concave.

It now also works with DGP problems. For example, on:
x = cp.Variable(1)
prob = cp.Problem(cp.Minimize(cp.sum_squares(x)))
prob.solve(gp=True)

It prints:
cvxpy.error.DGPError: Problem does not follow DGP rules.The objective is not DGP. Its following subexpressions are not:
var0 <-- needs to be declared positive
However, the problem does follow DCP rules. Consider calling solve() with `gp=False`.

I didn't treat the DQCP case, because it doesn't seem to have a first-class codepath yet in construct_intermediate_chain.

@rostyboost I kind of liked the idea of printing out more explicitly where DCP is first violated. Does that still happen? You are trying to minimize a function that is concave. is a bit vague. Good call to point out variables not declared positive.

@SteveDiamond it does still happen. Error messages are the same as mentioned at the top of the PR for problems (1) and (3). The nuance here is that for problem (2):
x = cp.Variable(3)
v = cp.sum(x) - cp.sum_squares(x)

variable v is DCP. But the issue comes from the Objective. Hence the error message now pointing at the objective.

Oh ok, I understand now. It looks pretty good to me. Perhaps you could show a couple more examples? A very minor point, you need a space before The objective is not DGP. ....

Hey @rostyboost , just checking in -- this is very nearly ready to be merged in. We'd love to help you get this pull request through review and merged into CVXPY. It'll have a very large impact on the usability of our software.

Chiming in here, this is a great PR that I'd love to see completed and merged. I was recently talking to a cvxpy user and they said their biggest issue with the software was the lack of a debugger. This is a great first step towards a debugger, whatever that would mean for an optimization DSL.

@akshayka @SteveDiamond sorry about the delay. I addressed your comments @akshayka .

Thanks so much! This looks good to me. This PR will help a lot of people debug their problems I suspect. Also I did not know about the RegExp asserts.


Typo on line 34 of ExtractTracts-Flags.py

mspfile = open(args.msp, + '.msp.tsv', 'r') #comma after args.msp should be removed

Also, args.genofile (e.g. on lines 36 and 37) is not a parameter. Replace with args.vcf.


✨ Adding APF for KS monitoring tools

Summary
This PR configures Kubernetes API Priority and Fairness (APF) for KS monitoring tools, more precisely this PR achieves the following:

Create a flowschema for prometheus traffic to the WDS API server with a priority level of type exempt - hence, prometheus traffic will not be subject to any of the limitations imposed by APF.
Adds a grafana dashboard to monitor APF for WDS/ITS spaces and host cluster API server
Updates KS script for configuring monitoring tools to create APF flowschema for prometheus in the KS spaces.

README file will be updated in a NEW PR.
p.s:  the Grafana dashboard in this PR is a revised version of the grafana dashboard found in the  AWS blog in the open source community. Source: https://github.com/RiskyAdventure/Troubleshooting-Dashboards/blob/main/api-troubleshooter.json
Related issue(s)
Fixes #

I am testing this now, after creating a running system with test/e2e/run-test.sh. I am getting a lot of strange things hanging. I went back to "data sources" to check, and even that is hanging.

Here is the typescript from the shell doing the port-forward:
fail1.log

It looks like this PR adds a third dashboard. That would call for an update to the README, right?

After kubectl logs -n ks-monitoring deploy/grafana > /tmp/grafana.log, this is what I see:
grafana.log

No evidence of container restarts:
mspreitz@mjs13 ~ % kubectl get pods -A
NAMESPACE            NAME                                                              READY   STATUS      RESTARTS   AGE
ingress-nginx        ingress-nginx-admission-create-cfkbq                              0/1     Completed   0          41m
ingress-nginx        ingress-nginx-admission-patch-wqmws                               0/1     Completed   2          41m
ingress-nginx        ingress-nginx-controller-cd85c7789-d4ktn                          1/1     Running     0          41m
its1-system          addon-status-controller-5cf65db88b-cn6d7-x-open-clus-9b22669e11   1/1     Running     0          37m
its1-system          cluster-manager-5c5574bd5d-w9csq-x-open-cluster-mana-8802ad6bf5   1/1     Running     0          38m
its1-system          cluster-manager-addon-manager-controller-64fcf75654--03e33a136c   1/1     Running     0          37m
its1-system          cluster-manager-placement-controller-674b49d996-q458-3f520973ce   1/1     Running     0          37m
its1-system          cluster-manager-registration-controller-7d6db54bd4-s-5057fce331   1/1     Running     0          37m
its1-system          cluster-manager-registration-webhook-5959dcfc6f-prp2-6c146813f7   1/1     Running     0          37m
its1-system          cluster-manager-work-webhook-695bc769cb-nzjbb-x-open-f14e16f1c2   1/1     Running     0          37m
its1-system          coredns-68559449b6-hpgs4-x-kube-system-x-vcluster                 1/1     Running     0          38m
its1-system          ocm-stcx6                                                         0/2     Completed   0          38m
its1-system          update-cluster-info-6wcpk                                         0/1     Completed   0          39m
its1-system          vcluster-0                                                        2/2     Running     0          39m
ks-monitoring        grafana-646bbd78d6-lxktb                                          1/1     Running     0          31m
ks-monitoring        prometheus-kube-prometheus-operator-55b7f85957-jhz5t              1/1     Running     0          30m
ks-monitoring        prometheus-prometheus-kube-prometheus-prometheus-0                2/2     Running     0          30m
ks-monitoring        pyroscope-0                                                       1/1     Running     0          33m
ks-monitoring        pyroscope-alloy-0                                                 2/2     Running     0          33m
kube-system          coredns-76f75df574-88zqh                                          1/1     Running     0          41m
kube-system          coredns-76f75df574-flt4p                                          1/1     Running     0          41m
kube-system          etcd-kubeflex-control-plane                                       1/1     Running     0          41m
kube-system          kindnet-phqvl                                                     1/1     Running     0          41m
kube-system          kube-apiserver-kubeflex-control-plane                             1/1     Running     0          41m
kube-system          kube-controller-manager-kubeflex-control-plane                    1/1     Running     0          41m
kube-system          kube-proxy-7j85v                                                  1/1     Running     0          41m
kube-system          kube-scheduler-kubeflex-control-plane                             1/1     Running     0          41m
kubeflex-system      kubeflex-controller-manager-649f5484cc-bkp8p                      2/2     Running     0          40m
kubeflex-system      kubeflex-operator-g27cg                                           0/1     Completed   0          40m
kubeflex-system      postgres-postgresql-0                                             1/1     Running     0          41m
local-path-storage   local-path-provisioner-7577fdbbfb-nz95s                           1/1     Running     0          41m
wds1-system          kube-apiserver-559f75cd7d-2xgj8                                   2/2     Running     0          38m
wds1-system          kube-controller-manager-868b9f8bdb-pwssb                          1/1     Running     0          38m
wds1-system          kubestellar-controller-manager-5676698857-zlcd9                   2/2     Running     0          29m
wds1-system          transport-controller-6bdffb7b96-4h5hg                             1/1     Running     0          29m

Tearing it all down and starting over is getting better results, although I still get the occasional error message in the shell doing the port-foward.

FYI, here is a dashboard that I have used to look at APF issues. It is not necessarily exactly what you want, but may give some useful clues. The top left panel use a metric that is newer than the servers that you are using.
apf-dash-notime.json

BTW, while testing this: after ./configure-metrics-its.sh I observe the following (which is different from what the README says to expect). This problem was not introduced in this PR.
mspreitz@mjs13 monitoring % kubectl -n ks-monitoring get servicemonitor -l "app.kubernetes.io/part-of!=kube-prometheus-stack"
NAME                           AGE
its1-apiserver                 13s
its1-status-addon-controller   14s
wds1-apiserver                 46s
wds1-ks-controller-manager     47s
wds1-ks-transport-controller   47s


Failed to process batch for class 'dlrs.RollupCalculateJob' for job id 'XXXXXXX00C09xiA'

Hello Andy,
I am also getting this error
Apex script unhandled exception by user/organization: (Organisation ID)
Failed to process batch for class 'dlrs.RollupCalculateJob' for job id '7070X0000C09xiA'
Could you please help me.
Thanks

@ashwinjangam i need more information. Do you see anything on Setup > Apex Jobs?

Closing, if further help is needed please reach out to the Trailblazer Community Group for DLRS which is our preferred channel for support requests.


Ability to lock down access to the OIDC discovery endpoint

What would you like to be added:
Rather than making the OIDC discovery endpoint completely public for the self hosted case might there be a mechanism which would allow it to be locked down to requests originating from STS only, or at least cut down on sources from which it would be accessible.
Why is this needed:

It would be desirable to not leak any information at all about internal implementations.

STS only needs the public signing key and OIDC discovery endpoint to be public. There doesn't need to be any private information present, what information are you concerned about exposing?

hi @micahhausler, I appreciate that no secrets are exposed here, I was hoping however that we might have a mechanism where we can avoid unnecessary information disclosure. The keys/discovery metadata are only being accessed by STS (right?) so restricting access to that is preferable to being completely public. (We wouldn't necessarily want to make public our decisions around architecture unless there are no alternatives)

here, I was hoping however that we might have a mechanism where we can avoid unnecessary information disclosure

I'm still not sure I understand, what specific information are you referring to that you don't want to be public? In EKS the public endpoint only contains public RSA keys (ex: discovery and keys ). There isn't any identifying information required by STS.  Is there a particular vector in your threat model that isn't described here?

The keys/discovery metadata are only being accessed by STS (right?) so restricting access to that is preferable to being completely public.

STS doesn't have a set list of egress IPs they access from, so there isn't a way to restrict the access like you're wanting. If this is something you specifically need, you'd have to take that up with IAM/STS, the best way to communicate that would be through your account rep.

Is there a particular vector in your threat model that isn't described here?

I wanted to be able to address the rationale for exposing discovery/keys in a public bucket.

you'd have to take that up with IAM/STS, the best way to communicate that would be through your account rep

I'll chase it there.
Closing this ticket, thanks for the input.


Error on getQuote

When I am calling function getQuote with script code 590116 ex: objBSE.getQuote('590116').
I am getting an error:

InvalidStockException                     Traceback (most recent call last)
Cell In[14], line 1
----> 1 objBSE.getQuote('590116')
File ~/Library/Python/3.9/lib/python/site-packages/bsedata/bse.py:61, in BSE.getQuote(self, scripCode)
55 def getQuote(self, scripCode):
56     """
57     :param scripCode: A stock code
58     :returns: A dictionary which contain details about the stock
59     :raises InvalidStockException: Raised for stocks which have been suspended or no longer trading on BSE
60     """
---> 61     return quote.quote(scripCode)
File ~/Library/Python/3.9/lib/python/site-packages/bsedata/quote.py:53, in quote(scripCode)
51     if error_text_element is not None:
52         error_text=error_text_element.text
---> 53     raise InvalidStockException(status=error_text)
54 try:
55     if span['class'][0] == 'srcovalue':
InvalidStockException: Inactive stock
Currently, I am using this library. If you will allow, I can contribute to this library.

I don't mind you contributing to the library, but I see nothing wrong in the error. The stock has clearly been inactive since 2016. Please explain what the issue is here.
https://m.bseindia.com/StockReach.aspx?scripcd=590116

I think the issue is in the following piece of code. As the stock has been inactive since 2016 the value of updt_diff.days would be -2648 as of today. that's why it throws the error. and for the same reason it gives the same error for all the inactive stocks.
Although I don't know the reason behind putting that condition, but removing the condition might fix the bug it seems.
updt_date = soup.find("span", id="strongDate").text.split('-')[1].strip()
updt_diff = dt.strptime(updt_date, "%d %b %y | %I:%M %p") - dt.now()
if updt_diff.days < -7:
    error_text=""
    error_text_element=soup.find("td", id="tdDispTxt")
    if error_text_element is not None:
        error_text=error_text_element.text
    raise InvalidStockException(status=error_text)

Hey @soumyadipghorai that's the expected behaviour. We don't want to return data for inactive stocks because correct data won't be available.
I am closing this issue and locking it now as it is attracting invalid comments now.


Change term UI5 Logo to UI5 Icon

 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.


[Enhancement] Process links on all games

Unless I'm missed the option elsewhere, the user has to manually edit each game to run sort/remove/rename/dedupe.
Options in Playnite menu > Extensions > Link Utilities to run this on all games (each action separately, or all at once) would help.
Thanks.

When you select more than one game the addon goes through all selected ones. But I could also add a button to the extensions menu for all filtered games or the whole library, I guess. That way you won't need to select them all beforehand. I myself like to do it in smaller doses though, because depending on the website it takes some time to add all the links.

Ah yeah, I forgot about adding— and with entire libraries I suppose there's the risk of making the sites angry enough to rate-limit or block.

I added extension main menu items for all cleaning actions for filtered and all games. There's also a new button "clean up" in the main and game menus to do all those actions at once. The feature will be available with version 1.8!


[kf5jobwidgets] new port

Describe the pull request

What does your PR fix?
Adds new port

Which triplets are supported/not supported? Have you updated the CI baseline?
All official.

Does your PR follow the maintainer guide?
Yes.

Yes.

@JonLiu1993 all fixed now


Modify config class to use ConfigParser module (Trac #10)

The current Config class reads and writes data using the [http://docs.python.org/library/pickle.html pickle] module. Switching to a [http://docs.python.org/library/configparser.html ConfigParser] implementation would offer several advantages, the most obvious of which is that it uses plain text files.
Migrated from http://microfluidics.utoronto.ca/ticket/10
{
    "status": "closed",
    "changetime": "2014-04-17T19:39:01",
    "description": "The current Config class reads and writes data using the [http://docs.python.org/library/pickle.html pickle] module. Switching to a [http://docs.python.org/library/configparser.html ConfigParser] implementation would offer several advantages, the most obvious of which is that it uses plain text files.",
    "reporter": "ryan",
    "cc": "",
    "resolution": "fixed",
    "_ts": "1397763541728826",
    "component": "microdrop",
    "summary": "Modify config class to use ConfigParser module",
    "priority": "minor",
    "keywords": "configuration",
    "version": "",
    "time": "2011-10-08T03:05:54",
    "milestone": "Microdrop 1.0",
    "owner": "ryan",
    "type": "enhancement"
}

Trac update at 20111008T06:35:17: cfobel commented:

Any consideration for using yaml?  It easily supports lists and dictionaries, making it natural to store Pythonic data.

Trac update at 20111008T06:36:15: cfobel commented:

Replying to [comment:1 cfobel]:

Any consideration for using yaml?  It easily supports lists and dictionaries, making it natural to store Pythonic data.

http://pyyaml.org/wiki/PyYAML

Trac update at 20111011T16:56:03: ryan commented:

It looks like the candidates to consider are are:

[http://docs.python.org/library/pickle.html pickle] (Current implementation)
[http://pyyaml.org/wiki/PyYAML PyYAML]
[http://jsonpickle.github.com/ jsonpickle]
[http://docs.python.org/library/configparser.html ConfigParser]

I will try playing with some of these and write up a list of pros and cons for each on [http://microfluidics.utoronto.ca/microdrop/wiki/DataSerialization this page]. We should also probably consider one of these formats as a way to serialize objects, although config files and object don't necessarily need to use the same format.  See ticket #20.

Trac update at 20120209T18:17:01:

<EMAIL_ADDRESS>commented:

commit 26c0ff03e4522a7583513b1444c027036ae258d6
Author: Ryan Fobel<EMAIL_ADDRESS>Date:   Thu Feb 9 13:01:14 2012 -0500
[SUBMODULE] Modify Config class to use ConfigObj. Fixes #14.

This has the advantage of making the config file easy to read/edit
by hand.

<EMAIL_ADDRESS>changed resolution from "" to "fixed"
<EMAIL_ADDRESS>changed status from "new" to "closed"

Trac update at 20120209T18:25:46: ryan commented:

I decided to go with [http://pypi.python.org/pypi/configobj/ ConfigObj] over ConfigParser mainly because it has simple, built-in validation and preserves commenting in the config file.
I also looked into the pyutilib.component.config class. It has some nice features like automagically linking keys in the config file to class members (as long as they are derived from one of the pyutilib plugin classes). These are convenient, but I worry that they may cause more problems than they are worth if/when things go wrong. Also, the pyutilib solution is built on top of ConfigParser, so ConfigObj has the same relative advantages mentioned above.

Trac update at 20140417T19:39:01: ryan changed component from "core" to "microdrop"