Provide steps for deploying x509-exporter on kubernetes

The contents of the current README.md file is not sufficient for deploying this exporter on k8s.
It seems there are people out there trying to deploy it on k8s, but find it difficult.

Indeed the README.md is a bit light, we will definitely improve this!
In the meantime, you can find some useful informations in the helm chart we made for it :
https://github.com/enix/helm-charts/tree/master/charts/x509-exporter

Hi, we now provide a fully-featured and documented Helm chart for deploying this exporter on k8s.


How to perform database update in code

How can the database update ("dotnet ef database update") be performed in code?

Related: when I execute "dotnet ef database update" it uses the Debug configuration, is there a way to make it use the "Release" configuration?

To apply migrations from code, you would use the DbContext.Database.Migrate() API. If you want to apply them during app startup on an ASP.NET Core application, you would put some code like this in the Configure(...) method in Startup.cs.
using (var context = new MyContext(app.ApplicationServices.GetRequiredService<DbContextOptions<MyContext>>()))
{
    context.Database.Migrate();
}

cc @natemcmaster regarding the Debug/Release question. I assume this would be a general .NET CLI thing, I think you can SET Configuration=Release to change this?

dotnet ef --configuration Release database update should work. https://docs.efproject.net/en/latest/cli/dotnet.html#dotnet-ef
You can also specify "environment" if that's how you pivot on which connection string to use. dotnet ef database update --environment Production
https://docs.efproject.net/en/latest/cli/dotnet.html#dotnet-ef-database-update

@rowanmiller Thanks. I don't mind you closed the issue since I know how to do it now. I put it in the docs repo because I think it should be documented.

Note: you need "Microsoft.EntityFrameworkCore.Relational" in project.json to get the Migrate extension method

Also, it seems I need to create a scope to properly resolve the DbContext in Configure (see https://github.com/aspnet/EntityFramework/issues/3070#issuecomment-142752126)

@tmds you don't need to create a scope, not that the code I posted is creating an instance of the context rather than resolving it from DI. Creating a scope was required when we had some magic to sneak DbContextOptions into the context... but we removed that magic and now it is just a constructor parameter (hence the simpler code).

Isn't this resolving from DI?
app.ApplicationServices.GetRequiredService<DbContextOptions<MyContext>>()

@tmds yes, but just the options (which are singleton) rather than the context which needs to be scoped.

@rowanmiller aha, I was mislead by the ServiceLifetime argument, but yes: https://github.com/aspnet/EntityFramework/blob/9186d0b78a3176587eeb0f557c331f635760fe92/src/Microsoft.EntityFrameworkCore/EntityFrameworkServiceCollectionExtensions.cs#L150-L151. Thanks!


Minification?

Should this plugin try to minify the resulting js if we are in production mode? This post gives this example:
const fs = require("fs");
const esbuild = require("esbuild");

const pureFuncs = [ "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9"];

const elmCode = fs.readFileSync("elm.js", "utf8");

const result = esbuild.transformSync(elmCode, {
  minify: true,
  pure: pureFuncs,
  target: "es5",
});

Since, this is just a plugin, I believe minification should be explicitly handled in the esbuild config instead of being a part of a plugin. But I do think specifying the pure property from within the plugin if the optimize flag is true, is a great idea.
Let me know if you're up for creating a pr for this. If not, I can pick this up sometime in the next couple of days.

Thanks. Unfortunately I'm at max capacity for the next few months, but if you do get time to implement this whenever you are available it would make the minification process much smoother for beginners.
Thanks again

Released in 0.0.9


WIP: Tutorial (do not merge)

This is a beginning for a tutorial.  Waiting on a decision for the slicing PR before continuing.

Thanks a ton for starting this! Would love to know what @papajohn , @henryem , and @rjboczar would like to add as well.

Just chiming in to say thanks! I'd recommend scanning through http://data8.org/text/1_data.html#tables to see how our students are currently being introduced to the Table class.

Jessie, why close the WIP PR?

Reopening since I don't think this was meant to be closed.

@papajohn Hey, can we get your opinion on doing ds.Table versus just Table?

Let's write this for students. I'd prefer just Table.

If we use just Table, can we then also use the convention from datascience import Table etc. to show explicitly where these objects come from?  The from x import * convention is frowned upon for a reason: it clobbers the current namespace, and it prevents the use of checkers such as pyflakes from analysing code properly.

Sure, explicit imports in the tutorial are fine.
On Thu, Dec 3, 2015 at 11:03 PM, Stefan van der Walt <
<EMAIL_ADDRESS>wrote:

If we use just Table, can we then also use the convention from
datascience import Table etc. to show explicitly where these objects come
from? The from x import * convention is frowned upon for a reason: it
clobbers the current namespace, and it prevents the use of checkers such as
pyflakes from analysing code properly.
—
Reply to this email directly or view it on GitHub
https://github.com/dsten/datascience/pull/111#issuecomment-161894883.


Expansion prior Reduction.

It occurs to me that beta + eta expansion is frequently overlooked, although it certainly has its place in super compilation.

Yes, although I don't have any plan to implement these.  However, I won't turn down any contributions to add support for this

How much do you think it would improve the performance of compilation?
Can it open up new opportunities for further optimization?

2017 6:27 PM, 6:27 PM, Gabriel Gonzalez<EMAIL_ADDRESS>napsal/a:

Yes, although I don't have any plan to implement these.  However, I
won't turn down any contributions to add support for this
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/Gabriel439/Haskell-Morte-Library/issues/64#issuecomment-314823384

I am surprised you do not emphasize expansion a little bit more, since according to your own words morte should be JSON for functional languages and you can think of expansion as a form of lossless compression.

So a lot of what morte was originally designed to do has merged into Dhall (which you can think of as morte + more built-in functionality)
https://github.com/Gabriel439/Haskell-Dhall-Library
... and Dhall actually neither eta-expands nor eta-reduces (only beta-reduction)
However, eta expansion is not necessarily a form of compression.  For example, consider the following expression:
λ(f : * → *) → f

Eta-expansion would increase the size of the expression to:
λ(f : * → *) → λ(x : *) → f x

To answer @AnthonyJacob's questions:

How much do you think it would improve the performance of compilation?

I think it would be more inefficient to implement eta-expansion because it requires doing type inference as part of normalization since you need to know whether or not a term is a function in order to determine whether or not it needs to be eta-expanded

Can it open up new opportunities for further optimization?

I'm not entirely sure, but my rough understanding is that it is a time/space tradeoff.  If you use smarter normalization techniques (such as Lamping's abstract algorithm) then eta-expansion is analogous to lookup tables: it increases the efficiency of the code at the expense of increasing the size of the generated graph.  "The optimal implementation of functional programming languages" is a book that goes into more detail on this subject:
http://dl.acm.org/citation.cfm?id=320040

Thank you for your insight.
 On top of that they can also encode linear logic, which might play an important role in optimal compilation strategy.


Esbuild

I was wondering if anyone has successfully got esbuild working with Razzle? This looks like it could be a game changer for build times.

Razzle is mainly a webpack configuration app. So I don’t see using esbuild is possible without a complete rewrite of Razzle.

webpack loader for esbuild exists (https://github.com/privatenumber/esbuild-loader) -> so it might be possible

@mrceperka cool! Did you or anyone else explore the possibilities for this?

@yemi I did not, I am not using razzle right now :/

I got it working. And I made an example and it was merged in today!
https://github.com/jaredpalmer/razzle/pull/1597#issuecomment-820649721


Improve refactor ticket title when there is no rating

The previous logic ended up saying "Refactor from a ?", which isn't great. This centralizes the title logic, which was implemented in a bunch of places, and emits a simpler title if there is no rating data.
cc @codeclimate/review

👍


is it possible to get both image url and data url

Some minor bug in new version
I am testing my app in simulator
The old version response has assets-library:// uri,
The new version response has file:/// uri that is not displayed in simulator :)
response = 'assets-library://asset/asset.JPG?id=88B4CF5E-2B29-4220-AB0E-2F7F1B7C1238&ext=JPG'

response =  {
  data: "/9j/4AAQ...,
  isVertical: false,
  uri: "file:///Users/Ellen/Library/Developer/CoreSimulator/Devices/E7DAB3E2-1E01-4B4C-8F1A-    92B6A16DA4E4/data/Containers/Data/Application/05195A50-2F9A-4EAD-BDDE-63E5DC57ADF8/tmp/DEE0E119-9404-47F4-B2E2-7AF61BE67C4B.jpg"
}

You can display the image using the file:/// uri like so:
<Image source={{uri: response.uri.replace('file://', ''), isStatic: true}} />

Thank you very much :)


Testing new widget-code-input release using CodeMirror 6 and anywidgets

📚 Documentation preview 📚: https://scicode-widgets--43.org.readthedocs.build/en/43/

The integration for widget_code_input with CodeMirror 6 is done in PR #45


[LLD] [Speculos] 💥Adding DODE coin e2e send test

✅ Checklist

[ ] npx changeset was attached.
[ ] Covered by automatic tests.
[ ] Impact of the changes:

...

📝 Description

Replace BTC by DOGE for send e2e tests
Update App.json

❓ Context

**JIRA or GitHub : QAA148

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Workflow run: https://github.com/LedgerHQ/ledger-live/actions/runs/10197741126


Try denying warnings in CI

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[ ] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[ ] My changes were added to the CHANGELOG.md in the proper section.
[ ] My changes are in accordance to the esp-rs API guidelines

Extra:

[ ] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Please provide a clear and concise description of your changes, including the motivation behind these changes. The context is crucial for the reviewers.
Testing
Describe how you tested your changes.

That went well :upside_down_face:

Haha, I was going to comment "good luck" 😁

¯\(ツ)/¯


Problems Decoding radar data from radarlan/ry

