nuxt 3 vs vite-plugin-stylelint 4.0.0

Describe the bug
for a reason I don't understand vite-plugin-stylelint 4.0.0 crashes nuxt 3 on start while 3.3.3 works fine
ERROR  Cannot start nuxt:  Cannot read properties of undefined (reading 'formatters')
at formatError (/home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:40281:46)
  at Context.error (/home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:40277:19)
  at L (/home/amery/projects/xxxx/node_modules/vite-plugin-stylelint/dist/index.js:2:1208)
  at async Context.buildStart (/home/amery/projects/xxx/node_modules/.pnpm/vite-plugin-stylelint@4.0.0_r2tgf73irdyaz3c772gabqao7i/node_modules/vite-plugin-stylelint/dist/index.js:2:2031)
  at async Promise.all (index 5)
  at async hookParallel (/home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:40168:9)
  at async Object.buildStart (/home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:40439:13)
  at async /home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:62181:13
  at async Module.createServer (/home/amery/projects/xxxx/node_modules/.pnpm/vite@3.2.5_sass@1.56.2/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:62206:9)
  at async buildClient (/home/amery/projects/xxxx/node_modules/.pnpm/@nuxt+vite-builder@3.0.0_qj7x6gp3rczsq4mh5nosxx3oaq/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:299:24)

Reproduction
My integration is very simple, nuxt.config.ts looks like this:

import StylelintPlugin from "vite-plugin-stylelint";

const autoFix: boolean = false;

export default defineNuxtConfig({
  [...]

  vite: {
    server: {
      strictPort: true,
    },

    plugins: [
      StylelintPlugin({
        fix: autoFix,
      }),
    ],
  },
});

### System Info

