Ps/add displayname footprint

Resolves the first part of https://github.com/tmrowco/tmrow/issues/2035
Problem
Some of the purchase keys are not very user friendly (upper case) so a new displayName property should be added for each entry.
Goal
Update thefootprints.yml file to add a displayName field which is more user friendly

What should be done for entries such as Ice cream (Vanilla premium) ? What is between parenthesis would be suppressed altogether with the current form. In the case of ice cream it is a useful differentiator, so as for Water (bottled) vs Water (tap).
Should we make a manual list of what of (*) that should be deleted?

What should be done for entries such as Ice cream (Vanilla premium) ? What is between parenthesis would be suppressed altogether with the current form. In the case of ice cream it is a useful differentiator, so as for Water (bottled) vs Water (tap).
Should we make a manual list of what of (*) that should be deleted?

I'll let @martincollignon address that

@martincollignon do you have any time to look into that? :)

Yes, very sorry. I'm wondering whether we should make children for these?
Icecream
-Vanilla Icecream
--Premium Vanilla Icecream
or something similar?

Jumping in here: just remember the implications of adding another layer in
terms of display in the North app as we don't always display all levels.
On Thu, Jun 4, 2020 at 7:59 PM martincollignon<EMAIL_ADDRESS>wrote:

Yes, very sorry. I'm wondering whether we should make children for these?
Icecream
-Vanilla Icecream
--Premium Vanilla Icecream
or something similar?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/tmrowco/northapp-contrib/pull/409#issuecomment-639012541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUIKERN4LPT7IIN4LPAF3RU7OGJANCNFSM4NQVZPUA
.

--
Olivier Corradi
Founder, CEO
https://www.linkedin.com/in/oliviercorradi https://twitter.com/corradio
tmrow.com

Ok I'll just go through the list then and note down all the (*) that seem relevant to remove and adapt the script so that only these are removed. It's a quick fix but should work fine if we don't update what's in the footprint file every 2nd day.

@corradio @martincollignon should be good now. Only the parenthesis containing non useful information are removed, i.e
(ND),
(D),
(S),
(SD)


input chinese bug

When I am here to experience（https://zenoamaro.github.io/react-quill/），I enter Chinese，I found that I would have one more letter. like this：

Please help me to view this issue

the same problem

https://github.com/quilljs/quill/issues/626
https://github.com/surmon-china/vue-quill-editor/issues/56


recognize bigint as stringifiable

This would be a nice feature to prevent some explicit .toString()´ calls before passing an object to stringify`.

I'm willing to merge this, but you need to fix the lint issues.

Going for<EMAIL_ADDRESS>would require using String#replaceAll() instead of String#replace(). For the two usages this would not be breaking but I prefer changing less for this feature because it is technically only a typing issue.


feature/lf-4-license-administrator

Problem description
The admin should be able to manage licenses by the License table like in the Clarin-DSpace: https://github.com/ufal/clarin-dspace/wiki/License-administration
License table operations:

Show all licenses
Define a new license
Edit license
Delete license

Testing:

it isn't intuitive, when I create an extended and no extended label license
The titles of sections marge with data (maybe use bold...)
The titles marge with other titles - maybe use some division


targets: Add support for SolidRun ClearFog base board

ClearFog Base is a 32-bit Cortex A9 board featuring Marvell's Armada
A388 SoM. It contains 2 dedicated ethernet ports, 1 SFP port, 1 USB 3.0
port. Build artifact is a firmware image ready for flashing on the SD
card.
Signed-off-by: Jakov Smolić<EMAIL_ADDRESS>

LGTM!


Reapply "Use platform_version to pass deployment target info to the linker"

I haven't been able to reproduce the issue that caused this to be reverted locally, so running on Swift CI to try and diagnose the problem

@swift-ci test

@swift-ci test


Add dlls to system path

The DLL trick for Windows should be done only in a development environment. Maybe we can use a custom environment variable to apply search path modification in dev mode?


[WIP] Update notebook 5

Thanks for your work here @charlesbluca @jsignell! I'll do another pass on my way into town today

Now that the entire notebook has some basic writing to accompany the code, some things that could be worth looking into (beyond addressing reviews and some parentheticals I left around):

Adding some text around plots that would be relevant to look at while troubleshooting performance (this will probably be easier to do while doing a quick run-through of the notebook)
Cleaning up commented code - it's not immediately obvious to me what commented code sections are meant to be kept (i.e. should be explained as part of the tutorial) versus those that are just left over from debugging
Beefing up the PyArrow strings section? Since this is still somewhat in progress, could be worth linking some cool issues to check out around how we're still working on improving things


[xsimd] Update version to 9.0.1

Fixed #27621
Update [xsimd] version to 9.0.1
All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-stataic

/azp run

#26501...

Duplicate to #26501


iOS 17 Sharing Issue

When attempting to share using any MediaAsset object the sharing dialogue often fails and locks up the UI

Looked into this, it's an iOS 17 bug, and does not prevent the sharing UI from popping up. It just glitches for a moment. Can you confirm?

Just confirmed, none of the workarounds work; it's an iOS 17 issue.

A lot of the time it will enter a weird feedback loop where it will keep popping up the share sheet only for it to disappear. Is it an issue with Unity or iOS 17 itself?

It's iOS 17, not Unity. Hopefully Apple pushes a fix soon.

Ok no worries, appreciate you looking into it


[WIP] Add the Deltares World Flood dataset

Description at https://planetarycomputer.microsoft.com/dataset/deltares-floods and https://nbviewer.org/github/microsoft/AIforEarthDataSets/blob/main/data/deltares-floods.ipynb
Basically a computation of coastal flooding with certain parameters (return time, year) on a specified DEM.
This is ~1gb in size.
Needs docs and tests (if possible)

If the file is too big you can add tests to run locally but keep them out of CI.
Also note keywords are pretty standardized here, so go for res instead of resolution. We also pass the whole string  10km because the units can be mixed and it gets confusing. The string makes it much clearer what is being specified in a script.
I would also just use year.
Thinking about this, we really need a trait interface for dimensional keywords so we can automatically make series out of them. It's a bit hacky and specific how its currently done, Rasters.jl just special cases month and date keywords. We would need to add year for this to work, but again it wont scale in the long term.
See:
https://github.com/rafaqz/Rasters.jl/blob/main/src/sources/rasterdatasources.jl#L95-L112

In this case year is actually a parameter, not a time - it indicates the year of reference for sea level.

Yeah, we a squishing a wide range of datset shapes into a regular structure, and it doesnt always work so cleanly.
What are the options to be layers?

Just remembered this PR. SRTM already doesn't have a layer as there is only one. This could be the same?
We may need to add/fix dispatch in Rasters.jl to handle that.

Bump!


peripheral_dis compilation reports RAM overflow for BBC microbit

So did peripheral_gatt_write and peripheral_hids, and I suspect the same goes for every singe sample.
Here are the steps to reproduce.
~/repos/zephyrproject/zephyr$ west build -b bbc_microbit samples/bluetooth/peripheral_dis
[1/11] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /home/user0/repos/zephyrproject/zephyr/build/zephyr/zephyr_pre0.map
: && /opt/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/user0/repos/zephyrproject/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/soc/arm/nordic_nrf/nrf51/libsoc__arm__nordic_nrf__nrf51.a  zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a  zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a  zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/random/libsubsys__random.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/i2c/libdrivers__i2c.a  zephyr/drivers/sensor/fxos8700/libdrivers__sensor__fxos8700.a  zephyr/drivers/sensor/nrf5/libdrivers__sensor__nrf5.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/timer/libdrivers__timer.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/thumb/v6-m/nofp"  -L/home/user0/repos/zephyrproject/zephyr/build/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -no-pie  -mcpu=cortex-m0  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -lstdc++ && cd /home/user0/repos/zephyrproject/zephyr/build/zephyr && /usr/bin/cmake -E echo
/opt/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `noinit' will not fit in region `RAM'
/opt/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `RAM' overflowed by 2740 bytes

ibeacon compiled and ran fine but pheripheral_dis and

@aguaviva The bbc:microbit v1 is a resource-constrained platform, you can (unfortunately) expect the stack/kernel to bloat and run out of memory over time on platforms not marked as explicitly supported (in sample.yml).
We will welcome a patch to reduce the memory consumption of course when that happens, if you have the time.

not being able to do this on Zephyr is a testament to how inefficient Nordic port and
support is.

I'm not arguing about the inefficiency, I do agree Zephyr can be bloated, but it also ships a lot of features. Tweaking the configuration west build -t menuconfig (or editing build/zephyr/.config) can usually free enough memory to make it fit constrained platforms.
The zephyr issue tracker is not the right place to discuss this, you can open a devzone ticket if you want an official answer.
But I suspect that they will answer the same as I did, nRF Connect SDK doesn't support the bbc micro:bit v1, and any nRF51 chips for the matter.
Support in the Zephyr project for that SoC family is provided mostly by volunteers, that's why I was proposing you make a pull request and that's why I flagged it as a feature request.
PS:
Here's a prj.conf snippet that makes it build again:
CONFIG_BT_GATT_CACHING=n
CONFIG_BT_LONG_WQ=n
CONFIG_BT_RX_STACK_SIZE=1000

You can build for one of the supported platforms, and then use https://github.com/HBehrens/puncover to investigate what is using up all the memory. In our case, it was mostly the stack sizes that were big (see the picture). Note that this tool is not limited to zephyr, you can can also use it to optimize your Arduino builds in the future.
Then if you have that board, you can run it, and use the stack analyzer to figure out how much of that stack memory you can safely cut.
If you don't, you can try reducing it until it builds, and then run it and see what happens.
The stack sizes are usually this large to account for the callback-driven architecture in the Bluetooth host. We are trying to optimize it, but we first have to add tests to make sure we don't break anything when refactoring.

PPS:
Here's my opinion on Zephyr:
Choose the right tool for the job: I personally use Arduino when prototyping, since it has an easier API and build/configuration system. There are also a lot of libraries available and a big community (so lots of tutorials, resources, etc).
For making a product using nordic chips, I would personally use either the nRF5 SDK (if building on a nRF51 chip) or the nRF Connect SDK (which uses Zephyr). I have more confidence in the robustness of that SDK, since it is stress-tested on hardware and officially supported by Nordic for production.
One of the nice things that Zephyr provides IMO is the standard driver interfaces: once you have an application, you can swap out e.g. an accelerometer from Bosch with one from ST with a single line of configuration. That can come in handy if your company e.g., has to change chip vendors because of supply issues.

Then I suggest that you remove the nrf51 based chip boards from the supported list or clarify in which situations it might work.

Then I suggest that you remove the nrf51 based chip boards from the supported list or clarify in which situations it might work.

Yes that is a fair point. The "Supported Boards" wording of the documentation section doesn't help. In any case I won't close this issue until we have either fixed the build or clarified what boards Bluetooth supports.

Hi @aguaviva

This is a bug. The bbc:microbit v1 should be able to run that and much more, and not being able to do this on Zephyr is a testament to how inefficient Nordic port and support is.

Before making this statement, did you even try to make it compile? Did you look at the Kconfig options, did you play around with them? Did you try to understand how Zephyr defaults to a certain set of features which might not be adequate for older ICs but they can be changed to fit those if needed? Did you read through old issues where we discussed this?
This is not a bug. Zephyr is an open source project. I suggest you educate yourself with how open source works before making statements like those. Open Source projects are "best effort", which means that there are no guarantees about them, nor timelines. You try to use it for your purpose and, if it doesn't work, you politely request improvements or make those yourself. That is how open source works and that is how Zephyr works.

I bet you are trying to sell the new chips and that is why you are OK with bloating code that overflows on old ones.

Well you bet wrongly. Should I remind you that Nordic's official SoftDevice has not supported nRF51 for a while, but the open source controller continues to support it? Now why would Nordic ensure that nRF51 works in Zephyr (barring memory issues, but that's another story), which takes time and effort on our side if what you suggest were true?

Look, I am not going to fix the bug for you, I am going to delete this repo and use Arduino and I won't buy Nordic chips ever again. I hope everyone sees the sort of support we can expect from Nordic and stay away from their chips. Also, this is a bug, good try at flagging it as a feature and asking me to fix it for you.

I believe your statements and language violate our code of conduct. I will report this to the project leadership.

Before making this statement, did you even try to make it compile?

Yes, I did compile it, you should check the first post. As for playing with the Kconfig settings I expect Nordic to have done that, and since the chip is in the list of the supported boards the peripheral_dis should work out of the box.

This is not a bug.

It is a bug because the sample doesn't work, it takes all the memory just to run the discovery services.

Zephyr is an open source project.

Zephyr is open source, but Nordic is a corporation. Making sure Nordic chips work well in Zephyr is a paid job, that is why you are here. So in the name of open source please don't ask Nordic's customers to do your job and for free.

I believe your statements and language violate our code of conduct.

Not sure about that, but I am sure Nordic won't appreciate their engineers are asking their customers to 'fix the platform's issue yourself and send us a PRs (for free)'

This is not a bug.

It is a bug because the sample doesn't work, it takes all the memory just to run the discovery services.

The definition of bug is different for every project, I am not aware of a universal definition applicable to all projects. In the case of Zephyr, the fact that a particular sample doesn't fit in a particular board in its default configuration, to my knowledge, is not considered a bug.

Zephyr is an open source project.

Zephyr is open source, but Nordic is a corporation. Making sure Nordic chips work well in Zephyr is a paid job, that is why you are here. So in the name of open source please don't ask Nordic's customers to do your job and for free.

And that's why Nordic offers the nRF Connect SDK, an SDK based on Zephyr but that comes with full commercial support.

I believe your statements and language violate our code of conduct.

Not sure about that, but I am sure Nordic won't appreciate to hear their customers are asked to 'fix the platform's issue yourself and send us a PRs (for free)'

We are definitely not doing that. For the nRF51 series, you have the officially supported software solution, which can be used freely to develop nRF51-based applications with the full support from Nordic.
If, however, you choose to try and use Zephyr with the nRF51, then you are not using the officially supported software framework, and thus the level of support differs substantially.

The definition of bug is different for every project, I am not aware of a universal definition applicable to all projects.

Good try, and good luck with that. Bye.

Alright then, I propose to close the issue so the conversation doesn't degrade a bit more.
@carlescufi you mentioned some work was being started to clarify what is supported and what is actually built/tested in regression. Could you close with a link to that if you have one?

Not a bug.


docs: TypeScript Support & Example

Describe the bug

TypeScript may cause issues because our SvelteKit app is already built when the build output lands in functions/lib/<site name>/.
How should this be recommended to users? If they include the compiled relative import in the uncompiled TS then the app may attempt to be recompiled by the TS compilation of the functions, which we do not want :thinking:
EG:
// functions/src/index.ts
svelteKit = require("../lib/<site name>/handler").sveltekitServer;`