Hello I am a Grad student trying to run your example code for rainnet. I have installed all the packages as instructed, but when I run the code it reaches this line and this exception is thrown out:
code:
data, attr = wrl.io.read_radolan_composite( io.BytesIO( data_binary ), missing=0 )
exception:
'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte
How could I resolve this? Thanks for the help.

@hydrogo

I am facing the same problem.


Error: unexpected character: function initWrapper cannot deal with <

Setting a prop of a web component to an array that contains a String containing < results in an error message.
The funtion initWrapper in tsxToHtml.ts uses JSON.stringify which creates the problem.
Can JSON.stringify just be dropped and the raw value be entered?

resolved by PR #100


Remove type parametrization

Measured performance improvement: from 1m 10s to 11s, 6.36 times faster.
Command used for the test: julia raytracer_cli.jl demo image -r 1000:1000 -o 0,0,50 -R Flat
Result image:


Update README

#Update README
Add a getting started  section so new  flocks  can  work with zero difficulty.

Added getting Started


Spinnaker versioning

I'll get to the official review tomorrow, but for the time being...
When listing objects for the purpose of versioning, we don't have access to filter on annotations, but we do have the option to filter on labels. We should add an additional label to resources deployed through spinnaker that specifies their cluster. This way we can more accurately filter objects we are interested in, decreasing the response size and saving valuable deployment time.
Additionally we should test out the Limit field in metav1.ListOptions. If we can set the limit to 1, and it consistently returns only the latest resource, we've potentially found a way to solve this problem efficiently.
We might just want to seriously consider referencing the DB for this information in the kubernetes_resources table.  It would save us all the trouble stated above. The only problem I can see would be if a user deploys their own versioned resource using kubectl (which they won't do (tm)) or if they delete a resource. For a user deleting a resource using spinnaker we could simply remove entries from the DB that match, problem solved. If they delete a resource using kubectl, that would throw off our versioning.
Typing it all out, I'm thinking we go with the DB route. It will be super fast and remove any overhead/problems with calling the cluster directly. Let me know what you think.

So I did some research on this.
We cannot use Limit as it returns the oldest resources first. There is no Sort ability on the server-side.
We should not go the DB route as it will not work well with other Spinnaker instances deploying resources. The same applies with adding a new label to specify the cluster.
We can however add a label selector to only list resources that are Spinnaker versioned. For example:
k get po --selector moniker.spinnaker.io/sequence

This will help limit the response. I looked into using a FieldSelector, but it does not support wildcards.

Pod smoketest

gke-replicaSet smoketest
gke-configMap smoketes
gke-secret smoketest
gke-versioned-hpa
stage durations smoketest

I tested volume mounting in east, please review this again.

I tested volume mounting in east, please review this again.


Add set function

Add set function to allow for setting of the canvas element

lookin' good, :D! - the manager


HmIP-RGBW not (fully) working

I agree to the following

[X] I have read the documentation right now
[X] I have read the FAQs right now
[X] I am aware of the latest release notes
[X] The Backend (CCU/Homegear/...) is working as expected and connected devices are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
I Have configured my HmIP-RGBW in Mode: Single Channel on raspberrymatic.
Each channel works as a single dimmer. On channel 1-3 a LED light is connected. Channel 4 currently not used. I had to activate channel 2+3 manually in ha.
Initially non of the channels were working as expected in ha. I could dim, power on but not power off the LED via home assistant device controls. Percentage value was Unknown, last update time was equal to the last reboot. Slider could be used but color stays grey, even if the LED was switched on.
During my own trouble shooting I have temporally switch to each of the other mode (RGBW, RGB, turntable white) of the HmIP-RGBW device in rasbperrymatic.
In RGBW mode channel 1 got active in ha and changed to normal operation.
In RGB mode still  only channel 1 was active.
With Turntable White mode channel2 got active in ha and changed to normal operation.
After changing back to Single Channel mode on raspberrymatic channel 1+2 are working as expected in ha now. I can dim, power on/off the LED via home assistant device controls. Percentage value, last update time and slider color are updated as expected.
But still channel 3 is not working as expected. Still the same issue as mentioned above.

What version of HomematicIP (local) has the issue?
1.52.0
What was the last working version of HomematicIP (local)?
never worked
What type of installation are you running?
Home Assistant OS
What type of installation are you running for your homematic backend?
RaspberryMatic Standalone
Which version of your homematic backend are you running?
<IP_ADDRESS>31130
What hardware are you running for your system?
Pi4
Which config details do you use

[X] Username and password
[X] TLS
[ ] callback data (see)

Which interfaces do you use?

[X] Homematic IP
[ ] Homematic (Bidcos-RF)
[ ] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information
config_entry-homematicip_local-ea8df8c5fd0315a7faf9cee4fc5cde87.json-2.txt
home-assistant_homematicip_local_2024-01-05T22-18-46.535Z.log
Anything in the logs that might be useful for us? The log (full log) is the best source to support trouble shooting!
No error/warning visible in the home assitant log.

Additional information
Config view in raspberrymatic:

Have you restarted HA in between so that the changes (channel configuration in the ccu) on the devices are also adopted in HA?
Due to reconfigurations (dimmer to RGBW), it can also happen that entities remain that can then be deleted manually.

I did not restart the raspberrymatic during the mode changes. But several times afterwards.
In the meantime I also deleted the device with homaticip_local.delete_device and cleared the cache with homaticip_local.clear.cache.
I checked and the device with entities was no longer visible, also the two cache files were deleted.
After rebooting the device was back and the entities for channel 2+3 need to be enabled again. But the problem was still there.
 I deleted the device from rasberrymatic and rebooted. I then teached in again, switched to single channel mode and renamed the device and channels differently than before.
After booting ha, the device was back with the new device and entity names. But only channel 1 works, value state valid. Channel 2+3 did not work after activating the entities, value state not valid. Rebooting ha again did not change this.

I don't understand what you're actually doing and what your goal is.

Configure the device in Raspberrymatic the way you want it. A Raspberrymatic restart is not necessary.
Test that the device behaves as desired in Raspberrymatic.
Describe how you configured the device in RM. The RM configuration will no longer be changed from now on.
So that HA is clean, delete the device from HA again with homaticip_local.delete_device, and to be on the safe side, clear the cache again (homaticip_local.clear.cache). Then restart HA.
4.Describe the entities created in HA and what you can do with them and please also attach screenshots.

Sorry for the confusion. That was not my intention. Here is the current status and output. I'm not going to change anything anymore.

Device is configured in Mode Single Channel. All 3 of the 4 channels I'm using working as expected.

Device is configured/named as following.

Deleted device in HA, cleared the cache and rebooted.

Before

After

Reboot performed

Status after reboot

Device Status

Channel 1 - Entity R fully working, no issue.

Channel 2+3 - Entities VR + VL after I have enabled them, not working as expected.
Entities responding both in the same way.
I can switch them ON and OFF via the lightnig icon.

Entitie VL + VR responding both in the same way.
I can switch them ON via power button but not OFF.
Dimmer slider is working but colour not changing to yellow.
% value remains Unknown.
Time not updating to last changes. Stays related to last reboot.

Much better now.
The value state of VL is restored. That means that the this channel has not received events from the CCU, and the state is restored from a HA cache.
The value state should switch to valid after some time or when you change e.g. the level in CCU.
The log from the initial post contains events from 003920C994EB72:2, so this should basically work.
In rare cases this could be a problem with the browser cache, so refresh it or use another browser.

Even after some hours the value state of VR and VL did not change, They were still at restored.
I have change the status (ON, OFF, dimmer slide) several times in RM/CCU . No update on value state
Clearing  browser cache of Safari didn't update is as well.
Attached a new log
home-assistant_homematicip_local_2024-01-06T16-44-13.079Z.log

17:38 trying from RM/CCU
17:43 trying form HA

Tested the same with Firefox and a new installation of Chrome. No value state update at all. Same behaviour as mention above.

At the moment I'm rather at a loss, I don't have the device, but I can simulate the events with pydevccu and I don't see any problems there.

[custom_components.homematicip_local.generic_entity] Device changed event fired for WDW VL

In the logs you can see how a device_change event is triggered for the channel, so everything is as it should be.
How does the entity look like under developertools /states?

After looking at the code, I am pretty sure that the error is not in the integration, since WDW R works, and the same implementation is used for WDW VL and WDW VR.
What does the output look like when you run this script on the CCU?
Do you have the opportunity to install a test instance?
Alternatively at your own risk and only with a full backup:
I still wonder why the value state of the entities is still restored.
You could delete the restore file (/config/.storage/core.restore_state). This will be created again after the HA restart. This worked without any problems on my test system.

Here the screenshot from developertools /states:

And the output of the script, limited to the HMIP-RGBW device:
fetch_all_device_data_HMIP-RGBW.txt
Looks good to me as everything is identical.
I will set up a test system before messing around with the production HA.

The data looks good.
A HA Testsystem is the better choice.

As the HMIP-RGBW is a new device for me I have added it to on older OpenHab setup I had here. Just to be more save that the HMIP device itself works as expected.
Dimmer  I_Di_WDW_R  "WDW R [%.0f %%]"   <light> {channel="homematic:HmIP-RGBW:ccuip:0033E0C9923762:1#LEVEL"}
Dimmer  I_Di_WDW_VL "WDW VL [%.0f %%]"  <light> {channel="homematic:HmIP-RGBW:ccuip:0033E0C9923762:2#LEVEL"}
Dimmer  I_Di_WDW_VR "WDW VR [%.0f %%]"  <light>	{channel="homematic:HmIP-RGBW:ccuip:0033E0C9923762:3#LEVEL"}

Status changes on the OpenHab UI are transferred and visible in RM/CCU and vice versa.
From my point of view the HMIP device is working and sending/receiving status updates as expected.

From my point of view the HMIP device is working and sending/receiving status updates as expected.

I don't question it. We all see the events correctly in HA. I think something is not working properly in the HA setup, beyond the integration.

I think i have found something in the script output.
More data is send for channel 1, so i have to check how to work with it in the code.

Test system with Homeatic(IP) local 1.52.0 is setup.

Only channel 1 came up by default. Channel 2 + 3 I had to manually activate as usual.

Value states after integrations has started:

Channel 1: valid
Channel 2: not valid
Channel 3: not valid

States was still the same after 30 min without pushing any button.
Changing dimmer values on CCU  and HA later on did not change the value state.

Keep you Testsystem for a while. I 'll create a beta soon.

Please test with version 1.53.0b0.
Beta can be enabled in HACS.

click on the integration
open the menu on the upper right
re-download
enable show beta

I have already accidentally installed 1.53.0b1.
At first glance, there is no change. But I have not yet done a device delete or a cache clean. I'll have a closer look tomorrow when I get back from work.

B1 is ok.
device delete or a cache clean should not be necessary.
Please check the value_state.

I mismatched the modes. I‘ll create a new beta tomorrow.

1.53.0b2 installed and is working!
View after reboot:

Channel states are all valid now:

Power slider on control view working
Power on/off button working
Dimmer slider working
% value updating
Time updating
All data update visible in RM/CCU and changes made there are updated in HA

Activated channel4 to verify the settings as well. Here also everything is working as mentioned above.

From my point of view all is fine now.
The only thing I'm not sure about is the Effect button. Im RM/CCU only the normal dimmer controls are visible but no effect settings:

If a Effect setting is doing something then the same setting (e.g. Effect 10) creates different light/flash pattern on each of the channels.

To understand where the Effects are coming from I have played around with the settings in CCU.
Regardless of the Mode selected in Device Settings, you can configure the effects on channel 0 in the CCU:

But the effect settings are only visible under Device Control for RBGW, RGB and Turnable White mode.

Screenshot from RGBW mode
I guess the effects are not meant to be available in Single Channel mode.

Thanks for reporting and extensive testing. I will remove the effects for PWM-mode the final version.

Thanks for the idea, but it's not necessary. When people participate so well and stay on the ball like you do, I enjoy it too.
I don't have a "Buy me a coffee" link.


update ingestion pipeline example to use cdp

Updated the example ingestion sdk code to use CDP sdk elements.

Preview is available here:http://developers-pr1036.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr1036.previews.kube001.services.stellar-ops.com


Support base_url when initializing sessions

Describe alternatives you've considered]
https://www.python-httpx.org/advanced/#other-client-only-configuration-options

Would you like to take on this?

Sure, but before doing this, I already have PR chains in https://github.com/yifeikong/curl_cffi/pull/178 that are broken to chunks for easier review.
Can we have done them first?


impove avatar loading

Patch does the following:

Refactor attachment HTTP server so we can use the server in more packages in the service. Create manager.Srv in kbhttp with the factored out code.
Adds a new generic token in front of manager.Srv.
Add protocol for keeping JS current with the address and token of HTTP server.
Add avatars.Srv for serving avatars via the HTTP server.
Refactor avatars JS to strip out all old code that invoked RPCs to get URLs, and replace with simpler code that just gets the URLs a priori.

cc @songgao


willTransition events not firing on parent when leaving/entering child route.

I have an application with nested routes.
<Route name="app" path="/" handler={Index}>
	<Route name="signIn" path="sign-in" handler={Signin}/>
	<Route name="dashboard" path="dashboard"  handler={Dashboard} >
		<Route name="notifications" path="notifications" handler={Notifications}/>
		<Route name="profile" path="profile" handler={Profile}/>
	</Route>
	<Route name="home"   path="home"    handler={Home}/>
</Route>

I would like to use the willTransitionFrom hook on my parent (dashboard) route in order to prevent users from leaving it at certain times. This hook is not firing if I place it on the Dashboard component and transition from one of it's children to a different parent level component (for example Notifications --> Home)
I can put the hook on each child route but would like to avoid repeating this on each child route. Is it possible to do this?

ah that's a bug, we're focused on the master branch code for our 1.0 release, so I don't think we'll be fixing this on 0.13, if somebody else does though we can merge it and cut a release since that's pretty basic stuff.
a failing test case would help somebody implement it.


[ES] added content/es/service-proxy

Describe your changes

added content/es/service-proxy.md

Related issue number or link (ex: resolves #issue-number)

resolves #1772

Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

/cc @92nqb @electrocucaracha @krol3


FIRInstallationsAPIService: Retry API request on HTTP 500.

logic to retry API request on response HTTP 500 was moved to the API service and applied to all requests.

cc @ankitaj224


fix: Remove unused resolutions

#minor
Description
This PR applies the needed changes to remove the unused resolutions in the project.
Specific Changes

Updated nightwatch to version ^3.9.0, which allowed the removal of the resolutions:

semver
ejs
lodash.pick

Removed @types/ramda resolution.
Removed unnecessary resolution comments.

Testing
The following image shows the project building without errors after the updates.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 84.277%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.3%

Covered Lines:
20431

Relevant Lines:
23091

💛  - Coveralls

Promoted /4816


Same day keys are published by the app but the server published them on the next day

Describe the bug
ToDay keys are now published by the app but are shifted to the next day.
Expected behaviour
Today or same day keys should be publish the day they are uploaded.
Steps to reproduce the issue
At the moment nearly 50% of the users upload a key for the day they upload their keys.
Take a look at 2020-10-05.zip and 2020-10-06-hour-03.zip
I first saw this on 2020-09-15, 2020-09-17, 2020-09-19, (but this lonely ones may be a result of a wrong device time).
On 2020-09-21 the number starts to increase to nearly 50% now.
Additional context
In the day file 2020-10-05.zip at least 103-117 users publish a same day key.
(it also contains same day key from 2020-20-04 uploads.)
All keys of this users have the wrong risk values.
6,8,8,8,5,3,1,...
It should be
5,6,8,8,8,5,3,1
For the 1. key the risk is too high,
For the 2., 5., 6., 7. the risk is too low.
links
https://github.com/corona-warn-app/cwa-app-ios/issues/1097
https://github.com/corona-warn-app/cwa-server/issues/755
https://github.com/corona-warn-app/cwa-server/issues/723

Hello @Tho-Mat ,
Thank you for raising this and making us aware of your observations. We have looked into it and came to the conclusion that this behavior is there because of a design decision that was made during the development of the distribution service.
Evgenii already explained in more detail how the distribution service is working here.
In short, this behavior is caused by the embargo logic implemented on the distribution service. The Distribution service embargos all same day keys for 24 hours if it is not yet expired for more than 2 hours.
We agree that the recent change in EN implementation and our as is distribution logic results the fact that the distribution of same-day keys is delayed for a complete day.
Since this delay was implemented as an additional privacy measure, we cannot immediately change it, without a thorough analysis of the side effects.
We will re-evaluate this internally with security and DPP experts and implement it as an enhancement if there are no additional risks.
We will keep this git item open to keep you informed about the results.

@JonasZeitzem-sap
Thanks for the info.
I understand that the issue is a result of the design decision.
But in the time 2020-09-24 to today up to 50% of the users upload a same day key.
Hopefully it has stopped now.
So for me it was important to rise this as urgent and give it a bug lable.
If we will see only "future-keys" from users with wrong device time(#723) from now on,
there will be no problem not to fix this, since all of the keys those users upload are useless.

@Tho-Mat see https://github.com/corona-warn-app/cwa-app-android/issues/1325#issuecomment-704963862. For all we know, it has stopped and as you rightfully point out, any further "future TEKs" are most likely because of incorrect device time, which should be significantly less submissions than what we were seeing in the recent days.

@Tho-Mat ,
Just a quick update. We are working on improvements to our embargoing logic that will allow us to reduce unnecessary delays in key distribution. We are planning to deliver this enhancement with the next release.


fix: pagination for ListWorkflowJobs in autoscaler (#990)

Adding handling of paginated results when calling ListWorkflowJobs. By default the per_page is 30, which potentially would return 30 queued and 30 in_progress jobs.
This change should enable the autoscaler to scale workflows with more than 60 jobs to the exact number of runners needed.
Problem: I did not find any support for pagination in the Github fake client, and have not been able to test this (as I have not been able to push an image to an environment where I can verify this).
If anyone is able to help out verifying this PR, i would really appreciate it.
Ref #990

@larhauga Thanks for your contribution! Rebased and I'm now trying to test this locally. If you could help double-checking, it would be great if you could follow our contribution guide for local testing.

Sry it took much longer time than I had thought to have time to test this manually! Code LGTM so let merge this anyway and make follow-ups only after we find any issues layer.
Thanks for your contribution @larhauga ☺


Every time after restart HA thiz Warning!

May be add more taime for wait?
Logger: custom_components.xiaomi_miot_raw.sensor
Source: custom_components/xiaomi_miot_raw/sensor.py:137
Integration: Xiaomi MIoT (documentation, issues)
First occurred: 15:36:48 (2 occurrences)
Last logged: 15:36:48
<IP_ADDRESS> 的主设备尚未就绪，子设备 sensor 等待主设备加载完毕后才会加载
<IP_ADDRESS> 的主设备尚未就绪，子设备 sensor 等待主设备加载完毕后才会加载

As hass sets up all devices concurrently, and the subdevice gets its state from the main device, a PlatformNotReady will be raised to inform hass to setup it later, which causes the warning. I'll try to fix it.

Should have fixed.


Add platform info in code --version #37793 Done

I think this is what was meant in the Issue " Add platform info in code --version #37793 "

Thank you

Thanks! 🍻


Memory problem with larger number of views

I have used the BBWalkthrough to make an app but have more than 15 views it scrolls through. As the views that are not removed when they are not shown the memory is over 100mb used. Can you purge the views that are shown or being animated (views -1 and +1). Great work by the way!

Hint: Try to load 3 at the time in code... :)


Is it possible to make the Section Navs automated?

Instead of manually adding links to the Section Nav blocks, is it possible for them to pull automatically from child pages (one level deep)?
It seems that the left sidebar nav are automatically generated and the Section Nav blocks contain the same links.

@bwaltz we can accommodate this, but given that the section-nav is technically only used twice throughout the entire site (Academics and People landing pages) I'm gonna leave it as low priority unless you envision a scenario in which your deploying it much more often.

Sounds good, @gregoryspragginsjr.

@gregoryspragginsjr don't do this yet. We may need to re-evaluate internally.


Update README.md

Added an About section, links to resources.

Hi @targetdrone,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hey @targetdrone! Thanks for the PR! Could you please sign the CLA?
Thanks!


ESCPOS parser to output PDF

@NewbridgeGareth  I'm not aware of any ESCPOS parser that can output PDF or any other format.  I've been interested in building something like this (to provide print previews, etc.) Can you open up a separate issue that we could discuss about this and maybe document any links you find to anything existing that does this?  This issue isn't really related to this topic.
Originally posted by @lukevp in https://github.com/lukevp/ESC-POS-.NET/issues/174#issuecomment-1211439605

Hey guys, I believe such a parser is doable, we would need some adjustments though, like how many columns per line the current printer uses (I know there's another issue that talks about this as a property, I'm sorry I'm not linking it here). PDF output might be easiest but then we would probably need to add a 3rd party library to compose the PDF file, which inherits its dependencies and might not be as OS compatible as ESCPOS-.NET currently is. Just thinking out loud here, but what if a new library is created just for that parsing?


fix: add supportsOptionalClassProperties to TypeScriptZod target language

Summary
Added supportsOptionalClassProperties to TypeScriptZodTargetLanguage in order to fix handling of optional properties in JSON Schema that are not listed in required array.
JSON Schema
{
  "properties": {
    "foo": { "type": "string" },           // standard string
    "bar": { "type": ["string", "null"] }, // string | null union
    "baz": { "type": "string" },           // string, optional
    "qux": { "type": ["string", "null"] }, // string | null union, optional
  },
  "required": ["foo", "bar"]
}

Old
export const Schema = z.object({
  foo: z.string(),                               // standard string
  bar: z.union(z.string(), z.null()),            // string | null union
  baz: z.union(z.string(), z.null()).optional(), // string, optional
  qux: z.union(z.string(), z.null()).optional(), // string | null union, optional
})

New
export const Schema = z.object({
  foo: z.string(),                               // standard string
  bar: z.union(z.string(), z.null()),            // string | null union
  baz: z.string().optional(),                    // string, optional
  qux: z.union(z.string(), z.null()).optional(), // string | null union, optional
})

CI Test failure looks like #2462

Yes, sadly our CI is currently haunted.

@dvdsgl Are you guys looking for more maintainers? Would like to help out if there's space available

Yes please!
We're getting desperate: https://replit.com/bounties/@dvdsgl/fix-our-oss-project
Want to see if you can fix CI? I'll pay you the bounty.

Hello. I believe this PR should fix #2462. The failing tests are now passing locally for me on that branch.

@dvdsgl great to hear that the CI issue has finally been fixed - is there a link to the maintainer slack (or is that defunct?)
Would like to chat to some folks to see which areas of the codebase need more effort before jumping on fixing more issues.

We don't have a discourse or slack anymore, but we could make a WhatsApp thingy for now: https://chat.whatsapp.com/E3Heqe9Tjl8IBVqpeFMyPp


Update parts of the interface for c-lightning 0.8

This does not cover the 0.8 API completely, notably:

the pay method remains to be updated,
there is number of new methods not addressed in this PR.

Perhaps it can still be useful for monitoring use-cases, or someone else can use pick up this PR to make complete update.
Since c-lightning 0.7 amounts are represented as strings with msat suffix. Although there are usually corresponding numeric fields, my understanding is that the string representation is preferred and therefore is used in this PR. Such amounts are wrapped in MSat newtype.

Concept ACK, thanks for the update, will test.


.Net: Proposal to Allow Injection of KernelArguments to the Function Auto Invocation Process

In the existing framework, the mechanism for auto-invoking kernel functions lacks the capability to accept KernelArguments from the outside as an argument(See Here). This limitation prevents the passing of predefined variables via the KernelArguments class to automatically invoked functions.
Proposed Solution:
I suggest enhancing the auto invocation process by integrating KernelArguments as a parameter in key functions, specifically:

GetChatMessageContentsAsync()
GetStreamingChatMessageContentsAsync()

Additionally, KernelArguments should also be handled in any other relevant functions that are part of the auto invocation workflow, which currently does not pass them on.

Look here: https://github.com/microsoft/semantic-kernel/blob/4fb351dc1569044ba46189c1fd9c6b0ec1dba562/dotnet/samples/KernelSyntaxExamples/Example59_OpenAIFunctionCalling.cs#L55
WriteLine("======== Example 1: Use automated function calling with a non-streaming prompt ========");
        {
            OpenAIPromptExecutionSettings settings = new() { ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions };
            WriteLine(await kernel.InvokePromptAsync("Given the current time of day and weather, what is the likely color of the sky in Boston?", new KernelArguments(settings)));
            WriteLine();
        }

You are passing KernelArguments in second parameter of kernel.InvokePromptAsync method.
If you want to use chat completion and kernel arguments you can create own chat completion service with chat prompt like here https://github.com/microsoft/semantic-kernel/blob/4fb351dc1569044ba46189c1fd9c6b0ec1dba562/dotnet/samples/KernelSyntaxExamples/Example63_ChatCompletionPrompts.cs

The problem I am trying to illustrate here, is that the KernelArguments passed to the kernel.InvokePromptAsync is not passed on to GetChatMessageContentsAsync.
KernelArguments are passed on until KernelFunctionFromPrompt.InvokeCoreAsync here or KernelFunctionFromMethod.InvokeCoreAsync here, but it stops there. If the KernelArguments are passed on to GetChatMessageContentsAsync, then the auto invoked functions would be able to read arguments supplied from KernelArguments.
This would allow passing on arguments programmatically to the auto invoked functions, where you would want no alterations to be made by the AI. Also you can use this to supply a multitude of supplementary context information to be used by the auto invoked functions as well, if needed.

Curious what SK team say about you proposition.
Now as workaround you can use EnabledFunction instead AutoInvoke and call function with parameters manually.

Now as a workaround you can use EnabledFunction instead of AutoInvoke and call function with parameters manually.

Yes, that is exactly the workaround I am using now.
This proposed change should make life a lot easier for anyone who needs to supply arguments unaltered, and also want to utilize the power of function calling.

@ebigunso @ips-jm I think this is implemented on purpose, since we are fetching these arguments from LLM response here:
https://github.com/microsoft/semantic-kernel/blob/0296329886eb2116a66e5362f2cc72b42ee30157/dotnet/src/Connectors/Connectors.OpenAI/AzureSdk/ClientCore.cs#L399-L403
Otherwise, if there would be LLM response and KernelArguments, there may be some collisions and it's not clear which source of arguments to use as primary. Also, it's not clear, how to support configuration in automatic function calling scenario to use LLM arguments for Function1 and KernelArguments for Function2.
But, if you want to override KernelArguments for specific function before invocation, you can achieve this with Filters. New version of filters was merged to main branch and will be released next week. Here is an example how to achieve this:
https://github.com/microsoft/semantic-kernel/blob/0296329886eb2116a66e5362f2cc72b42ee30157/dotnet/samples/KernelSyntaxExamples/Example76_Filters.cs#L202-L211

@dmytrostruk Thank you for pointing this out!
Do I understand correctly that these filters are applied once globally with no adaption possible once in the services? This would not really fit my usecase since I potentially need to "auto-call" multiple functions with a user id or session id that are received with an incoming chat request.

Do I understand correctly that these filters are applied once globally with no adaption possible once in the services?

@ips-jm They are applied globally through DI or on Kernel instance using following properties:

kernel.FunctionInvocationFilters.Add(...)
kernel.PromptRenderFilters.Add(...)
kernel.AutoFunctionInvocationFilters.Add(...)

You can remove or reorder them in runtime.

This would not really fit my usecase since I potentially need to "auto-call" multiple functions with a user id or session id that are received with an incoming chat request.

In this case, before executing automatic function calling, you can use kernel.Data property to set data associated with specific request:

As you can see, in my filter I'm accessing data associated with specific request by using context.Kernel.Data property:

We have created some samples showing different ways to inject additional input parameters, see:

https://devblogs.microsoft.com/semantic-kernel/transforming-semantic-kernel-functions/
https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/GettingStarted/Step9_OpenAPI_Plugins.cs#L39


Make raspberry pi shut down when bombermaan is closed

You finished this? How did you do it?

I added a scripts folder to the github project with a script that checks if the bombermaaan process is running, and then added a root crontab job to the raspberry pi that runs the script every minute. If the bombermaaan process isn't running, then it shuts the computer down using "shutdown -h now". I added some directions in the readme right before the instructions for the manual shutdown that describe how to do this.

Sweet awesome.


Bug fixed in seeyou.writer.Writer

multiple pics are only working when filenames are separated by semicolon instead of colon (Naviter cup file doc erroneous). Tested with LX9000 and Oudie

I think that the spec is wrong.
I am here in Gariep Dam and prepared a cupx file containing outlanding
information utilizing aerofiles. I used the Google Maps API for downloading
images of the landing strips at four different zoom levels. I prepared the
cup file with aerofiles. Then I assembled the cup file and the downloaded
images into a cupx file as described in the Naviter specs:
https://downloads.naviter.com/docs/SeeYou_CUPX_file_format.pdf
The first tests were performed on an LX 9000 system. It didn't work. Then I
put only one picture (i.e. one zoom level) into the cup and cupx file. Then
it worked. For further analysis, I reverse engineered (unpacked) an
existing cupx file from the streckenflug.at outlanding database. And it had
a semicolon separating the jpg filenames.
I changed the format pics function of the aerofiles.seeyou.Writer class and
assembled the cupx file with multiple images.
This particular cupx file worked on Oudie 1, Oudie 2, LX 9000 and LX 9070
devices.
So this are all very strong indications, that the Naviter spec is wrong.
Best regards,
Johannes
Am Mi., 6. Dez. 2023 um 12:06 Uhr schrieb Dr. Tilmann Bubeck <
@.***>:

https://downloads.naviter.com/docs/SeeYou_CUP_file_format.pdf says:
14 pics
A string field containing the filename(s) of an JPG image stored in pics/
folder of a seperate pics.zip file.
See SeeYou CUPX file format specification. Multiple filenames must be
separated by commas and string must
be embraced in double quotes.
Does this means, that Oudie and LX9000 are not following the spec? Or is
the spec wrong? Any other devices, where we know how they handle it?
—
Reply to this email directly, view it on GitHub
https://github.com/Turbo87/aerofiles/pull/263#issuecomment-1842655854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHOULK24JUWSFUKZQRNXBQ3YIBGURAVCNFSM6AAAAABAJFUX3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGY2TKOBVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

You are probably right, as XCSOar is also using ";":
https://github.com/XCSoar/XCSoar/blob/4234e2059a6a24959487f0b76a7675979db5a807/src/Waypoint/WaypointReaderSeeYou.cpp#L314
I will try to contact naviter to get an answer there. However, I assume, they approve you.
Could you please extend the PR so that the test succeed? Please make "make pytest" to execute the tests and change them to succeed.

Obsoleted by https://github.com/Turbo87/aerofiles/pull/266


rtlwifi_new: fix build & rename to rtw88

Motivation for this change
The repository was moved to https://github.com/lwfinger/rtw88.
Tested with RTL8821CE chip.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116292 1

2 packages marked as broken and skipped:

linuxPackages-libre.rtlwifi_new
linuxPackages_latest-libre.rtlwifi_new

15 packages built:

linuxPackages.rtlwifi_new
linuxPackages_4_14.rtlwifi_new
linuxPackages_4_19.rtlwifi_new
linuxPackages_5_10.rtlwifi_new
linuxPackages_5_11.rtlwifi_new
linuxPackages_hardened.rtlwifi_new
linuxPackages_latest_hardened.rtlwifi_new
linuxPackages_latest_xen_dom0.rtlwifi_new
linuxPackages_latest_xen_dom0_hardened.rtlwifi_new
linuxPackages_lqx.rtlwifi_new
linuxPackages_testing_bcachefs.rtlwifi_new
linuxPackages_xen_dom0.rtlwifi_new
linuxPackages_xen_dom0_hardened.rtlwifi_new
linuxPackages_zen.rtlwifi_new
rtlwifi_new-firmware

Result of nixpkgs-review pr 116292 at 602d6d8e run on aarch64-linux 1

10 packages marked as broken and skipped:

linuxPackages-libre.rtlwifi_new
linuxPackages-libre.rtw88
linuxPackages_hardkernel_4_14.rtlwifi_new
linuxPackages_hardkernel_4_14.rtw88
linuxPackages_hardkernel_latest.rtlwifi_new
linuxPackages_hardkernel_latest.rtw88
linuxPackages_latest-libre.rtlwifi_new
linuxPackages_latest-libre.rtw88
linuxPackages_testing_bcachefs.rtlwifi_new
linuxPackages_testing_bcachefs.rtw88

10 packages built successfully:

linuxPackages.rtw88 (linuxPackages.rtlwifi_new ,linuxPackages_5_4.rtlwifi_new ,linuxPackages_5_4.rtw88 ,linuxPackages_xen_dom0.rtlwifi_new ,linuxPackages_xen_dom0.rtw88)
linuxPackages_4_14.rtw88 (linuxPackages_4_14.rtlwifi_new)
linuxPackages_4_19.rtw88 (linuxPackages_4_19.rtlwifi_new)
linuxPackages_5_10.rtw88 (linuxPackages_5_10.rtlwifi_new)
linuxPackages_5_11.rtw88 (linuxPackages_5_11.rtlwifi_new ,linuxPackages_latest.rtlwifi_new ,linuxPackages_latest.rtw88 ,linuxPackages_latest_xen_dom0.rtlwifi_new ,linuxPackages_latest_xen_dom0.rtw88)
linuxPackages_hardened.rtw88 (linuxPackages_hardened.rtlwifi_new ,linuxPackages_xen_dom0_hardened.rtlwifi_new ,linuxPackages_xen_dom0_hardened.rtw88)
linuxPackages_latest_hardened.rtw88 (linuxPackages_latest_hardened.rtlwifi_new ,linuxPackages_latest_xen_dom0_hardened.rtlwifi_new ,linuxPackages_latest_xen_dom0_hardened.rtw88)
linuxPackages_lqx.rtw88 (linuxPackages_lqx.rtlwifi_new)
linuxPackages_zen.rtw88 (linuxPackages_zen.rtlwifi_new)
rtw88-firmware (rtlwifi_new-firmware)

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/os-specific/linux/rtw88/default.nix:34:5:
   |
34 |     license = licenses.gpl2;
   |     ^

@SuperSandro2000 Applying the suggestions makes nix build -f linuxPackages_latest.rtlwifi_new fail with: attribute [...] not found.
Kernel modules are defined inside the linuxPackagesFor function, there's a comment explaining this: https://github.com/NixOS/nixpkgs/blob/e3e59d4ab7b9e353d1762100dfeafff66a4118ee/pkgs/top-level/all-packages.nix#L19489-L19493
I've also added a comment to aliases.nix explaining why the alias is in all-packages.nix.

The last force-push updates the package to the most recent revision.
Built and tested to be working with the RTL8821CE BT/WLAN chip.

@SuperSandro2000 I've applied the suggested changes, is there anything else that needs to be done before this can be merged?

This broke eval: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/all-firmware.nix#L52

@dasJ I've opened a PR fixing this: https://github.com/NixOS/nixpkgs/pull/118129.


Add missing math functions

https://bedrock.dev/docs/stable/Molang#Math Functions
For now the arc functions return 0 when their input is > 1 (due to the result being NaN). I'm not sure how actual Molang defaults with too-large values.

Still missing math.min_angle but I'm not quite sure how to implement that

Still missing math.min_angle but I'm not quite sure how to implement that

From the bridge molang parser:
const minAngle = (value: number) => {
	value = value % 360
	value = (value + 360) % 360

	if (value > 179) value -= 360
	return value
}


several bug fixes related to feature style extension

Found a few bugs in the feature style extension that needed to be fixed. Specifically there were some issues with the drawing of indexed features as well as incorrectly projecting data into an expanded bounding box (that should only have been used for querying for overlapping features)
This change also includes updated test cases and updated docs.

Coverage decreased (-0.004%) to 93.921% when pulling 114ce75dd3bfa293f17e350ef9015cbb2cca1a4a on caldwellc:master into 7ab58d5e28d0abff4da21bf79b8f117679c530f6 on ngageoint:master.


Unable to use software

I apologize as I'm pretty new to the IT world, I am just not familiar with how to run this. I was hoping by opening an issue you'd maybe be able to help me? Otherwise please feel free to close out. I feel like I'm supposed to be using the .iss file, and I downloaded Inno Setup compiler, but nothing is working for me. I welcome any assistance. I'm being told that the .exe file is not present (which is a true statement) and I don't know what to do to remedy that

Just go to "Releases", select the latest one, download the setup, unzip and run it.
Direct link: latest setup zip.

I guess I don’t understand what you mean by “run it”. I don’t see any
executable files in the zip
On Fri, Jul 14, 2023 at 2:17 PM dheijl @.***> wrote:

Just go to "Releases", select the latest one, download the setup, unzip
and run it.
Direct link: latest setup zip
https://github.com/dheijl/swyh-rs/releases/download/1.8.3/Setup-swyh-rs.zip
.
—
Reply to this email directly, view it on GitHub
https://github.com/dheijl/swyh-rs/issues/103#issuecomment-1636218973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYWOM2D6KFZVXQWQ74XYFQTXQGELLANCNFSM6AAAAAA2KTUC6Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

Perhaps some anti-virus software on your pc or on your network is blocking it or stripping the contents of the zip.
I'm afraid I can't help you with that.


Remove KEP cryptic message when installing

Warning: the operator won't be able to detect a local image registry via KEP-1755 message can be ignored most of the time but it can create a false sense of alarm to the user. We should either remove the message or provide a more meaningful message.

Agreed. Maybe on TRACE level and remove the "warning"

Can I work on this? I don't know which file to change though

Can I work on this? I don't know which file to change though

Sure. I guess you can look for the resource containing that trace and do the change.

I can't find any such message in the resources folder files

https://github.com/apache/camel-k/blob/1bb415b01a6e1b01f31ec04194b81be19f33fbd5/pkg/install/operator.go#L302


Add issue templates and Makefile target for generating them

Borrowing extensively from @cthoyt and https://github.com/biopragmatics/bioregistry to assemble templates, scripts, and GH Action for creating new PRs when new data instances are requested.

@caufieldjh amazing! borrow away. Do you think there is a core set of utilities that would be useful to externalize into their own package?

Do you think there is a core set of utilities that would be useful to externalize into their own package?

I'm sure there is! Even for LinkML alone it would be convenient to have a consistent set of PR automation scripts, though I can imagine that becoming a bit of a rabbit hole depending on what a PR may need to do beyond writing to the end of a file. Minimal functionality would probably look something like "if issue with a certain tag is opened, create a new branch and placeholder PR"

Really much of this would be a nice module: https://github.com/biopragmatics/bioregistry/tree/main/src/bioregistry/gh

Going to merge this in order to test it with some live issues. For now, it will only work with the main Standards Registry set (DataStandardOrTool.yaml) but there should be a straightforward way to determine which other file should be updated based on the submitted issue.

@caufieldjh since you did copy licensed code verbatim, I think it would be appropriate to give proper credit inside the code, noting the original license (MIT), the place the code came from, and noting any changes made to it

Yes, absolutely - stay tuned

@cthoyt see b938f70 and definitely let me know if you'd like to be credited differently!
We don't have a LICENSE set up in this repo yet 🤦, but I'll mention similar material there, too.


incorrect service final status

Describe the bug

Completed Kubernetes Job summarise as NotReady.
Steps to reproduce

Prepare an Environment with a Kubernetes kind of Connector.
Choose walrus-catalog-sandbox/terraform-kubernetes-containertask template. (Just deploy a Kubernetes Job)
Simply do something echo to make the Job finished.

Result

Expected behavior

Be Ready or InActive.
Environment

Walrus version: v0.4.0-rc3

Additional context
https://github.com/walrus-catalog-sandbox/terraform-kubernetes-containertask

Verified in main
Completed Job:

Failed Job:


Display each body part as user selects incorrectly.

Use the images in src/assets/img to get you started

I like this project, if you want I can resolve this also

@abderra7 Sure thing man! The images are kinda rough, so just be aware of that. They're super place holder for right now. Feel free to just nudge them into place to create the hangman for the time being.


Echo and Junkrat nerfs

Echo and Junkrat have been absolutely massacring 6v6 Adjustments so this hotfix is aimed at putting them in a better spot
| Echo |
-Tri-Shot damage reduced from 16 to 15
-Sticky Bombs deirect hit + explosion damage reduced from 26.67 to 25 (150 total)
-Focusing Beam cooldown increased from 8 to 10 seconds
| Junkrat |
-Frag Launcher damage reduced from 115 to 110
-Concussion Mine maximum damage reduced from 108 to 90

Looks good


feat: template for frontmatter added

Hi @kaiiiz ,
I think these changes implement the feature of updating frontmatter of the Raindrop highlights md raised here https://github.com/kaiiiz/obsidian-raindrop-highlights-plugin/issues/15 and here https://github.com/kaiiiz/obsidian-raindrop-highlights-plugin/issues/10 beside of keeping the raindrop id and the timestamp to make the auto-append work.

Thanks for the contribution. Most of the implementation is the same as I expected. The only thing missing is that the template validation should also include checking that the built-in parseYaml can also parse the newly rendered metadata correctly.
Besides, I expect that the default template should be empty (i.e. only raindrop_id and raindrop_last_update are transparently added by the plugin) to provide a better default setting for normal users. Maybe the guide of the metadata template should be placed in the placeholder property.
I'll merge the PR to the dev branch and modify it later.


Worker enhancements

The worker API is meant to be an efficiency gain in two ways: reusing warm/compatible JVMs, allowing for parallelizing  of tasks. The JVM reuse is good and bad for Clojure and some of our specific tasks. Starting a JVM is a cost that is nice to get rid of, starting the Clojure runtime even more so. But particularly for compilation, this can be problematic if classes that were loaded previously no longer exist. You might be expecting a NoClassDefFoundError, but get a successful compile.
To avoid this, I'm trying to detect whether an incompatible change has been made on the classpath, and restarting the Clojure runtime if it was. Leveraging shimdandy to isolate the runtime and clean it up if we need a fresh one.
This also involved refactoring again into two different modules: the plugin itself, and a tools JAR that is used by the workers. It includes the compiler and test runner and any helper classes. Due to the way the workers use the Gradle classpath, it's helpful to keep these outside of the plugin so they can be added to the shim's classpath, but not the worker as a whole.
This is also restores the fail on reflection support, and adds tests to validate.
On your first build this is a little slower to use than the other method. But once the daemon and workers are running it speeds things up.
This PR resolves #9.

This is now ready for review, when someone's got time. It's probably worth reviewing the commits independently, they're more logical at this point.

Just updated the build to upload to Bintray, in addition to the plugin portal. This is needed to make the tools JAR accessible. I've put in the request to have it included in JCenter, as well.
If any of you have a Bintray account, let me know, and I'll get you added to the gradle-clojure org out there.

I missed the fact that this was marked as ready for review... It looks like we have some conflicts now though.

I should be able to take a look at the conflicts this evening.

No rush.  It'll probably be the weekend before I can get a good look at it--my evenings this week are pretty full.

Conflicts are fixed

Thanks for the review and sorry for the delayed response! On the serialization UID, I don't have a very firm grasp of when those are or aren't needed. I can add one if you think that's the right call.

  I'm not real sure it's needed... I guess I don't understand what Gradle or the plugin intends by supporting it.  I think if it's just a runtime thing to communicate between the the processes, it's probably fine as-is.  If it's meant to be persisted, then I think we need it.  I have done much on the serialization front recently (it was years ago the last time I looked at anything related to it), but the docs say:

If a serializable class does not explicitly declare a serialVersionUID, then the serialization runtime will calculate a default serialVersionUID value for that class based on various aspects of the class, as described in the Java(TM) Object Serialization Specification. However, it is strongly recommended that all serializable classes explicitly declare serialVersionUID values, since the default serialVersionUID computation is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected InvalidClassExceptions during deserialization. Therefore, to guarantee a consistent serialVersionUID value across different java compiler implementations, a serializable class must declare an explicit serialVersionUID value. It is also strongly advised that explicit serialVersionUID declarations use the private modifier where possible, since such declarations apply only to the immediately declaring class--serialVersionUID fields are not useful as inherited members. Array classes cannot declare an explicit serialVersionUID, so they always have the default computed value, but the requirement for matching serialVersionUID values is waived for array classes.

Do you have a sense of what it's for?  If it's IPC, then let's just leave it be--otherwise you need to be concerned about changing the serialVersionUID when you change the class, which is the biggest headache I remember about it. :-)

Thanks for the detail. I believe it's all for IPC, so I think we're good. I'll merge this in now.


Retry reading a JAX-RS |Response| within |RetryHelper|.

Instead of #18, trying to retry reading a response without generics: for #19.
Will rebase after #20 is merged.

@muga Finally, a version is ready which does not add a generics parameter in the base classes. Can you take a look?

Looks good. InputStreamResponseEntityReader and StringResponseEntityReader are good enough for now 👍
I will take a look #20 soon.

Thanks! Merging.


--model_dir=<path_to_tooth-detection>/tooth-detection/models/transfer/new_version  :  no "transfer" folder

Hi Clement, under the training section, you say to call train.py with arguments
--model_dir=<path_to_tooth-detection>/tooth-detection/models/transfer/new_version
but there is no folder /models/transfer/new_version.  Where do you get this folder from?  Thanks

Hi Clément, I am also interested in the answer!
Thanks !

Yes because I haven't comitted the trained model. It's a folder where I save my models.
You can find more info on the tf object detection training here https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_locally.md


[cache] Don't assign finished workloads to newly add CQs.

What type of PR is this?
/kind bug

What this PR does / why we need it:
Skips assigning Finished workloads to the newly added cluster queues in cache.
Which issue(s) this PR fixes:

Fixes #1654
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/test all

/cc @alculquicondor

Add a unit or integration test, please

Add a unit or integration test, please

done

/hold
can you squash?

@alculquicondor  done
/unhold


Close search completely when closing keyboard

Summary of changes
Asana Ticket: 🛑 Close search completely when closing keyboard
Added an extra event listener to close open menus (includes search bar) when the search input has a focusout event.

After talking about this in standup, it turns out this actually might have been fixed in #1179


Use bitarray fork

Same as https://github.com/data61/clkhash/pull/308 switch to using a fork of bitarray that distributes binary wheels for easier installation (e.g. on Windows where having a compiler setup isn't guaranteed)

Thanks @gusmith I've created https://github.com/data61/anonlink/issues/251 to track reversing this.


Non unique index should not appear in findOne where clause

Bug description
The findOne where clause contains @@index([column]) indexes. This is wrong since a normal index doesn't have the unique constraint and is thus not guaranteed to find only one element.
How to reproduce
model Calendar {
  id         String @id @default(cuid())
  providerId String
  @@index([providerId])
}

Generate the client and try to use findOne, you will see the providerId.
Expected behavior
This column should only appear in the findMany and findFirst.

Environment & setup

Database: PostgreSQL
Prisma version: 2.6.2

This seems to be the same as https://github.com/prisma/prisma-client-js/issues/711
Therefore directly putting it into the current sprint so we can have a look at that.

Fix available from 2.9.0-dev.58 onward. Will be included in the 2.9.0 release.


Attaching debugger to a running process causes the process to segfault

Issue Type: Bug

Behaviour
Expected vs. Actual
I ran a simple python script that alternates between print() and sleep() forever, then I tried to attach the debugger to it.  I expected to gain control of the process with the debugger.  But actually, the process segfaulted.
Steps to reproduce:
I disable all of my extensions from the Extensions tab using "Disable all installed extensions", and then re-enable only the Python extension to get the debugger.
I run the following Python script:
test.py:
import itertools
from time import sleep

def main():
    for i in itertools.count():
        print( f'Hello! ({i})' )
        sleep( 2 )

if __name__ == '__main__':
    main()

And then I try to attach to it using the following debugger setup:
launch.json:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name":"Python: Attach using Process Id",
            "type":"python",
            "request":"attach",
            "processId":"${command:pickProcess}",
            "logToFile": true,
            "console": "internalConsole",
            "env": {
                "PTVSD_DEBUG": "1",
            }
        },
    ]
}

Here's what the ouput of the script looks like:
$ python -u test.py
Hello! (0)
Hello! (1)
Hello! (2)
Hello! (3)
Hello! (4)   // once this is is printed, I attempt to attach
The threading module was not imported by user code in the main thread. The debugger will attempt to work around https://bugs.python.org/issue37416.
[1]    469716 segmentation fault (core dumped)  python -u test.py

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.12
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): VirtualEnvWrapper
Value of the python.languageServer setting: Pylance