```Shell
$ pnpx envinfo --system --binaries --browsers
.../../../.pnpm-store/v3/tmp/dlx-21225   |   +1 +
.../../../.pnpm-store/v3/tmp/dlx-21225   | Progress: resolved 1, reused 1, downloaded 0, added 1, done

  System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
    Memory: 13.78 GB / 31.02 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.18.1 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.9.0 - ~/projects/xxx/bin/npm

$ pnpm list
Legend: production dependency, optional only, dev only

<EMAIL_ADDRESS>/home/amery/projects/xxxx/web/client (PRIVATE)

dependencies:
@xxx/xx-types link:../../src/packages/types
@nuxtjs-alt/proxy 2.1.2
@pinia/nuxt 0.4.6
@popperjs/core 2.11.6
bootstrap link:../../../../github.com/amery/bootstrap-ssr
bootstrap-vue-3 link:../../../../github.com/amery/bootstrap-vue-3-ssr/packages/bootstrap-vue-3
pinia 2.0.28

devDependencies:
@nuxtjs/eslint-config-typescript 12.0.0  nuxt 3.0.0                               stylelint-config-recommended-vue 1.4.0
eslint 8.29.0                            postcss-html 1.5.0                       stylelint-prettier 2.0.0
eslint-config-prettier 8.5.0             prettier 2.8.1                           typescript 4.9.4
eslint-plugin-prettier 4.2.1             sass 1.56.2                              vite-plugin-eslint 1.8.1
eslint-plugin-ssr-friendly 1.2.0         stylelint 14.16.0                        vite-plugin-stylelint 4.0.0
eslint-plugin-vue 9.8.0                  stylelint-config-prettier 9.0.4
npm-run-all 4.1.5                        stylelint-config-recommended-scss 8.0.0

[22:54:17] [amery@d4902d6312b5(pts/0)client]$ pnpm info vite

<EMAIL_ADDRESS>| MIT | deps: 5 | versions: 391
Native-ESM powered web dev build tool
https://github.com/vitejs/vite/tree/main/#readme

bin: vite

dist
.tarball: https://registry.npmjs.org/vite/-/vite-4.0.0.tgz
.shasum: b81b88349a06b2faaa53ae14cf96c942548e3454
.integrity: sha512-ynad+4kYs8Jcnn8J7SacS9vAbk7eMy0xWg6E7bAhS1s79TK+D7tVFGXVZ55S7RNLRROU1rxoKlvZ/qjaB41DGA==
.unpackedSize: 3.2 MB

dependencies:
esbuild: ^0.16.3 fsevents: ~2.3.2 postcss: ^8.4.19 resolve: ^1.22.1 rollup: ^3.7.0

maintainers:
- soda<EMAIL_ADDRESS>- vitebot<EMAIL_ADDRESS>- yyx990803<EMAIL_ADDRESS>- patak<EMAIL_ADDRESS>- antfu<EMAIL_ADDRESS>
dist-tags:
alpha: 4.0.0-alpha.6  beta: 4.0.0-beta.7    latest: 4.0.0

published yesterday by vitebot<EMAIL_ADDRESS>
Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[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.

Thanks for your report! I am on my weekend so I am a bit late.
Can you please try v4.0.1 and tell me if it is fine?

Thanks for your report! I am on my weekend so I am a bit late.
It may be caused by import, which is kind of different under esm and commonjs.

I'm told using unbuild helps a lot with that

Can you please try v4.0.1 and tell me if it is fine?

I can confirm 4.0.1 doesn't blow up my Nuxt 🎉🎉
Thank you! @ModyQyW

I'm told using unbuild helps a lot with that

I will give it a try, but later.

I can confirm 4.0.1 doesn't blow up my Nuxt 🎉🎉

Glad to see that 🎉


Ability to see sfdx force:source:deploy status only at certain interval

Is your feature request related to a problem? Please describe.
Right now sfdx force:source:deploy status  is logged to terminal every 5 (not sure about current default value) seconds or so. If we can have an ability to log this status after x minutes, it will be very helpful. It will be similar to pollWaitMillis paramter of Ant metadata deployment.
What are you trying to do
Minimize the number of times status has been logged in ongoing deployment. For larger deployments, seeing status every 5 or so (not sure about current default value) seconds is too messier
Describe the solution you'd like
Additional parameter for for force:source:deploy command
Describe alternatives you've considered
Not aware about any alternative (I might be wrong though)
Additional context
n/a

@pramodgavade - if you provide -w 0 it will make the command asynchronous and you can use the force:source:deploy:report command.  Will that work for your usecase?


Update module github.com/gorilla/websocket to v1.5.1

This PR contains the following updates:

Package
Type
Update
Change

github.com/gorilla/websocket
require
patch
v1.5.0 -> v1.5.1

Release Notes

gorilla/websocket (github.com/gorilla/websocket)
v1.5.1
Compare Source
What's Changed

Add check for Sec-WebSocket-Key header by @hirasawayuki in https://github.com/gorilla/websocket/pull/752
Changed the method name UnderlyingConn to NetConn by @JWSong in https://github.com/gorilla/websocket/pull/773
remove all versions < 1.16 and add 1.18 by @ChannyClaus in https://github.com/gorilla/websocket/pull/793
Check for and report bad protocol in TLSClientConfig.NextProtos by @ChannyClaus in https://github.com/gorilla/websocket/pull/788
check err before GotConn for trace by @junnplus in https://github.com/gorilla/websocket/pull/798
Update README.md by @coreydaley in https://github.com/gorilla/websocket/pull/839
Correct way to save memory using write buffer pool and freeing net.http default buffers by @FMLS in https://github.com/gorilla/websocket/pull/761
Update go version & add verification/testing tools by @coreydaley in https://github.com/gorilla/websocket/pull/840
update golang.org/x/net by @coreydaley in https://github.com/gorilla/websocket/pull/856
update GitHub workflows by @coreydaley in https://github.com/gorilla/websocket/pull/857

New Contributors

@hirasawayuki made their first contribution in https://github.com/gorilla/websocket/pull/752
@JWSong made their first contribution in https://github.com/gorilla/websocket/pull/773
@ChannyClaus made their first contribution in https://github.com/gorilla/websocket/pull/793
@junnplus made their first contribution in https://github.com/gorilla/websocket/pull/798
@coreydaley made their first contribution in https://github.com/gorilla/websocket/pull/839
@FMLS made their first contribution in https://github.com/gorilla/websocket/pull/761

Full Changelog: https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

It seems there is currently a bug in gorilla/websocket v1.5.1 that leads to an error during execution: 'Error during close of websocket - unexpected error of websocket connection - read tcp < ... >: use of closed network connection.'
https://github.com/gorilla/websocket/issues/877

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
:warning: Warning: custom changes will be lost.

As the gorilla/websocket is not that well maintained at the moment I switched to the fork Noooste/websocket


form action attribute which is set to /submit-cat-photo is not working

Challenge Waypoint: Create a Form Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<form action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL"/>
</form>

@jimmythattilsunny thanks for posting this issue!
We are aware of this issue. Closing as a duplicate of https://github.com/FreeCodeCamp/FreeCodeCamp/issues/3628. You can continue further discussion there, thanks.

Please review the Guidelines for Contributing, thank you!.

Looks like this is still an issue. it has not been fixed yet.

Anyone know of any updates to this?

nm this should be working now. thanks!

Still seems to be an issue

yes still issue

Still an issue! :(

Wtf. Why are you in my phone👿🔫 reply back . stay out of my email
On Apr 11, 2017 3:26 AM, "Pooja Bhaumik"<EMAIL_ADDRESS>wrote:

Still an issue! :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-293186602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZAA-g3DJqDaDxbHNsMOwVtXkAHuPiXfks5ruzkigaJpZM4GKva3
.

@amberbranson3
looks like you may have accidentally subscribed to all notifications for the FreeCodeCamp repository. To stop receiving notifications please visit the subscriptions page and select "Not watching". Additionally, you can visit the GitHub Help page on managing notification delivery methods for more help.
We are sorry for your inconvenience!

Still an issue as of 4/30/17.

Shall I be redundant? Tis an issue still. 5/1/17.

Really? And might I ask why redundant ?
On May 1, 2017 10:01 PM, "Nick Young"<EMAIL_ADDRESS>wrote:

Shall I be redundant? Tis an issue still. 5/1/17.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-298478984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZoDkk1fQrRs7OMvtF89GxeNYkHjpe3iks5r1o5mgaJpZM4GKva3
.

Wait. I think I understand
On May 2, 2017 3:43 AM, "Queendom Jax"<EMAIL_ADDRESS>wrote:

Really? And might I ask why redundant ?
On May 1, 2017 10:01 PM, "Nick Young"<EMAIL_ADDRESS>wrote:

Shall I be redundant? Tis an issue still. 5/1/17.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-298478984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZoDkk1fQrRs7OMvtF89GxeNYkHjpe3iks5r1o5mgaJpZM4GKva3
.

Still and issue

*an

I've come to terms with never finishing this section due to a 15 minute
exercise. No big deal.
On Thu, May 11, 2017 at 1:53 PM, Mike<EMAIL_ADDRESS>wrote:

*an
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-300866674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWSRuvnlOlGlLDfhIR4zunZGkRx3qWM2ks5r40skgaJpZM4GKva3
.

--
Best regards,
*Nicholas Young *
Andrew Young School of Policy Studies
Georgia State University '15
Major: Economics | Minor: Mathematics
<EMAIL_ADDRESS>|<PHONE_NUMBER> | LinkedIn
http://www.linkedin.com/pub/nicholas-young/98/452/a93

I figured this out - I am away from my computer but can send you a snippet
in the AM
Mike
On Thu, May 11, 2017 at 4:17 PM Nick Young<EMAIL_ADDRESS>wrote:

I've come to terms with never finishing this section due to a 15 minute
exercise. No big deal.
On Thu, May 11, 2017 at 1:53 PM, Mike<EMAIL_ADDRESS>wrote:

*an
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-300866674
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AWSRuvnlOlGlLDfhIR4zunZGkRx3qWM2ks5r40skgaJpZM4GKva3
.

--
Best regards,
*Nicholas Young *
Andrew Young School of Policy Studies
Georgia State University '15
Major: Economics | Minor: Mathematics
<EMAIL_ADDRESS>|<PHONE_NUMBER> | LinkedIn
http://www.linkedin.com/pub/nicholas-young/98/452/a93
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/3640#issuecomment-300904201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbTXGbiqvmUUjjWza_nFz25I7Xfcz43Lks5r42zAgaJpZM4GKva3
.


Add create and get dandiset endpoints

Fixes #88.
Fixes #80.
This PR adds two endpoints:

An endpoint to create a dandiset, creating a folder with the specified name under the staging collection and assigning it an ID
An endpoint to get the girder folder document from a given dandiset ID

If viewing the file changes, please ignore the first commit, as it's just a formatting change.

pardon my naive question: how do I access the added endpoint? couldn't read from the diff/code

Not a naive question.
You can create a Dandiset through the web api:
https://girder.dandiarchive.org/api/v1#!/dandi/dandi_create_dandiset
Then if you want to get it via the web api, passing in the dandiset id:
https://girder.dandiarchive.org/api/v1#!/dandi/dandi_get_dandiset


Add graph from file

Introduces new graph_from_file() function in osmnx.core. Parses OSM XML files and generates Overpass-like JSON data. This is a stub implementation, and I'm looking for feedback on these questions before I continue:

Is there some deeper underlying object format I should use in preference to Overpass JSON, or does this XML-to-JSON flow seem good?
Do OSM relations need to be supported?
What optional parameters need to exist for graph_from_file()?

Addresses #93.

I think xml to json works well. That will make hand-off to create_graph easy enough.

As of now, no. But that's a future enhancement that'd be nice to make library-wide. For now, just adding a stub or comment or something pointing out it's not there would be useful.

I think simplify, retain_all, network_type, and name. Each is easy to handle in like a line or 2 of code such as here. The network_type argument is needed by create_graph to create bidirectional edges as appropriate. Presumably, the purpose of this new graph_from_file function is to turn the all the way contents of the .osm file into a graph, so I assume the function will not filter edge types based on the network_type argument. But I'm open to suggestions.

and, thanks much for digging into this!

I think this is done. I’ve added a test for reading data from files, and I believe the unit failure test is something to do with geocoding.

Thanks @migurski! I'll take a look at this soon.

Thanks a lot for this new function. It works very well.

Does the pbf need to contain any specific information or can it contain all default osm data? For instance I have tried to run the graph_from_file function on a pbf generated from GeoFabriks Europe extract. The subextract I am using is for a very small test area with poly as follows:
1
0
    5.07448295115847     52.01761020898715
    5.061074139766845     52.020260672951096
    5.05768817426537     52.04045565493337
    5.064169334843836     52.07093448682436
    5.076798284522554     52.07550514373811
    5.100512051914809     52.065312416966435
    5.095128489319279     52.03868762461073
    5.07448295115847     52.01761020898715
END
END

The osmconvert command I did on the GeoFabrik extract is as follows:
osmconvert64 europe.osm.pbf -B=test.poly -o=test.osm
With no additional filters. I then try to run
import osmnx

G = osmnx.graph_from_file('test.osm')

But I get an error

File "C:\Users\aboufira\AppData\Local\Continuum\miniconda3\envs\netwerkanalyse\lib\site-packages\osmnx\core.py", line 1911, in graph_from_file
retain_all=retain_all, name=name)
File "C:\Users\aboufira\AppData\Local\Continuum\miniconda3\envs\netwerkanalyse\lib\site-packages\osmnx\core.py", line 1368, in create_graph
G = add_edge_lengths(G)
File "C:\Users\aboufira\AppData\Local\Continuum\miniconda3\envs\netwerkanalyse\lib\site-packages\osmnx\core.py", line 1201, in add_edge_lengths
coords = np.array([[u, v, k, G.nodes[u]['y'], G.nodes[u]['x'], G.nodes[v]['y'], G.nodes[v]['x']] for u, v, k in G.edges(keys=True)])
File "C:\Users\aboufira\AppData\Local\Continuum\miniconda3\envs\netwerkanalyse\lib\site-packages\osmnx\core.py", line 1201, in
coords = np.array([[u, v, k, G.nodes[u]['y'], G.nodes[u]['x'], G.nodes[v]['y'], G.nodes[v]['x']] for u, v, k in G.edges(keys=True)])
KeyError: 'y'

Is it perhaps looping through some nodes/ways it does not actually need? Do I have to do more than simply extract all OSM data for a given extent? Do I have to filter for specific features before I use the graph_from_file function? If so it would be nice to include this in the docstring for this function....

Has this function been removed?


steam deck

Input

[ ] Controller Support: your game must support Steam Deck's physical controls. The default controller configuration must provide users with the ability to access all content. Players must not need to adjust any in-game settings in order to enable controller support or this configuration.
in progress: #3
[ ] Default Controller Configuration: We strongly recommend (and require for Verified on Deck badging) that the default controller configuration for your game enables access to all in-game functionality. If your game doesn't natively support controllers, we recommend creating a controller configuration to map to the appropriate mouse and keyboard inputs. Better yet, implementing gamepad or native Steam Input support may open your game to a whole new set of customers.
[ ] Controller Glyphs: when using Steam Deck's physical controls, on-screen glyphs must either match Deck button names, or match Xbox 360/One button names. Mouse and keyboard glyphs should not be shown if they are not the active input. Interacting with any physical Deck controls using the default configuration must not show non-controller glyphs. (Recommendations: We strongly recommend using the SteamInput API, which will automatically show the correct glyphs regardless of which input device the user is using.)
[ ] Text input: if your game requires text input (eg., for naming a character or a save file), you must either use a Steamworks API for text entry to open the on-screen keyboard for players using a controller, or have your own built-in entry that allows users to enter text in their language using only a controller.
[ ] Text Input: We strongly recommend (and require for Verified on Deck badging) that games automatically display an on-screen keyboard when requiring the user to input text. We recommend using one of the two Steamworks SDK on-screen keyboard APIs, depending on your use case: ShowFloatingGamepadTextInput (sends direct key inputs) and ShowGamepadTextInput (callback-based).
[ ] Gyro/Trackpad Friendliness: We recommend that games with support for both mouse-style (1:1 movement) and joystick-style camera movement cleanly support both at the same time. We recommend allowing mouse events to affect the camera as they normally would without perturbing simultaneous controller functionality, and only switching to mouse/keyboard mode if a mouse click event is received. Common problems include joystick input getting locked out when mouse camera is used and vice versa, controller buttons not working when mouse camera is being used, on-screen button prompts changing between controller and keyboard/mouse icons, all of which make it more difficult for customers to play with their preferred control scheme. (Note: this functionality is automatic when using the Steam Input API.)

Display

[x] resolution support: the game must run at a resolution supported by Steam Deck. (Recommendations: Whenever possible, we recommend you support the Deck's native resolutions of 1280x800 (preferred) or 1280x720.)
eda6784
[x] default configuration: the game must ship with a default configuration on Deck that results in a playable framerate.
[ ] text legibility: interface text must be easily readable at a distance of 12 inches/30 cm from the screen. In other words, the smallest on-screen font character should never fall below 9 pixels in height at 1280x800. (Recommendations: We expect Steam Deck will be used in a wide variety of lighting and physical configurations, such as being connected to a TV, monitor or keyboard. We recommend supporting user-configurable text size and, when possible, contrast. While 9px is the absolute minimum text size for approval, we recommend aiming for 12px whenever possible.)

Seamlessness

[X] no device compatibility warnings: the app must not present the user with information that the Deck software (ie., specific Linux distribution) or hardware (ie., GPU) is unsupported.
[x] launchers: for games with launchers, those launchers also must meet the requirements listed here, including full navigability with a controller. (Recommendations: We recommend strongly against requiring the user to navigate a launcher to play your game.)
n/a: no launcher!

Graphics

[ ] Vulkan API: We recommend targeting Vulkan as your primary graphics API for best performance and battery life. If you use an engine like Unity or Unreal, enabling Vulkan in your build for all users will result in the highest performance/longevity. (Note: Proton includes a DirectX-to-Vulkan translation layer. If your game or engine has high-quality DirectX support but no Vulkan support, it's likely that this automated translation layer will exceed the performance of doing a custom Vulkan implementation.)
[ ] Video/Audio Codecs: We recommend using standalone codecs (eg., VP9 or AV1) rather than codecs that are tied to a specific vendor (eg., WMF).

Game Features

[ ] Clouded Saves: For games that allow saving, we recommend enabling automatic clouding of saved games: users should be able to save their game on a Deck and resume on a different PC, and vice versa, without manually transferring files. This means that games should provide a form of cloud save via either Steam Cloud or an automatic third-party service such as a game- or publisher-specific account with server-side save files. We highly recommend using Steam Cloud for automatic transfers. We recommend against syncing game configuration settings, ie., display resolution, between different devices.
[x] Offline Mode: We strongly recommend all singleplayer content is accessible without an Internet connection. You can test your game without any online connectivity, including the first run on a new Steam account. This feature is especially valuable for Deck customers, who may have more sporadic network access than a standard gaming PC.
[x] Launchers: We recommend putting all required functionality into your game client rather than requiring users to navigate a launcher before running your game. Launchers often rely on platform-specific frameworks (ie., .NET, WPF, etc.) that can turn into difficult experiences for customers on a small screen using a controller for navigation. When native UI launchers are required, you can use the SetGameLauncherMode API to automatically translate controller input to keyboard/mouse events to assist the user.

source:
https://partner.steamgames.com/doc/steamdeck/compat
https://partner.steamgames.com/doc/steamdeck/recommendations

input and controller glyph's:
https://thoseawesomeguys.com/prompts/


Reported P&L

I was watching my bot trade all day and noticed the last 2 trades were losses, but the Return P&L showed a positive increase in the percent and amount. These were the trades
BUY 100 @ 0.67 = 67
SELL 100 @ 0.65 = 65
P&L = -2
Bot Reported: 2
Shouldn't the bot show positive when the buy is lower then the sell and negative when its the reverse like the above?
┆Issue is synchronized with this Clickup task by Unito

Hi! @rogueops, Bottom nav bar is based on the last trade and the history shows the return % after the current price change. You can also refer to this link for more infortmation: https://docs.hummingbot.io/features/performance-history/#average-price

Hi! @rogueops, Are you referring to the history and nav bar? Bottom nav bar is based on the last trade and the history shows the return % after the current price change. You can also refer to this link for more infortmation: https://docs.hummingbot.io/features/performance-history/#return-percentage

according to that doc the bottom bar is based on the last trade price so per my bot the last trade was
BUY 100 @ 67 = 67.00 USD
then later it filled a sell order as follows
SELL 100 @ 65 = 65.00
the bot reports the above as a gain when it should be a loss as I bought high and sold low, right?

im having the same issue as well

Hi @rogueops This could be due to a surge from the market price to why the percentage shows a different value. But from the Return % example that on the bottom of the nav bar, it's supposed to show a negative value based from the 2 past trades that you've mentioned. Could you also send a screenshot of your bottom nav bar that shows the value for your Return %?

Hi @subimpact I just want to confirm based on the screenshot that you've sent, would that be a consecutive status command initiated? Could you send us a screenshot of your whole terminal so we could take a look at the time stamp and history of your past trades? Thanks

is there a command to show the active orders it is going to close as in it makes a sell order at 60 and to close that order it would do a buy, at least that what it looks like the bot is doing to calc the return P&L.

got something new, i reset the bot so it had 0 trades with a 0% P&L and when it did just one buy the P&L went negative

Hi @rogueops, for now there is no existing command for the one you described. With regards to your concern on the fresh bot, it will show as negative with one buy since your base asset has been reduced.

@cardosofede Are we not recommending using the excel calculator for PnL?

the PNL calculation of the bot is more like a market making approach. It's comparing the value of doing nothing, versus the current value of the portfolio affected by the current prices.
If you want too see the performance I will recommend you to use the post process tool: https://github.com/hummingbot/community-tools/tree/main/Hummingbot-Postprocess


Revert "Remove Databricks 13.3 from release 23.12 [databricks] (#9890)" [databricks]

This reverts commit c59b0a2c0712b42fb4c0d169608e1a967e7b9147 and adds back Databricks 13.3 to the release

build


Fix bugs in the action menu items

When I log in and drill down to "Church Secondary School", I'm unable to change any of the pop characteristics using the Edit menu actions.

This is caused by a change on the endpoint

This is fixed in app version 1.5.0


Source files for SVGs?

Are the SVGs in this repo the only (accessible) versions which exist, or are there source files somewhere which are easier to edit?
(also worried about the quality gradually degrading over time, if the svgs are being repeatedly imported/edited/exported by an image editor)

An SVG does not degrade in quality, it's a text (XML) based format. Try and open any SVG in a text editor of your choice and you'll see

Ideally, yes, but not in practice.
For example:
the T-Rex emoji was edited at some point, reusing features from the original (notice that the mouth and part of the head are the same, just flipped and rotated and scaled slightly)
but, the new version has a visible seam around the mouth, and several extra paths layered on top of each other

(I've noticed several minor issues like this while working on a twemoji opentype COLR font)
more importantly: all the SVGs in this repo use only fills, no strokes (anything that looks like a stroke is actually a filled path)
these are difficult to convert back to real strokes for editing, (at best, you'll still lose some precision)

@12Me21 there is also https://github.com/boywithkeyboard/twemoji-svg (published as @twemoji/svg), which contains only a minfied version of all SVGs and isn't as much cluttered.
As for quality, as @smiba already mentioned, SVG files can be scaled up and down without quality loss, unlike PNG or JPEG files.

Although not minified to the fullest extent possible, the SVG files in the assets folder have been processed by svgo and are not well suited as source files.
I suppose the original image files were stored in a proprietary format used by some editor (perhaps .ai) and are now somewhere lost or locked inside Twitter, not part of the forkable CC-BY FOSS release. Too bad.
For projects that use SVG as their development format, it makes sense to have a separate set optimized for distribution, i.e. one in /src and one in /assets .

inkskape for example keeps its editor info in the svg files


Network Policy Enforcement

Overview
The ironcore-net project currently lacks a mechanism for enforcing network policies. This feature request aims to develop a network policy concept derived from the network policy object in the generic ironcore projects. Implementing network policy enforcement will enhance the security and management of network traffic within the ironcore-net project.
Goals

Define the Ironcore-Net Policy Object: We need to establish how the network policy object specific to ironcore-net will be structured, considering its derivation from the generic ironcore network policy object.

Extend the NetworkInterface in Ironcore-Net: The NetworkInterface in ironcore-net must be extended to reflect the effective policies for a network interface. These policies should be mapped by the metalnetlet to the firewallrules field in the metalnet NetworkInterface (NIC) type.

Controller Logic for Policy and NIC Mapping: Define the controller logic that will handle the mapping between a policy and a Network Interface Card (NIC) on which the policy should be enforced.

Requirements
1. Ironcore-Net Policy Object

Task: Define the structure and fields of the ironcore-net policy object, considering its compatibility and derivation from the generic ironcore network policy object.
Acceptance Criteria:

The policy object must include fields that specify both ingress and egress rules.
It should support specifying protocols, ports, and IP ranges for both ingress and egress traffic.
Compatibility with the generic ironcore network policy object must be ensured.

2. Extending the NetworkInterface

Task: Design and implement the extension of the NetworkInterface in ironcore-net to include effective policy enforcement details.
Acceptance Criteria:

The NetworkInterface must have a new field or structure to hold firewallrules as mapped by the metalnetlet.
The extension must ensure that policies can be effectively applied and represented in the metalnet NIC type.

3. Controller Logic for Policy-NIC Mapping

Task: Develop the controller logic that will map network policies to NICs for enforcement.
Acceptance Criteria:

The controller must accurately map network policies to the appropriate NICs based on the policy definitions.
It should watch for changes in network policies and update NIC firewall rules accordingly.
The logic must support the dynamic application of policies to NICs without requiring a restart of the network interface or the node.

Implementation Steps

Research and Analysis: Review the current ironcore-net and ironcore projects to understand the existing network policy structure and its application.
Design Phase:

Design the ironcore-net specific policy object.
Propose extensions to the NetworkInterface.
Outline the controller logic for policy-NIC mapping.

Development and Testing: Implement the proposed designs, followed by thorough testing to ensure reliability and security.
Documentation: Update the ironcore-net documentation to include the new network policy enforcement features, usage examples, and configuration guidelines.

Out of Scope

Modifying the underlying network model or infrastructure outside the scope of network policy enforcement.
Integration with external network policy management tools or platforms.

Here is the sample networkpolicy.yaml  for ironcore-net
apiVersion: core.apinet.ironcore.dev/v1alpha1
kind: NetworkPolicy
metadata:
  namespace: default
  # networkpolicy-uid is the uid of corresponding networkpolicy in ironcore cluster
  name: networpolicy-uid
spec:
  # This specifies the target network to limit the traffic in.
  networkRef:
  # network-uid is the ironcore-net cluster's network name which refers to corresponding network's uid in ironcore cluster
    name: network-uid
  # Only network interfaces in the specified network will be selected.
  networkInterfaceSelector:
     matchLabels:
       app: db
  # If the policy types are not specified, they are inferred on whether
  # any ingress / egress rule exists. If no ingress / egress rule exists,
  # the network policy is denied on admission.
  policyTypes:
  - Ingress
  - Egress
  # Multiple ingress / egress rules are possible.
  ingress:
  - from:
    # Traffic can be limited from a source IP block.
    - ipBlock:
        cidr: <IP_ADDRESS>/16
    # Traffic can also be limited to objects of the networking api.
    # For instance, to limit traffic from network interfaces, one could
    # specify the following:
    - objectSelector:
        kind: NetworkInterface
        matchLabels:
          app: web
    # Analogous to network interfaces, it is also possible to limit
    # traffic coming from load balancers:
    - objectSelector:
        kind: LoadBalancer
        matchLabels:
          app: web
    # Ports always have to be specified. Only traffic matching the ports
    # will be allowed.
    ports:
    - protocol: TCP
      port: 5432
    - protocol: UDP
      port: 223
  egress:
  - to:
    - ipBlock:
        cidr: <IP_ADDRESS>/24
    ports:
    - protocol: TCP
      port: 8080


Question about  EventListener

hello!

How Can I implement OnCollisionEnter(),  OnCollisionExit();  OnCollisionStay(), OnTriggerEnter(),  OnTriggerExit();  OnTriggerStay()   as the same with unity3d?

You are right, this section of the documentation does not seem up to date. I will update it. Currently, the EventListener class only supports the newContact() callback that is called for each contact found during a frame (each call to DynamicsWorld::update()). For instance, if a box is resting on another box with 4 contact points, you will have each frame a newContact() callback with the 4 contact points.
Could you please briefly explain the different callbacks from Unity3D that you would need and when they are called exactly ?

OnCollisionEnter equals beginContact
OnCollisionExit equals endContact
OnCollisionStay equals newContact
A Collider(or shape), which have a property called isTrigger, if a collider has property  isTrigger,  it will not collider with others(no physics),  but you can rayCast it.

I will try to add more collision feedback in the EventListener in the future.

Hello guys :) Any updates here?)

I am currently working on this. This will be released in the next version of the library (v0.8.0) which will be released in April or May hopefully.

Great job! Thanks for your work! I translating your code from c++ to golang. I hope version 0.8.0 will finished successful :)

As for me your code realy awesome :) Easy read, good structure :)

Thanks for your feedback !

@DanielChappuis do you have patreon or something else? :)

For the moment, I have this but I am working on the setup of Github Sponsors.

The version v0.8.0 of ReactPhysics3D has been released.
In this version, it is now possible to set colliders has being triggers. Moreover, using the EventListener class it is now possible to receive notifications when contacts occurs or when a collider overlaps with a trigger collider. You can find more information in the user manual here.
Note that this version contains some public API changes. Please read carefully the change log before upgrading to this new version and do not hesitate to take a look at the user manual.
I am therefore closing this issue.


vimPlugins.godbolt-nvim: init at 2022-12-17

Description of changes
Adds two new Vim plugins and updates the whole set.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

There is a build error with vim-lsp, I opened https://github.com/prabirshrestha/vim-lsp/pull/1408 to fix this upstream
we can either wait for that pr or revert the update on vim-lsp

The pull request was merged and I updated the plugins again
nixpkgs-review succeeded, should be good to mergeg once ci finishes

My apologies, I forgot to merge this and now there is a merge conflict


Replace 'pip sklearn' with 'pip install scikit-learn' in GraphCodeBert dependency

GraphCodeBert dependency
On pip, 'sklearn' is different with 'scikit-learn'
it should be change to 'pip install scikit-learn'
Note
sklearn
scikit-learn

thanks.


Comment lines should be ignored

Thank you for the extension. I appreciate it's transparency about where the changes are being made.
I noticed, however, that If AssemblyInfo.cs contains commented lines and they are before non-commented line - the commented line is displayed and changed instead of actual line:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("<IP_ADDRESS>")]

Only the first line will be displayed in Update solution versions window and after changing the version it will be the only line that changed.

I have it fixed. Once I fix a new build error with the VS2019 version, I'll publish it in 1.1.3.


Strange behavior while moving to straight line goals

Hi. I am using a car like robot with the teb local planner. I have noticed that when when the robot is trying to get to a goal that lies more or less on a straight line path ahead, its angular velocity commands keep on fluctuating around zero ( they remain within the limits set for angular velocity but keep on fluctuating) when there is no need to that. I don't notice this while the robot is backing up or making turns.

the issue is covered in essence in #92 so closing this.


Hash the password during login and signup

The login and signup passwords are stored as plain text. I would like to hash them in order to increase the security of the application. Please assign this issue to me under SSOC'24.
Name: Krishna Sharma K

@krishnasharmak05 go ahead.


inserting a line sometimes adds extra text

This can be sometimes observed when you press o in the middle of a block of code and Vim inserts a tab stop for you.

Irrelevant now we are switching to neovim.


Stops logging after around 12 hours

This has been logging fine to logz.io since it was deployed last night at 10pm, after around 12 hours, the logs have completely stopped with no changes made to the app.
New apps which have been deployed since then work OK and using the older versions of the apps on other servers also send the logs correctly.
The buffer files also stopped around 9:30 this morning so I suspect it must be related to Serilog rather than this shipper but I am not sure how to debug it since it was all fine to start with and I would imagine that Serilog runs as part of the web application and not as a separate application that could fail?

OK, so the problem is that the default value for bufferFileSizeLimitBytes is 100MB and it is not clear in readme.md that the default settings are the time-based durable log and that the max file size is relevant, even when using time-based file rolling.
It would be useful to add all of the config parameters to the appsettings.json examples with their default values and make a note that all of them except requestUri are optional but are shown with their default parameters so that people are aware of what is happening under the covers?
Happy to create a PR if you would prefer?

Please do PR, I will be happy to accept it :)

I have tried to improve README.md.
Also changed default value of  bufferPathFormat from "Buffer-{Date}.json" to "Buffer-{Hour}.json".
This should roll over buffer file every hour.
For further information, please read: https://github.com/FantasticFiasco/serilog-sinks-http/wiki/Durable-time-rolled-HTTP-sink


Migrate to ES6 exports

Currently Parse Server Example uses require and module.exports. I propose migrating to ES6 syntax, import and export

Could you assign this issue to me?

@sankettank66 Please feel free to just open a PR, and link to this issue, so everyone knows this is being worked on.


Include timestamp for all offline messages

When a peer receives an offline message, it doesn't know when that message was sent. Knowing this is useful for chat, but other situations such as orders or moderation. I suggest adding a timestamp to all offline messages, if not all messages.

This was discussed during the technical hangout today, and it was agreed to add a timestamp to all messages. Full timelines are definitely useful for moderation.


Add "Set Master Volume" event

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds the event "Set Master Volume" to resolve issue #1177.

What is the current behavior? (You can also link to an open issue here)
As @sttng describes in the mentioned issue, there isn't an ideal way to change the master volume without using up additional resources or losing the currently playing track's position.

What is the new behavior (if this is a feature change)?
You can now set the master volume from an event without using the mentioned workaround.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
None that I am aware of.

Other information:

Closing as it is out of date. May consider resubmitting in the future.


Close Explicitly

is there a way to close an alert explicitly?

Sample:
SweetAleart.close();

Since the close action does not influence the Angular environment you can call swal.close(); directly.
If I have the time I'll do a PR with this method to

if I click swal.close() it says  swal.close is not a function... any idea?

Is there any workaround?


Should we define a list of allowed origins in Configmap?

Right now the user-fi and filing-api services allow all origins.  Should we define the origins that will be expected in the different environments (dev, int & test, ops) so that we restrict accepted URL origins?  I know this can be tricky with multiple proxies in the middle, but might be able to restrict a little more if this is seen as security concern.

Talked with Le, for MVP we're not going to worry about this since in the future it's possible that a banks will be talking directly to this service and not through the frontend.  So knowing what domains talk to this service might not be feasible without some registration concept.


HeatMap options: rotation ignored using opts

This does what I want and rotates the xtick labels 90 degrees:
a = ds.hvplot.heatmap(x='time', y='region', C='var1', rot=90)
b = ds.hvplot.heatmap(x='time', y='region', C='var2', rot=90)
c = ds.hvplot.heatmap(x='region, y='region', C='var3', rot=90)

plot =  (a + b + c)
hvplot.show(plot)

I thought using the .opts('HeatMap') class should work in the same way.
a = ds.hvplot.heatmap(x='time', y='region', C='var1')
b = ds.hvplot.heatmap(x='time', y='region', C='var2')
c = ds.hvplot.heatmap(x='region, y='region', C='var3')

plot =  (a + b + c).opts('HeatMap', dict(rot=90))
hvplot.show(plot)

This doesn't rotate the xtick labels.

Actually it looks like none of the HeatMap options work this way. I tried "width" and that doesn't work either.

Right; it doesn't work that way.  Try:
plot =  (a + b + c).opts('HeatMap', rot=90)
hvplot.show(plot)

I tried that already as one of the examples suggested it should work.

ValueError: Unexpected option 'rot' for HeatMap type across all extensions. No similar options found.

Ah, here the problem is that the spelling 'rot' is taken from Panda's .plot API, but when you use .opts it uses option spellings from the underlying backend, which in this case is Bokeh.  Bokeh calls that option xrotation. hvplot helpfully translates from Pandas spelling to Bokeh spelling when you pass options to the .plot call, but here you are passing options to the HoloViews overlay, which no longer involves hvplot, so you need to use what HoloViews expects, which is to spell things the way Bokeh uses them.

That solved it, thanks.


fix: formatting of YAML samples in 1.0 proposal doc

This change fixes the formatting of YAML snippets in the Towards 1.0 page in the documentation.

@smlx please fix DCO issue.

@smlx thanks for your PR. I see that you remove "```", I want to know the reason. Thanks so much.