This relative dir will be correct in the compiled code in functions/lib/index.js, but if the SvelteKit code is also passed through the TS compiler then we may have issues.

+1 for this -- would be great to have easy integration with Typescript


Readme.md spotify widget file not loading properly

Hey, I did all guide tasks. But in my readme.md file spotify status not loading. screenshot from issue
This issue happened when I created this line in my readme.md file:
[![Spotify](spotifygithub-ad0m0kijj-zephyrus-projects-51ab65a0.vercel.app/api/spotify)](https://open.spotify.com/user/akueay)

I'm facing a similar issue, Have you found any other way to solve it?

Hey @quarkum-0,
Unfortunately issue still going on. If I can solve it, I will let you know.

@Zephyruss1 I found an alternative for it. Take a look at this repo.


Error "The read session is not available for the input session token"

Describe the bug
I have been using this SDK fine for at least the last 6 months, up until today when I created a new Database (basically to rename the one I had), but now I am getting the error "The read session is not available for the input session token".
From my investigations, what seems to be happening is when I use the session token returned from an update on one container (call it ConainterA), on another container (ContainerB) is fails with the above message. When doing an update on ContainerB it returns a lower session token. So for example I update an item in ContainerA and it returns session "0:-1#30", and then try to use that on ContainerB it fails with the above error. If I then do and update on an item in ContainerB it returns the session as "0:-1#12". As far as I am aware the session token isn't per container? The strange thing is, when I point my code at the "old" server this all works fine and the response from ContainerA can be used against ContainerB. Both are in UK South. So not sure if this is an issue with the SDK or Cosmos itself?
To Reproduce
Create a new Database in UK south with 2 containers. Insert something into containerA and try to use the returned session token to query from containerB
Expected behavior
The session token from one container can be used on another container without causing error.
Actual behavior
Error is returned when using a session token from one container on another container
Environment summary
SDK Version: 3.11.0
OS Version: Windows

Couple of questions:

Are you using the same client?
Which consistency is set on the account?

It's exactly the same code, just config change, so yes same client.
Sorry yes should have said it's the default session consistency on both databases.

If it's the same client, you don't need to pass the SessionToken around. The SessionToken is for when you have multiple clients and you want to pass around the session scope outside.
SessionToken is scoped to a container/collection, the SDK's SessionContainer maintains the state per container https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/SessionContainer.cs#L41

Sorry, I misread what you meant by client. It's an ASP.NET Core application, and this is 2 different end points, so needs to be passed between them.
So I need to keep track of each SessionToken per container between each request?
I have been doing a bit more investigating and setting up a brand new Cosmos DB account, and initially it behaved as I expected, the SessionToken works across all containers. I realised the one thing that was different to this new ComosDB account over the old one, was I had used CosmicClone to copy the data across from old to new. Once I used that to copy some data from old repo into the test one, that's when things started to not work any more and couldn't use the same SessionToken across all the containers. So it might be something to do with the bulk import in that. If you can just answer my question above, I will then close this issue. Thanks.

I think there is a misunderstanding of how and what a session token is. The session token is like SQL Server Log Sequence Number (LSN). It's essentially is just a int that increments when ever something is written to the container.  The purpose of it is if you have your application scaled out across multiple machine, and you need to be sure that two instances are reading the same information then you can share the session token.
Example with both apps using the SDK in session token mode:
// Failure scenario
App 1: Creates item A
App 2: Reads item A, but gets a not found because it read from a replica that was behind
// Session token used to fix the above issue
App 1: Creates item A, then shares the session token with App 2
App 2: Reads item A with the session token returned from App 1 create operation. The read is now guaranteed to be successful and will not use a replica that is behind.
For your scenario where the data has been cloned the SessionTokens will not work as different operations are done on the separate containers causing the SessionToken to increment differently. As an example the original container might have had 10 separate create items, and the clone will only have 1 because of the bulk operation.
@kirankumarkolli or @ealsur do you have any suggestions on how to do this? The only thing I can think of is to simply do a read or query item on the cloned container to verify the information is there.

That is how I am using the SessionToken with multiple app servers. Front end stores SessionToken and sends it back, in case it hits a different app server. Not got replicas yet as still in dev, but in production will have multiple so needs to cover that scenario as well.
The cloned data does not have the same LSN as the original. For the same document, in the old account, it has 81834 and in the new it is 36, so don't think the cloning copies the LSN across, so had assumed it would work. Not got to the bottom of exactly what is causing the issue, but sounds you are suggesting it is the bulk copy that is causing it?
If I treat the LSN as per container, then it should work, but not sure if that is how it's meant to work, or if the LSN is meant to be across the whole Database and all the containers within it.

SessionToken is per a container, and represents a point in the logs. The cloned container is a completely different container, and will have completely different logs and there for completely different SessionToken values.
Simplified Example:
Container A: Create item a: session token 1
Container A: Create item b: session token 2
Container A: Create item c: session token 3
//Clone Container A to Container B
Container B: Bulk read items from container A then bulk insert item a, b, and c: session token 1

OK, thanks for the clarification that session token is supposed to be per container. Must have just been luck that it works on my old account then! I'll have to send all the container session tokens back and forth to the front end now then.


How to mark an HTML5 field as not required?

I have a input type="email". it is not required, however on IE9 if I submit the form with nothing in this field it still blocking the submittion and marks the field as required. I can change the type of the field to text and it works ok, however I will lose the email keyboard friendly on mobile devices.
Can I set an input type email as not required for IE9?

IE9 doesn't support input[type=email] and that may be why you're receiving odd issues with it.
http://caniuse.com/#search=email

Hi Nickelleon, thanks for your reply. I understand that IE9 does no support type="email", however I am using the recommended script for IE9 support (H5F).
It is for one form where the field is not required. I have implemented an workaround that changes the type of the field to text on page load if the browser is IE9 and below.

It seems like H5F doesn't implement any email address validation. Though it shouldn't mark the field as invalid. Did you remember to activate H5F?
H5F.setup(document.getElementById("myForm"))


HSL fork

Make a fork that uses HSL instead of RGB
Do it near the end so that it pulls across UI updates (for consistency)

https://github.com/TodePond/CellPond/tree/CellRoost


feat: Rat-dependent norm_num functionality

As per #1102, we extend norm_num to handle Rats.
We leave most of the theorems sorried, but the evaluation and tests work!

Since this is blocking a lot, let's merge it with sorries.
bors r+


Create a basic quickstart guide and move the basic deployment details

Some small details have been modified from the operator readme to make it clearer/easier.
Once this is merged we can remove those details from the operator guide.

Thanks @tpantelis for the quick review and suggestions. I have added your comments but one , see my comments to check if they make sense.


Show mouse display on hover

Minimal changes to match behavior of YouTube's player.
YouTube:

Video.js:

The transition: .. line is commented out to prevent noticeable lag between mouse hover and thumbnail holder.
Since hiding the mouse display is intended behavior, I think it would probably make more sense to add this as an option when initializing the plugin, although I'm not sure how that should be handled.

Would it make more sense to make this configurable via an initialization option?


ILog doesn't have a common method with LogLevel as argument

A common method could be like this:
Log(string message, LogLevel level)
Don't know why common-logging doesn't have this, I can see it is in log4j and other loggers. It could make things much easier sometimes.

Seems a reasonable convenience method to me.  Common.Logging doesn't have this (yet) b/c TBH "level I want to log" is almost always a design-time decision rather than a run-time decision (although I can def. see at least a scenario or two where it might want to be made at run-time).
Indeed, you will note that this suggestion is a duplicate of https://github.com/net-commons/common-logging/issues/83 which I actually opened some time ago (and provided just one such scenario as an example) :)
We could (mostly) shield a change to a low-level interface like this this from having a wide-ranging ripple-effect through the code of current Common.Logging adapter implementations for each logger by adding a default implementation of this method to e.g., AbstractLogger, that just uses a switch statement to pass through to the correct level-specific method but a change to the interface would (obviously) be a breaking change all the same.
We'll queue this up for considering in Common.Logging 4.0 (the next major version number where we'd be able to introduce backward-incompatible breaking changes, based on our adoption of SemVer for our versioning/release strategy).