User Settings

defaultLS: {"defaultLSType":"Pylance"}

downloadLanguageServer: true

envFile: "<placeholder>"

venvPath: "<placeholder>"

venvFolders: "<placeholder>"

condaPath: "<placeholder>"

pipenvPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

linting
• enabled: false
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: false
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: true
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"

sortImports
• args: "<placeholder>"
• path: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "none"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"

testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true

terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"

experiments
• enabled: true
• optInto: []
• optOutFrom: []

insidersChannel: "off"

tensorBoard
• logDirectory: "<placeholder>"

Extension version: 2022.2.1924087327
VS Code version: Code - OSS 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T19:23:12.185Z)
OS version: Linux x64 5.16.16-arch1-1
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz (4 x 3389)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
15.53GB (1.03GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

My understanding right now is that the "The debugger will attempt to work around..." message may be unrelated.
I was concerned that it was related, and did a bit of searching, but based on https://github.com/fabioz/ptvsd/commit/e0b2c5e9a043f6c1521391aa3cf303c0ba7435cf (which was written to resolve https://github.com/microsoft/ptvsd/issues/1542, which was linked from https://bugs.python.org/issue37416 - the bug linked in the warning) it appears that if the workaround had failed, there would probably be more errors, like "Issue found when debugger was trying to work around..." or "Error patching main thread id."
Of course, maybe the segfault is happening early enough that those other messages aren't being sent. :man_shrugging:
Also, this person seems to also have been finding it impossible to successfully attach to a very similar looking test script using Ubuntu/WSL/Windows: https://github.com/microsoft/debugpy/issues/102#issuecomment-940834793  Interestingly, they don't have a segfault - and I don't get any reaction inside vscode like their screenshot.

Found https://github.com/microsoft/vscode-python/issues/3528, in which OP stopped getting their segfault after building a clean conda enviroment.  Realized I could do more to isolate the problem.  So:
I built a clean venv:
$ which python
/home/phenry/.virtualenvs/test_attaching_debugger/bin/python
$ pip list
Package    Version
---------- -------
pip        22.0.4
setuptools 60.9.3
wheel      0.37.1

I removed my OSS build of VSCode (Arch's community/code package) and replaced it with the official MS binary (Arch's aur/visual-studio-code-bin package).
I installed only the Python and Pylance extensions:

I made sure that VSCode was using the new venv:

And I used the default "Python: Attach using Process ID" config that was generated for me on first run:

I'm still getting the segfault.
Below is the diagnostic data generated by this new environment:

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.12
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): VirtualEnvWrapper
Value of the python.languageServer setting: Default