The reason is that fenced code blocks don't work well with list items. Instead the markdown "spec" says:

To put a code block within a list item, the code block needs to be indented twice — 8 spaces or two tabs:

A list item with a code block:
<code goes here>

In this case the documentation currently looks like this after rendering:

With the change in this PR, it looks like this:

@smlx Thanks for your PR. looking forward to more. Thanks very much.


[0.5.0] Problem when trying to open and hdf5 file

Hello, while trying to open an hdf5 file, I got this error
picca@diffabs6:~$ ls -l /nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/Louis\ Le\ Pieux/XRD18keV_35/XRD18keV_35.h5
-rw-r--r-- 1 picca instrumentation 42562144 Jun 30 16:37 /nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/Louis Le Pieux/XRD18keV_35/XRD18keV_35.h5
picca@diffabs6:~$ silx view /nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/Louis\ Le\ Pieux/XRD18keV_35/XRD18keV_35.h5
WARNING:silx.app.view:Module 'hdf5plugin' is not installed. It supports some hdf5 compressions. You can install it using "pip install hdf5plugin".
Gtk-Message: Failed to load module "canberra-gtk-module"
WARNING:silx.gui.data.DataViews:Plot3dView is not available
WARNING:silx.gui.data.DataViewer:_Plot3dView instantiation failed. View is ignored
ERROR:silx.gui.qt._qt:<class 'OSError'> Unable to create file (Unable to open file: name = '/nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/louis le pieux/xrd18kev_35/xrd18kev_35.h5', errno = 17, error message = 'file exists', flags = 15, o_flags = c2)   File "/usr/bin/silx", line 11, in <module>
    load_entry_point('silx==0.5.0', 'console_scripts', 'silx')()
  File "/usr/lib/python3/dist-packages/silx/__main__.py", line 59, in main
    status = launcher.execute(sys.argv)
  File "/usr/lib/python3/dist-packages/silx/utils/launcher.py", line 303, in execute
    return command.execute(command_argv)
  File "/usr/lib/python3/dist-packages/silx/utils/launcher.py", line 137, in execute
    status = func(argv)
  File "/usr/lib/python3/dist-packages/silx/app/view.py", line 320, in main
    window.appendFile(filename)
  File "/usr/lib/python3/dist-packages/silx/app/view.py", line 227, in appendFile
    self.__treeview.findHdf5TreeModel().appendFile(filename)
  File "/usr/lib/python3/dist-packages/silx/gui/hdf5/Hdf5TreeModel.py", line 581, in appendFile
    self.insertFile(filename, -1)
  File "/usr/lib/python3/dist-packages/silx/gui/hdf5/Hdf5TreeModel.py", line 574, in insertFile
    h5file = silx_io.open(filename)
  File "/usr/lib/python3/dist-packages/silx/io/utils.py", line 398, in open
    return h5py.File(filename)
  File "/usr/lib/python3/dist-packages/h5py/_hl/files.py", line 271, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/usr/lib/python3/dist-packages/h5py/_hl/files.py", line 126, in make_fid
    fid = h5f.create(name, h5f.ACC_EXCL, fapl=fapl, fcpl=fcpl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/build/h5py-b1xqNM/h5py-2.7.0/h5py/_objects.c:2842)
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/build/h5py-b1xqNM/h5py-2.7.0/h5py/_objects.c:2800)
  File "h5py/h5f.pyx", line 98, in h5py.h5f.create (/build/h5py-b1xqNM/h5py-2.7.0/h5py/h5f.c:2294)