Update BlockchainCon conference!

Details of the conference:

Website: http://blockchaincon.io
Date: 16th - 17th December
Venue: New Delhi

@amitkumarj441 Looks good now. Can you please squash the commits? Thanks!


Changed description of project and pipeline fields

Improved the description of the project and pipeline fields. Took me some time to find out that the pipeline filed was the definitionId you can read in the querystring...
Hope it helps!

@cmendible : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Hey guys any new on this one? cc @thomps23 @andyjlewis @davidstaheli


counter

generalize over idGenerator with more intuitive API
API
counter(from = 0, to = +Infinity);

Usage
const nextId = counter();
const id = nextId();

const nextStep = counter(0, 16);
const step = nextStep();

fixed in v1.8.0


App loading twice initially

Hi, I am new to angular 2 and I've upgraded the my application from RC4 to latest version and everything is working fine except the application loading twice initially by running with npm start command. I downloaded angular2-tour-of-heroes and run with JIT and same issue I found here as well.
Could you please let me know is this issue or is it functionality.
Thanks in advance

closing since this was rewritten with the CLI


How about the performance of grpc in Kong

About the implementation of grpc, we call the third-party grpc CMD through OS. Execute()? Is this guaranteed?

Hi @tangchuanyang1991. We only use a gRPC client through os.execute in tests. What's your concern specifically?

Closing this for now - the CLI tool grpcurl is used solely in tests.


Problem with redirect from URL with trailing /

I'm redirecting from URLs with a trailing slash, here is one example:
http://caleydo.org/projects/stratomex/
I use this redirect_from:
redirect_from: /projects/stratomex.html as instructed in #84 to overcome the MIME type issue.
Now, this works beautifully locally, for both the version with the trailing slash and without it, but  when I host this on github pages, only the version without the trailing slash works:
http://caleydo.org/projects/stratomex
I suspect that's not strictly an issue with jekyll-redirect-from, but I'd appreciate any advice on workarounds.

@alexsb Are you still experiencing this?

No, this works beautifully now! Thanks, much appreciated.


fix: typo and update config types

Hi, thanks for the project. And I fix some typo and update the latest config and interface_config type definition according to jitsi-meet. And I have a little suggestion that adding a lint config may be better.

close due to lint causing too many changes


3.1.0?

Thank you for compiling a new wheel for Windows! Curious will 3.1.0 be done as well?

Sure, now they're published


SUPPORT.MD proposal

The CSS (Microsoft Customer Service and Support) team has a process
for providing support to some products or projects. To help improve
the experience for such cases, this update proposes a new SUPPORT.MD
file to be placed in the default repo templates with information for
maintainers to update and publish.
For questions in the proposal, please reach out to JHornick or comment
on this original pull request.
This PR is originally targeting the mit (the standard Microsoft new project repo type).

lgtm


Escrow Kubernetes Credentials

We currently don't have a way to get Kubernetes credentials without using the Debug Service.
We should add an RPC endpoint that peforms yet another credential escrow: from cluster manager/client credentials to Kubernetes credentials.
Or, we should get kube-apiserver to accept Metropolis credentials? I think we don't want to do that thought, because the apiserver has no CRL functionality... To investigate.

Getting kube-apiserver to directly accept Metropolis credentials seems unwise because it doesn't really have a revocation story.
There is an option however to use a client credentials plugin together with an authenticating proxy which should get us there without needing another escrow mechanism.
@q3k What do you think?

Getting kube-apiserver to directly accept Metropolis credentials seems unwise because it doesn't really have a revocation story.

Or could we perhaps add a lightweight TLS inspecting proxy that checks revocation? That way we could avoid the client side plugin (if we even care about that).

Yeah, but we'd still need something to provision the credentials into K8s, so we might as well have that plugin. I have a prototype with it, it's super short (~50 LOC).

Ah - thought you were suggesting to use the same CA/certificates. Makes sense!

Working draft now up at
https://review.monogon.dev/c/monogon/+/508
https://review.monogon.dev/c/monogon/+/509
Automatic kubeconfig generation not yet implemented

Main feature landed in cc078df, I'm going to close this and track automatic kubeconfig configuration as part of metroctl


peers: Track errors across connections

This PR adds tracking of peer errors across peer connections.