User Settings

defaultLS: {"defaultLSType":"Pylance"}

downloadLanguageServer: true

envFile: "<placeholder>"

venvPath: "<placeholder>"

venvFolders: "<placeholder>"

condaPath: "<placeholder>"

pipenvPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

linting
• enabled: true
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: false
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: false
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"

sortImports
• args: "<placeholder>"
• path: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "autopep8"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"

testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true

terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"

experiments
• enabled: true
• optInto: []
• optOutFrom: []

tensorBoard
• logDirectory: "<placeholder>"

Extension version: 2022.4.0
VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:41.156Z)
OS version: Linux x64 5.16.16-arch1-1
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz (4 x 2722)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
15.53GB (0.40GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmc:30438804
vscgsvid1:30447480
pynewfile477:30463512


Convert to swift 2 and compile with iOS 9 SDK

I ran the swift language converter and fixed a handful of compilation errors in Xcode 7

I remember there is a swift-2.0 branch already?

Oh, I didn't even notice.  Let me see if my tvOS branch works on top of that one instead.


Jupyter Notebooks for 2nd Edition?

Hello Dipanjan,
I was wondering if you had the notebooks in question mentioned in the Safari/OReilly book available? The link led me here and I don't see them in the repo.
Thanks!

Apologies had a long standing issue with the  code access and then fixing LFS issues. It is available now.


Not getting the transaction information

Hi,
I am performing cleos get transaction <trx_id> but i am not able to print the transaction information and i have attached history_plugin and history_api_plugin Please help me out
Thank You

Yeah history call seems broken https://github.com/EOSIO/eosjs/issues/287

You need to have filter-on= in your nodeos' config.ini


More ores in 1.10?

Can you add support for more than just silver, lead, copper, tin, gold, iron, and osmium in ore quintupling?
For example, maybe aluminum, nickel, platinum, and zinc?
I am using  Mekinism-1.10.2-<IP_ADDRESS>.

Not in 1.10. That's in critical bugfix mode only.


Ease out training data generation process

Hi, yesterday I planned to re-train the existing NEON.h5 model upon the self-prepared dataset. However, very soon, I got stuck with the problem of how to code down the script for converting all training images and their corresponding annotations (present in XML format) into a single headerless CSV file (of a particular pre-defined format) within a single loop of code by taking the reference of code present in docs/training.MD and modules like preprocess.py and utilities.py.
There were three problems that I faced with the above scenario:-

Firstly, the code present in docs/training.MD was just limited to a single training image and its corresponding XML annotation file.

Secondly, expecting users to scale that code present in docs/training.md to get the same result with all of their training images and corresponding XML annotations files will be quite hard on their part and thus will refrain users to use DeepForest library and to enhance its accuracy by re-training its weights.

Thirdly, digging deep into this issue, one gets clear that the problem arises because functions like "xml_to_annotations" and "split_raster" present inside utilities.py and preprocess.py, respectively, were not utilized for working with many files at a single time.

As a solution, I propose a module named "train_data_generator.py".
This module will make the user's experience while generating the dataset for the re-training process very smooth. A user has to create a folder that says "dataset" in his/her local system, place the "annotations" folder (containing all XML format annotations) and "images" folder (containing all training images dataset) inside the newly created "dataset" folder, execute "pip install DeepForest" in command prompt, opening a python file and executing these code lines:-
from deepforest import deepforest
from deepforest import utilities
location = "C:/Users/mycomputer/Desktop/dataset"
prepare_traindata(location)
..................and that is it.
User with very few lines of code will get his/her final output in two folders, "training_annotations" (containing combined_csv.csv file) and "training_images" (containing all training images in required png format), which will be used later to re-train the model weights.
Please do review the proposal. Thanks in advance.

Hi @bw4sz, can you please review this PR and tell if you feel any changes to be done to it.

I do not think this is a problem that should be covered in this code base. I think a better solution is to add to the docs and make them clearer. The more functions that are added, they need to be supported and tested. Especially when it comes to data loading (a weak point in the package), we should not be making any more assumptions.
problem of how to code down the script for converting all training images and their corresponding annotations (present in XML format) into a single headerless CSV file (of a particular pre-defined format)

Can you make an issue with the docs label and show what you tried and we can work on the docs. This doesn't strike me as
difficult, but I'll need to look at exactly what you mean. Just

Convert annotations to pandas dataframe using the xml_to_annotations utility, stored in a list.

pd.concat() to create a master dataframe.

Save that dataframe alongside the crops.

untested pseudo-code
import deepforest
import pandas as pd
import glob

xmls = glob.glob("path/*.xml")
results = []
for xml in xmls:
    df = deepforest.utilities.xml_to_annotations(xml)
    results.append(df)

results = pd.concat(results)
results.to_csv("path_to_crops/train_annotations.csv",header=False)

I welcome additions to docs.


Update _config.yml

https://github.com/jekyll/jekyll/issues/2938
Fixes https://github.com/SwiftWeekly/swiftweekly.github.io/issues/16

Amazing! Thanks @aciidb0mb3r !
:smile: :bow: :heart_eyes:


Linked Tickets not displaying in Internet Explorer

I have a user who uses Internet Explorer but linked tickets do not display in the list as with other browsers.  Is Internet Explorer not fully supported?

Internet Explorer is not supported. It may work on some versions of IE, but I don't have a Windows box to test with so I can't guarantee anything.


Rename project

@hason Would you mind reviewing this? If everything looks good, please merge it in, and then I'll create the new package on Packagist and grant you access to that :)

I don't know why Scrutinizer thinks the tests failed: https://scrutinizer-ci.com/g/thephpleague/commonmark-ext-table/inspections/367798a7-e416-48ef-9f8d-56edf419a3e9 But you should have access to that if you'd like to help investigate further.

@colinodell Thanks!


How to cluster

Hello,
I read that this has been requested in the past and after a very long research I wasn't able to find a rate limiting library backed by redis which would also contain all the features I need, so somehow I am still stuck with bottleneck.
Literally every express project I wrote in the past required clustering. It's a pitty that bottleneck doesn't really support it. Every time I scale my application (up- or down) I am forced to adapt the amount of available requests for my limiters for each instance. Since the available requests usually don't change with my number of instances (because I am using external API services) this is very annoying.
Do you have any recommendations what I could do to solve this? Do you maybe intend to implement cluster support in a major update?

@weeco Hi there! Take a look at https://github.com/SGrondin/bottleneck/issues/30 . Might help you to roll out your own fork, or wait until @SGrondin rolls out the changes there.

Yup. I'm working on a v2.0 right now.

@SGrondin let me know if you need any help.

I'm closing this in favor of #30 . @weeco @TheGame2500 your input is appreciated in that other issue. v2.0 is getting a lot closer.


Setup UI fixes

trim whitespace and dash-separate guardian names because they are treated as DNS names which can't contain spaces

Codecov Report
Base: 65.41% // Head: 65.48% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (374065a) compared to base (93ae7ca).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1677      +/-   ##
==========================================
+ Coverage   65.41%   65.48%   +0.07%
==========================================
  Files         131      129       -2
  Lines       23432    23434       +2
==========================================
+ Hits        15327    15345      +18
+ Misses       8105     8089      -16

Impacted Files
Coverage Δ

fedimintd/src/ui.rs
0.00% <0.00%> (ø)

fedimint-server/src/consensus/mod.rs
83.46% <0.00%> (-0.17%)
:arrow_down:

crypto/tbs/src/lib.rs
91.66% <0.00%> (ø)

client/cli/src/main.rs
0.25% <0.00%> (ø)

fedimint-server/src/db.rs
46.66% <0.00%> (ø)

fedimintd/src/bin/main.rs
0.78% <0.00%> (ø)

fedimint-server/src/lib.rs
77.29% <0.00%> (ø)

fedimint-sqlite/src/lib.rs
95.30% <0.00%> (ø)

fedimint-dbtool/src/dump.rs
0.00% <0.00%> (ø)

... and 93 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Should we sanity check for invalid characters?

Yea. Should probably do this on all form inputs. What characters should be considered invalid?

Yea. Should probably do this on all form inputs. What characters should be considered invalid?

DNS names can contain only alphabetical characters (A-Z), numeric characters (0-9), the minus sign (-), and the period (.). Period characters are allowed only when they are used to delimit the components of domain style names.

Given that we want to migrate an API+PWA approach I'd like to avoid having too much cleverness on the server side that might creep into the API eventually. Couldn't we apply these simple fixes on the client side? Especially in the case of federation name that would be more transparent to the user too (live replace?).

If the server side requires dns-safe characters to work, it should do the input sanitization on the server side anyway, no? I agree that UI-side sanitization would be great, but probably in addition.

Imo the server should check and fail if invalid, not apply random fixes. The client can try to nudge the user to do the right thing.

Imo the server should check and fail if invalid, not apply random fixes. The client can try to nudge the user to do the right thing.

Yes, the server must validate and fails if it gets invalid data.

UI-side sanitization would be great, but probably in addition.

The client should also validate, so that a user has a good UX and doesn't enter all the details and then gets a bad response from the server.
Sorry, missing a bit of context: So, we're using the guardian name as DNS name and TLS Server name indication. If we only need to derive the DNS name from the guardian name, then I'd probably be fine with replacing spaces with - or _ to make it a valid DNS name if and only if the rest of the name contains valid DNS characters that need to be validated by the server first  (and client-side to have good UX).

Couldn't we apply these simple fixes on the client side?

Yea I could do that

Needs rebase


dynamic copyright year

Added a feature to dynamically update the copyright year using javascript

https://mn-manuprasad.github.io/Dust-Road-Co/

https://mn-manuprasad.github.io/Dust-Road-Co/

Please follow the PR template, or else I won't look into the PR.


Add cleanup stale k8s namespace to CleanUpGCPResource workflow

We experience elevated stale k8s workloads which triggers internal vulnerability alerts. This PR adds a script to auto clean up them
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @damccorm

Tested locally:
> Task :beam-test-tools:removeStaleK8sWorkload
Fetching cluster endpoint and auth data.
kubeconfig entry generated for io-datastores.
namespace "beam-performancetests-avroioit-hdfs-5084" deleted
namespace "beam-performancetests-avroioit-hdfs-5614" deleted
namespace "beam-performancetests-avroioit-hdfs-5626" deleted
namespace "beam-performancetests-avroioit-hdfs-6303887955" deleted
namespace "beam-performancetests-avroioit-hdfs-6363510649" deleted
namespace "beam-performancetests-avroioit-hdfs-6367265575" deleted
namespace "beam-performancetests-avroioit-hdfs-6382" deleted
namespace "beam-performancetests-avroioit-hdfs-6463593156" deleted
namespace "beam-performancetests-avroioit-hdfs-6476827437" deleted
...


Returning Info about the 'blame' window

I think it would be great if there was a "Toggle" ability to the blame window. But for that to happen the blame function need to return the information about the window.
Then the async blame function could track the blame window and toggle it instead of re-open it, when a specific option was entered.
i.e. require("gitsigns").blame({ toggle=true })

No, sorry.

can you please elaborate why? I think it would be helpful for a lot of users

No sorry.


Add warning to polyfill Element.closest()

Fixes #241

Adding a warning doesn't really fix the issue. The addon should avoid using Element.closest.

@btecu open to that, too - although this was what I proposed in #241.
I don't think it's unreasonable to ask consumers of the library to polyfill, but can see the benefits of avoiding Element.closest() altogether.

While it’s true that this isn’t a solution, it’s definitely an improvement. I’ll reopen the issue once this is merged.

Thanks @samhogg!


Add idealised (cartesian) sample for testing purposes

Added ideal.nc, an idealised cartesian test file, sourced from my current cyclone research.
Included variables are:

XLAT, XLONG, DZS, U, V, W, REFL_10CM

Hey Max, thanks for the pull request. Could you also include the Times variable and check if you need other variables by calling .xwrf.postprocess()? We should actually fall back to the XTIME coordinate and I'll work on that in xwrf#169. But in order to get your enhancement merged asap, I'd suggest just adding the Times variable to the data.

Actually, I just saw that the west_east_stag dimensions are of size 480 and the west_east dimension is of size 80. Could you make a new pull request (pull your local git first) and either have the west_east_stag size be 81 or just not clip any of the horizontal coordinates? I think either solution would be fine. Thanks :) and sorry I didn't catch that earlier