Hi. Which version do you use?

On old version there was a type, argv[0] has used as an input file.

Nice. We already have the version on your log: 0.5.0. Thanks setuptools.

Well. I am not able to reproduce the problem with the flagged version 0.5.0.
Can you send me the file by mail? The log is still strange.

You are right. @PiRK fixed this issue few weeks ago. h5py.File was not used properly. See https://github.com/silx-kit/silx/commit/b73683282b5b373da12d58f2206db41b89dddd16

It seems that I am not only affected by this problem.
I tryed from ipython to open the hdf5 file
In [8]: f = h5py.File('/nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/Louis Le Pieux/XRD18keV_35/XRD18keV_35.h5', "r")
---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-8-3db606d9a37d> in <module>()
----> 1 f = h5py.File('/nfs/ruche-diffabs/diffabs-users/20151386/published-data/xrd/Louis Le Pieux/XRD18keV_35/XRD18keV_35.h5', "r")

/usr/lib/python2.7/dist-packages/h5py/_hl/files.pyc in __init__(self, name, mode, driver, libver, userblock_size, swmr, **kwds)
    269
    270                 fapl = make_fapl(driver, libver, **kwds)
--> 271                 fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
    272
    273                 if swmr_support:

/usr/lib/python2.7/dist-packages/h5py/_hl/files.pyc in make_fid(name, mode, userblock_size, fapl, fcpl, swmr)
     99         if swmr and swmr_support:
    100             flags |= h5f.ACC_SWMR_READ