The latest 10 errors are cached in a circular array in the peer struct (10 is a magic number, seemed reasonable).
On disconnection, the peer hands off this cache to the server
On reconnection, the server creates the peer struct with their historic error cache
The latest error for each peer is displayed in ListPeers; showing the whole list felt like overkill (?) but could do so (since we'd need to add an extra endpoint to expose them otherwise)

Fixes #3000

The latest error for each peer is displayed in ListPeers; showing the whole list felt like overkill (?) but could do so (since we'd need to add an extra endpoint to expose them otherwise)

Suggestion: A boolean parameter can be added to the RPC show-all-errors that will add the errors history only if true.
It will eliminate the need to add another RPC.

A boolean parameter can be added to the RPC include-all-errors that will add the errors history only if true.

@roeierez nice idea! Added this :)

Before adding those tho I think we need to decide whether this is meant to be for general debugging, or whether it should be reserved for in-protocol errors. imo i think the debugging tool is more useful so we can help node operators surface actionable errors.

I think debugging is also the primary use case here. Rather have more errors tracked and then potentially decrease what we track/ make cache size configurable etc.
For init, I'd say track invalid features and DLP required, pretty straightforward.
Disconnect is an interesting one, because I almost think you'd want to have the last disconnection reason around permanently, not have it in a buffer which may get over written after some number of errors. Maybe overkill, but it does seem to be a big debugging issue that people bring up so could be worth adding a dedicated last disconnection error field?

Rebased and updated some nits, going to wait on the change from @Crypt-iQ before merge, just so I can do one last set of tests.

Needs rebase. @Crypt-iQ's PR referenced hasn't yet entered the review cycle yet, so I think this can land, with that PR being updating the referenced area as needed.


Bug: Folder customization are applied directly

Description
The folder customizations are applied directly and the window minimizes as soon as you select a new icon or click Restore Default.
The Save & Restore buttons have no effect on the behavior of the customizations page.
Steps To Reproduce

Select a folder
Open the properties
Navigate to Customizations
Select a new icon or click Restore default

Requirements

Properties window is not minimized and remains open until Save or Cancel is clicked
The save button saves the new icon
Cancel button discards the changes
If possible, "Restore Default" should highlight the new icon in the selection after it is clicked

Files Version
<IP_ADDRESS>
Windows Version
10.0.25324.1011
Log file
n/a

Fyi @0x5bfa

Thank you for reporting. I can repro and Future PR will fix.


add graph.html and fullgraph.ttl to gitignore

Advances Domain
Mention the Domain this issue addresses, e.g.:

UX
resilience
community-expanding feature

now they are automatically added (only for the cli command)


Unicode Printing Issue

Trying out the unicode example in the Wiki, I get this output on Windows 10:

, 5

Unicode characters are saved in UTF-16, GBK, etc rather than UTF-8 by many editors on Windows. Try re-saving it in UTF-8, it will work as expected.

I did and using sublimetext, set to utf-8. I assume this would also involve setting the localization and not working directly since it is printing to the console.

I will make a full debug when I get back to my win 10 in a few days.

Updated, please try again.

No longer blank, but I get this now:
Σ╜áσÑ╜Σ╕ûτòî
πüôπéôπü½πüíπü», 5


CLI Error: [ERROR] Could not resolve "readline/promises"

Using the Braintrust CLI, I am getting the error, [ERROR] Could not resolve "readline/promises" when i run the command npx braintrust eval -- /Users/ben.p/projects/chatbot/packages/chatbot-server-mongodb-public/src/config.eval.ts
Full error trace:
npx braintrust eval -- /Users/ben.p/projects/chatbot/packages/chatbot-server-mongodb-public/src/config.eval.ts
✘ [ERROR] Could not resolve "readline/promises"

    ../../node_modules/typechat/dist/interactive.js:8:43:
      8 │ const promises_1 = __importDefault(require("readline/promises"));
        ╵                                            ~~~~~~~~~~~~~~~~~~~

  You can mark the path "readline/promises" as external to exclude it from the bundle, which will
  remove this error. You can also surround this "require" call with a try/catch block to handle this
  failure at run-time instead of bundle-time.

Failed to compile /Users/ben.p/projects/chatbot/packages/chatbot-server-mongodb-public/src/config.eval.ts: Build failed with 1 error:
../../node_modules/typechat/dist/interactive.js:8:43: ERROR: Could not resolve "readline/promises"
Processing 0 evaluators...

This is for the code here - https://github.com/mongodb/chatbot/pull/489/commits/ae84fb5cf381ffee3901fe260a871bce6b070e1f
seems related to https://github.com/serverless/serverless/discussions/11026. Something about how the braintrust CLI compiles the TS to JS.
I suspect I can figure out how to debug this to work in my env having dealt with similar before, but thought I'd share the issue here in case there's a more systematic fix that you know of/can implement.
Will also share any solution I get here for public visibility.

ok, fixed it by upgrading typechat to version 0.1.0...the joys of JavaScript development.
for my education and future debugging, how to do compile and feed the TS files to the braintrust CLI?
i think you can close this issue unless there's something deeper here that this problem revealed.


Fix/disable some changing/out-of-date packages

orpie's mirror is down, is flagged out-of-date
attic/atticmatic are now borg/borgmatic, atticmatic removed from AUR
terraform-bin is broken, is flagged out-of-date
tucnak3 superceded by tucnak4, is flagged out-of-date, mirror url
changed, no tucnak4 pkgbuild available

Why not switch to terraform?
https://aur.archlinux.org/packages/terraform/

I'm fine with that, I thought it took way too long to compile and would be annoying, but things have changed and it only takes 1m45s to clone and build it, so I'll add it.

We got orpie moved to github and the pkgbuild is now working. Can you uncomment that?

done!


gparyani: Watch Persatuan Insurans Am Malaysia

gparyani requests the watch of the watch_keyword Persatuan Insurans Am Malaysia. See the MS search here and the Stack Exchange search here.

Persatuan Insurans Am Malaysia has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Add workaround to fix nvvideo4linux2 build

With GCC 10+, -fcommon is no longer the default. This is not a significant issue for the majority of packages, as they have been updated to reflect this change. However, nvvideo4linux2 has not, and requires this work-around to successfully build with GCC 10+.
Please let me know if this isn't the desired way to fix this issue!

Could you update the commit and also add a signoff line per our contribution guidelines?
I suspect this isn't the only recipe that will need something like this. Most folks use an older compiler for CUDA/nvcc compatibility, so building with the latest compiler in OE-Core doesn't happen very often.  Thanks!

Updated commit to add sign-off, and changed the env to CFLAGS per suggestion.

I suspect this isn't the only recipe that will need something like this. Most folks use an older compiler for CUDA/nvcc compatibility, so building with the latest compiler in OE-Core doesn't happen very often. Thanks!

Actually, this was the only recipe that was causing trouble! Every other recipe built just fine -- at least, on gcc version 10.2.0 (GCC)


warnings from ndarray alerting to deprecated method

warning message
pyenv-win\versions\3.9.1\lib\site-packages\autolv\datatypes.py:148: VisibleDeprecationWarning:
Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.

Provide the LabVIEW control that led to the warning and I'll take a look.

I have tracked this deprecation warning to the Waveform Graph control that is a cluster of (t0, dt, Y) where t0 and dt are scalers and Y is a 1d array. Numpy considers this a ragged array.

>>> import autolv
>>> lv = autolv.App()
>>> vi = lv.open("d:/Python/autolv/tests/graph_cluster.vi")
...\autolv\datatypes.py:148: VisibleDeprecationWarning: Creating an ndarray from
ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with
different lengths or shapes) is deprecated. If you meant to do this, you must specify
'dtype=object' when creating the ndarray.
value = np.array(value)
>>>

Thanks for fixing this issue.


How to install JupyterLab extensions

Problem
I am working with @jweill-aws to improve the retrolab shell to handle the L and R areas. Wondering if there is a way to install JupyterLab extensions that use the L/R area into retrolab - such as the table of contents, running panel, debugger, etc.