Visualizer failed to read the sample trace file

I followed the instruction at https://google.github.io/mediapipe/tools/tracing_and_profiling.html#analyzing-the-logs.
But Visualizer failed to read the sample trace file with the error below.
Loader
Could not load trace 'sample_trace.binarypb'.
Uploader
Could not load trace 'sample_trace.binarypb': Failure: Failed to read varint, encoding is invalid.

@kenmasumitsu Can you provide more info?

what is the trace files generated for what devices?
Provide link to the sample trace file

It is the file attached at https://google.github.io/mediapipe/data/visualizer/sample_trace.binarypb

Thanks for the report Kenmasu.  We found that the problem was with our source code release script, it was applying text transformations to sample_trace.binarypb, which obviously corrupted its binary format.  The release script is now fixed, and sample_trace.binarypb should be usable with the next release after MediaPipe v0.7.6.  I've attached the corrected file below in case it's helpful.
sample_trace.binarypb.zip

Fixed in release 0.7.7


How to customize serverless-iiif

Hey guys;
Firstly thanks to all who built serverless-iiif. It's working great.
I have need to override the headers that are returned here:
https://github.com/nulib/serverless-iiif/blob/v2.0.1/src/index.js#L46
Also, would it be possible to allow for more than just tiff images on this line:
https://github.com/nulib/serverless-iiif/blob/v2.0.1/src/resolvers.js#L7
Is there intention to make those bits configurable?
Is there a reason for having the service only work on tifs?
Thanks for any pointers.