--> 101         fid = h5f.open(name, flags, fapl=fapl)
    102     elif mode == 'r+':
    103         fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)

h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/build/h5py-b1xqNM/h5py-2.7.0/h5py/_objects.c:2842)()

h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/build/h5py-b1xqNM/h5py-2.7.0/h5py/_objects.c:2800)()

h5py/h5f.pyx in h5py.h5f.open (/build/h5py-b1xqNM/h5py-2.7.0/h5py/h5f.c:2127)()

IOError: Unable to open file (Unable to flock file, errno = 13, error message = 'permission denied')

I still can't reproduce the problem, but maybe it also depends on the version of hdf5 or h5py.
valls@linkdick:/workspace/valls/silx.git$ ls -al foo.h5
-r--r--r-- 1 valls valls 17494251 Sep  5 17:37 foo.h5
valls@linkdick:/workspace/valls/silx.git$ /home/valls/.local/bin/silx view foo.h5
valls@linkdick:/workspace/valls/silx.git$ /home/valls/.local/bin/silx --version
silx version 0.5.0

After copying the file on my local system, I can open it...
In [1]: import h5py

In [2]: f = h5py.File('/tmp/XRD18keV_35.h5', "r")

In [3]:

So it seems that there is a problem with our nfs ruche system.

From our application, you should have this log if you dont have permission on the file. It is checked earlier by argparse before trying using h5py.
valls@linkdick:/workspace/valls/silx.git$ /home/valls/.local/bin/silx view foo.h5
usage: silx view [-h] [files [files ...]]
silx view: error: argument files: can't open 'foo.h5': [Errno 13] Permission denied: 'foo.h5'

I discoverd, thaht I need to mount my nfs moun tpoin twith the local_lock=flock in order to make it work.
It was not the case with jessie.


Missing TFE post-Roman cultures

In TFE, if the Romanised cultures of Gaul, Brittania and Iberia survive up to the 700s, they end up diverging into different, pre-scripted cultures.
Hispano-Roman splits into Balearic, Galecian, Lusitanian, Baetican and Iberian.
Gallo-Roman splits into Gallian, Aquitan, Armorican, Germanian, Helvetian.
Britano-Roamn diverges into Britanian.
I'm curious as to why these cultures are left unmapped if they exist in the culture files.

Contributor who did TFE support didn't map them, either deliberately but more probably by omission. If you know which culture goes where please submit a PR and we'll merge a patch. I don't know anything about TFE so...


[SMALLFIX] Fix spurious delete failure message

moved from https://github.com/Alluxio/alluxio/pull/3378

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10129/
Test PASSed.

LGTM


Add Crates page

List of all crates
Top 10 last updated crates
Top 10 newest crates

On a page of a crate:

Display crate's README.md
Published versions
Dependencies and dependent crates

This would be duplicating alire.ada.dev content and effort. I don't think it's a good idea.

Sorry,
but this is the aim of AdaForge.org ...


schema error

while trying to start new conv or send message code shows this error:
requests.exceptions.MissingSchema: Invalid URL '<http.client.HTTPResponse object at 0x0000022655E3E700>': No scheme supplied. Perhaps you meant https://<http.client.HTTPResponse object at 0x0000022655E3E700>?
title rename, org id functions work properly

@zenafey what version of python are you using?

 Plan is to make my own SSE library and make this have 0 dependencies soon. Thanks for debugging the issue!


docs: fix lookup example

With the example provided, it seems to indicate that the inserted /path is going to match with /test on the lookup.
I can only assume this is a typo, as these routes don't match

Thanks


serveRedirect parameter order

The other two serve* functions that take a status put it as the first argument while serveRedirect puts it last. Is there any interest in changing to serveRedirect(status, loc) or putting status last for the other two?

That's interesting. The main reason for the re-ordering was that the status code is optional for the redirect, but I also made it optional for serveResponse too. I'm considering changing the order, but still accepting the current one. Thank you for the suggestion!


Bump version to 20191125

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/pdfminer This MR closes https://github.com/conda-forge/pdfminer-feedstock/pull/7 and https://github.com/conda-forge/pdfminer-feedstock/pull/6 and adds py3 support :)

@conda-forge/pdfminer This MR closes https://github.com/conda-forge/pdfminer-feedstock/pull/7 and https://github.com/conda-forge/pdfminer-feedstock/pull/6 and adds py3 support :)

The core team generally waits a week on merge requests like this. If you need it sooner, let us know!

The core team generally waits a week on merge requests like this. If you need it sooner, let us know!

Ohhh looks like you did add yourself as a maintainer. Happy to merge sooner.

Ohhh looks like you did add yourself as a maintainer. Happy to merge sooner.

Thank you @beckermr !

Thank you @beckermr !


Subscription overloads to allow weak referencing of targets

Subscription overloads to allow weak referencing of targets
Currently when you subscribe to an observable the pattern is something like:
let obs: Observable<String>!
obs.subscribeNext { [weak self] value in
    self.handleString(value)
}

This allows us to avoid retain cycles on self but is cumbersome, it is tempting to write the following:
let obs: Observable<String>!
obs.subscribeNext(self.handleString)