Related issue: #268
I've been working on adding left and right areas to RetroLab. I spent some time earlier today trying to bring the toc-extension and toc directories over from JupyterLab, but when I pulled in all the dependencies required to build that code, a single changelist included over 500 files. In addition, the extension expects to be added to an ILabShell, whereas RetroLab uses an IRetroShell interface. In addition, TableOfContents isn't properly recognized as a Widget because "Type 'import("/Users/jweill/git/retrolab/packages/apputils/node_modules/@lumino/widgets/types/layout").Layout | null' is not assignable to type 'import("/Users/jweill/git/retrolab/node_modules/@lumino/widgets/types/layout").Layout | null'."
Although we have had a previous discussion about merging RetroLab into the JupyterLab simple interface (#257) the work I've been doing for #268 presumes that RetroLab will continue to exist on its own. The work I've done so far suggests that we might need data structures to bridge ILabShell with IRetroShell in order to use JupyterLab extensions like toc with both.
My work-in-progress branch for #268: https://github.com/jweill-aws/retrolab/tree/left-right-widgets

Thanks @ellisonbg @jweill-aws.
As a first step we'll need to add support for the left and right areas in the RetroShell:
https://github.com/jupyterlab/retrolab/blob/2a96903699b66544a2c3c076cc5583e35d79dca7/packages/application/src/shell.ts#L200
Maybe we can use a StackedPanel without the TabBar to place the widgets in it.
Additional upstream dependencies and extensions are added to the package.json here:
https://github.com/jupyterlab/retrolab/blob/2a96903699b66544a2c3c076cc5583e35d79dca7/app/package.json#L94-L131
And listed here:
https://github.com/jupyterlab/retrolab/blob/2a96903699b66544a2c3c076cc5583e35d79dca7/app/package.json#L158-L229
And loaded here:
https://github.com/jupyterlab/retrolab/blob/2a96903699b66544a2c3c076cc5583e35d79dca7/app/index.js#L156-L212
So for @jupyterlab/toc-extension the change should normally be pretty minimal.
Here is an example PR that added @jupyterlab/hub-extension to RetroLab: https://github.com/jupyterlab/retrolab/pull/148

are these left and right panels going to make significant visual changes relative to the classic interface? as we sunrise notebook, we've talked about having nearly the same interface as classic.
i think folks would love to use these tools. i could imagine the new features showing up over time. some stories i could imagine:

i'm a user looking to write code and narrative in a classic notebook, i expect to see the form of the classic interface, if i don't the illusion is up
i'm a user that writes markdown with headings in it, i'm alerted of the table of contents feature then i start outlining my ideas as a table of contents
i'm a user writing code and throw an exception, the debugger alerts me of its existence.

if we are talking about adding the edges of retrolab, is the status bar a feature we'd like to have? while working in retro i find myself looking for a status bar that isn't there. it's a good feature of jupyterlab.
there is definitely precedence for these features. nbcontrib has a table of contents extensions that seems to dock on a side or float. they also add a navigate menu item that seems practical. there is definitely precen

are these left and right panels going to make significant visual changes relative to the classic interface? as we sunrise notebook, we've talked about having nearly the same interface as classic.

I think we should make them as invisible as possible to normal users wanting the most vanilla classic experience. Just like it is the case now. Hidden by default should be the default.
As hinted in https://github.com/jupyterlab/retrolab/issues/268#issuecomment-960622997, we should check the current behavior in classic when some nbextensions are installed (for example toc2).

if we are talking about adding the edges of retrolab, is the status bar a feature we'd like to have?

Probably, but this should be hidden by default too. Otherwise we might end up re-implementing JupyterLab.

@jtpio Thanks again for your detailed replies! I have a change in progress on my development branch to add the toc extension. As you had suggested, it uses a StackedPanel and no TabBar. I ran into significant compilation problems after incorporating toc-extension by copying the contents of packages/toc-extension over from jupyterlab to retrolab. For example, toc-extension expects the shell to be an instance of ILabShell, but RetroLab instead uses IRetroShell.
After modifying the toc-extension code to use the appropriate shell interface, I found an error because of conflicts between versons of @lumino/widgets. See below. I can try to remove the added packages and instead modify the package.json file as you stated in your comment on Saturday. Thanks again for your help!
Argument of type 'TableOfContents' is not assignable to parameter of type 'Widget'.
  The types of 'title.owner.layout' are incompatible between these types.
  Type 'import("/Users/jweill/git/retrolab/packages/apputils/node_modules/@lumino/widgets/types/layout").Layout | null' is not assignable to type 'import("/Users/jweill/git/retrolab/node_modules/@lumino/widgets/types/layout").Layout | null'.
  Type 'import("/Users/jweill/git/retrolab/packages/apputils/node_modules/@lumino/widgets/types/layout").Layout' is not assignable to type 'import("/Users/jweill/git/retrolab/node_modules/@lumino/widgets/types/layout").Layout'.
  Types of property 'removeWidget' are incompatible.
  Type '(widget: import("/Users/jweill/git/retrolab/packages/apputils/node_modules/@lumino/widgets/types/widget").Widget) => void' is not assignable to type '(widget: import("/Users/jweill/git/retrolab/node_modules/@lumino/widgets/types/widget").Widget) => void'.
  Types of parameters 'widget' and 'widget' are incompatible.
  Type 'Widget' is missing the following properties from type 'Widget': hiddenMode, _hiddenMode

I ran into significant compilation problems after incorporating toc-extension by copying the contents of packages/toc-extension over from jupyterlab to retrolab. For example, toc-extension expects the shell to be an instance of ILabShell, but RetroLab instead uses IRetroShell.

We don't need to copy the toc-extension package to the retrolab repo. Instead we use the approach mentioned in https://github.com/jupyterlab/retrolab/issues/272#issuecomment-962424950 to incorporate it as an external dependency, so it can be reused as is.
At startup the @jupyterlab/toc-extension extension will add the widget to the left area: https://github.com/jupyterlab/jupyterlab/blob/114159269a76c4a8d4c1e725e882d7c8a7791869/packages/toc-extension/src/index.ts#L95

For example, toc-extension expects the shell to be an instance of ILabShell, but RetroLab instead uses IRetroShell.

Ah right, I thought it was adding the widget via app.shell already. So from here we have two options:

make a PR to jupyterlab to add the toc via app.shell instead of labShell. So labShell.add(toc, 'left', { rank: 400 }); becomes app.shell.add(toc, 'left', { rank: 400 });. We could then make the ILabShell dependency optional in the upstream @jupyterlab/toc:plugin: https://github.com/jupyterlab/jupyterlab/blob/114159269a76c4a8d4c1e725e882d7c8a7791869/packages/toc-extension/src/index.ts#L232
we start making RetroShell a LabShell (as discussed in https://github.com/jupyterlab/retrolab/issues/257#issue-1035446774)

It would have been nice to start with option 1, so we only add what is needed. Instead of taking the lab shell and trimming / hiding what we don't want.

I found an error because of conflicts between versons of @lumino/widgets

Probably JupyterLab is using more recent versions of the Lumino packages. We can update them in RetroLab with by running this command:
jlpm run update:dependency --regex @lumino/ latest

make a PR to jupyterlab to add the toc via app.shell instead of labShell

For reference there were a couple of upstream PRs to make some of the plugins more easily reusable in RetroLab. For example:

https://github.com/jupyterlab/jupyterlab/pull/9667
https://github.com/jupyterlab/jupyterlab/pull/9467
https://github.com/jupyterlab/jupyterlab/pull/9442
https://github.com/jupyterlab/jupyterlab/pull/9439

Thanks again! I'm working on removing ILabShell from packages/toc-extension/src/index.ts, replaces references to labShell with app.shell, but this line now indicates an error because currentChanged is not a property of IShell:
https://github.com/jupyterlab/jupyterlab/blob/114159269a76c4a8d4c1e725e882d7c8a7791869/packages/toc-extension/src/index.ts#L192-L193
I'll see if I can do a little more refactoring. Should I open an issue in @jupyterlab/jupyterlab to capture this work?

this line now indicates an error because currentChanged is not a property of IShell:

Right. So usually we make ILabShell an optional dependency (instead of requires). And guard the access to currentChanged with if (labShell) {}. This pattern is heavily used across the jupyterlab code base.

Created issue and PR (https://github.com/jupyterlab/jupyterlab/pull/11420) mentioned above to modify the toc extension for compatibility with RetroLab.

Also if we want to move forward with this, we can temporarily vendor the code in the toc-extension: https://github.com/jupyterlab/jupyterlab/blob/master/packages/toc-extension/src/index.ts.
And add it to https://github.com/jupyterlab/retrolab/blob/main/packages/application-extension/src/index.ts for now to avoid creating a new package since it's temporary anyway.
Until a new release of the upstream @jupyterlab includes the change in https://github.com/jupyterlab/jupyterlab/pull/11420. Then we can remove the vendored code and use the approach mentioned in https://github.com/jupyterlab/retrolab/issues/272#issuecomment-962424950.
That way we can still make progress and start opening a draft PR.

Closing in favor of https://github.com/jupyter/notebook/issues/6326.


⚠ Jenkins Plugins Artifactory has degraded performance

In eaba166, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1168 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 21a0016 after 12 minutes.


Minor fixes to pub sub tutorial

Small change to fix some capitalization on the Rust code pasted in the pub/sub tutorial.
Add a link to the installation instruction from the main README.md

Be sure to merge the latest main into this branch in order for the CI to pass.


promql: simplify Native Histogram arithmetics

https://github.com/prometheus/prometheus/pull/13208 has added support for reduction of resolution when adding/subtracting Native Histograms, so now these operations can be safely performed in any order, regardless of histogram schemas. Thanks to that change we can now simplify Native Histogram arithmetics in promql engine.
As a side effect, there will be some reduction of allocations when processing histograms with varying resolutions. Also, some .Mul(-1) calls will now be avoided.

@beorn7 any comments on this?

Thank you very much. This PR fell through the cracks over the holidays. (Feel free to @-mention me on histogram related PRs. The histogram related code is sprinkled all over the codebase so I cannot be auto-assigned to histogram-related PRs.)
I will look at this ASAP.


Wallet hangs when connecting to a remote LND node

Description
Wallet hangs when trying to connect to a remote LND node (Connect to your own node item during onboarding). Happened to me when creating a new connection and there was no saved last active node. After reloading the wallet it works as expected with previously saved credentials

Expected Behavior
You should be able to connect to your node

Actual Behavior
Wallet hangs

Possible Fix
Could be related to #1223

Steps to Reproduce

Start wallet
Choose "Connect to your own node"
Enter details. Either admin.macaroon or tls.cert must be incorrect
Input password and hit Next
Wallet hangs

Context

Your Environment

Zap Desktop version: built from source, dev mode (npm run dev)
Operating System and version: Win10

Might have been fixed by #1235


multipart/form-data POST body doesn't parse

Hello, trying to figure out how to handle a file upload via multipart/form-data POST body; here is my Humming-Bird code:
#!/usr/bin/env raku

use v6.d;
use Humming-Bird::Core;
use Humming-Bird::Middleware;
use Humming-Bird::Advice;
use Template::Mustache;

my $template = Template::Mustache.new: :from<./templates>;

middleware &middleware-logger;
advice     &advice-logger;

get '/', -> $request, $response {
    my Str %stash = title => 'File upload';

    $response.html($template.render: 'index', %stash);
};

post '/', -> $request, $response {
    dd $request;

    $response.redirect('/');
};

listen 3000;

And here is my template/form:
<!DOCTYPE html>

  <title>{{title}}</title>

{{title}}

<form method="post" enctype="multipart/form-data">

    File
    <input type="file" name="file-upload" id="file-upload"
           accept="image/jpeg, image/png, .jpeg, .jpg, .png">

  <button type="submit">Upload</button>
</form>

When I make the POST in my browser by uploading a small (<100KB) JPEG, I get a TCP reset in the browser and in the text console I get:
Malformed UTF-8 near bytes 0d 0a ff at line 23 col 1
  in block  at /home/daniel/.raku/sources/000B68E7460EE82EB3F0D7FFB96DAB6C0199C762 (Humming-Bird::HTTPServer) line 43

I get this even if I comment out the dd $request line so it seems to not like that POST body. I tried stopping the script after performing the GET to render the form, firing up nc -l 3000 in a terminal and then completing the form in my browser. The POST request body includes a Content-Disposition header and a Content-Type header and looks like a well-formed multipart/form-data POST to me:
POST / HTTP/1.1
Host: localhost:3000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115
.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: multipart/form-data; boundary=---------------------------21740014396030127931917243238
Content-Length: 31382
Origin: http://localhost:3000
DNT: 1
Connection: keep-alive
Referer: http://localhost:3000/
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1

-----------------------------21740014396030127931917243238
Content-Disposition: form-data; name="file-upload"; filename="screenboop.jpg"
Content-Type: image/jpeg

<binary stuff here...>
-----------------------------21740014396030127931917243238--

I was hoping I could access the content-type and parameter name attributes in addition to the bytes that comprise the file itself. Would be neat to handle multiple files too using the filename attribute if that's do-able?

@swaggboi This is an oversight in the inferred content parser. Also please update your Humming-Bird to 3.0.0 and re-test, it will give us a better error message to work with.

@rawleyfowler I'm having trouble getting Humming-Bird::Advice on a couple Debian 12 machines I tried with similar outcome:
$ zef install -v --force-install https://github.com/rawleyfowler/Humming-Bird.git
===> Fetching [OK]: https://github.com/rawleyfowler/Humming-Bird.git to /home/daniel/.zef/tmp/1699500637.1429275.1118.5605163009361/Humming-Bird.git
===> Extraction [OK]: https://github.com/rawleyfowler/Humming-Bird.git to /home/daniel/.zef/tmp/Humming-Bird.git
===> Testing: Humming-Bird:ver<3.0.0>:auth<zef:rawleyfowler>
[Humming-Bird] t/01-basic.rakutest .............. ok
[Humming-Bird] t/02-request_encoding.rakutest ... ok
[Humming-Bird] t/03-response_decoding.rakutest .. ok
[Humming-Bird] t/04-middleware.rakutest ......... ok
[Humming-Bird] t/05-cookie.rakutest ............. ok
[Humming-Bird] t/06-redirect.rakutest ........... ok
[Humming-Bird] t/07-advice.rakutest ............. ok
[Humming-Bird] t/08-static.rakutest ............. ok
[Humming-Bird] t/09-routers.rakutest ............ ok
[Humming-Bird] t/10-content-guessing.rakutest ... ok
[Humming-Bird] t/11-advanced-query.rakutest ..... ok
[Humming-Bird] t/12-headers.rakutest ............ ok
[Humming-Bird] All tests successful.
[Humming-Bird] Files=12, Tests=88,  8 wallclock secs
[Humming-Bird] Result: PASS
===> Testing [OK] for Humming-Bird:ver<3.0.0>:auth<zef:rawleyfowler>
===> Installing: Humming-Bird:ver<3.0.0>:auth<zef:rawleyfowler>
===> Install [FAIL] for Humming-Bird:ver<3.0.0>:auth<zef:rawleyfowler>: ===SORRY!=== Error while compiling /home/daniel/home#sources/4FB18FDB645F4341AC241AC828C268FBB2F05A39 (Humming-Bird::Advice)
Invalid typename 'Response' in parameter declaration.
at /home/daniel/home#sources/4FB18FDB645F4341AC241AC828C268FBB2F05A39 (Humming-Bird::Advice):26
------> sub advice-logger(Response:D⏏ $response --> Response:D) is export {
    expecting any of:
        pair value

===SORRY!=== Error while compiling /home/daniel/home#sources/4FB18FDB645F4341AC241AC828C268FBB2F05A39 (Humming-Bird::Advice)
Invalid typename 'Response' in parameter declaration.
at /home/daniel/home#sources/4FB18FDB645F4341AC241AC828C268FBB2F05A39 (Humming-Bird::Advice):26
------> sub advice-logger(Response:D⏏ $response --> Response:D) is export {
    expecting any of:
        pair value

@swaggboi Ah shit. zef install --force-install --force-test for now. I will fix this along with this bug, and release as 3.0.1 tonight.

OK sounds good, I ended up installing rakubrew to try to work around it... Didn't work but at least I have it now 😅

Yeah that's totally my bad. I missed an import on the default advice module (guess its time to write a test there :P )

@swaggboi  Going to push up some experimental changes to a branch, feel free to pull them down and try them out. (I haven't 100% cased parsing multipart yet, but it shouldn't explode anymore).

https://github.com/rawleyfowler/Humming-Bird/tree/fix-multipart

@swaggboi I've got a release coming out in a few minutes that doesn't fix this unfortunately, but it sets the ground to fix it. Raku really gets in your way when it comes to dealing in binary, and since multipart is half-binary-half-text the encoding is having a stroke.

@rawleyfowler Thank you sorry last night I got tired fighting rakubrew (unrelated to this) and ended up throwing in the towel. The system raku works fine so tonight after work I can pivot back to testing this ☢ 🤪

@swaggboi You should be able to pull 3.0.1 in a few minutes!

@rawleyfowler I can run this now with no errors (and I'm finally on v3!)

@swaggboi Awesome. Just you wait, I now know wayyyy too much about multipart/form-data and a file-upload fix is coming!

@rawleyfowler I owe you a coffee or 12!

@swaggboi This should all be cleaned up in 3.0.2. Thanks again for the great bug reporting :D


Big Feature: show Asset Allocation for portfolio

per request here:
https://www.bogleheads.org/forum/viewtopic.php?p=7129848#p7129848

Aguilar wrote: ↑Sun Feb 19, 2023 11:10 am
I wish I could plug my accounts into a program that spits out my AA automatically, but I'm not aware of a way to do that. In my portfolio I have a taxable account with mutual funds; a Roth IRA with mutual funds and an ETF; a 401k with mutual funds; an online savings account where I keep my EF and my paychecks go; regular checking and savings accounts, where I have a direct deposit set up with my checking; iBonds; and some treasury bonds. For me to calculate my AA, I have to tally everything up manually. Note, my taxable account and Roth are with eTrade but my 401k is with Fidelity so I can't rely on one of them to provide me with an AA automatically, cash aside.

preliminary work:
set "assetType" in funds.json to stock, internationalStock, bond ... or left unset if it is a blend, or if I don't know what it is.
(see https://raw.githubusercontent.com/bogle-tools/site/main/wwwroot/data/funds.json)

Added beginning of actual asset allocation feature.
commit: https://github.com/bogle-tools/site/commit/2ee41b0ff600d71e01c752cb6feff9c20fb4a998

Private message:
What about balanced funds.  For example, VBIAX or FBALX.    Or Wellesley. I tried many of the account types.  Any trick to getting the tool to recognize or allow me to manually set the stock/bond/intl stock/intl bond/cash ratio?

Fixed by https://github.com/bogle-tools/site/commit/cad7c38e2e0db4fc13c3f0d0df4d5ee36774946d


Fix Example User

We need a new user that has access to all the data centers with the same credentials
We need to update travis/whatever else to use secret keys for the user's access key rather than setting it in ENV of the CI tool.

Updating travis.yml is not a blocker for release


Auto deployment of main branch to staging isn't working

Summary
I noticed that the main branch isn't automatically deploying to staging according to the revision.log found in the diaper staging server:
Branch main (at 219a30f917c9500063ad128a9709ff907a9c850d) deployed as release<PHONE_NUMBER>2616 by edwinmak
Branch main (at 722b0325e68b6df9709aed5b48835d77d7abe5e8) deployed as release<PHONE_NUMBER>5407 by runner
Branch main (at 5669bbdc5e6f220a57fd82c468121abe151770ad) deployed as release<PHONE_NUMBER>1625 by runner
Branch main (at 7e83324bf9b3e8521bbdf672f37eaa5f7141919e) deployed as release<PHONE_NUMBER>0442 by runner
Branch main (at 7e83324bf9b3e8521bbdf672f37eaa5f7141919e) deployed as release<PHONE_NUMBER>0533 by runner
Branch main (at 7e83324bf9b3e8521bbdf672f37eaa5f7141919e) deployed as release<PHONE_NUMBER>1048 by runner
Branch highcharts (at 0e301b257c15747426cc1c6f4b7e4b8c515327a4) deployed as release<PHONE_NUMBER>4227 by sean
Branch main (at 4386dd3af7aa4e57b85de7de1b79d6f0497d454b) deployed as release<PHONE_NUMBER>5821 by edwinmak

Let's see if we can fix this so it auto deploys again after our tests pass.
Things to Consider
We should only deploy if our tests pass
Criteria for Completion

[ ] Merging new code that passes all our tests will get automatically deployed to our staging environment.

Downgrading capistrano3-puma fixed it.


game crashes every time i click something

Geode Issue

[X] I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
Geode Version
2.0.0-beta.23
Mods Installed
No response
Steps to Reproduce
I was messing around with texture packs to change my difficulty faces and when i tried to boot up the game and click on the play button, the game crashed immediatly
Crash Report
2024-04-01_21-40-57.log
Additional Information
No response

can you reproduce this crash without any mods installed?

how do uninstall mods without the game being opened?

hold SHIFT while starting the game, that'll enable safe mode

i tried it and it didnt work??

hold it while pressing start in steam until you get this popup

this should pop up before gd opens

the crash still happened though and in the logs, the faulty file is Geode.dll

it happens every time i click the icon menu, the play button and custom levels button

your texture pack messed up GJ_gradientBG.png - verify file integrity in steam and try again

right click gd and go to properties

then go to installed files and click "verify integrity of game files"

alright (cool niko cursor)

does the crash still happen?

thank you th game works properly now but none of the texture pack files work now

yeah, as i stated previously, its sadly an issue with your texture pack - not with Geode

ok thank you for helping me :)


feat(obstacle_avoidance_planner): better boundary search for MPT

Related Issue(required)

Description(required)
When there are multiple candidates of bounds (e.g. there is a vehicle to be avoided in the middle of the lane, and we're not sure which way to avoid (right or left)), sometimes discontinuity of boundary along the trajectory occurs.
Therefore, we pick up the boundary with the following steps.

Step 1. check if bounds is continuous to the previous one along the trajectory

Since there is distortion due to the trajectory's curvature, we just check if current and previous one are overlapped.

Step 2. check if bounds is longer than vehicle width.
Step 3. pick nearest bounds to the trajectory from valid ones

This is the usecase which failes without this PR.

Before this PR

After this PR

Review Procedure(required)

Related PR(optional)

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read commit-guidelines
[ ] Assign PR to reviewer

If you are adding new package following items are required:

[ ] Documentation with description of the package is available
[ ] A sample launch file and parameter file are available if the package contains executable nodes

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the [guidelines][clang-tidy-guidelines].
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

I confirned the obstacle_avoidance_planner works well.


Error from array CSRF token

If the user POSTs an array value for the CSRF token, then CodeIgniter generates a PHP warning while trying to validate the CSRF value:
Severity: Warning
Message: hash_equals(): Expected known_string to be a string, array given
Filename: core/Security.php
Line Number: 231

Since the POSTed CSRF token is under the control of the user, CodeIgniter should cleanly handle this, instead of generating a warning.

This was already fixed in ba67b297d1e2baa281eed2cc7bf1fb16742cde87.

Thank you.
The fix is not yet in the develop branch?


Call for testing of traingulation backend

Depends on https://github.com/napari/napari/pull/7346

Closed and reopened to trigger CircleCI - turns out for some reason the ability to build for forks/PRs was turned off. Seems like it's working now!

On my blog, the list of articles is showing begin of posts
https://czaki.github.io/blog/

When on napari we have only titles:

I think that having first paragraph will be more readable.

Let me see if this is possible out-of-the-box with ablog


[BP-1.11][FLINK-16827][table-planner-blink] StreamExecTemporalSort should requ…

…ire a distribution trait in StreamExecTemporalSortRule.
This closes #11643

What is the purpose of the change
This pr adds FlinkRelDistribution to StreamExecTemporalSortRule.
Brief change log
This pr adds FlinkRelDistribution to StreamExecTemporalSortRule.
Verifying this change
This change added tests and can be verified as follows:

TemporalSortITCase.testEventTimeOrderByWithParallelInput

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

CC @wuchong

Merged via 076a474cee465d3fc3267e2d2367bfdb59fce1d4


Unexpected token

I have included vue-pdf in my application but it now fails to build:
SyntaxError: Unexpected token (2:0) while parsing vuePdfNoSss.vue while parsing file: node_modules/vue-pdf/src/vuePdfNoSss.vue
at DestroyableTransform.end [as _flush] (node_modules/insert-module-globals/index.js:107:21)
I'm building using babelify, etc:
browserify -t vueify -e ./src/vue.js -o dist/bundle.js -t [ babelify --presets [ 'es2016' ] ]
Any help would be appreciated :-)

Same issue:
[vue-router] Failed to resolve async component default: SyntaxError: Unexpected token <
[vue-router] uncaught error during route navigation:
~/node_modules/vue-pdf/src/vuePdfNoSss.vue:1
(function (exports, require, module, __filename, __dirname) {

Exactly same issue.
Use with nuxt js.

Hello,
Component work fine when app is fully loaded. But when i refresh the page or if i'm landing directly on this page i get a nuxt error.
logs says

render function or template not defined in component: anonymous

if i look deeper it's vue-server-renderer who return an error.
for fun i've try to use but the issue stay the same.
Anyone have an idea to solve this ?
thanks.
--sorry for my english, my french is better--

Same problem here.

same question. how to fix?

I also encountered the same problem. Is there a solution?


Dweet sensor

I'm trying to add a Dweet sensor but does not appear on the dashboard . In the Log file shows that:
15-12-17 16:41:54 homeassistant.loader: Unable to find component sensor.dweet
15-12-17 16:41:54 homeassistant.bootstrap: Unable to find platform sensor.dweet

Are you using dev or 0.9.1?

Thank you , the version is 0.9.1. :(

dweet will be available in the next release.


Building fails with "Error: Cannot find module 'plist'"

After updating to version 0.2.6, all builds (even Android ones) fail with Error: Cannot find module 'plist'. Reverting the version back to 0.2.5 makes the builds work again. Is there something I need to change in the configuration before being able to use version 0.2.6?
Someone else reported this problem as well, on the Ionic Forums: https://forum.ionicframework.com/t/ionic-package-build-fails-error-cannot-find-module-plist/96585

Does this only happen with Ionic Package or also locally?
Ionic Package is a special kind of environment, especially hooks are quite limited there.

For the person on the forums apparently it happened in Ionic Package. For me, it happens locally when I build on our Jenkins server.

Ok, then it's not an Ionic Package thing. Carry on ;)

Hi guys, I introduced a dependency to resolve an issue with pList file on iOS. That's the cause of this bug.
I'm working on a new version that includes the dependency inside the same file, so Cordova doesn't need to install anything.
I'll publish the update today, hopefully.
Stay tuned :)
Thanks.

Just pushed on npm version 0.2.7, please update and let me know if it works for you thanks! @EmielH @janpio

It's working again for me. Thanks a lot!


Intermittent (but frequent) reporting issue

Today I began seeing errors when running my test suite. I'm seeing two errors messages every time a test spec finishes running. The first one is the same for every test spec, while the second one changes, sometimes having to do with a specific test case ID. This may be an issue with test rail itself, because wen I try to search for some of the test cases in question inside Testrail, the search won't find them, even though they re definitely there. The errors are as follows:
Could not add TestRail test cases to run R93: 400 Bad Request >> Field :case_ids is not a valid ID.
Could not send list of TestRail results: 400 Bad Request >> Field :results.case_id is not a valid ID.

Second pair of errors complaining about a specific test case:
Could not add TestRail test cases to run R93: 400 Bad Request >> Field :case_ids is not a valid ID.
Could not send list of TestRail results: 400 Bad Request >> Field :results contains one or more invalid results (case C2623 unknown or not part of the test run)

This started today. I've run the full suite 5 times, and all but once only 6 test cases were reported. In one run, 43 were reported (closer to the actual number of automated tests).
Currently running cypress-testrail 2.6.0 and Cypress 12.8.0
Any help would be much appreciated.

This is not happening for 100% of my tests. I just upgraded to 2.7.0 and I'm getting the same result. Has anyone else come across this issue? It seems that cypress-testrail isn't reading the case ids and sending "case_ids" as a string instead. I haven't changed the naming convention on my tests so I'm not sure why it stopped working.

I've found the issue. One of our contributors included commas in between test cases. This was causing the comma to be included in the case is string. Closing this issue.


refactor: SaaS 端下线后台相关路由 (closed #1569)

Codecov Report

Merging #1570 (85f07fb) into v2.3.2-dev (d04d0ee) will decrease coverage by 8.33%.
The diff coverage is 57.14%.

@@              Coverage Diff               @@
##           v2.3.2-dev    #1570      +/-   ##
==============================================
- Coverage       73.36%   65.04%   -8.33%
==============================================
  Files             387       16     -371
  Lines           26100      595   -25505
==============================================
- Hits            19148      387   -18761
+ Misses           6952      208    -6744

Impacted Files
Coverage Δ

config/dev.py
18.51% <25.00%> (-59.26%)
:arrow_down:

config/default.py
73.78% <100.00%> (-9.62%)
:arrow_down:

... and 381 files with indirect coverage changes


Onboard existing DID user

Key asks
How are DID-JWTs - created elsewhere - onboarded into ident and onboarded to orgs?
Use of corresponding refresh tokens, self sovereign keys

Absent of a email/password - a pre-dusting DID user could be added by providing a valid digital signature with the public key corresponding to the DID. This would be the procedure for login as well.
Auth requests would be received in  DID-JWT format. No other changes to session/refresh tokens


Add SENA.edu.co

Institution/School Name SENA
Instiution/School Websitehttps://www.sena.edu.co/
Email<EMAIL_ADDRESS>place an x between the square brackets if yes- [ x] Students- [ ] Academic/Teaching Staff- [ ] Other/Support Staff- [ ] Alumni
Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research- [ ] Graduate School- [ ] College (University) or Undergraduate School or equivalent- [x ] Community College or equivalent- [ ] High School or equivalent- [ ] Elementary School or equivalent

@contrerasroaca I am sorry, SENA seems to be an organization which develop educational programs for vocational schools, isn't it? This repository is for universities and colleges only. If you are a student or a teacher, you may wish, however, to apply for your free educational license for JetBrains tools with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).
Please reopen the request if I am mistaken. Feel free to send an email with more details to<EMAIL_ADDRESS>


Angular Wrapper Directive

In order to use Tooltipster I had to roll an Angular directive and I thought it might be worthwhile to share the code back to the community!
Exclusive scoping is not required and everything is 100% overrideable. I have added a single option setting that is consumed by the directive - selector. This specifies a DOM object that is selected via jQuery(_selector_) to act as the content of the tooltip. This value can either be set as a string specifying the selector or as true (which specifies that the value of [title] is to be used as the selector).
ngApp.directive('title', ["$timeout", function ($timeout) {
	function isStr(s, bDisallowNullString) {
		return (
			(typeof s == 'string' || s instanceof String) &&
			(!bDisallowNullString || s !== '')
		) ? true : false;
	}

	function isFn(f) {
		return (Object.prototype.toString.call(f) === '[object Function]') ? true : false;
	}

	function makeObj(o) {
		return (o && o === Object(o) && !isFn(o) ? o : {});
	}

    return {
        restrict: 'A',
        link: function ($scope, $element, $attrs) {
			var oOptions = makeObj($scope.$eval($attrs.titleOptions)),
				bTitleIsSelector = (oOptions.selector === true),
				b$evalTitle = true
			;

			//# Configure the .tooltipster for the $element
			$element.tooltipster(jQuery.extend({
				//# Hook the .functionBefore to reset the .content based on the latest data from Angular
				functionBefore: function(origin, continueTooltip) {
					var sContent = $attrs.title;

					//# If a .selector was passed (either in the .title or in .selector), set the sContent to its .html
					if (bTitleIsSelector || isStr(oOptions.selector, true)) {
						sContent = jQuery(bTitleIsSelector ? sContent : oOptions.selector).html();
					}
					//# Else if we can b$evalTitle
					else if (b$evalTitle) {
						try {
							sContent = $scope.$eval(sContent);
						} catch (e) {
							b$evalTitle = false;
							//console.log("$eval Error: ", $element, sContent, e);
						}
					}

					//# Clear the [title] so the browser doesn't pop up the element
					$timeout(function() {
						$element.attr("title", "");
					});

					//# Update the sContent, .continueTooltip'ing if there is sContent to display
					origin.tooltipster('content', (oOptions.contentAsHTML ? jQuery(sContent) : sContent));
					sContent && continueTooltip();
				}
			}, oOptions));
        }
    };
}]);

Usage:

blah

blah

blah

    HTML Content here!

Thank you ! I lack experience on Angular to fully appreciate the results of this snippet but I'll probably end up trying at some point and hint at this in the documentation. Thank again !

A small update would be required for this to work with Tooltipster v4 since the signature of functionBefore has changed.
functionBefore: function(origin, continueTooltip) {
becomes
functionBefore: function(instance, helper) {
origin.tooltipster('content', (oOptions.contentAsHTML ? jQuery(sContent) : sContent));
becomes
instance.content(oOptions.contentAsHTML ? jQuery(sContent) : sContent);
sContent && continueTooltip();
becomes
return !!sContent
and I think it should work.

I have listed this page in the documentation, thanks.


installing the backend

I got this error when installing it .
https://pastebin.com/4E4AHa1g

I got this error when installing it .
https://pastebin.com/4E4AHa1g

You should use the special Rclone version, go.mod Rclone version: github.com/rclone/rclone v1.55.1

same me as well


Not able to retreive data

[root@Zabbix zabbix-disk-performance-master]# zabbix_get -s 192.168.xxx.xxx -k "custom.vfs.dev.write.sectors[sda]"
52084
I am able to return the data from the README, but when template is applied to a host.. no new items or graphs appear
should i see anything when i run the command:
zabbix_get -s 192.168.xxx.xxx -k "custom.vfs.discover_disks"
?
edit: I am seeing an error in the discovery rule: "Value should be a JSON object"

Looks like a script for low-level discovery is not working. Try to run it manually on agent host.
I will close this ticket as it is old. If you still have issues - feel free to reopen it.


Update publishing components to v20

What
The upgrade to version 20 of the component gem will bring in the changes made to version 3 of GOV.UK Design System.
The legacy template support has been turned on.
Why
The improvements include a new focus state, which will help this app to reach the WCAG 2.1 standard. It also has a tonne of other improvements that cascade from Design System, such as the new smaller font.
Sanity check pages
https://govuk-feedback-pr-803.herokuapp.com/contact
https://govuk-feedback-pr-803.herokuapp.com/contact/govuk
https://govuk-feedback-pr-803.herokuapp.com/contact/govuk/anonymous-feedback/thankyou
https://govuk-feedback-pr-803.herokuapp.com/contact/govuk/thankyou
Visual diferences
Pages (above) that make up the app have been completely stripped of their custom css and rebuillt using govuk-frontend and govuk_publishing components.
There are a number of differences:

Contact gov.uk form
Rebuilt using available components.
Before:

After:

Error states
Before:

After:

updated to v19

@andysellick has some reservations about removing old IE support.
this app only had an ie6 stylesheet which this PR removes
atm 7 & 8 look ok, 6 is a bit weird (see below)
we can hold on this as discuss the whole approach to old IE support across apps (and make it consistent) or merge and amend later
IE6 before

IE6 after

@kr8n3r I came up with a solution to the IE6/7/8 support in frontend, not sure whether it'd be useful here but posting for interest. It was possible to change those stylesheets to only include override styles for those browsers, so instead of compiling 4 copies of application.scss it does one plus 3 tiny stylesheets for old IE. Those stylesheets have fixes for the govuk-frontend grid and it's all quite small and readable, but most importantly compiles a lot quicker.
See: https://github.com/alphagov/frontend/pull/1939/commits/839be50e6d60dbad6b8d3ca6403a28eeb63a41de

looks good.
we can easily compile an ie8 stylesheet with govuk-is-ie-8 which will rasterize MQs to desktop.
that should fix most of the legacy ie8 issue.
more about agreeing if we serve 2 or more conditional stylesheets and making that the same across apps for future removal

@injms I have made some fixes to IE6 so it looks a bit better


⚠ ClamAV has degraded performance

In 99ed1fd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 206 ms

Resolved: ClamAV performance has improved in 04be244.


Swap libgomp with llvm-openmp

Checklist

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

See https://github.com/conda-forge/conda-forge.github.io/issues/831

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The outputs section contained an unexpected subsection name. run_exports is not a valid subsection name.

This needs a build number bump.

@conda-forge-admin, please rerender

I am confused as to how this swaps the libraries under the hood. The recipes still package libgomp and they don't make any symlinks to help downstream packages out during compilation.

Forgot to commit changes to build.sh. :smile:

Ahhh great. Are we ok with static builds not being swapped?
https://github.com/conda-forge/gfortran_impl_osx-64-feedstock/pull/11/files#diff-e178b687b10a71a3348107ae3154e44cR119

Yes, that's fine for now. I don't think there are any packages in conda-forge, that links statically

Only camb will be affected


[Feature] Admin Panel

add an Admin panel to:

[x] see all activated repos #2347
[x] see all registered agents #252
[x] see all registered users (add / remove admins) #1634
[x] https://github.com/drone/drone-ui/pull/334 -> #1632

[x] /queue/info
[x] pause / resume queue
[ ] clear / reset queue and kill all pipelines
[ ] /pipelines

[ ] see resource usage per ... user/repo/org
[ ] report pipeline status pushed that failed ... -> user permissions changed etc...
[x] orgs list #2307
[ ] pipeline stats https://github.com/woodpecker-ci/woodpecker/issues/345#issuecomment-1400542018
[x] show updates https://github.com/woodpecker-ci/woodpecker/issues/616

Some basic graphs that show jobs per hour/day/week (maybe per queue), average and min/max runtime/memory/storage use of jobs, Number of fails/cancels/OK per hour/day/week, most often running jobs, most jobs per user/org

I'm loving the admin panel, but it looks like the "last_contact" field is never updated. I'm running v1.0.5 (both server and agent side). My agent correctly picks the jobs though, so they're in contact.
Now for example I see "2 hours ago" for the last contact. I checked the sqlite db and it looks like it has been updated at least once a few minutes after its creation:
sqlite> select last_contact - created from agents;
261

I tried to restart the agent but ... oh it created a new line in the agents table, I was not expecting this.

@JulienPalard try using next (upcomming v2.0.0)

Oh, looks like it gets updated, just slowly, I now see "last contact: 4 hours ago", which means the last_contact gets updated, but not that often (like every 4 hours ?).
@6543 I'll gladly beta-test the v2.0.0, should I also upgrade my agents?

yes you have to update server and agents at the same time ... else agents wont connect anymore


[verifiable-credential]: version error in did-jwt dependency

Problem:
I tried to link the @verida/verifiable-credentials packages locally in my machine in order to test with on of our demos,
but it an throws error which prevents the vue app to start.
previous did-jwt version 5.12.1. downgraded to 5.7.0 still having same issues

How to reproduce the error

Cd to the verifiable-credential folder
Yarn link @verida/verifiable-credentials in the folder
Clone the credential-scanner-demo and check to 1-update-libraries branch
Yarn link @verida/verifiable-credentials
Start the demo app npm run serve

@cmcWebCode40
I'm pretty sure you haven't correctly downgraded to 5.7.0. I had similar issues.
Also, make sure all the @verida packages in the demo is using the latest versions from npm.

One way to check the actual version installed is to look in the yarn.lock file of your demo project.

@taphot here is a branch feature/118-downgrade-didjwt-package i have committed where I downgraded the didjwt package

@cmcWebCode40 I need a way to reproduce this on my local machine.
Can you please provide instructions.
Does your yarn.lock file have an entry for<EMAIL_ADDRESS>or just<EMAIL_ADDRESS>If it has 5.12.1, then there's an issue with the dependencies in local verida-js monorepo.

ok, i will do now

Start the demo app npm run serve

We are using npm, so this won't work correctly (the yarn link doesn't attach to npm as they run independently). I noticed you have been running npm as it has a package-lock.json file which is only used by npm.
I deleted package-lock.json, then ran yarn install to fetch the latest packages.
However, it still doesn't work and I get the same error message :(
I did a quick Google and it appears there is a webpack configuration issue with Vuejs.
Hopefully you can investigate that further and see if you can fix the Vue configuration?
Perhaps try adding the credential library to a more recent demo and see if it works? (markdown editor)
You may need to upgrade VueJs in that project to the very latest if you haven't already.

Perhaps try adding the credential library to a more recent demo and see if it works? (markdown editor)

I actually tested with the markdown editor that was running on yarn but still got the same error.

Hopefully you can investigate that further and see if you can fix the Vue configuration?
I will investigate  regarding the vue configurations

@cmcWebCode40
Yeah, we previously had the same issue here: https://github.com/verida/markdown-notes-demo/pull/97
That time it was caused because the @verida libraries were pointing to the newer version of did-jwt. Not sure why it's happening now.

@tahpot ,
i have been investigating , so far these are what I have been able to achieve
Cause of the error
from the node_modules folder i found out that the did-jwt-vc library uses did-jwt lastest version 5.12.1 as a dependency  in its package.json file
I had to downgrade the did-jwt-vc library to use version 1.2.0  which downgraded the did-jwt to version 4.9.0 , at the moment i don't get the error anymore , it works now except for when i want to call this method from the  Credentials class
verifyCredential() to verify a credential.
it  throws this error :
Error: DID document for did:vda:0x28b3DDeC3fDA534D3599A0bf195bB7461cEc0853 does not have public keys for ES256K

There's an issue here that looks similar: https://github.com/decentralized-identity/did-jwt/issues/168
This is interesting:

However, I am guessing that this module, did-jwt, has not been transpiled from ES6 to ES5, and thus causes this error.

Perhaps VueJs is expecting ES5 and did-jwt is compiling to ES6 or something?

If that syntax error in did-jwt version 5.12.1 is the only error, maybe it would be easier to fork did-jwt, change than line and submit a PR?

Yes but that's means I have to understand the did-jwt well before I could modify and open PR

Perhaps VueJs is expecting ES5 and did-jwt is compiling to ES6 or something?

That could be possible, i will have to continue investigating

Hey @kalanamt adding you to this because we'd like you to look at this at some point (not an immediate priority)

I did some testing to further investigate this issue.
I reset my local version of credential-scanner-web:

rm -rf node_modules
Removed all verida dependencies from package.json
Deleted yarn.lock
Re-ran yarn to install all dependencies
Checked out feature/118-downgrade-didjwt-package from @verida/verida-js
yarn build on @verida / account-web-vault, client-ts, encryption-utils, verifiable-credentials
yarn linked all @verida dependencies (as above)

After running yarn run serve the error still appears.
Upon closer investigation it appears that verifiable-credentials/node_modules/did-jwt is including code from<EMAIL_ADDRESS>instead of the expected<EMAIL_ADDRESS>This was established by checking the code in github for those versions against the code in verifiable-credentials/node_modules/did-jwt/index.module.js.
A search of verida-js/yarn.lock shows no reference to any version of did-jwt that isn't 5.7.0.
Why is yarn including the incorrect version of did-jwt in @verida/verifiable-credentials?

An update to this.
The latest version of did-jwt-vc refers to the new version of did-jwt which is causing this issue.
I attempted to downgrade did-jwt-vc to 2.1.7 because it's yarn.lock refers to<EMAIL_ADDRESS>(https://github.com/decentralized-identity/did-jwt-vc/blob/9cce8e19825bc2489b0d7c820e282746d4ae5cdb/yarn.lock#L4045), however yarn is still including the newer version of did-jwt when running yarn add<EMAIL_ADDRESS>

This was actually the main issue with the did-jwt-vc package it refers to the latest version of did-jwt

Why is yarn including the incorrect version of did-jwt in @verida/verifiable-credentials?

Not sure about that but I did downgrade to the 5.7.0 ( https://github.com/verida/verida-js/commit/f11f43bdfdac70044c5f6023143c9b0d69da4189) when i reported this issue

The issue is caused by a double question mark "??" which is ES2020 syntax. For some reason, that isn't being compiled correctly.
We should that fix issue and then use the latest versions of the did-jwt and did-jwt-vc libraries.
@kalanamt will find a solution :)

@kalanamt can you add an update on this one?

Haven't started yet on this , So far I have been working on

https://github.com/verida/did-server/issues/15
https://github.com/verida/practitioner-emr-web/issues/7
https://github.com/verida/verida-js/issues/127
Notification server understanding how it works and fixed non executing async loop

@nick-verida  We might need to update Node 16 as a fix for this

@nick-verida We might need to update Node 16 as a fix for this

Can you provide further details?

This "??" does not supported by the current node version , and its been used in one of the libraries . Will provide more information once I started to work on this . Ref :- https://github.com/verida/verida-js/issues/118#issuecomment-1014113635

This isn't an issue with verida-js
The problem is that the webpack version in https://github.com/verida/credential-scanner-web doesn't support the "stage3" JS features required.
I believe it is possible to fix this with a babel.config.js setting, but I couldn't get this to work. However by changing the resolve used by Webpack as noted here: https://github.com/OnurGvnc/acorn-with-stage3 it works.

I'll wait for @cmcWebCode40  to confirm this he can use credential-scanner-web, but I believe this issue can be closed.

This is now fixed


adding and using analytics group

Motivation and context

We need to be able to give access to analytics without assigning people to "admin" group
How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit

New Features

Introduced a new user role, 'analytics', enhancing user categorization and permissions.
Added an "Analytics" button for users in the 'analytics' group, improving access to analytics features.
Implemented a new privilege level, ANALYTICS, for refined user access control.
Automatically assign staff members to the 'IAM_ANALYTICS_ROLE' group for streamlined management.

Bug Fixes

Expanded permission checks to allow users with the 'analytics' role access to resources.

Chores

Updated role management to include the new 'analytics' role, improving overall role hierarchy.

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

Project coverage is 83.58%. Comparing base (fe3f79f) to head (7628346).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8355      +/-   ##
===========================================
- Coverage    83.62%   83.58%   -0.04%
===========================================
  Files          393      393
  Lines        41640    41643       +3
  Branches      3841     3841
===========================================
- Hits         34820    34806      -14
- Misses        6820     6837      +17

Components
Coverage Δ

cvat-ui
79.60% <ø> (-0.09%)
:arrow_down:

cvat-server
87.09% <33.33%> (-0.01%)
:arrow_down:

@nmanovic
I am not sure I correctly understood how it should work.
In this PR, every new or updated user who is staff will be added to the "analytics" group. Already existing staff users will not be added to the group and will not get access to analytics, unless someone updates them.
Please confirm - is this behaviour satisfactory?

dropped in favor of https://github.com/cvat-ai/cvat/pull/8509