Hi @ryantomaselli! Thanks for asking. A little background about the project may help. serverless-iiif was originally developed as a small proof-of-concept repo extracted from a bigger project I wrote to serve up images for NU's Digital Collections. It's since grown into a full-fledged project, but it still has some code in it that belies its “minimum viable demo project” roots.
The TIFF limitation isn't a hard technical limitation – the server will work with whatever source image you give it, as long as it can be read by the sharp image library. I chose pre-tiled pyramid TIFFs because they already have multiple resolutions and tiles embedded in them, so sharp can carve them up more efficiently than other formats. But as long as the source image is accessible and sharp can parse it, it should be fine.
Same with the headers – I went with a sane default for a public server just to prove the concept.
The hard-coded .tif extension is easy enough to change – resolvers.js is meant to be the file that gets overridden and customized for specific configurations anyway. So the short answer is that the things you mentioned are not difficult to change, but they're not configurable – you'd have to fork the repo, make those changes in code, and deploy your customized version.
In that vein, perhaps moving the response headers into a resolver would solve that issue for you as well, along with more documentation on how to easily deploy a customized version of the server. (Did you deploy your existing service using the Serverless App Repository link, or the command-line sam tool?)
We're just now working on moving serverless-iiif out of Northwestern University Library's GitHub organization an under the umbrella of the Samvera Community. I'll still be maintaining the project, but I'll have more help and hopefully some additional perspectives and use cases to make the service more generalizable.