however we have now introduced a retain cycle on `self
Motivation for inclusion
The second format is much more desirable but is obviously flawed - I'd like to introduce some overloads for subscription that get close to this format without the cycle...
Example of use
Here is the full code for the extensions:
extension ObservableType {
    /**
     Leverages instance method currying to provide a weak wrapper around an instance function

     - parameter obj:    The object that owns the function
     - parameter method: The instance function represented as `InstanceType.instanceFunc`
     */
    private func weakify<A: AnyObject, B>(obj: A, method: ((A) -> (B) -> Void)?) -> ((B) -> Void) {
        return { [weak obj] value in
            guard let obj = obj else { return }
            method?(obj)(value)
        }
    }

    /**
     Subscribes an event handler to an observable sequence.

     - parameter weak: Weakly referenced object containing the target function.
     - parameter on: Function to invoke on `weak` for each event in the observable sequence.
     - returns: Subscription object used to unsubscribe from the observable sequence.
     */
    @warn_unused_result(message="http://git.io/rxs.ud")
    public func subscribe<A: AnyObject>(weak obj: A, _ on: (A) -> (RxSwift.Event<Self.E>) -> Void) -> Disposable {
        return self.subscribe(weakify(obj, method: on))
    }

    /**
     Subscribes an element handler, an error handler, a completion handler and disposed handler to an observable sequence.

     - parameter weak: Weakly referenced object containing the target function.
     - parameter onNext: Function to invoke on `weak` for each element in the observable sequence.
     - parameter onError: Function to invoke on `weak` upon errored termination of the observable sequence.
     - parameter onCompleted: Function to invoke on `weak` upon graceful termination of the observable sequence.
     - parameter onDisposed: Function to invoke on `weak` upon any type of termination of sequence (if the sequence has
     gracefully completed, errored, or if the generation is cancelled by disposing subscription)
     - returns: Subscription object used to unsubscribe from the observable sequence.
     */
    @warn_unused_result(message="http://git.io/rxs.ud")
    public func subscribe<A: AnyObject>(
        weak obj: A,
        onNext: ((A) -> (Self.E) -> Void)? = nil,
        onError: ((A) -> (ErrorType) -> Void)? = nil,
        onCompleted: ((A) -> () -> Void)? = nil,
        onDisposed: ((A) -> () -> Void)? = nil) -> Disposable {

            let disposable: Disposable

            if let disposed = onDisposed {
                disposable = AnonymousDisposable(weakify(obj, method: disposed))
            }
            else {
                disposable = NopDisposable.instance
            }

            let observer = AnyObserver { (e: RxSwift.Event<Self.E>) in
                switch e {
                case .Next(let value):
                    self.weakify(obj, method: onNext)(value)
                case .Error(let e):
                    self.weakify(obj, method: onError)(e)
                    disposable.dispose()
                case .Completed:
                    self.weakify(obj, method: onCompleted)()
                    disposable.dispose()
                }
            }

            return StableCompositeDisposable.create(
                self.asObservable().subscribe(observer),
                disposable
            )
    }

    /**
     Subscribes an element handler to an observable sequence.

     - parameter weak: Weakly referenced object containing the target function.
     - parameter onNext: Function to invoke on `weak` for each element in the observable sequence.
     - returns: Subscription object used to unsubscribe from the observable sequence.
     */
    @warn_unused_result(message="http://git.io/rxs.ud")
    public func subscribeNext<A: AnyObject>(weak obj: A, _ onNext: (A) -> (Self.E) -> Void) -> Disposable {
        return self.subscribeNext(weakify(obj, method: onNext))
    }

    /**
     Subscribes an error handler to an observable sequence.

     - parameter weak: Weakly referenced object containing the target function.
     - parameter onError: Function to invoke on `weak` upon errored termination of the observable sequence.
     - returns: Subscription object used to unsubscribe from the observable sequence.
     */
    @warn_unused_result(message="http://git.io/rxs.ud")
    public func subscribeError<A: AnyObject>(weak obj: A, _ onError: (A) -> (ErrorType) -> Void) -> Disposable {
        return self.subscribeError(weakify(obj, method: onError))
    }

    /**
     Subscribes a completion handler to an observable sequence.

     - parameter weak: Weakly referenced object containing the target function.
     - parameter onCompleted: Function to invoke on `weak` graceful termination of the observable sequence.
     - returns: Subscription object used to unsubscribe from the observable sequence.
     */
    @warn_unused_result(message="http://git.io/rxs.ud")
    public func subscribeCompleted<A: AnyObject>(weak obj: A, _ onCompleted: (A) -> () -> Void) -> Disposable {
        return self.subscribeCompleted(weakify(obj, method: onCompleted))
    }
}

And the sample usage:
class FooViewController: UIViewController {
    var obs: Observable<String>!

    override func viewDidLoad() {
        super.viewDidLoad()
        obs.subscribeNext(weak: self, FooViewController.handleString)
    }

    private func handleString(string: String) {
        //..
    }
}

If approved, I would of course be happy to submit a PR :smile:

One thing comes up when reading your proposed code -- is the compiler happy about naming a parameter "weak" ? I know we can do it now in Swift 2.2 but you'll need to enclose it in backticks in the function definition

I'm using this in a 2.2 project 'as-is' doesn't appear to need backticks

Are you saying that swift 3.0 will need backticks ?

Nope I'm saying that AFAIK Swift 2.2 allows using most keywords as parameter names, but you must backtick them in the function definition (not in the function calls)

hmm, doesn't appear to be the case for this. I'm using this exact code in a 2.2 project (I've not upgraded to 7.3 yet)

Ok so my bad, I though that we were going to need backticks! all good then.

:smile: :+1:

Now for this PR -- guess you're going to have fun with the tests suite!

haha, wish me luck :wink:

PR #17

Thanks, Ian! Will review this tonite.

Merged  40566f2


Update all code samples for uniservice design

All code samples must be updated to account for the new "single-service" design.
Specifically, services should be accessed through a trinsic variable, which is an instance of TrinsicService.
No sample should use individual instances of services.
Languages

[x] .NET
[ ] Typescript
[ ] Go
[ ] Java
[ ] Python
[ ] Ruby
[ ] Swift
[ ] Dart

I'll just take this issue as a whole.

Ruby/Swift/Dart don't have code samples, so are out of scope.


hcs::System::Start windowswebserver: hcsshim: timeout waiting for notification: unknown

Deploying a windows container in my hybrid kubernetes cluster on a windows node with containerd 1.7.0 often fails and only sometimes succeed. About 7 out of 10 tries fail. It fails due to timeout while starting a new container. Creating the container seemd to work.
The error I get is:
Error: failed to start containerd task "windowswebserver": hcs::System::Start windowswebserver: hcsshim: timeout waiting for notification: unknown

I increased the timeout to 10 minutes with the environment variable HCSSHIM_TIMEOUT_SYSTEMSTART  but this didn't changed anything. Instead after 4 minutes I got the error now after 10 minutes.
I tried it with this deployment: https://kubernetes.io/docs/concepts/windows/user-guide/#getting-started-deploying-a-windows-container
Though, I also got this error with a different, own, image.
Is there anything I can do to provide you some (more) logs or traces?
Maybe related:
It feels like the start of a container only fails when I try to start multiple to the same time or with a short dealy (but still multiple seconds).
Note:
Originally I got this error from kubelet:
Error: context deadline exceeded

So I increased this timeout with runtimeRequestTimeout to 10 minutes in the configuration file for kubelet. Afterwards I got the error I described above.
See https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration:

runtimeRequestTimeout is the timeout for all runtime requests except long running requests - pull, logs, exec and attach. Default: "2m"

Environment:

Kubernetes version: 1.27.1
Cloud provider or hardware configuration: Bare Metal
OS: Microsoft Windows Server 2022 Standard
Kernel: 10.0.20348
Container runtime (CRI): containerd 1.7.0
Container networking plugin (CNI): flannel 0.17.0

I also get this error when directly invoking ctr:
PS C:\Windows\system32> ctr.exe run --rm mcr.microsoft.com/windows/servercore:ltsc2022 test
ctr: hcs::System::Start test: hcsshim: timeout waiting for notification: unknown

My antivirus (McAfee/Trellix) seems to block something. Without it, it works seamlessly.


Add hasMessageMatching(regex) to throwable assertions

Summary
Exception message assertions are as rich as regular String assertions, adding hasMessageMatching would cover some advanced message testing.
This comes from a stack overflow discussion: https://stackoverflow.com/questions/52819393/assertj-testing-exceptions-with-messages-generated-with-string-format/52900752#52900752
Example
  Throwable thrown = catchThrowableOfType(() -> { throw new Exception("boom!"); });

  assertThat(thrown).hasMessageMatching(".oo.");

Ref

already exists, silly me!


[pgs.sh] Custom headers

I see pgs.sh supports a special _redirects file to configure custom redirect paths. That's super neat!
Could a special _headers file be used to configure custom response headers, similar to what Netlify offers?

Hi, thanks for posting!
Yes we should probably support a _headers file.  I'm wondering if we should deprecate _redirects and just go all in on a single configuration file, thoughts?

I don't much care either way. Personally I'd prefer a _headers file, since that's what I'm used to from Netlify and Cloudflare Pages, but I'm not opposed to learning a new system for the same behavior if need be.

Got it.  We will commit to implementing a _headers file for now.  I'll update this ticket with progress.

This feature has been deployed.  Please try it out and let me know if it does or does not work properly.  Thanks again!

It seems to work! Thank you very much!


Fix Travis after_success.

[Current coverage][cc-pull] is 67.50%

Merging [#32][cc-pull] into [master][cc-base-branch] will increase coverage by 12.50%

@@             master        #32   diff @@
==========================================
  Files             3          3
  Lines            40         40
  Methods           0          0
  Messages          0          0
  Branches          7          7
==========================================
+ Hits             22         27     +5
+ Misses           14         13     -1
+ Partials          4          0     -4

3 files (not in diff) in ...ech/android/apk/size were modified. more

Misses -1
Partials -4
Hits +5

Powered by Codecov. Last updated by [3bf88be...9c95c71][cc-compare]
[cc-base-branch]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/compare/3bf88be0bbbe1f77745e6ca2d7e67e05580b6186...9c95c716baca6dc6aee3c4d5c4fb8d1672f38938
[cc-pull]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/pull/32?src=pr

[Current coverage][cc-pull] is 67.50%

Merging [#32][cc-pull] into [master][cc-base-branch] will increase coverage by 12.50%

@@             master        #32   diff @@
==========================================
  Files             3          3
  Lines            40         40
  Methods           0          0
  Messages          0          0
  Branches          7          7
==========================================
+ Hits             22         27     +5
+ Misses           14         13     -1
+ Partials          4          0     -4

3 files (not in diff) in ...ech/android/apk/size were modified. more

Misses -1
Partials -4
Hits +5

Powered by Codecov. Last updated by [3bf88be...9c95c71][cc-compare]
[cc-base-branch]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/compare/3bf88be0bbbe1f77745e6ca2d7e67e05580b6186...9c95c716baca6dc6aee3c4d5c4fb8d1672f38938
[cc-pull]: https://codecov.io/gh/vanniktech/gradle-android-apk-size-plugin/pull/32?src=pr


Cafe Bot OnTurnPropert.cs error

The bug
With the code written as is, line 55 was throwing an error saying that FirstOrDefault is not a method of JToken (Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken>' does not contain a definition for 'FirstOrDefault').
To Reproduce
Steps to reproduce the behavior:

Execute project
Use bot emulator
Enter an utterance that has a LUIS entity in it
place a line break at line 55 to catch error

Expected behavior
It gives this error:
Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken>' does not contain a definition for 'FirstOrDefault'
Additional context
I was able to fix it with the following code:
value = (from val in (JArray)value
select val).FirstOrDefault();
[bug]

@talon2king would you like to submit a pull request with this fix?

@JasonSowers Sure thing!

Closing this issue as we will continue the conversation in the pull request thread as we review it, thanks!


Cross Compilation

cc @diml @toots @whitequark

I've resolved the conflicts with master.

@diml If I understand your new proposal correctly, then cross compilation will directly depend on findlib. That doesn't seem to be desirable to me, especially that the only thing we need to distinguish the toolchains is a directory prefix argument. Before we used a different opam switch to do that, I agree that's not ideal. But why not just ask the user to provide the host root directly rather than doing it through findlib.

We are really just reading a configuration file, currently we only use the ocamlfind binary to locate the configuration file.
If there are other way to do cross-compilation later, we'll see what we do. We can always extend the syntax to allow other way of setting up cross-compilation. I imagine that at some point the tooling will officially support cross-compilation and that the work done in the various projects to provide cross-compilation will be somehow integrated upstream. At this point will update jbuilder to support the official way.

OK, well I'm ok with it as long as we aren't committed to using findlib here. I thought that namespaces will make findlib completely optional, so I'd hate the introduce the dependence on it in a backdoor way later.

BTW, we don't need to specify too much how things work in the doc. Let's just say that for now we support cross-compilation using the opam-cross-* repositories and that users who want to use opam-cross-x should pass -x x to jbuilder or write (targets (x)) in their jbuild-workspace file. We don't need to talk about findlib, it's an implementation detail

@toots would you mind trying this branch and see if it works for you?

We don't need to talk about findlib, it's an implementation detail

Do we mention that a target corresponds to a findlib toolchain? Otherwise this term doesn't really mean much.

@rgrinberg has the command-line syntax changed besides removing --install-prefix ? I'm getting this:
[sexplib-windows: jbuilder-windows build] Command started
+ jbuilder-windows "build" "-p" "sexplib" "-j" "4" "-x" "windows" (CWD=/home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2)
- Error: exception Sys_error("Is a directory")
- Backtrace:
- Raised by primitive operation at file "pervasives.ml", line 384, characters 7-32
- Called from file "lexing.ml", line 86, characters 4-49
- Called from file "src/meta_lexer.ml", line 275, characters 25-57
- Called from file "src/meta_lexer.ml" (inlined), line 201, characters 4-34
- Called from file "src/meta.ml", line 75, characters 10-17
- Called from file "src/import.ml", line 469, characters 8-11
- Re-raised at file "src/import.ml", line 471, characters 30-37
- Called from file "src/findlib.ml", line 134, characters 33-64
- Called from file "src/context.ml", line 207, characters 12-63
- Called from file "src/future.ml", line 88, characters 40-45
- Called from file "src/future.ml", line 83, characters 65-70
- Called from file "src/future.ml", line 37, characters 9-12
- Re-raised at file "src/future.ml", line 17, characters 36-47
- Called from file "src/future.ml", line 40, characters 9-23
- Called from file "src/import.ml", line 469, characters 8-11
- Re-raised at file "src/import.ml", line 471, characters 30-37
- Called from file "src/future.ml", line 37, characters 9-12
- Re-raised at file "src/future.ml", line 17, characters 36-47
- Called from file "src/future.ml", line 40, characters 9-23
- Called from file "src/import.ml", line 469, characters 8-11
- Re-raised at file "src/import.ml", line 471, characters 30-37
- Called from file "src/future.ml", line 37, characters 9-12
- Re-raised at file "src/future.ml", line 17, characters 36-47
- Called from file "src/future.ml", line 40, characters 9-23
- Called from file "src/import.ml", line 469, characters 8-11
- Re-raised at file "src/import.ml", line 471, characters 30-37
- Called from file "src/future.ml", line 703, characters 6-29
- Called from file "vendor/cmdliner/src/cmdliner_term.ml", line 27, characters 19-24
- Called from file "vendor/cmdliner/src/cmdliner.ml", line 106, characters 32-39
- Called from file "vendor/cmdliner/src/cmdliner.ml", line 136, characters 18-36
- Called from file "vendor/cmdliner/src/cmdliner.ml", line 251, characters 22-48
- Called from file "bin/main.ml", line 1089, characters 10-51
[ERROR] The compilation of sexplib-windows failed at "jbuilder-windows build -p sexplib -j 4 -x windows".

Ah, my mistake, I pushed a fix

Thanks! Got a new problem now..
[sexplib-windows: jbuilder-windows build] Command started
+ jbuilder-windows "build" "-p" "sexplib" "-j" "4" "-x" "windows" (CWD=/home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2)
- Multiple rules generated for num/lib/.merlin
[ERROR] The compilation of sexplib-windows failed at "jbuilder-windows build -p sexplib -j 4 -x windows".

#=== ERROR while installing sexplib-windows.v0.9.2 ============================#
# opam-version 1.2.2
# os           linux
# command      jbuilder-windows build -p sexplib -j 4 -x windows
# path         /home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2
# compiler     4.04.0+32bit
# exit-code    1
# env-file     /home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2/sexplib-windows-22-8c0dd3.env
# stdout-file  /home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2/sexplib-windows-22-8c0dd3.out
# stderr-file  /home/opam/.opam/4.04.0+32bit/build/sexplib-windows.v0.9.2/sexplib-windows-22-8c0dd3.err
### stderr ###
# Multiple rules generated for num/lib/.merlin

Not sure what this is about. Let me know if you need steps to reproduce.

I haven't managed to install mingw-w64 on my box, so it's hard to try. I need to add some fake cross-compilation test

@diml We have a docker-based test suite that you should be able to tap in for quick testing. I've pushed the branch with the changes here: https://github.com/ocaml-cross/opam-cross-windows/pull/56

Ah! Thanks, but I don't have docker either at work :(
I'll try with tests, it's good to have tests anyway

Ok, I added a test and fixed some problems. The PR should be in a better state now.

Yeah it's looking good from here as well. Thanks!

Actually, I've got another issue now here when compiling ocaml-migrate-parsetree-windows:
### stderr ###
# Warning 58: no cmx file was found in path for module Config, and its interface was not compiled with -opaque
# [...]
#     ocamlopt src/gen/gen.exe [default.windows]
# Error: exception Invalid_argument("index out of bounds")
# Backtrace:
# Raised by primitive operation at file "src/path.ml", line 192, characters 29-39
# Called from file "src/action.ml", line 543, characters 13-62
# Called from file "src/action.ml", line 550, characters 5-54
# Called from file "src/build_system.ml", line 518, characters 6-82
# Called from file "src/future.ml", line 83, characters 65-70
# Called from file "src/future.ml", line 37, characters 9-12

Superseeded by #380


Add Tigera to partners

@devin-donnelly

This change is

@lavalamp do you have a moment to take a look at this guy?

Or @devin-donnelly?

I don't think tech writers are the best people to be vetting new parters.  Who is?


Scan previously verified blocks

Motivation
We want to scan all the blocks in the state, this is the ticket for previously verified blocks.
Suggested Design
Count from height 0 to LatestChainTip.best_tip_height(), ask the state for each block, then scan it.
Outside the state there is no distinction between finalised and non-finalised blocks, so this design will scan all of them. But it won't wait for newly received blocks, that's ticket #7905.

Hey team! Please add your planning poker estimate with Zenhub @arya2 @oxarbitrage @teor2345 @upbqdn

I blocked closing this on #7947, but most of the changes can be made without it.


[OTHER] readme of the repo

What would you like to share?
making readme more appealing and easy for the new user and adding tags which will be easily
✨ Browser
Google Chrome
Checklist 🚀

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no).

@Ayush-Tibrewal how'd you improve the readme?

@soumyadeeproychowdhury PR for this commit has already been made, you can check another issue one with setting up devtool which is no-code issue you can work on it, for getting started into open source. ❤


feat(connector): partition source reader batch_size by rate_limit (#13800)

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Cherry-pick https://github.com/risingwavelabs/risingwave/pull/13800

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Bump, since we cherry pick into 1.6, we should also cherry pick into 1.7 to be consistent. Otherwise when user upgrades 1.6->1.7, they can encounter regression if they used rate limit.


Internal Binds

Allow to mark binds as internal.
Internal binds are those used by the container to allow customisation of behaviour but they do not make a part of the application. For example Scope instances are typical internal instances. A simple form could be to consider all instances with scope container as internal. A bit more flexible would be if the ScopePermanence has a internal flag field which can be flipped and which would be true for the container scope by default.
The effect of internal scopes would be that lookup would be categorised as internal or external and for external access these resources would be invisible.

A way to apply the limitation to non internal resources is to wrap the Injector. This could be done as last step before the bootstrapped Injector is returned and/or only when injecting the Injector itself.


feat: renaming token-registry folders

make A.{tokenMainnetAddress}.{tokenMainnetContractName} as the naming rule of folders in token-registry
Update ftl-pr-checker for new folder name
Update token.json schema
Add workflow_dispatch so that the generator can be triggered manually

The change of folder will change the token order in tokenlist. We re-generate tokenlist manually before the bot.

how about {#PR}.{symbol}.
That can be used for a token not deployed to mainnet.


Fix missing backticks, space private word.

URL:
https://www.typescriptlang.org/docs/handbook/release-notes/overview.html#which-should-i-use
Current state:

Perfect, thank you @001123


Sema: Coerce the type of the index expression in a key path component to match the subscript decl's index type.

Explanation: The compiler would crash when a key path literal with subscript components contained indexes that were a subtype of the subscript's expected index parameters.
Scope: Fixes a bug in key path subscripts, a new feature added after the first release of 4.0.
Issue: SR-6062 | rdar://problem/34835322
Risk: Low, small bug fix
Testing: Swift CI, test case from Jira, compatibility suite

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci Please test

@swift-ci Please test source compatibility

@slavapestov Mind reviewing this for the 4.0 branch?


⚠ Bofrost.at has degraded performance

In 2ccbf33, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1501 ms

Resolved: Bofrost.at performance has improved in 3f211f3 after 15 minutes.


The line item total amount of the provided items (126.18) is greater than the total amount of the original items (111.93).

Hello Team,
with the new Release 1.3.14 we found out, that we can`t raise the total amount after order!
The line item total amount of the provided items (126.18) is greater than the total amount of the original items (111.93).
With the payment method invoice from mf group/power pay, however, we have to be able to increase or decrease the amount depending on the order.
Why is there this new restriction and can it be lifted again?
Thanks for any help and support.

