⚠ Bofrost.de has degraded performance

In c3436ba, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1444 ms

Resolved: Bofrost.de performance has improved in 928af58.


fix(deps): update icr.io/ext/sysdig/agent docker tag to v13.3.2

This PR contains the following updates:

Package
Update
Change

icr.io/ext/sysdig/agent
patch
13.3.1 -> 13.3.2

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 1.28.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix clippy needless_lifetimes lint

needless_lifetimes seems to have been stabilized in 1.83. It correctly identifies completely unnecessary lifetimes, but also warns on cases like this:
warning: the following explicit lifetimes could be elided: 'a
  --> src/software/scaling/vector.rs:32:6
   |
32 | impl<'a> Vector<'a> {
   |      ^^         ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
32 - impl<'a> Vector<'a> {
32 + impl Vector<'_> {

I don't think this is an improvement, so unless https://github.com/rust-lang/rust-clippy/issues/13514 or something similar is done, I'd just #![allow] it.

I think I'd rather just allow it on a case-by-case basis if we need to. Definitely a matter of opinion though, so let me know how strongly you feel about globally allowing it.

I'd usually prefer that, too. But seeing the latest CI run with ~100 errors only about this lint, it seems easier to just allow it globally. The worst code smell from this will be an unnecessary lifetime (see first commit in this PR), which I don't see as a big problem.

Oh. That's a bit silly. Yeah, I don't think I care enough about clippy's opinion on this one.


Please provide some sort of build or getting started instructions

This is surely obvious to users steeped in the npm ecosystem, but I am totally new to npm and quickly got lost trying to do anything with this package.

Click on the test.js link from the README.md hoping for a complete example.

Result: broken link.

Try npm install mattdesl/three-line-2d. This looks promising: I get some files.
Try open node_modules/three-line-2d/index.html

My browser outputs an error about missing bundle.js

Try cd node_modules/three-line-2d/ ; npm run-script build:

Error: Cannot find module '/Users/peter/days/16_05_14/node_modules/three-line-2d/test/index.js' from '/Users/peter/days/16_05_14/node_modules/three-line-2d'

I don't know how to proceed from here.
If the answer is that I need to go read up on npm for a while, tell me and I'll buzz off. But I'd appreciate if this repo included the basic steps to get started!

(Also, in case there was any doubt, this looks really cool and I am desperate to try it!)

This module is intended to be consumed with npm and a bundler like Browserify. It may also work with Webpack, Rollup, etc – although I haven't tested those.
To run the demo for this project locally, you have to clone and install dependencies.
If you want to use it yourself from your project, you have a couple options. If you don't want to use npm/browserify/etc – you can download this module from a service like BrowserifyCDN or Wzrd.in. Here is a UMD build of the latest version, minified:
<EMAIL_ADDRESS>The recommended approach for all these modules is a bit more cumbersome, but IMHO generally worth it once you get over the initial learning curve. It involves npm, browserify, and a local development server like budo. Further reading:

npm / modules for Frontend Devs
Bare-bones browserify example
Rapid Prototyping with Budo + Browserify

The workflow is pretty much the same for all my modules (and lots of others – like stackgl), but the READMEs don't always include this sort of information.
Hope that clears things up! :tada:

Awesome! The readme fix is a huge help and I got it running. Thank you so much!!


Bad code at filestore.go

In the lines above the path is concatenated with /.
https://github.com/tus/tusd/blob/master/filestore/filestore.go#L187
https://github.com/tus/tusd/blob/master/filestore/filestore.go#L192
I think this will fail on Windows. And if I set the Path with slash it will add two slash. Most Linux don't break because of this, but the correct way is to use path.Join function to concat paths.
If there's no specific reason for this I can send a PR to fix it.

This problem is not a big as you think. Windows is smart enough to also recognize / as a path delimiter and is capable of handling multiple slashes repeatedly in it. Later one also applies for Unix system, I believe. To prove this, we actually test tusd on Windows and the results are usually green, e.g. https://ci.appveyor.com/project/Acconut/tusd/build/1.0.293.
However, there is no specific reason and it would be great if you could send a PR for this. Please also remember to update the corresponding tests as they might break by this change.


Possible Memory Leak

Hi,
I just noticed something on version 0.13.3.
The Xcode Instruments is reporting the following leak:

By the way, I'm using Xcode 14.0.1 and the app is running on iOS 14.6.
Any ideas on the possible source of this issue?
Thanks in advance!

More information is required. Can you provide a reproducible example?

Hi,
I have the same issue so I will give you guys the stack trace of 3 sqlcipher_mem_malloc leak in the project

the first leak

the second leak

and the last leak

Do you need more info to work on that? Is there any other way we could help you?

I encounter the exact same problem... any improvement?

Did you resolve this issue @raulperesgoes ? @GuillaumeUnice

Yes on my side it was due to the fact I open the database again at each SQL query and behind the hood is using a custom malloc in C and I never destroy the ref on it as I don't close the previous open DB.
Basically, I wrongly use the lib


Issue with mobile_app example

Steps to reproduce

Run the example 'mobile_app' from the examples of the package.
Login
Navigate to the settings tab
Enable the 'Show bonus tab' switch.

Expected
We should remain on the settings page and the settings icon should still be highlighted.
Actual
We do stay on the settings page but the highlighted icon in the bottom nav bar becomes the notifications one. Tapping on the now un-highlighted settings icon causes a range error (RangeError (index): Index out of range: index should be less than 4: 4
).

This is a duplicate of #252

Thanks, closing as a duplicate


AWS Athena JDBC - Create Table

I'm not sure this is a bug or a feature request, just a question. Apologies if this is the wrong way to ask for help or if I missed a related discussion.
Also I'm a DBeaver and Athena newb...
Is your feature request related to a problem? Please describe.
I am facing issues creating a table using the Athena drivers (https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC-<IP_ADDRESS>0/AthenaJDBC42.jar). Good chance it's user error but I cant find any guides. My connection works for selects etc.
Process I'm trying in DBeaver:

right click on Tables(in the Athena DB)
Import Data

point to a local csv

check mappings
Set data transfer settings as is > Next
confirm > Start

Error occurred during Create target metadata

Reason:
SQL Error [100071] [HY000]: [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. line 1:14: no viable alternative at input 'CREATE TABLE "default"' [Execution ID not available]

SQL Error [100071] [HY000]: [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. line 1:14: no viable alternative at input 'CREATE TABLE "default"' [Execution ID not available]
  [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. line 1:14: no viable alternative at input 'CREATE TABLE "default"' [Execution ID not available]
  [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. line 1:14: no viable alternative at input 'CREATE TABLE "default"' [Execution ID not available]
    line 1:14: no viable alternative at input 'CREATE TABLE "default"' (Service: AmazonAthena; Status Code: 400; Error Code: InvalidRequestException; Request ID: blah; Proxy: null)
    line 1:14: no viable alternative at input 'CREATE TABLE "default"' (Service: AmazonAthena; Status Code: 400; Error Code: InvalidRequestException; Request ID: blah; Proxy: null)

Describe the solution you'd like
It would be great to be able to get this done via DBeaver.
Describe alternatives you've considered
Using the AWS console, first you need to stage your data file(s), then there's a wizard type thing. Specifying field types are awkward though. There are other ways to manage this using crawlers too.
Additional context
The source data for he new table needs to be in S3, and I think this might be the step that DBeaver is not doing (possibly my fault). I'm fairly certain that my user has write access to the S3 location defined in the Connection settings > S3 Location but I think that location is for staging the query results, not sourcing new tables. Perhaps there is another property I can set to define an upload bucket/prefix?
From the documentation and fiddling in the UI, after the data has been staged the create table SQL would need to resemble:
CREATE EXTERNAL TABLE IF NOT EXISTS integer_table (
    KeyColumn STRING,
    Column1 INT)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
  'serialization.format' = ',',
  'field.delim' = ','
)LOCATION 's3://athena-examples/integer_table/'

Can DBeaver handle this scenario?
Thanks very much

It is not implemented for now. So, it is more a feature request than a bug. We are going to add this functionality.

In case someone finds this helpful, this works for us:
CREATE TABLE mydb.mynewtable WITH (       format = 'Parquet',       write_compression = 'SNAPPY',       external_location = 's3://my-bucket/created_tables/mydb.mynewtable'       ) AS SELECT * somedb.sometable WHERE somecolumn = 'some_value;
Seems to work well with very complex SQL and the parquets are then available to Spark/whatever too which is awesome.


Add friendly name to intrinsics in debug helpers

We create multiple intrinsic types with the same intrinsic name, but that means that the debug helpers can't distinguish between them at all which is frustrating while debugging. I frequently have to do things like type === wildcardType to see which of the like 4 5 any intrinsics we have.
This PR adds a debug name, which will be included in parens when present, like:

On intrinsic creation, the checker throws if you create an intrinsic with the same name more than once, to make sure we never forget.
@Andarist

Doubt that this will actually change perf as the number of these we create is limited, but:
@typescript-bot perf test this

Well, I guess this is a good opportunity to see what happens when perf fails at the TS build stage. Retrying:
@typescript-bot perf test this

😍

Noticed that my example wasn't perfect; should really check intrinsics first as "nullable type" isn't that helpful:


Cannot compile Ins: undefined variable

Hi, amazing work!
Unfortunately I Ins cannot be compiled because it's missing the definition of the Byte variable: https://github.com/5hadowblad3/Beacon_artifact/blob/749cc86a5d597b741212a731c68628a580770085/Ins/main.cpp#L537

Hi,
I have updated the related setting, please have a look.

Yes, that fixed it. Thanks!


TypeError: Converting circular structure to JSON

Reproduction
https://stackblitz.com/edit/vue3-vite-starter-6fdvet?file=src%2Fmain.js
Steps to reproduce the bug
Navigate between routes
Expected behavior
Navigation should run without any errors
Actual behavior
After trying to navigate between routes there is such an error in the console:
TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'

Additional information
The reason to set from object in the localStorage is to then use it to go back to it on another route, even if the user refreshes the page. from object should not have any circular dependencies inside of it, it's an anti pattern and should not be used. When the app is run in a dev mode the error does not occur, which also makes it inconsistent from the DX point of view.

You can serialize the from.fullPath if you need to restore a location.
FYI circular dependencies is not an anti pattern per se, it’s fine in this case

My guess is devtools. To make sure, you can check the difference between the objects. But even in prod, the resolved location is not always fully serializable


Improve Russian translation of Concepts

/approve

This PR still needs a /lgtm

@kubernetes/sig-docs-ru-reviews would you like to take a look?


Relax bundler binstub

What was the end-user problem that led to this PR?
The problem was that the logic to select bundler versions was different when bundler is run from a rubygems binstub that when bundler is run from a bundler binstub.
What was your diagnosis of the problem?
My diagnosis was that we should unify the logic.
What is your fix for the problem, implemented in this PR?
My fix is to use the same logic implemented in the rubygems version finder, namely, only fail if the major version of bundler does not match.
Why did you choose this fix out of the possible options?
I chose this fix because it makes things consistent.
Fixes #7243.

👍🏻
@bundlerbot r+


base_estimator

Hi, is that I can change the base_estimator to another model, e.g. Linear regression ?

Yes, you can pass any base estimator, in theory. Have you tried?

Sorry, I have not yet given a try, just ask it before try. Thank you for your response.

No problem! Be aware I'm not maintaining this project anymore, so I won't be able to fix things. Too many other priorities :)


Aggregation Merge is treating DB and Collection incorrectly

https://github.com/ReactiveMongo/ReactiveMongo/blob/1302cbcc5b6a105bd211068633a404af723d8701/driver/src/main/scala/api/commands/AggregationFramework.scala#L1003
ReactiveMongo always makes a db.collection string for the into parameter, but Mongo accepts two forms:

single string for the collection, when run within a Database
a document describing the db and coll separately

https://docs.mongodb.com/v4.2/reference/operator/aggregation/merge/#merge-into
With ReactiveMongo's behavior, it doesn't seem possible to run an Aggregation inside a Collection (where ideally you'd not specify the DB), since the resulting string would be .collection and is invalid.

Hi,
Technically speaking, always requiring the DB is not incorrect. A collection is always in a DB, and this merge stage being able to merge in the same or in a different DB is more useful than the one for only the same DB.
It could be convenient to omit the DB when it's the same for both collections, then it's an improvement, not an issue to be fixed, that we will have a look at.
Meanwhile, it's quite easy to always pass the DB name.
Also, as indicated, please rather use the MailingList to ask question/discuss what you think could be improvements.
Best regards.


[bar chart] auto bottom margin truncates labels on core example

merged: https://github.com/airbnb/caravel/pull/1120


improve checking for Guix

Description
neofetch thought it was on GuixSD when it was on a different distro with Guix as an additional manager

I'd move the whole guix block after this if block instead of adding another condition.

Replaced by #1271.


[enhancement] add websocket support?

it seems websocket do not work(yet)
2024-12-06T04:05:52.499856Z  INFO Listen IPv4
2024-12-06T04:05:52.499894Z  INFO Listen port: 5126
2024-12-06T04:05:52.499901Z  INFO Cache is disabled
2024-12-06T04:05:52.499943Z  INFO Registering application blurskye.dev (websocket)
2024-12-06T04:05:52.499969Z  INFO Platform verifier with rustls is used for the connection to backend applications
2024-12-06T04:05:52.499996Z  INFO rpxy proxy service for <IP_ADDRESS>:5126 started
2024-12-06T04:05:52.500105Z  INFO Start TCP proxy serving with HTTP request for configured host names
2024-12-06T04:05:55.807197Z ERROR No matching backend app
2024-12-06T04:05:55.807234Z  INFO {ip-vps} <- {ip-home} -- GET / HTTP/1.1 -- 503 Service Unavailable --  "Python/3.12 websockets/14.1", "" ""
2024-12-06T04:05:57.244001Z ERROR No matching backend app
2024-12-06T04:05:57.244035Z  INFO {ip-vps} <- {ip-home} -- GET / HTTP/1.1 -- 503 Service Unavailable --  "Python/3.12 websockets/14.1", "" ""
2024-12-06T04:05:58.131175Z ERROR No matching backend app
2024-12-06T04:05:58.131212Z  INFO {ip-vps} <- {ip-home} -- GET / HTTP/1.1 -- 503 Service Unavailable --  "Python/3.12 websockets/14.1", "" ""

A good idea in general to allow upgrading from simple tcp to websocket. I just see problems when you have defined multiple upstreams, then rpxy has to make sure that the websocket connection stays alive to the specific upstream.

Rpxy itself supports upgrading to websocket via http 101 switching protocols, which is actually the only use case of websocket in the context of http. If we consider upgrading directly from tcp, then we have to Or should redesign rpxy as more general purpose reverse proxy supporting http’s underlying protocols, i.e., tcp, tls, quic, etc.

soo basically websockets can work? how tho, i used correct ws:// protocol too, do i define anything in config differently?

What is this "websocket from tcp" thing you are talking about?
Also, I am using websockets succesfully through rpxy no problems whatsoever. Based on the log messages it seems @blurskye just forgot to configure the Host header of their request correctly..

wdym host header? i just tried this
import asyncio
import websockets

async def hello(websocket):
    await websocket.send("Hello from server!")
    while True:
        try:
            message = await websocket.recv()
            print(f"Received: {message}")
            await websocket.send(f"Server received: {message}")
        except websockets.ConnectionClosed:
            break

async def main():
    async with websockets.serve(hello, "<IP_ADDRESS>", 5125):
        print("WebSocket server running on ws://<IP_ADDRESS>:5125")
        await asyncio.Future()  # run forever

asyncio.run(main())

and python -m websockets ws://<ip addr>:5126
note: you need websockets module installed


Create ro.yaml

Hi! I am adding RO translations.
Thanks for the theme, looks good, extensible and well documented.

Thanks for the contribution, @vladfr! I'll merge these changes in and they will be part of the next release.


Cannot open Link in the "Next Steps"

Link in the "Next Steps" points to a resource that is not accessible

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

ID: 32ae849f-84bd-091f-8845-8b1b53584d2a
Version Independent ID: 65397ff0-c7ae-b047-accc-4077ffded8f7
Content: Create & publish single sign-on documentation for your application
Content Source: articles/active-directory/manage-apps/isv-create-sso-documentation.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @BarbaraSelden
Microsoft Alias: baselden

Hi @jantorelamoy Thanks for your feedback. We will review and update as appropriate.

@jantorelamoy Please follow this link for the Next Steps - List your application in the Azure Active Directory application gallery
Also, we have updated the document and the same would reflect soon. Thank you for the feedback.

@jantorelamoy We will be closing this thread now. Kindly let us know if you need further help.


Added warning support to actionchecker module

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable

Awaiting merge of https://github.com/pajbot/pajbot/pull/1364


SIGTRAP when I'm trying build ZINC with 1.7 version

 make
date '+%Y.%m.%d' >.version
(cd src/zinc/edos && ez80asm -i -l edos.asm)
Assembling edos.asm
Listing to edos.lst
Pass 1...
Pass 2...
Done in 0.00 seconds
(cd src/zinc && ez80asm -i -l zinc.asm ../../zinc.bin)
Assembling zinc.asm
Listing to zinc.lst
Pass 1...
/bin/sh: line 1:  1143 Trace/BPT trap: 5       ez80asm -i -l zinc.asm ../../zinc.bin

I'm trying build my current dev branch located here.

Looks like a problem with the -O2 optimization flag used for release binaries.

Please redownload the Linux binary from the releases tab

Sorry, I've forget say that it happens on macOS.
I've found that issue happen on commit: https://github.com/envenomator/agon-ez80asm/commit/9ab19398fce774ea73ad2160bb52c0eddf8ca966
Before this commit everything compiles without issues, after - I'm getting SIGTRAP.

Ah ok. I don't support macOS as a target architecture.

I've found with LLDB where buffer overrun happened.
Increasing this value fixes buffer overrun(SIGTRAP happening on strcpy call and issue will happens even on linux/mos anyway):
https://github.com/envenomator/agon-ez80asm/blob/fbc45c511b15df110fb5e0a37dba88792c48c2e6/src/config.h#L33


Create gallery of examples

Description
Currently all examples are in the form of Jupyter notebooks. Ideally these examples would be in the form of a sphinx gallery, or some other form of display that integrates with the documentation
What done means
Port all examples to a format which is integrated with the documentation

Closed by #14


Find a new tool for generating OpenAPI specs

swaggo regularly has hard to debug failures while generating our documentation. We should replace this with a better tool.

Duplicate of #531


Remove unnecessary spaces.

These spaces break markup on website pages.
e.g:

I checked all lessons/basics/basics.md files and if it's necessary I can check all.

Thank you @firec0der 👍


Apply RBAC filtering to the foreman tree objects

Apply RBAC filtering to the Foreman tree nodes based on the logged-in user's tag settings.
https://bugzilla.redhat.com/show_bug.cgi?id=1247715

@gtanzillo Please review

:+1: Looks good to me


uib-timepicker inconsistent disabled inputs with min and max times

Bug description:
A uib-timepicker with a max time disables the input field when the up spinner button is disabled, while a timepicker with a min time does not disable the input field when the down spinner button is disabled.
This is an issue when the time is set to now and the max is also set to now. The user cannot tab to the input field to change it. Their only option is to hit the down spinner button.
bootstrap/template/timepicker/timepicker.html:
<input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">
The input field is disabled based only on if they are not able to increment the hours. Is this designed behavior?
Link to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/iOCOW1sQjM0EG1YS9Tc5?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.8
UIBS: 2.3.0
Bootstrap: 3.3.7

Hi !
I had this problem this week.
Here's the answer i found https://github.com/angular-ui/bootstrap/issues/6337

Thanks, that's a good work around. I'm leaving this issue open for now to see if the maintainers believe this is a real issue or intended functionality.


"Update from Git" -> Shortdump in private repo

When using the "Update from Git" function on a private repo, the program dumps.
Cause: the popup for the password prompt from abapgit (ZCL_ABAPGIT_PASSWORD_DIALOG=>POPUP) is called with sy-cprog , which is SAPLS_CODE_INSPECTOR instead of ZABAPGIT or ZABAPGIT_FULL.
Called in fetch_config:
https://github.com/abaplint/abaplint-abap-backend/blob/661765e887888b4632e82cc2c96448c23fd21bd8/src/zabaplint_ui.fugr.lzabaplint_uif01.abap#L465-L474

@g-back @larshp
Yeah, seen this one too. Any idea how to fix ? I just had an idea to check program name and if it does not start from ZABAPGIT force it to ZABAPGIT. Abap backend supposes the full installation of AG so it should work ... but it is a crutch.

I have tried this in the debugger, but it does not work either, because the Popup dialog is displayed with dynpro stuff, so it dumps as well.
I have made a workaround in zcl_abapgit_password_dialog by checking if the origin is SCI, and call function POPUP_GET_USER_PASSWORD (which is admittedly rather hacky). Not sure how to solve this elegantly

need to do a proper decoupling of the UI in abapGit
think there are several open issues for it in abapGit, eg https://github.com/larshp/abapGit/issues/783

I'm blind, duplicate of #17 anyway


[WIP] Dockerfile

Description
This PR adds a Dockerfile to quickly run the finetune.py script without losing sanity
Usage
Build the container
docker build -t alpaca-lora .

TODOs

[x] add more env variables to control training

A dockerfile is really needed to clear the env-related issues. Thanks for initiating this. I have tried running this on my machine, but I'm getting this error after running docker.

@dittops thanks for trying it out, I don't see the issue. Unfortunately, till tomorrow I am travelling. Just to be sure, are you using the code from the main branch?

I'm getting this error after running docker.

Would you have more than 1 gpu by chance?
Can you try exposing only one of them to Docker?

Good stuff, I was dockerizing this myself, but you beat me too finishing it. I will check this out and see if there are any issues.

Changed finetune.py to use env variables, handy if you want to quickly change some finetuning parameters
Updated the doc accordingly

The docker image now only exposes python3.10, thus we can also run the generate script by
docker run --gpus=all --ipc=host --shm-size 64g \
  -v ${HOME}/.cache:/root/.cache \
  -v ${PWD}/lora-alpaca:/workspace/lora-alpaca \
  -p 7860:7860 \
  --rm -it alpaca-lora generate.py

Resolved conflicts, remove env variables

@tloen I think this is in a good state now, fell free to add any comment :)

I'll try to get this tested in the next day or two. Good work, and thanks for hanging in with all the interface changes!

Merged in 4367a43fcb8c47ff1e520777ad7e60b622edea4d

🥳


Canvas just shows infinite spinner when running npm run dev on Windows

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Use Windows 11, from PowerShell
npx create-toolpad-app budget-ui
cd budget-ui
npm run dev

Current behavior 😯
The tool loads at a url like http://localhost:3000/_toolpad/app/pages/0BLHdTc but the canvas just shows a circular spinner. I am unable to drop any components onto the canvas (the mouse pointer turns into a 🚫)

When I went to take the above screenshot (Windows key + Shift + S), the browser view changed to the following:

Expected behavior 🤔
The toolpad canvas should load as shown in the tutorial and I should be able to drag components onto it.
Context 🔦
I'm just trying to run the tutorial.
Your environment 🌎
Edition	Windows 11 Pro
Version	22H2
OS build	22621.1992
Experience	Windows Feature Experience Pack 1000.22644.1000.0
Running from PowerShell command prompt (non-admin)
Node.js 18.13.0
@mui/toolpad 0.1.22

I was experiencing the same issue. Stopping and re-running the project a few times got it to work. I didn't do anything helpful to fix the issue so I'm unsure why it started working.
My environment 🌎
Edition Windows 10 Pro
Version 22H2
OS build 19045.3208
Experience Windows Feature Experience Pack 1000.19041.1000.0
Running from Git Bash command prompt (non-admin)
Node.js 16.14.2
@mui/toolpad 0.1.22

I can reproduce similar behavior when running the latest version, this is the error I get:

Looking into it to try to figure out the cause, thanks for submitting this issue!

This should be fixed in the latest version of Toolpad.
Will wait to see if we get any more similar reports over the next couple of weeks.

It's been 2 weeks and I think we fixed it, so will close this issue.
If anything like this pops up again please feel free to create a new issue!


Add handling for engaging non-initialized stream

By separating stream declaration from stream initialization (see #13) there are cases when a stream can be engaged before being initialized.
Add support for this in Fabric.

Add error logging. Link to #39


strange error: Could not get cmap table size

Hi, I get the following error when adding a SmartRefresher:
[VERBOSE-2:FontFamily.cpp(184)] Could not get cmap table size!
[VERBOSE-3:FontCollection.cpp(95)] nTypefaces == 0
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:wingmom_app/enums.dart';
import 'package:wingmom_app/view_models/secure/services_view_model.dart';
import 'package:wingmom_app/views/base_view.dart';

class ServicesView extends StatefulWidget {
  @override
  _ServicesViewState createState() => _ServicesViewState();
}

class _ServicesViewState extends State<ServicesView> {
  final _refreshController = RefreshController();

  @override
  Widget build(BuildContext context) {
    return BaseView<ServicesViewModel>(
      onModelReady: (model) {
        model.getServices();
      },
      builder: (context, model, child) => CupertinoPageScaffold(
        child: model.state == ViewState.Busy
            ? Center(child: CupertinoActivityIndicator())
            : SmartRefresher(
                controller: _refreshController,
                enablePullDown: true,
                onRefresh: () async {
                  await model.getServices();
                  _refreshController.refreshCompleted();
                },
                child: Container()),
      ),
    );
  }

  void dipose() {
    _refreshController.dispose();
    super.dispose();
  }
}

Thank you in advance!

I think you should go to issue fluent. It's about font exceptions.

@peng8350 I found the issue.
I'm using CupertinoApp and with that, I disabled uses-material-design in my pubspec.yaml since I'm using cupertino-icons. That said, it looks like your package uses material icons and even though it's listed in pubspec.yaml, it's not being included which is what's causing the font exception to be thrown.

I copy your sample code and use CupertinoApp,but the problem cannot reproduce.

no one reply and got this issue ,so close it.


Failed to persist (WrongExpectedVersion)?

I just switched persistence from MongoDB to EventStore, and I'm seeing occasional failures to persist of the form:
2019-06-12 14:56:23.094 -05:00 [ERR] Rejected to persist event type [...] with sequence number [5] for persistenceId [...] due to [Append failed due to WrongExpectedVersion. Stream: ..., Expected version: 3, Current version: 4]. EventStore.ClientAPI.Exceptions.WrongExpectedVersionException: Append failed due to WrongExpectedVersion. Stream: ..., Expected version: 3, Current version: 4    at Akka.Persistence.EventStore.Journal.EventStoreJournal.WriteMessagesAsync(IEnumerable``1 atomicWrites)
How do I further diagnose what might be causing this?

Hi @lesscodetxm, could you provide example so I could reproduce this issue? The example should have same order of persistence operation but actual event types and data it holds are not necessary. It just need to fail with same error.
BTW, akka persistence sequence number has always higher number than eventstore event number by 1, tho original sequence number is kept in event metadata.

I will try to reproduce it in a sample project when I get a chance. I just saw the error again while testing our service -- it seems to happen infrequently and usually after startup when the actors have recovered and start processing new commands. It doesn't seem to be affecting our app, however -- all events seem to be stored correctly as expected. Is this "rejection" an internal message, or is there some kind of built-in retry mechanism after we see this message?

Can you describe what the "expected version" mechanism is about, or point me to some documentation?

Maybe yor supervisor starts two actors for same aggregate. It is just a hunch. Eventstore expects frop app to say hat version it expects to write forward on. This is to ensure there is no two ore more concurrent writes from app to same event stream. More about append to stream can be find here

After analyzing recent changes to our code it turns out we introduced a subtle bug that causes two instances of the same actor to get created. After fixing that we no longer see the error. Thanks for you help. Closing.


[Bug]: setupFilesAfterEnv with a path to a TS file leads to the error "SyntaxError: Cannot use import statement outside a module"

Version
29.2.1
Steps to reproduce

Clone https://github.com/xhuberdeau/reproduce-tsjest-29.2.1-error
Run yarn install
Run yarn test
See error "SyntaxError: Cannot use import statement outside a module"
Now go inside package.json, change ts-jest version to 29.2.0
Run yarn install again
Run yarn test again
=> no more error

Expected behavior
Before 29.2.1, I could run tests with a custom config using setupFilesAfterEnv pointing to a ts file.
Actual behavior
Since 29.2.1, I get a SyntaxError: Cannot use import statement outside a module error
Debug log
yarn run v1.22.22
$ jest --config=jest/acceptance.jest.config.js --watchAll=false --coverage --runInBand
 FAIL  src/test.acceptance.ts
  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/xavier-huberdeau/Documents/reproduce-tsjest-29.2.1-error/jest/setupTests.ts:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import path from 'node:path';
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)

=============================== Coverage summary ===============================
Statements   : Unknown% ( 0/0 )
Branches     : Unknown% ( 0/0 )
Functions    : Unknown% ( 0/0 )
Lines        : Unknown% ( 0/0 )
================================================================================
Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.846 s, estimated 1 s
Ran all test suites.
error Command failed with exit code 1.

Additional context
No response
Environment
System:
    OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1265U
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.22 - ~/.yarn/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    bun: 1.1.12 - ~/.nvm/versions/node/v18.18.0/bin/bun
  npmPackages:
    jest: ^29.7.0 => 29.7.0

This happens to me too, but with actual TS test files with import statements, only on linux, not on windows

This error started showing up for me too even though my jest config file does not make use of setupFilesAfterEnv

Sorry for the issue, we will release hotfix quickly

Sorry for the issue, we will release hotfix quickly

Awesome, thanks a lot for the quick fix!


The docker-file info was wrong when building image.

In GitLab by @wknet123 on Mar 14, 2018, 12:02
async validation

In GitLab by @Robin-Mao on Nov 8, 2019, 07:47
fixed PR #1033

In GitLab by @liyanq528 on Nov 8, 2019, 07:47
test ok.

In GitLab by @sokril on Nov 8, 2019, 08:18
closed

In GitLab by @sokril on Nov 8, 2019, 08:18
assigned to @liyanq528

In GitLab by @Robin-Mao on Nov 11, 2019, 08:42
mentioned in merge request !416

In GitLab by @Robin-Mao on Nov 12, 2019, 02:13
mentioned in merge request !803

In GitLab by @Robin-Mao on Nov 13, 2019, 04:28
mentioned in merge request !525

In GitLab by @Robin-Mao on Nov 13, 2019, 07:13
mentioned in merge request !433

In GitLab by @Robin-Mao on Nov 13, 2019, 08:38
mentioned in merge request !1012

In GitLab by @Robin-Mao on Nov 13, 2019, 10:37
mentioned in merge request !643


keeper ansible keeper_create does not use custom record types

keeper_create in the ansible plugin does not use custom record types.
This is due to test is done BEFORE the load of the custom record types

This is fixed and released in version 1.1.4


feat: HEAD, OPTIONS, PATCH, TRACE request methods

Description

I noticed the router interface doesn't provide HEAD, OPTIONS, PATCH, TRACE request methods yet.
And I proposed changing res.set to res.header in the response class, to make it explicit that headers are those being set.
I also added a group of test to test some of the methods added

Kindly check changes in the PR codes, they might be more self-explanatory. And fill free to change the code at your convenience.
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

This is good stuff @fabrice8. I'll look into this.


Frontend Client Bundle Size Improvement

Hi, @frolovv @antonpodolsky
I noticed that in the frontend bundle quix are simply build using typescript, resulting in a huge bundle size. is there any specific reason to use this ?
if not, what do you think about bundling using webpack ? I can work on the PR too.
I was going to use quix but the resulting frontend bundle is like 9MB. thinking to fork and modify the bundler for myself but noticing that quix is actively updated.

Hi, it's actually Webpack under the hood.

Hmm when I check in the demo site it bundles to around 5-6MB, but when I tried to run it it resulting in 9MB bundle size. am I using dev build / something ? I just run docker compose up like in the installation section.
by the way what is the expected optimized bundle size ?

Our internal deployment is around 3 MB during initial load, 1 MB of which is the plotting library we use.
Will try to see why local docker results in a bigger bundle.

Down to 2.1 Mb total, we were indeed running in debug mode by mistake, thanks for bringing this to our attention.

sure, I will wait the fix and try to reinstall. I'm ready to help too if needed 👍

The change was merged, you can try it.

seems like the issue was resolved, closing


refactor: use join_all in event looping

use join_all in event looping
Time spent on this PR: 0.2
Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

Resolves: #226
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Need to experiment locally, but do we need to_eth_log to be async anymore now that we get the evm address directly from the keys? Commented because that would inform how we would go about parallelizing, potentially.

Done! Wdyt


use github source for yolo instead of google drive

Yolo wrapper is downloading weights from google drive source here. But it has daily limit, and if too many people are trying to download it in a day, gdown is failing.
This should be moved to github source similar to other weights

https://github.com/serengil/deepface/pull/941

this repo publishes that weight file in the url: https://github.com/akanametov/yolov8-face/releases/download/v0.0.0/yolov8n-face.pt

@serengil I check your given weights and they doesn't contain keypoints for face-alignment like the gdrive weights.
I added this code to test in YoloWrapper.py
print(f"{WEIGHT_URL=}")
if result.keypoints:
    print(f"{len(result.keypoints)=}")
else:
    print("No keypoints")

Here are the results:
GDrive Weights:
WEIGHT_URL='https://drive.google.com/uc?id=1qcr9DbgsX3ryrz2uU8w4Xm3cOrRywXqb'
len(result.keypoints)=1

Repo Weights
WEIGHT_URL='https://github.com/akanametov/yolov8-face/releases/download/v0.0.0/yolov8n-face.pt'
No keypoints

So, we should find another source

@serengil okay ✅ , Now I will train a model and will let you know when its ready.

@serengil I trained a model on widerface-keypoints dataset. Here's the relevant files (training logs, validation predictions sample and trained-model). Can you please add the model to the deepface_models?
training_logs.csv

yolov8n_facepose.zip

Unfortunately, this is not equivalent to the existing google drive model. It is coming with confidence score and this is being actively used in yolo wrapper.
https://github.com/serengil/deepface/blob/master/deepface/detectors/Yolo.py#L94

I decided to use existing weights on google drive because this detector is not being used widely.

@serengil  Hello sir  i wish u can help me, when i excute this code :
df = DeepFace.find(img_path='C:/Users/power/Desktop/deepface-master_2/deepface-master/img34.jpg',
db_path='C:/Users/power/Desktop/deepface-master_2/deepface-master/tests/dataset/',
model_name="Facenet", detector_backend="yolov8")
it shows me this error :
AttributeError                            Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_15724\1355481802.py in
----> 1 df = DeepFace.find(img_path='C:/Users/power/Desktop/deepface-master_2/deepface-master/img34.jpg',
2                    db_path='C:/Users/power/Desktop/deepface-master_2/deepface-master/tests/dataset/',
3                    model_name="Facenet", detector_backend="yolov8")
D:\anaconda3\lib\site-packages\deepface\DeepFace.py in find(img_path, db_path, model_name, distance_metric, enforce_detection, detector_backend, align, expand_percentage, threshold, normalization, silent)
292                 specified model and distance metric
293     """
--> 294     return recognition.find(
295         img_path=img_path,
296         db_path=db_path,
D:\anaconda3\lib\site-packages\deepface\modules\recognition.py in find(img_path, db_path, model_name, distance_metric, enforce_detection, detector_backend, align, expand_percentage, threshold, normalization, silent)
183
184     # img path might have more than once face
--> 185     source_objs = detection.extract_faces(
186         img_path=img_path,
187         target_size=target_size,
D:\anaconda3\lib\site-packages\deepface\modules\detection.py in extract_faces(img_path, target_size, detector_backend, enforce_detection, align, expand_percentage, grayscale, human_readable)
87         face_objs = [DetectedFace(img=img, facial_area=base_region, confidence=0)]
88     else:
---> 89         face_objs = DetectorWrapper.detect_faces(
90             detector_backend=detector_backend,
91             img=img,
D:\anaconda3\lib\site-packages\deepface\detectors\DetectorWrapper.py in detect_faces(detector_backend, img, align, expand_percentage)
81         - confidence (float): The confidence score associated with the detected face.
82     """
---> 83     face_detector: Detector = build_model(detector_backend)
84
85     # validate expand percentage score
D:\anaconda3\lib\site-packages\deepface\detectors\DetectorWrapper.py in build_model(detector_backend)
49
50         if face_detector:
---> 51             face_detector = face_detector()
52             face_detector_obj[detector_backend] = face_detector
53         else:
D:\anaconda3\lib\site-packages\deepface\detectors\Yolo.py in init(self)
22 class YoloClient(Detector):
23     def init(self):
---> 24         self.model = self.build_model()
25
26     def build_model(self) -> Any:
D:\anaconda3\lib\site-packages\deepface\detectors\Yolo.py in build_model(self)
55
56         # Return face_detector
---> 57         return YOLO(weight_path)
58
59     def detect_faces(self, img: np.ndarray) -> List[FacialAreaRegion]:
D:\anaconda3\lib\site-packages\ultralytics\yolo\engine\model.py in init(self, model, type)
53
54         # Load or create new YOLO model
---> 55         {'.pt': self._load, '.yaml': self._new}Path(model).suffix
56
57     def call(self, source, **kwargs):
D:\anaconda3\lib\site-packages\ultralytics\yolo\engine\model.py in _load(self, weights)
81             weights (str): model checkpoint to be loaded
82         """
---> 83         self.model, self.ckpt = attempt_load_one_weight(weights)
84         self.ckpt_path = weights
85         self.task = self.model.args["task"]
D:\anaconda3\lib\site-packages\ultralytics\nn\tasks.py in attempt_load_one_weight(weight, device, inplace, fuse)
339     from ultralytics.yolo.utils.downloads import attempt_download
340
--> 341     ckpt = torch.load(attempt_download(weight), map_location='cpu')  # load
342     args = {**DEFAULT_CONFIG_DICT, **ckpt['train_args']}  # combine model and default args, preferring model args
343     model = (ckpt.get('ema') or ckpt['model']).to(device).float()  # FP32 model
D:\anaconda3\lib\site-packages\torch\serialization.py in load(f, map_location, pickle_module, weights_only, **pickle_load_args)
807                     except RuntimeError as e:
808                         raise pickle.UnpicklingError(UNSAFE_MESSAGE + str(e)) from None
--> 809                 return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
810         if weights_only:
811             try:
D:\anaconda3\lib\site-packages\torch\serialization.py in _load(zip_file, map_location, pickle_module, pickle_file, **pickle_load_args)
1170     unpickler = UnpicklerWrapper(data_file, **pickle_load_args)
1171     unpickler.persistent_load = persistent_load
-> 1172     result = unpickler.load()
1173
1174     torch._utils._validate_loaded_sparse_tensors()
D:\anaconda3\lib\site-packages\torch\serialization.py in find_class(self, mod_name, name)
1163                     pass
1164             mod_name = load_module_mapping.get(mod_name, mod_name)
-> 1165             return super().find_class(mod_name, name)
1166
1167     # Load the data (which may in turn use persistent_load to load tensors)
AttributeError: Can't get attribute 'PoseModel' on <module 'ultralytics.nn.tasks' from 'D:\anaconda3\lib\site-packages\ultralytics\nn\tasks.py'>


Xcode12.5: 'new' is unavailable

Getting this error at build time in Xcode 12.5
HTMLParser.m: 'new' is unavailable 'init' has been explicitly marked unavailable here

@alflix Hey there 👋 It should be fixed in 4.1.0
Let me know if you have any other problems

@iabudiab is it already fixed? I found the same issue please help


Do you have a option like WITH_TEST=OFF?

When I use ExternalProject_Add to build and install MKLDNN library, I find that all test codes of MKLDNN will be compiled at the same time. In order to decrease the third-party compiler time, do you have a option like WITH_TEST=OFF? Thus, I can not build the test codes.
Thanks very much!

No, we haven't considered that case.
Your PR is welcome :)
... or I will take a look on that soon.

You can now use -DWITH_TEST=OFF -DWITH_EXAMPLE=OFF to turn tests and examples off.

Thanks very much!


Should we overload methods for manipulating managed zone for both id and name?

The service API allows for identifying managed zones by both unsigned long id and String name. Our original intention was to overload methods for manipulating managed zones to accept both BigInteger id or String name. We are currently leaning towards not doing this, treating id as read-only value and identifying zones by name only for the purposes of manipulation (get, delete, apply change, list changes).
Also, there is a suggestion for providing ID as String instead of BigInteger which seems to be consistent with gcloud-python and other services.
Opening this base on discussion in PR #606.

+1 for not overloading. My reasons are mentioned here.
Also, +1 for changing the ID from BigInteger to String (which is more consistent with other services
that has both internal/read-only id and external id, such as project in resource-manager and bucket in storage).

Also, as part of this change (making dns id read-only) we should mandate that when ZoneInfo is constructed name would never be null. I think this makes sense and would work well with the Zone changes.

While doing this, add options for zone create method.


Wiki enhancement for Dynamic urls

Hello @h-janes
After reading "Dynamic urls with a function lambda" #12 , I suggest adding this dynamic route example to the wiki.
I've written a new sitemap example with dynamic urls using random data rather than a set list.
If you want to integrate it in the doc.
Thanks for your module, it's really useful.
I can create a pull request if that's more convenient.
"""
This script sets up a Flask web application with a sitemap generator.
The application includes the following routes:
- `/user/<int:user_id>`: Displays an HTML header for a user with the given user ID.
- `/sitemap.xml` and `/`: Generates and returns a sitemap.
Functions:
- generate_user_ids(): Generates a dictionary containing a list of 5 random user IDs.
- r_user(user_id): Generates an HTML header for a user.
- r_sitemap(): Generates and returns a sitemap.
Modules:
- random: Provides functions to generate random numbers.
- flask: A micro web framework for Python.
- flask_sitemapper: A Flask extension for generating sitemaps.
Classes:
- Sitemapper: A class from the `flask_sitemapper` module used to generate sitemaps.
Attributes:
- sitemapper: An instance of the `Sitemapper` class.
- app: An instance of the `Flask` class.
"""

import random

from flask import Flask
from flask_sitemapper import Sitemapper

def generate_user_ids():
    """
    Generates a dictionary containing a list of 5 random user IDs.

    The function generates a list of 5 random integers between 1 and 10 (inclusive)
    and returns a dictionary with the key 'user_id' and the list of random integers as the value.

    Returns:
        dict: A dictionary with a single key 'user_id' and a list of 5 random integers as the value.
    """
    random_integers = [random.randint(1, 10) for _ in range(5)]
    print(random_integers)
    return {"user_id": random_integers}

sitemapper = Sitemapper()

app = Flask(__name__)
sitemapper.init_app(app)

@sitemapper.include(url_variables=generate_user_ids)
@app.route("/user/<int:user_id>")
def r_user(user_id):
    """
    Generate an HTML header for a user.

    Args:
        user_id (int): The ID of the user.

    Returns:
        str: An HTML string containing the user ID in an
 tag.
    """
    return f"
User #{user_id}
"

@app.route("/sitemap.xml")
@app.route("/")
def r_sitemap():
    """
    Generates and returns a sitemap.

    This function calls the `generate` method from the `sitemapper` module
    to create a sitemap.

    Returns:
        object: The generated sitemap.
    """
    return sitemapper.generate()

app.run("<IP_ADDRESS>", 8000)

Hi thanks for the suggestion! I can include this into the wiki when I get back from vacation. If you create a pull request I may be able to merge it sooner. Thanks!


isSortBy allow for checking without direction

Closed by https://github.com/esvit/ng-table/commit/b3e02b922064a73e302ad08a2b6f90678dcc18dc


You can tell them it's of the learning and so forth in that general direction.
https://docs.pytest.org/en/latest/
They can py-doc up your functions too so that you can get nice online documentation for free.
https://thomas-cokelaer.info/tutorials/sphinx/docstring_python.html

Thanks!


Update Google.Storage.V1 to 0.1.0-CI00063.

This has simpler (and more consistent) client creation.
The setting of the application name has been moved to Global.asax.cs, so as
not to distract users (who won't typically need to use this). Please let me know if
you would prefer it elsewhere.
// cc @SurferJeffAtGoogle

Please run code formatter:
3-binary-data.csproj
Syntax Pass
Local Semantic Pass
Global Semantic Pass
Total time 00:00:00.5682255
Completed formatting.
diff --git a/aspnet/3-binary-data/App_Start/UnityConfig.cs b/aspnet/3-binary-data/App_Start/UnityConfig.cs
index 55317d2..9ff9d2f 100644
--- a/aspnet/3-binary-data/App_Start/UnityConfig.cs
+++ b/aspnet/3-binary-data/App_Start/UnityConfig.cs
@@ -119,7 +119,7 @@ namespace GoogleCloudSamples
         container.RegisterInstance<ImageUploader>(
             new ImageUploader(

             GetConfigVariable("GoogleCloudSamples:BucketName")

             GetConfigVariable("GoogleCloudSamples:BucketName")
           )
       );
   }

Lint failed for 3-binary-data.csproj
Full details here:
https://jenkins.on2flixcloud.tv/view/.NET/job/jskeet-getting-started-dotnet/2/console

Not sure how that happened, but fixed now.


distributor._obj_neighborhood attribute error in serial

Take for example the following script:
from devito import Grid

grid = Grid(shape=(8, 8))
print(grid.distributor._obj_neighborhood)

This results in AttributeError: 'mpi4py.MPI.Comm' object has no attribute 'Shift' when run in serial. This is probably not the behavior we want.

This can be reproduced when serial but with DEVITO_MPI=0. If DEVITO_MPI=1 and mpirun -n 1  results in nb.


building: go get

$ go get github.com/thinkofdeath/steven/cmd/steven
# github.com/go-gl/glfw/v3.1/glfw
In file included from src/github.com/go-gl/glfw/v3.1/glfw/context.go:4:0:
glfw/include/GLFW/glfw3.h:153:21: fatal error: GL/gl.h: No such file or directory
   #include <GL/gl.h>
                     ^
compilation terminated.
# github.com/thinkofdeath/steven/protocol
src/github.com/thinkofdeath/steven/protocol/connection.go:200: undefined: zlib.Resetter
# github.com/thinkofdeath/gl/v3.2-core/gl
src/github.com/thinkofdeath/gl/v3.2-core/gl/procaddr.go:52:21: fatal error: GL/glx.h: No such file or directory
  #include <GL/glx.h>
                     ^
compilation terminated.

Shouldn't it work for the first time I get the repository?
Did I do something wrong?

Also, could you please stop using this issue tracker for non-issues?

Ok, so README.md needs to be updated...

When I build it I'll spam with pull requests :)


Categories

Currently i'm using "tutorials to list tutorials on this site rather than blogposts. Need to sit down with @mbjoseph  to assign a uniform category to all things "data-lesson" / code tutorial. I'm inclined to consider using data-lessons for everything that is a tutorial or classroom type of thing for the time being!
any thoughts on this, max?

I think the answer depends on how we decide to build out our yaml frontmatter. Talk about it Monday?

sounds good! talk later!
I got the author code figured out on friday!! just 3 lines did the trick - i was making it way too complex before. :)

@mbjoseph i just remembered why collections may be difficult for posts. if you want a list of "all stuff" it becomes more challenging to write the code that loops through 1. all collections and 2. all short tutorials, and then sorts then chronologically just with how liquid works. that is why i created a proper "post" page for each collection landing page.

It seems like we are likely to want "all stuff" or "all stuff authored by X" at some point.
What do you think about using posts with multiple categories instead of collections? For instance the front matter for your open science posts might be:
...
categories: [tool, open science, classroom activity]
...

Then we have the option to generate pages that loop over all of the posts that match one of the categories to generate pages that show all lessons for the open science module, classroom activities, or tools via https://amakelov.github.io/2015/11/24/multiple-categories-for-jekyll-posts.html
We would also be able to more easily sort all the things by date or author since everything would be a post.
Would that work?

^ would also make it easier to programmatically generate a list of authors for #4 , since everything would be in the same _posts directory.

yes - agreed  on all accounts. This is what i've done previously and i think it may be a better approach. collections are good for discrete sets of things. But this is why i created a post for the collection landing page which may or may not end up being useful.
So - we have categories: specific to the content type (ie how the page is designed)
 categories: [ tools, data-lessons, event]

tags: an open framework for various types
tags: [open-science, class-activity, data]

anything else?
language: [r, python, sql]

anything else?
author: [author-one, author-two]

Other than the usual suspects like title, layout, date, etc., we probably also could make use of:
library: [rgdal, spdep]

---
layout: single
author: [Leah A. Wasser, Naupaka Zimmerman]
dateModified: 2016-06-17
title: 'Intro to Open Science'
excerpt: 'short description of page here'
categories: [tools, data-lessons, event]
tags: [open-science, class-activity, data]
library: [rgdal, spdep]
language: [r, python, sql]
sidebar:   <<- optional
  nav: 'open-science'
author_profile: false
comments: true
---

@mbjoseph are you open to reassigning all blogposts --> tutorial for the time being?
I then propose we keep class lessons in the tutorial category as well. I'll for the time being create collections for sub content within the lessons - we can pull them out down the road if we need to.

yaml ---

language: r

libraries:
-rgdal
-raster

hey @mbjoseph  i've tweaked the yaml yet again.
have a look at the site - and specifically the yaml here
https://github.com/earthlab/dev-earthlab-site/blob/master/_posts/new-lessons/2016-10-07-example-yaml.md
---
layout: single
title: 'Title in Single Quotes'
authors: [Matt Oakley, Author Two]
category: [tutorials]
excerpt: 'Please write 1-3 sentence exerpt summarizing the tutorial here. '
sidebar:
  nav:
author_profile: false
comments: true
lang: [r, python]
lib: [base, rpy2, h5py]
---

Test out the side bar functionality and see if it works. Note - it's not styled yet, just functional (i hope)
https://earthlab.github.io/dev-earthlab-site/tutorials/
The page that lists just R tutorials has aside bar with r packages. The page that lists all tutorials just has r and python (the languages). we could add tags to that if we want .
see what you think.
Also note - we need to add an "exerpt" yaml element so the post description is shorter!
lemme know what you think.  i'll style the sidebar when we r happy with the functionality.

new note -- we will use excerpt in the xml feed as well. @mbjoseph please let me know if that language is ok OR if you'd rather us call it "description". here is what the basic feed looks like now:
https://earthlab.github.io/dev-earthlab-site/tutorial-feed.xml

That sounds good - I have no preference between excerpt and description!

ok. then let's leave it as is. excerpt will be the short description for the tutorial or page. In the case of the author pages - it could be their bio read in from a csv file if we have a bio (just an idea).

New issue for bios? Seems like a separate thing from the front matter of posts.

let's make a new issue for bios! i could see the bio being written into the excerpt for each author.md page and then rendered on the page accordingly . But this could be a nice feature - not one we need to go live!

Ok -- can we close this issue at this point? the nested looping is driving me insane. i know there's a way to do it but i can't get it to work. what do you think @mbjoseph i could make a new issue as a future feature request. i posted on SO too.

I think we can close it. Just to confirm, is this the final format for the yaml?
---
layout: single
title: 'Title in Single Quotes'
authors: [Matt Oakley, Author Two]
category: [tutorials]
excerpt: 'Please write 1-3 sentence exerpt summarizing the tutorial here. '
sidebar:
  nav:
author_profile: false
comments: true
lang: [r, python]
lib: [base, rpy2, h5py]
---

Ok 2 questions.

In the previous site I used the permalink element to specify the link. But w this site the file name determines the link. Is that correct?

The libraries. I'm still working on the nested code but it's still causing issues. So are you OK with implementation for the next few months atleast?

Yes to both questions! Do you have the stack overflow link?

Yup!
http://stackoverflow.com/q/40362726/3908816
I've tried to restructure the yaml list on the page to
Tool:
-lang: r
Lib:[]
Too and got a bit further but still my brain is getting confused in all of the looping. No one has tried to answer it!
L.
Leah A. Wasser
Director, Earth Analytics Education Initiative
Earth Lab, CU Boulder
twitter: @leahawasser

From: Max Joseph<EMAIL_ADDRESS>Sent: Wednesday, November 2, 2016 11:31:30 AM
To: earthlab/dev-earthlab-site
Cc: Leah Wasser; Author
Subject: Re: [earthlab/dev-earthlab-site] Categories vs Collections to Sort content? (#5)
Yes to both questions! Do you have the stack overflow link?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/earthlab/dev-earthlab-site/issues/5#issuecomment-257938782, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHS3qlcR7cMFK7mpiFLVWnlgrxDNFDIiks5q6MjygaJpZM4KXdl_.

I think we're good to close this, eh?

Yippppeeeee!
From: Max Joseph<EMAIL_ADDRESS>Reply-To: earthlab/dev-earthlab-site<EMAIL_ADDRESS>Date: Wednesday, November 16, 2016 at 3:42 PM
To: earthlab/dev-earthlab-site<EMAIL_ADDRESS>Cc: Leah Wasser<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [earthlab/dev-earthlab-site] Categories vs Collections to Sort content? (#5)
I think we're good to close this, eh?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/earthlab/dev-earthlab-site/issues/5#issuecomment-261096533, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHS3qpilgY7CPZhVSWMJ3EjFTrR3xHBGks5q-4bggaJpZM4KXdl_.


Brier Score decomposition: REL, RES, UNC

Opening this issue here (rather than the website repo) since this is more a question of code implementation that metric definition:
The Brier Score (BS) can be decomposed into three components: reliability (REL), resolution (RES) and uncertainty (UNC), where BS = REL - RES + UNC. To compute the REL and RES components, you find the K unique forecasts in the N forecasts provided (K <= N). Since the probabilistic forecasts can be provided to SolarArbiter as floating point numbers of arbitrary precision, this brings up the question: how do you determine a (finite) set of unique forecasts?
One approach is converting all forecasts to a pre-defined precision (e.g. one or two decimal places). This is seemingly the approach taken in the original paper [1], which states that the forecasts "can assume only a finite set of S distinct values". Also, in [1], the examples provided use 1-decimal precision forecasts (0.0, 0.1, 0.2, ..., 1.0), with some (apparent) rounding of intermediate calculations.
[1] Murphy (1973) "A New Vector Partition of the Probability Score", doi: https://doi.org/10.1175/1520-0450(1973)012<0595:ANVPOT>2.0.CO;2
Question

How should SolarArbiter determine the (finite) sets of unique forecasts for the REL and RES metrics?

My suggestion is that we should use approximate the probabilities [-] to two decimal precision (e.g. 0.2354 => 0.24) for the REL and RES calculations, but I'm not sure yet on the best approach to approximating the probabilities (since we still want the probabilities to sum to 1.00 and it's possible that simple rounding will result in the sum coming out as, e.g., 0.99 or 1.01).

Do we need to worry about the number of bins as vs. the number of forecasts/observations? For example, if N < 1000, bin by tenths, otherwise bin by hundredths?
In any case, we could follow the formulation in (Stephenson et. al.)[https://journals.ametsoc.org/doi/abs/10.1175/2007WAF2006116.1] "Two Extra Components in the Brier Score Decomposition".

That's a good point and I agree we'd probably want to explicitly set some sort of convention on number of bins versus number of forecasts/evaluation. (At the very least, define what to do if there are very few forecasts/observations, e.g., << 100.)
Also, thanks for sharing that paper (I'm reading through it now).


feat(elasticsearch-setup): Add support for insecure curl connections

Complementing https://github.com/datahub-project/datahub/pull/5887 to introduce insecure curl connectivity option.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Sure. Thank you for the comment!


zuul proxy with default setting adding header values twice in response

zuul configuration:
zuul.routes.splash.path=/splash/**
zuul.routes.splash.url=http://localhost:8080/myapp2/splash/
Below is the output of the curl command to hit a URL that is being proxied by zuul to be forwarded to
another url.
STATE: DO => DO_DONE handle 0x600057370; line 1337 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x600057370; line 1464 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x600057370; line 1474 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Access-Control-Allow-Origin: *
**< Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
< Access-Control-Max-Age: 1800**
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
< X-Application-Context: mayapp1:dev:33
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
**< Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
< Access-Control-Allow-Origin: *
< Access-Control-Max-Age: 1800**
< Date: Wed, 10 Feb 2016 21:45:45 GMT
< Vary: Accept-Encoding
< X-Application-Context: myapp2:dev
< Content-Type: application/json;charset=UTF-8
< Transfer-Encoding: chunked

Spring Cloud is not adding those Access-Control-* headers, so your app must be doing that itself independent of Zuul. Do you have a filter that does that unconditionally for instance?

The X-Application-Context header is added by Spring Boot. You can switch it off by setting management.add-application-context-header=false.

I've posted an issue on https://github.com/spring-guides/tut-spring-security-and-angular-js/issues/73 regarding the same problem.
The header keys being duplicated are more evident in my case and in the Spring tutorial case.

The Spring Security configuration for the proxy doesn't explicitly exclude the header writers, so they get added in the remote service and then again in the gateway. It's nothing to do with Zuul really.  You can switch it off like this:
@Override
protected void configure(HttpSecurity http) throws Exception {
  http.headers().disable()
  ...
}

Thanks @dsyer .. i will test it.

Good catch, http.headers().disable() just does the job.
Response headers are now clean.
Just X-Application-Context gets added by each application, but this can actually be helpful for debugging.
and management.add-application-context-header=false turns it off just as expected.
Cheers


Lualine and notifications is not working

I set up like this
-- weather config
require('weather').setup({
    openweathermap = {
        app_id = {
            var_name = 'WEATHER_TOKEN',
        },
    },
    weather_icons = require('weather.other_icons').nerd_font,
})
require('weather.notify').start(70, 'info')

I have nvim-notify installed and I'm not getting any notification nor the info is being shown on lualine.
My lualine is configured like this:
local lualine = require('lualine')

lualine.setup({
    options = {
        icons_enabled = true,
        theme = 'tokyonight',
        section_separators = { left = '', right = '' },
        component_separators = { left = '', right = '' },
        disabled_filetypes = {},
    },
    sections = {
        lualine_a = { 'mode' },
        lualine_b = { 'diff', 'branch' },
        lualine_c = {
            {
                'filename',
                file_status = true, -- displays file status (readonly status, modified status)
                path = 1, -- 0 = just filename, 1 = relative path, 2 = absolute path
            },
            {
                function()
                    return require('lsp-status').status()
                end,
            },
        },
        lualine_x = {
            'encoding',
            'filetype',
        },
        lualine_y = { require('weather.lualine').default_c, 'progress' },
        lualine_z = {
            'location',
            {
                'diagnostics',
                sources = { 'nvim_diagnostic' },
                symbols = { error = ' ', warn = ' ', info = ' ', hint = ' ' },
            },
        },
    },
    inactive_sections = {
        lualine_a = {},
        lualine_b = {},
        lualine_c = {
            {
                'filename',
                file_status = true, -- displays file status (readonly status, modified status)
                path = 1, -- 0 = just filename, 1 = relative path, 2 = absolute path
            },
        },
        lualine_x = { 'location' },
        lualine_y = {},
        lualine_z = {},
    },
    tabline = {},
    extensions = { 'quickfix', 'nvim-tree', 'fzf' },
})

Closed in #3 .

Hi, sorry about that. I closed this by mistake.
Thank you for your report, I see 2 issues:

Lualine isn't working - Unfortunately, I modified the api after writing the README, and forgot to update it. default_c/f is a function which should be invoked like require('weather.lualine').default_c(). That function accepts a table with the following keys:

pending: Text to display while fetching results
error: Text to display when there is an error.
Both fields are optional (you don't need to pass anything).
I will update the readme immediately. Thanks for this report.

Notifications aren't working: Notifications only display notifications from official sources (e.g. national weather service). There aren't notifications for regular updates. Are you expecting any of these alerts??

Okay. The notifications were a misunderstanding from my side then.


[WIP] Add basic simulator support

This isn't a completed feature yet, but I think its a good baseline to get us started.
I'm wondering about the functionality of this feature: how are people going to use it and what form does it need to be in?
Currently it is implemented as a submodule in a workspace, but I'm not convinced that is the best form for it to take.

Sorry for letting this sit, didn't realise you'd pushed fixes. This should be a good base to build on even if there's a better place for it to live in the future. Thanks!


I heard you like Bambi you Dave

THIS PR INCLUDES:

literally 2 lines uncommented.

screwed crumb from the hit mod: Vs Dave and Bambi: Crumb Edition V2, SO FIRE!@!@!@!@
(also no racial slurs was used in the making of this pr name.)

😯

Imma try it later…


[Feature]: Enable Custom Resource Naming

Module Name
all modules
Description
Overview
It would be nice if the resource naming in your modules was customizable by the consumer.  We have a naming convention that we would like to enforce on all our Azure resources and it doesn't look like we can do that with these modules.
I don't think it matters what our naming convention is for this write up, as changing the convention from one opiniated choice to another doesn't fulfill the request :smile:.  I will provide it though, for an example of what I am talking about.
Our standard naming convention is usually:

Resource Group: 'rg-${product_name}-${env}-${region_code}' where

product_name = the name of the product (this is our primary use case for resource group creation)
env = the deployment environment, based on SDLC (poc, dev, qa, stage, prod, etc.)
region_code = the abbreviated version of the Azure region (eus, wus, ncus, scus, etc.)

Resources: '${slug}-${product_name}-${env}' where

slug = any of the Resource type code (short) abbreviations recommended by aztfmod/terraform-azurerm-caf
product_name = the name of the product (this is our primary use case for resource group creation)
env = the deployment environment, based on SDLC (poc, dev, qa, stage, prod, etc.)

Thanks for your consideration and time!
Example usage
No response
Other information
No response

Thanks @jarhorn for opening this issue, I totally agree with you. Some legacy modules might enforce a naming format, like "${dep]-${prod}-${env}-${name}". The Azure Verified Module should be designed as reusable modules for all kinds of scenarios, so we should not assume a naming convention for resource's logic name on the cloud.
If you find any of Verified Modules cannot meet your naming requirement, please let us know by opening an issue in the module's repo, and please feel free to ping me there so I can take a look. Thanks for your suggestion!

@lonegunmanb, thanks for the quick response!  I will have the team look into the individual modules and we will most certainly add requests there...  I truly appreciate the flexibility, together we will crush this, I'm sure of this :smile:

@jarhorn maybe add a pointer to https://github.com/Azure/terraform-azurerm-naming? Not sure if this module itself is a verified module. If so, then it should be added to the list on the landing readme.md.


Show all results if nothing is typed

Could we get the whole list of items if nothing is typed in the list?
Thanks!

This is available in 1.5.2-release - just add [showResultsFirst]="true" and the results will appear when focusing the input.

Really nice! Thanks :)


Add another header

Hello. Want to know, can i add another header? a header that is not inside the parallax header. Where should i do that. Thank you.

So you basically want two headers? Why not use a ViewGroup as your header and add both inside it?

Won't the second header get the parallax effect too? I just want the first header to have parallax effect. But I'll try anyway.

Yes it will. I know what you want. Basically you want a different type of view for the first item. So you want the first item of the list to have parallax effect, the second to be a header with no parallax and finally the list items. Am I correct?

Yes. Absolutely correct. Maybe can add this as a new feature in your lib. Would be great! :)

no need to. That's already available on the framework. Take a look at https://github.com/kanytu/android-parallax-recyclerview/issues/10 for example. You need to change  getItemViewTypet to return a different type of id. Then on oncreateviewholder, inflate a different viewholder accordingly to the view type


Add buffers

Buffer is added as a component to entities, and the world API allows adding/removing these buffers manually or indirectly changing their elements.
It currently stores elements in a List and has a method if the target framework is .NET 5 or above to get its elements as a span.
This also allows entities to be added to other entities through buffers. See https://www.flecs.dev/flecs/md_docs_Relationships.html

Hey there
I am looking into the most recent PRs and I have the following concerns:

It looks like Arch is diverging from the approach of the bare minimum.
The core of Arch is very performance-oriented while this particular addition has nothing to provide in these terms

Those two factors were decisive for us at Decentraland when we picked Arch as an ECS framework over the others
In my opinion Buffers should go to the Extended framework as there is nothing special a user can't write on their own
Otherwise, I would propose thinking about the following modifications to this PR:

Lists pooling (PooledList?)
Lists initial capacity
Change Lists to something custom/unmanaged to provide ref-like access and Span for any .NET version

In general (especially for use with Unity) I pursue a more granular control over GC allocations and objects lifecycle that is not present here.

Hey there I am looking into the most recent PRs and I have the following concerns:

It looks like Arch is diverging from the approach of the bare minimum.
The core of Arch is very performance-oriented while this particular addition has nothing to provide in these terms

Those two factors were decisive for us at Decentraland when we picked Arch as an ECS framework over the others
In my opinion Buffers should go to the Extended framework as there is nothing special a user can't write on their own

Which PRs? Arch's default API surface hasn't gotten any new additions for months. For performance, both https://github.com/genaray/Arch/pull/103 and https://github.com/genaray/Arch/pull/108 were focused on improving the performance of existing code. The first one has benchmarks for the only API that has changed in performance, as an optimization, if performance degradation is one of your concerns.
https://github.com/genaray/Arch/pull/98 was also designed to have both the smallest API surface possible and best performance by not adding anything more than the bare minimum, leaving more elaborate event bus implementations such as those that filter by multiple components, or those that allow for multi-component matching, up to forks, the user, or Arch.Extended.
It also is hidden behind a feature flag, which when disabled leaves the existing code paths identical to what they were before its introduction, as is required by any feature implemented into Arch.
Both that PR and https://github.com/genaray/Arch/pull/97 were compared at the time as well to find the best solution for events, which are necessary to implement in Arch itself, and cannot be sanely done in the same way in Arch.Extended.
If you are referring to https://github.com/genaray/Arch/pull/111 then that should be brought up there, unless this is the one you have issue with, which was split off from that one at the request of @genaray to provide an API similar to Unity buffers. That PR also has no meaningful changes to any existing code paths.
As for having nothing to provide in performance terms, there is very little to provide around a wrapper for a list other than exposing a span and maybe providing a set amount of elements outside of the list. The latter is waiting on @genaray to finish his thesis to discuss how best to implement this, similar to what Unity does. This could be a fixed size buffer for unmanaged types or source generated for any other type. This is at the moment no different than adding a list as a component to an entity.
If nothing is changed that requires access to the internals of Arch then this PR could easily be transferred to Arch.Extended. It was however left open here in the interim, as the main PR that the implementation comes from is still in review and that one does require being coded into the main Arch repository.

Otherwise, I would propose thinking about the following modifications to this PR:

Lists pooling (PooledList?)
Lists initial capacity
Change Lists to something custom/unmanaged to provide ref-like access and Span for any .NET version

In general (especially for use with Unity) I pursue a more granular control over GC allocations and objects lifecycle that is not present here.

If that's the use case, it might be better to let the user choose the collection that the buffer is wrapping entirely, as all a pooled list does is pool the array instance that it uses internally. If not, you don't need to use a custom implementation as PooledList already exposes a span, even in netstandard2.1.
Exposing the initial capacity as a constructor argument would pose a similar problem with letting the user choose the collection, unless overloads are provided which I don't think is an ideal solution.
Changing it to something unmanaged would likely result in either compromising too much for managed types or making them impossible to use with the same implementation. An array (or a PooledList) does not have either of these problems, however if you are looking to use these to store a list of entities then you might want to look into using an unmanaged array or list from Arch.Extended.
As for controlling GC allocations and lifecycles, using an array internally (and maybe pooling them by default) as well as letting the user choose which instance to utilize would both address both of those concerns and provide the simplest API, alongside letting you get a span and a ref in netstandard2.1. Though if you are stuck using it, I assume because of Unity, then I don't think getting a ref to a list element is the biggest of your performance worries.
If that change fits your use case and addresses your concerns though tell me, as that's the currently planned implementation for buffers unless a better one comes up.

I am looking into the most recent PRs and I have the following concerns:

It looks like Arch is diverging from the approach of the bare minimum.
The core of Arch is very performance-oriented while this particular addition has nothing to provide in these terms

I support Smug here. The recently introduced events can not just be stripped out. They belong into the core.
An alternative is to just dont use them or use the EventBus to simulate such events. And there were a lot of performance related prs in the last few weeks.
Relationships and buffers could potentially move to Arch.Extended however. But in this case it would make most sense to merge those PRs first and move them later to Arch.Extended to see if any other API or internals should go public as well.

Hey guys

Which PRs?

I was referring to Buffers and Relations, I didn't mean any performance improvements

Though if you are stuck using it, I assume because of Unity, then I don't think getting a ref to a list element is the biggest of your performance worries.

Yes, with Unity one is always stuck in older .NET versions. We have many performance worries 😄 What I want to make sure of (and it's out of your concern, of course) is if there is something new we can use with Unity straight away without a performance worry 😉  Anyways, most likely if we want something like this we will be using UnsafeArray/List or Unity's Native or Fixed counterparts

If that change fits your use case and addresses your concerns though tell me, as that's the currently planned change for buffers unless a better one comes up.

Yes, on a higher level it mostly addresses my concerns, thanks


Support variant metrics - MB/s, items/s, etc

There are a lot of algorithms for which seconds/iteration can be easily transformed into a more useful metric.
For example, I'm writing a delta-compressor, and so MB/sec would be a more graspable metric.
API-wise, it seems that this could be done by adding a mapping function to the Criterion pipeline. Something like:
Criterion::default()
    .with_metric(|time, test_data| { test_data.len() / time })
    .bench_function_over_inputs(|b, data| {...});

Hey! Thanks for the suggestion.
I probably won't get around to adding this right away, but I agree that these are useful metrics to have, and this is a use case I'd like to support eventually. I think it would take some internal refactoring work before something like this could be easily added, though.

This may be a separate thought... but I have an algorithm the Should be O(n^2). I could use the transform to test that more directly!

It would be nice to get the X-axis of the graphs for multiple-data benchmarks separated by value, rather than equally spaced, too 😀.
I've learnt that you can do a special case of this with the built-in bencher by setting b.bytes in the #[bench]...


Autotile not working

Tried to use autotile, but that didn't worked.
Here's link to video of problem:
https://www.youtube.com/watch?v=kAVXpVuXRdo

Alright I was about to ask for details but I apparently  messed up the signal of an AcceptDialog when I was fixing the signals of some file, it should work now in the master branch.

Alright I was about to ask for details but I apparently messed up the signal of an AcceptDialog when I was fixing the signals of some file dialogs, it should work now in the master branch.
added video

Alright I was about to ask for details but I apparently messed up the signal of an AcceptDialog when I was fixing the signals of some file dialogs, it should work now in the master branch.

added video

I think you misunderstood my reply, I'm closing the issue because I fixed the issue, clone the master branch or check the releases tab and get version 0.9.8.

Wow, it worked. Thanks. It all worked well. I also figured out how to make collisions, although didn't  understand that either:)


suggestion

can you add in a command-line interface,like msdl  URL -pdf,midi,mp3
thanks

+1
I'm interested to use it into a container

More advanced CLI scripting functionality is available in the new repo: https://github.com/LibreScore/dl-librescore


Update index.js

定位产生css语法错误的源文件及错误位置

Hi, thanks for the PR :smile: , could you please edit the commit and keep the indentation unchanged? Otherwise it's very hard for me to see what changed and review your PR.


add an is_initialized method to the fortran client

Add a method to fortran client to check if client%initialize has already been called.

@ashao I'll take a look and make sure this passes on our internal machines

@billschereriii thank you for the review, I have added a test as requested.

Update looks good to me

merged


Fix typo in README

"...which lets out output the resolved spec..." --> "...which lets one output the resolved spec..."
Could also change to "...which outputs the resolved spec..."

Outputs sounds good to me 👍


Question (not bug) Any thoughts on badgecount / performance impact?

Hi,
this is more a best practices type of question - not sure if I should be posting here, but it's directly related to this package.
wondering what the best way would be to handle badges, in a situation where there could be a high volume of notifications?
One option is when you send a push notification you can just could just see how many unread notifications a user has (assuming folk would be tracking this in a separate "notifications" collection) and then set the badge count to that number. Although, this would be referentially correct, it seems like an expensive thing to do each time someone does something like comment/send a message - assuming you wanted to have push notifications for the capability.
Are there any better ways that would require less processing per push notification and se the badge count?
BTW, I do see Push.setBadge(count); for iOS... but doing this client side would not update the App icon/badge... ie guess another option is doing this once ever X seconds (so the bade would be out of sync between updates?

Thanks. Yep I had thought of Push.setBadge(count); on the client... but this only keeps it accurate when the app is open, right?
So, in the case of the app is closed (eg looking at home screen) the badge count won't change unless the sender sets it. Do I have that right?
I could try and cache it on the user doc, so the sender has to do less processing, but this would be fraught with multiple users all trying to update the same user docs. (eg if you wanted push notifications on a multi-way chat).
I think this is a pretty common use case, so just wondering if other have solved this with any smarter approaches?

@raix is there a reason my badges disappear when I hit the home button (close the app and go to home screen)? This only seems to happen if open the app then then close it without setting the badge count manually.
Scenario 1 -  Let's say badge count is 5, I open the app. Then close it (I don't call anything to do with badges) it wipes out all the badges.  (I don't think I am reseting the badge count anywhere - not sure if some event is?)
Scenario 2 -  Badge count is 5,  I open it and mark one item as read and reset the badge count to 4 and then close it, it shows the badge count as 4.
thanks

related to issue #25 - I think it would be nice to have a counter for non-specific messages (this would reset on open) and have count object with keys set as id. So the total counter would be a mix of those two.

there should be a limit of how many messages the server allows the user to have hanging before stopping sending messages / considering the user inactive.

(this is the current logic I have in one of my apps - it's very useful)

Tracking this in #45


Does flutter support Dynamic updates ?

Does flutter support Dynamic updates ?

Hi. May be this will give you more info https://github.com/flutter/flutter/issues/14330

Thank you so much!


Set ovn_match_northd_version to false by default

true value is needed when executing "fail safe upgrades" only [0]. (These are upgrades where an LTS release is skipped; or when ovn-controllers are updated after northd.) This is not the upgrade scenario that we follow.
This was fixed in puppet modules in [1] but sadly was missed when the code was imported to this repo (several months before the change in puppet modules.)
[0] https://docs.ovn.org/en/latest/intro/install/ovn-upgrades.html#fail-safe-upgrade
[1] https://opendev.org/openstack/puppet-tripleo/commit/68b4a7c87d3af1200d18149365844d40683cb530

/hold
Discussing this over slack

@karelyatin considering the slack discussion, are we to move forward with this (post beta obviously) or are we going to wait for staged ovn update work from Dan to land?

recheck

@karelyatin https://github.com/openstack-k8s-operators/openstack-operator/pull/792 landed. Can we now unhold this PR?

/unhold

/lgtm


Impement navigation menu for the LCD demo

I need a snprintf implementation so I take the implementation from OpenTitan runtime.

@marnovandermaas can you review the "Fix SPI driver" and "Fix timing freq parameter" commits? They're needed to make the existing LCD demo functional again

@marnovandermaas can you review the "Fix SPI driver" and "Fix timing freq parameter" commits? They're needed to make the existing LCD demo functional again

@nbdd0121 Thanks for making these fixes! From reading them they look very reasonable to me. I would like to test the SPI flash test on FPGA before merging this PR so let me know when this is ready to be tested.

@marnovandermaas the code is now ready. Could you test the flash?


[Docs] Add two suggested reading links to Docs Contributing page

Current State
The "Suggested Reading" section on https://docs.meshery.io/project/contributing/contributing-docs#suggested-reading is empty.
Desired State
Two helpful resources:

Liquid Docs - https://shopify.github.io/liquid/
Jekyll Docs - https://jekyllrb.com/docs/

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I would like to be assigned this issue and help contribute. @leecalcote

I'm interested in working on this issue. Could you please assign it to me? Looking forward to contributing!

Hi @mgurrie, let's set a deadline for this issue to be resolved by this coming Sunday. Assuming that timeframe works for you, I'll expect a PR opened, reviewed, and merged before end of day on Sunday. If we aren't able to hit that deadline, let's open up this issue's assignment for another to tackle it... fair deal?

Sounds good thank you.
On Fri, Feb 2, 2024 at 1:14 AM Lee Calcote @.***> wrote:

Hi @mgurrie
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmgurrie&data=05|02|mgurrie%40clemson.edu|5700b71f18504bb76f7708dc23b62deb|0c9bf8f6ccad4b87818d49026938aa97|0|0|638424512571511225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|0|||&sdata=jrTkrtLcLTLUB9G1q0xnVE30bCzIUf6ar2QHumf6aVY%3D&reserved=0,
let's set a deadline for this issue to be resolved by this coming Sunday.
Assuming that timeframe works for you, I'll expect a PR opened, re! viewed,
and merged before end of day on Sunday. If we aren't able to hit that
deadline, let's open up this issue's assignment for another to tackle it...
fair deal?
—
Reply to this email directly, view it on GitHub
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmeshery%2Fmeshery%2Fissues%2F10145%23issuecomment-1922935612&data=05|02|mgurrie%40clemson.edu|5700b71f18504bb76f7708dc23b62deb|0c9bf8f6ccad4b87818d49026938aa97|0|0|638424512571511225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|0|||&sdata=ydw6ENi7sRM%2F%2Fg7e23VUZZcKeSGAD7c25xq5OBINYDE%3D&reserved=0,
or unsubscribe
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscrib!
 e-auth%2FA6GUY4WFQARRXYVIMTBIQRTYRR73LAVCNFSM6AAAAABCUZ5IP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRSHEZTKNRRGI&data=05|02|mgurrie%40clemson.edu|5700b71f18504bb76f7708dc23b62deb|0c9bf8f6ccad4b87818d49026938aa97|0|0|638424512571511225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|0|||&sdata=ACCOIBBTHd4%2BjZa6qMI2P68O%2FunH%2FqsvbWj3L4fFeqw%3D&reserved=0
.
You are receiving this because you were mentioned.Message ID:
@.***>


regex entities skipped

When agent contains regex entities they are currently simply skipped from translation. What needs to be done instead is to duplicate entity entry file into target language, e.g.  TrackingID_eCommerce_entries_en.json -> TrackingID_eCommerce_entries_sv.json
Workaround until the is simple, manually copy respective files from translation output, change language code and copy back into zip file. then restore the agent.

resolved by release v0.1.4-beta.


New version: skyjake.Lagrange version 1.16.6

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116602&drop=dogfoodAlpha

Manifest Error: Schema Error. [Schema validation failed. Error context: [AppsAndFeaturesEntries][0] Description: Value type not permitted by 'type' constraint. Error context: [AppsAndFeaturesEntries] Description: Failed to validate item #0 in array. Error context:  Description: Failed to validate against schema associated with property name 'AppsAndFeaturesEntries'. ] File: skyjake.Lagrange.installer.yaml Manifest Error: Encountered unexpected root node.


Options for applying rules to firewalld zones?

:speaking_head: Foreword
Thank for taking the time to fill this feature request fully. Without it we may not be able to , and the issue may be closed without resolution.
:person_frowning: Problem Statement
I've recently begun trying to apply this cookbook after coming from the now-defunct firewalld cookbook, and am getting confounded by the application of rules to firewalld zones. I have a rather complicated zone that encompasses a collection of IP ranges and netmasks, for which I want to apply most of my rules. Any standard rule or rich rule I apply using the firewalld_zone resource overwrites any existing rules. And if I use the simpler approach of using the firewall_rule resource, I need to specify the source for each rule, and with many rules and many sources for each one, that gets unwieldy.
:grey_question: Possible Solution
It would be nice to be able to either:

In the firewall_rule resource, specify a firewalld zone instead of an array of IP addresses/ranges; or
In the firewalld_zone resource, specify a rule or rich rule that does not overwrite any existing rules for that zone.

Or is there a completely different and better approach to this that I'm missing?

Note that I am not responsible for the firewall_rule-implementation for firewalld, I just added all the firewalld_* resources.
Your assumptions however, are correct. There is currently no way of adding rules in the firewalld_zone-resource, without deleting all the other rules in it. Since the dbus-interface of firewalld has a method called addRichRule, that allows adding a rich rule to a zone, it should not be that much work to add this functionality.
I currently do not have that much spare time, so it may take some time for me to do it.
As a workaround, I can only suggest to specify an array of rich rules as argument to the rules_str-property of the firewalld_zone-resource.