Ah! Thanks for the detailed response @mbklein, that helps.
Yes I did deploy using the Serverless App Repository link and I made the edits to those 2 files using AWS Console directly (for now).
Some documentation on "how to easily deploy a customized version of the server" would be unreal.
Great to hear this project will getting more investment!


Create matching cubed-sphere mesh partitioner to test interpolation.

A Matching partitioner will be required in order to test the cubed-sphere interpolation method.

@odlomax - what should we do with this issue?


Change default module to commonjs

As noted in https://github.com/Microsoft/TypeScript/issues/6735, the default --module flag should be commonJs and not none.

Hey, just wanted to say.... you guys are awesome!!  Really enjoying all the new functionality in VSCode and Typescript.  Thanks!

Fixed in #7016


[Dashboard] Remove ethers (1)

this pr mainly focuses on removing the address-utils methods from ethers.js

isAddress
ENS-related method
getAddress

PR-Codex overview
This PR updates the codebase to use isAddress and getAddress functions from thirdweb/utils instead of ethers/lib/utils.
Detailed summary

Replaced isAddress and getAddress imports in multiple components and pages
Updated validations and utility functions to use thirdweb/utils
Added new functions resolveAddress and resolveName in ens.ts to interact with ENS

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4161  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kien-ngo and the rest of your teammates on  Graphite