Dear FloWord
Thank you for your input.
We will check this on our side.
In the meanwhile, did you already check if the issue will be fixed on your side when turning on/off the "Enforce consitency" option in the wallee plugin menu?

That has influences on how the sum will be calculated.
Thank you for your feedback.
Best regards

Dear FloWord
I assume there was a misunderstanding.
You probably meant the adjustments options within the portal, right?

I will forward this to our portal team.
Best regards


Make Garden Linux work with Azure Gen2 machines

What would you like to be added:
Azure supports so called Gen2 machines which have some requirements for the Garden Linux images (e.g. bianry format etc).
More information about Azure Gen2 can be found here:

https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2

Take a look at Azure Gen2 and identify issues that must be resolved before enabling Garden Linux to be deployable on Gen2 machines.
Then, those issues must be fixed.
Why is this needed:
Enable Garden Linux for Azure Gen2 machines

duplicate #345


sqlc.embed handle CTE

What do you want to change?
sqlc.embed does not recognize type from CTE (see repo link)
I have 2 examples:

one that works correctly :

WITH filtered_customers AS (
    SELECT c.*
    FROM customers AS  c
    WHERE c.deleted_at IS NULL
    AND (array_upper(@customer_ids::uuid[], 1) IS NULL OR c.id = ANY(@customer_ids))
    AND sqlc.narg('is_active')::bool IS NULL OR is_active = sqlc.narg('is_active')
), customer_managers_agg AS (
    SELECT cm.customer_id, array_agg(cm.user_id)::uuid[] AS managers
    FROM customers_managers AS cm
    INNER JOIN filtered_customers AS c ON c.id = cm.customer_id
    GROUP BY cm.customer_id
) SELECT sqlc.embed(c), cm.managers
FROM filtered_customers AS c
LEFT JOIN customer_managers_agg AS cm ON c.id = cm.customer_id
WHERE (array_upper(@manager_ids::uuid[], 1) IS NULL OR cm.managers && @manager_ids);

it generates:
type ListCustomersRow struct {
	Customer Customer
	Managers []uuid.UUID
}

one that fails:

-- name: CreateCustomer :one
WITH inserted_customer AS (
    INSERT INTO customers (
        name,
        team_id
    ) VALUES (
        @name,
        @team_id
    )
    RETURNING *
), inserted_managers AS (
    INSERT INTO customers_managers (customer_id, user_id)
    SELECT c.id AS customer_id, unnest(@manager_ids::uuid[]) AS user_id
    FROM inserted_customer AS c
)
SELECT sqlc.embed(c), @manager_ids::uuid[] AS managers
FROM inserted_customer AS c;

it generates the following error:
unable to resolve table with "sqlc.embed(c)": relation "c" does not exist
What database engines need to be changed?
No response
What programming language backends need to be changed?
No response

This would be very nice if supported.


libsForQt5.mlt: 7.12.0 -> 7.14.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for libsForQt5.mlt is: Open source multimedia framework, designed for television broadcasting
meta.homepage for libsForQt5.mlt is: https://www.mltframework.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.14.0 with grep in /nix/store/ybyyca016v25ram7whz7y7rpw59bjbm2-mlt-7.14.0
found 7.14.0 in filename of file in /nix/store/ybyyca016v25ram7whz7y7rpw59bjbm2-mlt-7.14.0

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

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath
libsForQt5.kdenlive
libsForQt5.mlt
plasma5Packages.kdenlive
plasma5Packages.mlt
shotcut

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ybyyca016v25ram7whz7y7rpw59bjbm2-mlt-7.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libsForQt5.mlt https://github.com/r-ryantm/nixpkgs/archive/65af4910c431917ee6efc6537d926527b2515fbe.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ybyyca016v25ram7whz7y7rpw59bjbm2-mlt-7.14.0
ls -la /nix/store/ybyyca016v25ram7whz7y7rpw59bjbm2-mlt-7.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

pixinsight

3 packages built:

libsForQt5.kdenlive
libsForQt5.mlt
shotcut

Maintainer pings
cc @cillianderoiste for testing.

@ofborg build libsForQt5.kdenlive


feat: row wise converter

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR:

implements memory comparable encoding/decoding for time series keys.

Checklist

[X]  I have written the necessary rustdoc comments.
[X]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@evenyag PTAL


Don't clear service callbacks on destruction, and reorder

This is needed just for services, since they have a special constructor (used by lifecycle nodes) which allows the lifecycle node to own the rcl_service.
On destruction of a lifecycle node, they free (delete) the memory of the rcl_service.
Later, on destruction of a ~Service, this would fail:
clear_on_new_response_callback();

It'd fail since this function tries to access the (already freed) rcl_service, so it seg-faults.

The commits have all been cherry-picked. Closing the PR.


Part 6: Last of azure-common-* checkstyle fixes

Finishing last of test checkstyle fixes:

azure-common-auth and azure-common-mgmt

Remove MockHttpResponse and use one from azure-common-test

Adds a bunch of javadocs to test classes that don't fit the Mock* or *Test class. (I didn't want to add one off classes to checkstyle exclusions)
Using getter/setters for test classes

Can one of the admins verify this patch?


[i need info] about setTiles..

as it is possible to make a generation of
perfect structures?

What timing.  I am messing with this now.  As far as I can tell, do NOT run too fast and it is very hard to run this on another thread - yet still have MCPE see that new blocks were added.  You can tell you went "too fast" if blocks were not added, were added in random places, or the most prevalent issue, light is not updated properly for the blocks (they look black, or if you drop a torch you only get 1 block lighting up).  If you run this on the main thread, if you drop too many blocks too fast MCPE will lag for a moment, and if the lighting is goofed up, typically placing a lighting source by the player will update the chunk and everything will be fine.  I've yet to discover how to place a large set of blocks without needing to use a second player (controlled by script / i.e. similar to minebot) or running very slowly on the main thread.  I wonder if BL is not tickling the appropriate thing all the time OR if there is an array of blocks to check, in which we are overflowing since the game is DESIGNED to have blocks placed by a player...not by a "hacking" script.  I'm going to continue messing with it and once I get something I'll be posting a new mod.

Wooow.

@ISAAC300 Is that what you wanted to know?  I was taking a GUESS based on your initial information that you were having issues with lighting on your blocks...

@zedman2000 Doing any block updates off the main thread is a bit scary: Minecraft isn't designed to be multithreaded, I think (although PE doesn't seem to care that much).
I believe block setting is mainly limited by the speed of the JavaScript engine (which is interpreted only) so maybe a different interface to set blocks might help.

@zhuowei sounds good.  I guess I'll make an engine that runs off of the modtick() function and do something entertaining to the user while they are waiting for my structure to generate.  Found the limits of number of blocks to place during a time period without lagging using a straight place blocks.
Thanks for the information regarding MT - I'll use this only for helper functions from now on (i.e. nothing that needs to feed INTO MCPE, only consumes information from).  That makes me a bit sad though, since I had some plans to modify some other mods to be MT to improve performance.
Does this "non-MT" nature of MC explain why it doesn't seem to recognize blocks for lighting updates when using a second thread to set a block?  Any thoughts on how I can correct those blocks?  Tried placing torches afterwards and it seems that you can only light up 1 block at a time doing that (again, I think as you said MCPE doesn't like that there is a block there and it messes with the algorithms for lighting/shading).
Is this maybe the same or similar reason for why the signs do not get updated into the MCPE block database after being updated by script?

@ISAAC300 sorry for taking over the thread! @zhuowei one last question, is the limit of the speed of the JavaScript engine based on the user's processor?  Or is there an array of "jobs" that I can ensure I limit myself to?  That is, if you have a jobs to be done array and it is limited to say 100 actions, I know to only place 100 blocks at a time and I can monitor the game (getTile) for the last block to be placed before bursting in a second set of blocks to be placed into the game.
Thanks again!

I feel like it's possible but the amount of arrays required for the separate, slower generation will be ridiculous.

i knw, --y; if(getTile(x,y-y,z)>0){
generateInUnderground(x,y,z);
}
:P my theory.


Ohai doesn't return value.

https://github.com/chef-cookbooks/bluepill/blob/178239cdf2ee77d122294df833a78a72394ff3d6/attributes/default.rb#L18
Value node['languages']['ruby']['bin_dir'] is nil. If workaround https://github.com/chef-cookbooks/bluepill/blob/178239cdf2ee77d122294df833a78a72394ff3d6/.kitchen.yml#L24 is removed, then test kitchen fails with error
Errno::ENOENT
No such file or directory - /bluepill
Cookbook Trace:
/tmp/kitchen/cache/cookbooks/bluepill/resources/service.rb:69:in block (2 levels) in class_from_file' /tmp/kitchen/cache/cookbooks/bluepill/resources/service.rb:68:in block in class_from_file'
Resource Declaration:
In /tmp/kitchen/cache/cookbooks/bluepill_test/recipes/default.rb
15: bluepill_service node['bluepill_test']['service_name'] do
16:   action [:enable, :load, :start]
17: end

I am not sure this is a bug so much as working as intended. The default value for the default['bluepill']['bin'] asks Ohai for a Ruby but if you have a specific Ruby (like Chef's embedded) you would set that similarly to what you are doing in kitchen. It's seems a sensible default as most people running bluepill will be using another Ruby as opposed to the Chef embedded one.

I'm with Seth on this. This is actually working as intended if you don't have a Ruby installed


Allow source to run in powershell

Is your feature request related to a problem? Please describe.
When I set up an exec provider with a powershell command as source, it returns nothing. I suspect this is because maple only uses two shells - cmd on windows, or bash.
Describe the solution you'd like
If i set my shell variable to pwsh, maple runs my exec command in pwsh.
Describe alternatives you've considered
There are a couple of workarounds, like calling pwsh from .bat or even just calling execute from a vim function as the source, but these are really just working around the main issue. I haven't tried either yet.

I don't use Windows, so can't help more here. If maple can't work with powershell, either someone opens a PR to fix it or you have to run the command in the other ways for now.

@svcop3 Can you provide some concrete commands I can try? It'd be nice if you can also provide the steps and provider so that I can reproduce and test it easily. Recently, I can access a Windows machine and I'm happy to take a look at this issue if I get some time.


Abstract STIXViz visualization from backend

I.e. the d3 graph library should be modularized so you can push it JSON and have it visualized.

It seems @YarThePirate has made progress in this regard, take a look at his project here : https://github.com/yarthepirate/stix2-viz/ .  There's a demo also available at https://yarthepirate.github.io/stix2-viz/ .
cc/ @CQRuu @gtback

Thanks, @b-long . The newest version is at https://github.com/oasis-open/cti-stix-visualization/ (demo at https://oasis-open.github.io/cti-stix-visualization/) .
This project (stix-viz) is for visualizing the older STIX 1.X XML content. To do so, it converted to a JSON format (which is different from STIX 2.0 JSON) and passed that to D3.
I don't think we're ever going to actually do this though, so I'm going to close this issue.

Hi @gtback , thanks!  Sorry about my confusion, I appreciate you pointing that out 👍 I'll check out the latest 😃


Change data extractor back to v1

What does this pull request do?
Reverts ministryofjustice/hmpps-interventions-service#503
The problems initially requiring this change have been rolled out to v1 now.
Related

ministryofjustice/hmpps-interventions-service#503
ministryofjustice/data-engineering-data-extractor#69
https://github.com/ministryofjustice/data-engineering-data-extractor/releases/tag/v1.1.1

Thank you!