[FEATURE] Add ssh to kibot full image

I am using submodules to include libraries.
The diff target does a recursive update which fails.
I mapped my .ssh directory into the docker but that does not suffice, 'ssh' itself is missing.
ERROR:Running ['/usr/bin/git', 'submodule', 'update', '--init', '--recursive'] returned 1 (kibot.gs - gs.py:839)
DEBUG:- Output from command: Cloning into '/tmp/tmp-kibot-diff-checkout-mp8wk_1l/LIBS/kicad-lib'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of<EMAIL_ADDRESS>into submodule path '/tmp/tmp-kibot-diff-checkout-mp8wk_1l/LIBS/kicad-lib' failed

On a side note, I try to add 'ssh' with: apt update ; apt install -y ssh  but I ran into the following (ghcr.io/inti-cmnb/kicad8_auto_full:dev):
189 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 kidiff : Depends: kiauto but it is not installable
          Recommends: scour but it is not going to be installed
 ssh : Depends: openssh-client (>= 1:9.7p1-4) but it is not going to be installed
       Depends: openssh-server (>= 1:9.7p1-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Hi @mdeweerd !
Fresh images should now contain the ssh client

Thanks!


[SPARK-4848] Stand-alone cluster: Allow differences between workers with multiple instances

I've changed the stand-alone cluster run scripts to allow different workers to have different numbers of instances, and base webui ports.
I did this by moving the loop over instances from start-slaves to start-slave.
In order to stop things properly, I had to make similar changes in stop-slaves (and introduce stop-slave).
While I was at it, I changed SPARK_WORKER_PORT to work the same way as SPARK_WORKER_UI_PORT, since the new methods works fine for both.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28573/
Test FAILed.

jenkins, test this please

Test build #28578 has started for   PR 3699 at commit 479c31c.

This patch does not merge cleanly.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28578/
Test FAILed.

jenkins, test this please

Test build #28590 has started for   PR 3699 at commit 479c31c.

This patch does not merge cleanly.

Test build #28590 has finished for   PR 3699 at commit 479c31c.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28590/
Test FAILed.

I'm redoing this in the latest code, remaking the PR from scratch, to alleviate merge issues. I'll post the new PR here when it's made.


Logs can't be expanded in Chrome and Chromium

Hello,
thank you for your awesome work.
Lately i'm having a problem with the logs in the Chrome and Chromium browser console.
In Chrome 79.0.3945.117 and Chromium 81.0.4021.0 logs can't be expanded. The icon points to the right direction (right for collapsed and down for expanded) but there is no data shown. In Firefox 72.0.1 everything works fine. I am using redux-logger v3.0.6.

Do you have the log filter open? If you're filtering for a type other than info then the groups won't be expanded. This is because Chrome doesn't filter out groups when they have no filtered children.

Thank you for your response and sorry for your time.
Somehow i managed to set the filter in both browsers to 'errors' and so nothing but errors are expanded 🙈
Everything works fine and i will close this issue.


resetBoundsOnResize has no effect

Hi :)
Thanks for your nice plugin, it works really well, besides one issue using resetBoundsOnResize in my project. Feels like setting it to true, doesn't have any effect.
Instead of changing the center of my map on resize nothing happens.
I built a very simplified demonstration of the problem:
https://codepen.io/bauschig/pen/KqepKq
Can you may help me out with this?
Thanks a lot!

Hi thank you for the example.
You have explicitly fixed the map height in style, so height resizing would not help.
Also defaultCenter is used once at map init and resizing the map will not change it.
Use controlable component way, ie center zoom is in a state and respond and onChange event.
BTW even with controllable way there is no logic to preserve map center on resize at rectangle center, if you need it you should intercept resize by your self and change center accordingly.

Hi @istarkov :)
Thank you very much for your quick response!
I may got wrong, what resetBoundsOnResize is doing here:
https://github.com/istarkov/google-map-react/blob/master/src/google_map.js#L453-L460
Can you may explain it to me ?

Triggers gmap map api that size of parent component has changed, so it can rerender map and fire needed events. Which allow me to call bounds changed etc.
It uses as I remember the same algorithm to detect control size change as like as AutoSizer at react-virtualized
Not sure I wrote this 2.5 years ago and this part was added by lib users.

Ah ok thanks for the explanation :)


Not working for README, AUTHORS, LICENSE - text files with no extension

In my case it is not working for files such: README, AUTHORS, LICENSE - text files with no extension.
macOS High Sierra.
Latest qlstephen installed via brew cask install qlstephen.
Thank you.
Regards,
Tomas

Den 2017-12-30 kl. 23:05, skrev tklems:

In my case it is not working for files such: README, AUTHORS, LICENSE -
text files with no extension.
macOS High Sierra.
Latest qlstephen installed via brew cask install qlstephen.

It does for me with:
MacOS High Sierra Version 10.13.2, QLStephen.qlgenerator 1.4.2
regards, Tomas :-)

Solved. It is not a bug. Sorry...
The problem is that my macOS had several apps which registered themselves as QL generators for public.data type.
In that case there is no way to control which generator will be used. See: 11705425
To find which app is stealing the preview (e.g. for "lincence" file):
qlmanage -d 4 -p license
[DEBUG] Registering <QLGenerator /Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator> for public.data
[DEBUG] Preview test for license -- file:///Users/user/tmp/ql/. Content type UTI: public.data
[DEBUG] Previewing file:///Users/user/tmp/ql/license. Content type UTI: public.data. Generator used: <QLGenerator /Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator>
[DEBUG] Loading <QLGenerator /Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator>
[DEBUG] Previewing file:///Users/user/tmp/ql/license did not produce anything
[DEBUG] Thumbnailing license -- file:///Users/user/tmp/ql/ - type: public.data - generator: <QLGenerator /Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator> (try #1)
[DEBUG] Thumbnailing file:///Users/user/tmp/ql/license. Content type UTI: public.data. Generator used: <QLGenerator /Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator>
[DEBUG] Thumbnailing file:///Users/user/tmp/ql/license did not produce anything

I fixed my issue by editing Info.plist files in .qlgenerator in the application.
For example one of the stealer-app was: "Paint 2".
I changed this file:
/Applications/Paint 2.app/Contents/Library/QuickLook/PaintQuickLook.qlgenerator/Contents/Info.plist
Thank you.
Regards,
Tomas


Missing requirements.txt File

Thank you for sharing this awesome paper as well as the code.
The project does not include a requirements.txt file, making setting up the development environment a bit challenging. Could the project maintenance team provide it? Your time and assistance are greatly appreciated!

For your reference:
numpy
torch
nvidia-dali-cuda110 % https://docs.nvidia.com/deeplearning/dali/user-guide/docs/installation.html
dali
ftfy
regex
ninja
mmcv-full % mmcv-2 works, some minor adjustments need to be made when importing...
mmcls % mmcls-0.25.0 works

I'm sorry for the negligence in our work. We have added the requirements.txt and more detailed instructions for environment setup. Thanks for your attention.


feat(helm): add readinessProbe on kuik's components

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


parsing match statements

Hey @naegelejd we added you to the organization. You should receive an invite in your email soon. Please accept it.

Hey TY


unable to fetch DeviceMotion

Describe the bug
Since installing 2.0.x I get following errors in the log
[11/30/2020, 2:00:05 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:10 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:15 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:20 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:25 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:30 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:30 PM] [dingz] [dingz Küche] Error: timeout of 3000ms exceeded (GET http://<IP_ADDRESS>/api/v1/state)
[11/30/2020, 2:00:30 PM] [dingz] [dingz Küche] HTTP ECONNABORTED Connection aborted --> <IP_ADDRESS>
[11/30/2020, 2:00:30 PM] [dingz] [dingz Küche] Error -> unable to fetch DeviceMotion data DeviceNotReachableError DeviceNotReachableError: Device can not be reached -> dingz Küche-> <IP_ADDRESS>
[11/30/2020, 2:00:31 PM] [dingz] [dingz Küche] Device --> recovered from unreachable state (<IP_ADDRESS>)
[11/30/2020, 2:00:35 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:40 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 2:00:45 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)

To Reproduce
Install 2.0.4 and check log

Still getting the same error on 2.0.5
+41 78 825 28 33
https://simonnelli.com
On 30 Nov 2020, 14:29 +0100, Johann Richard<EMAIL_ADDRESS>wrote:

Closed #151 via acc63d0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

🙈 This is the dingz without a PIR that's throwing the error, right? If so, then this is probably the reason (although this shouldn't happen as there should be no Motion Service at all on this one and hence the poller not be running ...)

no this is a dingz with PIR 😎. But remember this is still the preproduction hardware as I was a beta tester… not sure if you can or are willing to support in the future. Maybe I’ll better ask the dingz-guys for a replacement...
On 30 Nov 2020, 15:56 +0100, Johann Richard<EMAIL_ADDRESS>wrote:

🙈 This is the dingz without a PIR that's throwing the error, right? If so, then this is probably the reason (although this shouldn't happen as there should be no Motion Service at all on this one and hence the poller not be running ...)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Maybe I’ll better ask the dingz-guys for a replacement...

🙈
Right now I'm still willing to support. :rofl: It's working here though, so I wonder whether you could let me know the following (sorry, lost a bit track of what dingz / FW combinations you have):

dingz FW version (1.1.x or 1.2.x)
what's happening if you open http://<IP_ADDRESS>/api/v1/motion? (Error or JSON, and if JSON, what JSON)?

When starting the plugin, it's quite common that the dingz have an unreachable state until the first one or two requests are made. After that they should quickly switch to ALIVE though. So, one question:

Do you still get the same error (i.e. with the Error -> unable to fetch DeviceMotion data DeviceNotReachableError or just the surrounding timeouts without that specific error on DeviceMotion?

The state changes intermittently between ALIVE and DEAD. Therefore I also see Error -> unable to fetch DeviceMotion data DeviceNotReachableError long after plugin restart.

Simon Iannelli | Photography
Könizstrasse 161
3097 Bern-Liebefeld
Schweiz
+41 78 825 28 33
https://simonnelli.com
On 30 Nov 2020, 16:43 +0100, Johann Richard<EMAIL_ADDRESS>wrote:

When starting the plugin, it's quite common that the dingz have an unreachable state until the first one or two requests are made. After that they should quickly switch to ALIVE though. So, one question:
• Do you still get the same error (i.e. with the Error -> unable to fetch DeviceMotion data DeviceNotReachableError or just the surrounding timeouts without that specific error on DeviceMotion?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The state changes intermittently between ALIVE and DEAD. Therefore I also see Error -> unable to fetch DeviceMotion data DeviceNotReachableError long after plugin restart.

Since it's only that one but consistently it could be that the 3s timeout is just too short when the prototype dingz is read out (we send ~ 5 requests following each other every 5s. If the dingz gets saturated then maybe the additional motion polling which happens in parallel is just too much.
I will work on a potential workaround (increase timeout/delay between polls). In the meantime you could consider switching to PUSH for motion detection instead of POLL.

Based on your feedback and the one from @qx54 in #152, I've implemented a new feature which allows you to set the update interval in the configuration. As I've noted in #152, the problem seems to be prevalent for PIR motion sensors and your prototype dingz (which proves to be a useful source of edge cases, so is very useful. :grin: 🙈  :octocat:)
I've pushed a nightly to<EMAIL_ADDRESS>-- you should find a new setting in the UI for an interval which is by default at 10s (you have to save the config and restart Homebridge, otherwise the minimum value of 5s will be kept). If you find some time to check how your log looks with a different interval, that'd be appreciated.
I suspect that despite the cleaner code, the change I made re: the mutex (see #152) actually increased the load on the devices as they see more requests coming in. Not exactly what was the intention. In any case, you might want to switch from POLL  to PUSH for your PIR sensors: it's generally more robust and more event-driven than the brainless polling that was the default.  It will also be the new default value for motion sensors: the callbacks function reliably enough and the price for polling might just be too high in many cases.

Just installed<EMAIL_ADDRESS>and switched to polling. Now getting a slightly different error:
[11/30/2020, 9:32:44 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)
[11/30/2020, 9:32:47 PM] [dingz] [dingz Küche] Error: timeout of 3000ms exceeded (GET http://<IP_ADDRESS>/api/v1/state)
[11/30/2020, 9:32:47 PM] [dingz] [dingz Küche] Device --> entered unreachable state (<IP_ADDRESS>)
[11/30/2020, 9:32:47 PM] [dingz] [dingz Küche] HTTP ECONNABORTED Connection aborted --> <IP_ADDRESS>
[11/30/2020, 9:32:49 PM] [dingz] [dingz Küche] DEAD (<IP_ADDRESS>)
[11/30/2020, 9:32:49 PM] [dingz] [dingz Küche] Device --> recovered from unreachable state (<IP_ADDRESS>)
[11/30/2020, 9:32:54 PM] [dingz] [dingz Küche] ALIVE (<IP_ADDRESS>)

The first one or two requests to the dingz currently timeout (I suspect that there are also just one too many parallel requests made). My dingz always recover with the second GET, if the error disappears after startup, then we should be fine. Solving that issue is on my list though.

What about adding an initial delay to circumvent errors after startup?


Update MenuItem data example in usage.md to match README.md

This is a follow-up PR to #208. The same example used in the README.md is also in docs/usage.md, so updated that one as well for consistency.

Thanks for the PR!


make it possible tu use :GpWhisper

so this can be changed on the fly.
Ideally I would like to be able to pass it an existing file too but I wanted to do a minimum first contribution. Also I develop on top of https://github.com/Robitx/gp.nvim/pull/93 which doesn't help

@Robitx you mentioned pending comments but I dont see any ? could you precise please

@teto sorry, I've forgot the review in the pending state :man_facepalming:

ha yeah the log commands interrupt the user, quite bad ^^'''
I wish we could have logging to a file though, it's just too helpful to diagnose issues.
What do you think of vendoring https://github.com/nvim-neorocks/rocks.nvim/blob/master/lua/rocks/log.lua (or something else but there doesn't seem to be a clear winner among logging library yet, plenary.nvim''s is bad) ? could be for another PR or this one.

rebased, addressed comments and updated the doc. Tested locally with French and English. Worked nicely.

For logging I wouldn't drag another dependency just for this

I was not proposing to add a dependency (yet :) ) but just to copy/paste that file into our codebase.

@teto btw. the doc/gp.nvim.txt is made automatically by a CI function, README is the source of truth from which it's made.


ModuleNotFoundError: No module named 'sed_scores_eval.utils.scores'

ModuleNotFoundError: No module named 'sed_scores_eval.utils.scores'

Could you give some context? e.g. the full traceback? I cannot find where it is imported.

In MGS-CLAP they used a version of this repo from mid 2023.
You should ask them to adjust their code to work with the recent version of this package.
Alternatively, you could use version 0.0.0 (https://github.com/fgnt/sed_scores_eval/tree/v0.0.0) or wait for a response from @JanekEbb.


Remove keycloak-metrics-spi-2.5.3.jar from repo and download it and verify checksum instead

Context
To give more confidence that the keycloak-metrics-spi-2.5.3.jar has not been altered, we should download the jar and verify it's checksum instead.  Currently the executable is vendored in the repo and put in a k8s secret.
Value and/or benefit
Improve confidence in project.  Reduce risk of modifying jar.
Anything else?
No response

busy would have the needed utilities


positionInitialized , when to set it to true

When is positionInitialized true or false

We had some problems over disagreements on when to set positionInitialized to true. For me its description is too vague.
The scenario is what happens if an AGV with lidar based navigation starts up. It knew its exact position before it was turned off. Now it starts up and it is vaguely in the same position based on lidar as it was but there are few reference points in lidar range. It would need to move around a bit to see if it is actually in the same position it was before or not.
Is there an official stance or a consensus on the following questions?

Should an AGV be commandable through VDA 5050 if the positionInitialized is false?
Should an AGV report itself with positionInitialized true if it has coordinates it is supposed to be at but the localization is not reliable at all?
Should an AGV report itself with positionInitialized true if it has coordinates it is supposed to be at but the localization accuracy is questionable?

I would like to revive this question(s).
From the master control perspective, we are unable to set up any standard procedure for vehicles that report positionInitialize=false, as there is no description when exactly this will be set by the AGV nor any defined behaviour to be expected by master control.
Is the AGV able to continue with the current / accept a new order?
Can we rely at all on the position? Can we rely on the lastNode?
If there is any standard behaviour to expect for this parameter, we should define it.
If we cannot clearly answer those questions, we should probably remove positionInitialized as it would be of no (standard) use.

After the core team discussed this end of august, @collani-bosch and me were asked to write a proposal for changing the description of positionInitialized.
Base idea here is that the AGV should only report "false" if it cannot certainly determine its position, meaning x, y and theta cannot be trusted anymore. Order execution is expected to not being possible in this state.
Proposal:
"true": position is initialized. x, y and theta can be trusted.
"false": position is not initialized. x, y and theta cannot be trusted.

Changing to the state of "false" is only allowed if the AGV cannot determine its position anymore and after the AGV did a full stop. When entering this state, the AGV immediately clears any order.
The AGV should additionally report this state via FATAL error.

We would be happy to hear any feedback.


Unregister gitlab project

Hey, does bower support gitlab?
I have a project registered as selectivizr-update and selectivizr-will, but I couldn't bower install them correctly. I always get the result:
bower cached        https://gitlab.com/will1028/selectivizr#e-tag:W/"cc36f06
bower validate      e-tag:W/"cc36f06 against https://gitlab.com/will1028/selectivizr#*
bower new           version for https://gitlab.com/will1028/selectivizr#*
bower resolve       https://gitlab.com/will1028/selectivizr#*
bower download      https://gitlab.com/will1028/selectivizr
bower resolved      https://gitlab.com/will1028/selectivizr#e-tag:W/"20f0381

Unable to find a suitable version for selectivizr-update.

What is right way to register if the project is on gitlab?
If gitlab is not supported, please could you remove them? I will move it to github.
Much thanks

I am also interested in this. Why does unregistering a package, that is not on github, not work?

@iamso Because it's not implemented in registry
@ganlanyuan I've unregistered these packages. Please try to register something like https://gitlab.com/will1028/selectivizr returns 404. Also, please register with .git extension

thanks


How to deploy a new nixOS version?

Hey!
I'm trying to deploy a new nixOS version to a GCE VM.
I've both modules, but they come with versions.
It would be cool to have a complete example for a minimal deployment.
I'll tag the mantainer just in case: @adrian-gierakowski
Thanks!

Hi, it's a while since I used this project, but can investigate.
could you explain a bit more what you are having problem with?

@adrian-gierakowski are you now using something different to deploy NixOS with Terraform?

@threddast yes: https://github.com/nix-community/nixos-anywhere/tree/main/terraform

Wow, thank you! I looked at NixOS-anywhere before but it wasn’t clear that it would be helpful managing machines after first deployment

It works great. I use it together with https://github.com/nix-community/srvos and https://github.com/nix-community/disko


Add setting.AppSubUrl for LANDING_PAGE = explore

I have an URL containing a /git/ subdirectory for the service.
If I change LANDING_PAGE to explore, I'm redirected to /explore instead of /git/explore.
This patch add AppSubUrl to LANDING_PAGE.

Thanks again!


org rename

https://github.com/stolostron/backlog/issues/18733
Signed-off-by: clyang82<EMAIL_ADDRESS>

/retest


Write a TypeScript program to find sum of numbers

Description
Write a TypeScript program to find sum of numbers
Input  : 1 2 3 4 5
Output : 15

How to contribute

Save the solution in FindSumOfNumbers.ts file
Add FindSumOfNumbers.ts file in find-sum-of-numbers folder

!assign


VSCode collapses all spaces in a liquid file schema on save

Version and operating system

Description
VSCode collapses all spaces in a liquid file schema on save.

Additional Details

https://gifyu.com/image/D6wN

What is Expected?
Properly formatted a Schema
What is actually happening?
All spaces/new line characters removed

You're probably using prettier as your code formatter and that is causing the issue. a quick workaround is to add prettier-ignore comment before your schema.
{%- comment -%}<!-- prettier-ignore -->{%- endcomment -%}
{% schema %}
{
  ...
}
{% endschema %}

or the better alternative is to install the Liquid extension and set that as your code formatter.

I'm also using VS Code and don't have any problems. Most likely some formatter, like already mentioned, is causing the issue.

Hmmm, none of that helped.  But I noticed by default when opening .liquid files the language mode detected is set to HTML not liquid, when I switched to liquid language (manually) then saving did not trigger auto format.  Format only worked properly when I run Liquid: Format Document command.
Is there a way to fix language detection in VSCode for liquid files and make the format on save work with it too?

I was able to fix the first issue with:
{
    "files.associations": {
        "*.liquid": "liquid"
    }
}

but the format on save is still an issue.

Just found a fix here: https://github.com/panoply/vscode-liquid/issues/32#issuecomment-748382665 that worked for me


LokiJS -> distributed

Is it possible to use LokiJS as an distributed inmem DB ?

This has been an interest of @techfort in the past, and he has even a few projects prototyping tcp (here) and http (here and here) services.
I would imagine if your application could define a simple rest interface it could be implemented fairly easily but we have no generic solution atm.

Will check the repos. Do you know if any locking mechanism exist in LokIJS for handlig race conditions?


Update Nihms Loader Search for Award Numbers

The pass-nihms-loader in pass-support needs to update the handling of searches using the award number. In the old architecture Elastic Search used to perform filters on the award number as it can come in different forms.
To see the filters this contains what was applied to the award number in elastic search: Elastic Search Filters for Award Numbers
Couple of things to consider when analyzing this:

Was this needed?
Might need modifications to pass-core
Might need to change in the DB on how it's handled
Will need to test on real data to understand

Goal for this ticket: Find all uses of the award search that use elastic search and research an appropriate replacement that can achieve the same/similar filtering.
Deliverable: List of the current uses of the award search and a proof of concept solution that will replace elastic search.

From Pass Sprint meeting: Focus on first non full text searching, use what we already have in pass-core. An external full text search/indexer would be too much.

Important to the note that some parts of the UI need full-text support for the autocomplete service:
https://github.com/eclipse-pass/pass-ui/blob/main/app/services/autocomplete.js

Usages of Searching by AwardNumber:
Pass-Support:

NihmsPublicationToSubmission.SubmissionDTO

Used in converting NihmsPublication record into the NihmsSubmissionDTO. The SubmissionDTO uses findMostRecentGrantByAwardNumber() method

CoeusPassInitEntityUtil.grantNeedsUpdate

Checks whether the award number is equal to the one in the COEUS grant DB. Compares the awardnumber from pass, so the filtering might not be necessary?

Pass-Core:

Nothing found searching for 'award' or 'awardNumber' or 'awrd'

Pass UI:

not a search for awardNumnber, but this does need full-text search for the autocomplete on Journals
https://github.com/eclipse-pass/pass-ui/blob/main/app/services/autocomplete.js

Should normalization be applied to grant award numbers when they are loaded into PASS?

Summary
An initial implementation of an Elide datastore that supports Full-Text search was not successful; however a RSQL implementation for the Award Number search in Pass-Support was successful. An award number pulled from PMC in varying formats will be found in PASS. There are benefits to having full-text support in PASS, namely with the autocomplete feature of searching for journals in the Pass-UI.
Initial Analysis of PMC Award Numbers
Prior to implementation the PMC data was pulled and analyzed. The following are some key stats that informed the POC
Total records in analyzed dataset: 9,538
Total records with the format [A-Z0-9]{3}\s[A-Z0-9]{8}: 9,534
Total records with a suffix (e.g. K23 HL153778-1A1): 4
Total records with spaces between first and second character sets: 0
Total records with leading/trailing spaces: 0
POC Implementation using RSQL
The POC implementation uses RSQL to identify an award number that deviates from the standard form (e.g. K23 HL153778)

An award number with a suffix: K23 HL153778-1A1
An award number with more than 1 space between the character sets: K23   HL153778
An award number with leading/trailing spaces:  K23   HL153778
An award number without any spaces: K23HL153778

In the initial analysis there was only 1 variant of an award number found, and that was the suffix format; however the other types of cases were included as the previous code took them into consideration.
The implementation was only done in Pass-Support in a utility class ProcessingUtil in the NihmsLoader module. The method that accomplishes the normalization is called: awardNumberNormalizeRsql. This implementation cannot be leveraged in other components outside of Pass-Support; however it can be leverage among the other modules in Pass-Support. In Pass-Core there was no need for award number search normalization found.
Other Areas to Investigate:

When COEUS grants are loaded into PASS, do they contain award numbers that are non-standard?

If so, should the grant loader perform a normalization on the award number?

Other than the cases already discussed, what other benefits would a full-text search datastore bring to Pass?

Should normalization be applied to grant award numbers when they are loaded into PASS?

I think this is a good idea. It makes the searches trivial. Probably the right place to do it is the grant loader.

opened #659 as next step


Auto generate ids for grid components

Closing as focus is now switched towards basic content accessibility instead of building rich widgets.


Add custom playlist image upload method

Add method for uploading a custom playlist image. I was going to make an issue requesting this but decided to give it a go myself instead - hope it's all okay! Had to make a few changes to account for the different content type.

Coverage increased (+0.04%) to 98.361% when pulling d66898bc7f8c26f257e8e7bc0dfd1c68ff17041d on lrholmes:master into aaea55addb470ae84c427709c8a56cfbbbbc0255 on JMPerez:master.

@lrholmes great job! thank you so much for your PR!

No problem, happy to help!


TypeError: missing positional arguments

Hi Maciej,
thanks for interesting package. There is an error when any of example usage is run:
TypeError: run_nonlincausality() missing 3 required positional arguments: 'verbose', 'plot', and 'functin_type'

Hi,
This error sholud be resolved with version 1.1.9.

Hi Maciej,
thanks for interesting package.
There is an error when any of example usage is run:
TypeError: run_nonlincausality() missing 3 required positional arguments: 'verbose', 'plot', and 'functin_type'
The version I downloaded is 1.1.10

Hi,Maciej,
thanks for your answers,and I want to know how can i get the version 1.1.9.


Add compute shader type to shaderc help.

Here goes wiki part
https://github.com/bkaradzic/bgfx/pull/2559

This is generated, I'll fix it.


pretraining parameters loading problem about CE loss training

Thanks for your code first.
Step1: follow your instructions, i first train model using cross-entropy about 30 epochs,  using the following commond
python train.py --id fc --caption_model fc --input_json data/cocotalk.json --input_fc_dir data/cocotalk_fc --input_att_dir data/cocotalk_att --input_label_h5 data/cocotalk_label.h5 --batch_size 10 --learning_rate 5e-4 --learning_rate_decay_start 0 --scheduled_sampling_start 0 --checkpoint_path log_fc --save_checkpoint_every 6000 --val_images_use 5000 --max_epochs 30
Step2: then using self-critical to finetune the model to get a higher cider, using the following command:
python scripts/prepro_ngrams.py --input_json .../dataset_coco.json --dict_json data/cocotalk.json --output_pkl data/coco-train --split train
however,  i not found your code loading the model's parameters trained from step 1 using cross-entropy loss. Because I found that  Self-critical Sequence Training for Image Captioning says that we should first train the model using cross-entropy with some epochs and then finetune it with self-critical. However,  i only found that
# Load the optimizer     if vars(opt).get('start_from', None) is not None and os.path.isfile(os.path.join(opt.start_from,"optimizer.pth")):         optimizer.load_state_dict(torch.load(os.path.join(opt.start_from, 'optimizer.pth'))),
not found like this command,
torch.load(mode.pth)
so, when training model with self-critical, we just need to initialize the model's parameters with random values instead of initializing from pre-training model using cross-entropy?

You may run the script  scripts/copy_model.sh， this command is copy the model of training cross-entropy in new folder with the tagger of  ‘_rl’ , like fc_rl or adaatt_rl etc. Then run python train.py --id fc_rl --caption_model fc --input_json data/cocotalk.json --input_fc_dir data/cocotalk_fc --input_att_dir data/cocotalk_att --input_label_h5 data/cocotalk_label.h5 --batch_size 10 --learning_rate 5e-5 --start_from log_fc_rl --checkpoint_path log_fc_rl --save_checkpoint_every 6000 --language_eval 1 --val_images_use 5000 --self_critical_after 30 --cached_tokens coco-train-idxs  in which the --id is the the model training in reinforce learning and --cached_tokens is the result of running  the Step2 in your comments.

You may run the script scripts/copy_model.sh， this command is copy the model of training cross-entropy in new folder with the tagger of ‘_rl’ , like fc_rl or adaatt_rl etc. Then run python train.py --id fc_rl --caption_model fc --input_json data/cocotalk.json --input_fc_dir data/cocotalk_fc --input_att_dir data/cocotalk_att --input_label_h5 data/cocotalk_label.h5 --batch_size 10 --learning_rate 5e-5 --start_from log_fc_rl --checkpoint_path log_fc_rl --save_checkpoint_every 6000 --language_eval 1 --val_images_use 5000 --self_critical_after 30 --cached_tokens coco-train-idxs in which the --id is the the model training in reinforce learning and --cached_tokens is the result of running the Step2 in your comments.

Thanks for you reply first!!! I known you provided commands. However,  I’m still not entirely sure how train.py loads pre-trained models. PyTorch’s documentation recommends torch.load() or torch.load_state_dict() — I see torch.load_state_dict() used for the optimizer, but neither used for the main model or dp_model variables.
I also see infos = cPickle.load(f) & histories = cPickle.load(f) which seem to resemble torch.load(), but the infos and histories variables don’t seem to be used to influence the model or dp_model variables. How are the weights loaded into the model or dp_model variables?

You may run the script scripts/copy_model.sh， this command is copy the model of training cross-entropy in new folder with the tagger of ‘_rl’ , like fc_rl or adaatt_rl etc. Then run python train.py --id fc_rl --caption_model fc --input_json data/cocotalk.json --input_fc_dir data/cocotalk_fc --input_att_dir data/cocotalk_att --input_label_h5 data/cocotalk_label.h5 --batch_size 10 --learning_rate 5e-5 --start_from log_fc_rl --checkpoint_path log_fc_rl --save_checkpoint_every 6000 --language_eval 1 --val_images_use 5000 --self_critical_after 30 --cached_tokens coco-train-idxs in which the --id is the the model training in reinforce learning and --cached_tokens is the result of running the Step2 in your comments.

Thanks again! I found the command that load the pre-trained model's parameters. It is in  models/init.py()
model.load_state_dict(torch.load(os.path.join(opt.start_from, 'model.pth')))

FYI, it's now moved to train.py


React Native + DexGuard

We've just switched one of our projects (which includes a React Native part) from ProGuard to DexGuard and now we get the following crash on app start:
Caused by: java.lang.UnsatisfiedLinkError: could find DSO to load: libreactnativejni.so
            at com.facebook.soloader.SoLoader.loadLibraryBySoName(:213)
            at com.facebook.soloader.SoLoader.loadLibrary(:178)
            at com.facebook.react.bridge.NativeMap.<clinit>(:22)
            at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(:194)
            at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(:180)
            at android.os.AsyncTask$2.call(AsyncTask.java:295)
            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
            at java.lang.Thread.run(Thread.java:818)

Looks like DexGuard is really aggressive, looking into the resulting apk didn't help, it somehow obfuscated nearly everything in there.
Has anyone ever tried mixing these 2 things up or have an idea on what's going on there? Not sure if this can be fixed on the React Native side or if we should contact the DexGuard devs.
Any help would really be appreciated!

Reached out to the DexGuard developers, including these rules fixed the problem for us:
-keepresourcefiles lib/*/libreact*.so
-keepresourcefiles lib/*/libmemchunk*.so


fix #1411 add Element parse method

Add a static method parse to build an element from HTML string

@jhy Could u help review this PR? thanks!

@jhy Could u help review this PR? thanks!

Any update? Thanks

Please don't keep pinging on these like that. It just creates more noise; the PR is still in the list. You can always reach out to me directly if need be.
I left a comment on the original discussion bug.


ENOENT when reading the end of a file

Hi, thanks for creating this library. I'm using it to try and create my first filesystem tagfs. This is a virtual filesystem which is mirroring a supplied source folder at the mountpoint and (will) provide tagging functionality.
I've tried multiple things in read for reading the last part of a file.

returning just the last part of the file.
returning the last part of the file padded with zeros until reaching the size limit.

using strace cat name.mp4 > /dev/null I can see it returning an error on the last read.
https://paste.sr.ht/~pixelhamster/f73f33740f04aafae30bc09f15c5e8feb9062f74
I'm currently under the assumption that it is my fault for misusing fuser
Package versions:
extra/fuse-common 3.14.1-1
extra/fuse2 2.9.9-4
extra/fuse3

Let me know if I need to provide more information.

my getattr was simply returning NOENT for file :/
Some function checks if the file exists via getattr after reading an entire file if it was read in chunks apperantly.

note this is the part that causes this behaviour: https://github.com/torvalds/linux/blob/ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab/fs/fuse/file.c#L1062


⚠ WSINGRESOS - RECIBOPAGO has degraded performance

In b79e543, WSINGRESOS - RECIBOPAGO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsRecibosPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 14573 ms

Resolved: WSINGRESOS - RECIBOPAGO performance has improved in fe5bbe1.


Removing comments in arrays after formatting

When formatting my toml file it removed comments from an array.
Before:
deny = [
    #"Nokia",
]

After:
deny = []

This is not what I want to happen.
This issue might be related to: https://github.com/tamasfe/taplo/issues/182
But that issue shows a different behavior.
Maybe a good target for testing would be the default template for cargo deny https://github.com/EmbarkStudios/cargo-deny/blob/main/deny.template.toml

Duplicate of #157, it's fixed in yet unpublished versions.
CD seems to be currently broken and I haven't got to investigate it yet, hopefully I'll find the time next weekend, sorry about the inconvenience.

No problem, take your time. Library and plugin both seem very promising so will use it more over time when the bugs are ironed out.
Keep up the good work :smiley:


Add data container

Introduces DataContainer object to wrap around theoretical, experimental, and estimated parameters and pointwise data. Also update some general utilities under ATARI.utils. The significant change is that the atari input/output functions (atario) is moved to this module under a single file.
Other changes are updates to fitting/noah_dev. Updates code necessary for the feature selection approach.

@jacobaforbes @twistfire @Oncure
Checkout the new functions in the utils module. I think these are things we are all routinely doing. Please try to use these functions and expand upon them with **kwargs s.t. they can handle your use cases as well. Just make sure to update the docstrings!


feat: enabled BIGNUM

Enable BIGNUM support, related https://github.com/openwebf/webf/issues/12
modify CMakeLists.txt, adding CONFIG_BIGNUM and libbf.c
adding missing headers and types in bindings/qjs/qjs_engine_patch.h
modify dependencies in polyfill
modify assets.js to show it works
TODO: webf_websocket should change as well since it's also compiled by old qjsc

@neeboo
Webf-cli also deps on qjsc too. So a upgrade of webf-cli is needs.
https://github.com/openwebf/cli
After the webf-cli had been upgraded, you can use it to regenerate new webf_websocket plugin.
https://github.com/openwebf/plugins/blob/feat/0.13.0/packages/webf_websocket/pubspec.yaml

@neeboo
Webf-cli also deps on qjsc too. So a upgrade of webf-cli is needed. https://github.com/openwebf/cli
After the webf-cli had been upgraded, you can use it to regenerate a new webf_websocket plugin.
https://github.com/openwebf/plugins/blob/feat/0.13.0/packages/webf_websocket/pubspec.yaml

I will revert this or and I had web-cli running locally with node-qjsc 0.3.0. Working fine


Not showing binary request data by Content-Type for httpclient adapter

Fix test for ethon, excon, http, patron adapters.
There were difficulties with the adapter Net::HTTP.
help me please...

Cheers. It looks like Net::HTTP passes the content type differently to post requests (with a symbol :content_type as the hash key). I'll try to resolve it, but I'm a bit short on time these days, so it may take a bit.


DSND-2942: Implement sensitive data interceptor

Describe the changes

Implements a sensitive data interceptor to handle full-profile GET request auth.
Removes the service name prefix from the healthcheck endpoint.
Removes the healthcheck endpoint from the ALB.

Related Jira tickets
DSND-2942
Developer check list
General

[ ] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[ ] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to deployment repositories?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


delete xattr data when removing files

fix #69

@xyb Good catch!  There are other places also need this, rmdir, rename (overwrite a file/dir)

@xyb Good catch!  There are other places also need this, rmdir, rename (overwrite a file/dir)

@davies I have fixed the rmdir case but did not have enough time to test and fix the rename feature.
p.s. I actually can not see the files except directories in mount point directory on macOS using Finder, which is strange and I don't know how to fix it yet.

@davies I have fixed the rmdir case but did not have enough time to test and fix the rename feature.
p.s. I actually can not see the files except directories in mount point directory on macOS using Finder, which is strange and I don't know how to fix it yet.

@xyb, I will look into these.

@xyb, I will look into these.


Add JDK17 type handlers

Switched the build to JDK 17 only, but should be ok as master is now the next major release
Added a feature toggle to turn this off, as it adds new types to the dictionary, so is probably incompatible with an existing root object storage.
Closes #21
Closes #50

Should this be 2.0.x instead of master?

no, it should be master


change 'cms' to 'typo3' as used in case statement

sorry for the newline addition. It's vim's fault.

Thanks but please create pull requests for develop (refactored version which is based on new tested docker images) :)


scripts: Install grpcurl@latest when querying a store API

Running scripts/insecure_grpcurl_series.sh yields the following error:
no required module provides package github.com/fullstorydev/grpcurl/cmd/grpcurl; to add it:
	go get github.com/fullstorydev/grpcurl/cmd/grpcurl

This PR resolves it by adding the @latest prefix to the go install argument

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes

Modify scripts/insecure_grpcurl_series.sh to install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest instead of github.com/fullstorydev/grpcurl/cmd/grpcurl

Verification

I ran scripts/insecure_grpcurl_series.sh locally.

Thanks for the review, done :+1:


Switch database logging to use SQLAlchemy's ORM model

The switch has the potential to improve code clarity by working with objects instead of SQL execute statements. The switch also may be able to leverage different parts of SQLAlchemy's ORM such as unit of work, sessions, etc. for performance improvements to the current logging server. This performance boost may be just as attainable by optimizing/reworking the current execute statements.

This is done with the new monitoring.


And Windguru weather forecast maps

I saw inside the site itself using inspect that it uses maplibre, but I haven't seen any mention of it, nor found the source code of this site.
Can you share more information please? github link? attribuition to maplibre?

I think that until requested otherwise, it is perfectly fine for Maplibre to publish names of organizations that benefit from this community effort.

I understand this is not in line with the Maplibre core team's approach.
Closing


REST API for repos should pull in topics

I've verified there is more backend work required on this one.

I want to contribute in this issue.What should  i do to solve the issue.

i can resolve this issue

i can resolve this issue

@jeffwilcox @emmairwin

Unfortunately this issue requires backend changes that are in a closed-source API server. This is tracked here for transparency. I'm going to remove the stale label but am not sure when this could improve. Once the API server is updated, the frontend would need corresponding fixes, too.


fix subscription plan member "name"

In Subscription, Plan, the member property name should actually be nickname. See https://stripe.com/docs/api#plans.

Thanks for the catch!


Make [Twitch] a social badge

Fixes #6158. Note that the resulting example suffers from #6182.

Warnings

:warning:
This PR modified service code for twitch but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @PyvesB!

  Generated by :no_entry_sign: dangerJS against f4276d30a2a688588d3799121c35355d41650e28


Az.Accounts version conflict

Hi,
I got the below error every time I open cloudShell (PowerShell).
Import-Module: /opt/microsoft/powershell/7/profile.ps1:13
Line |
13 |  Microsoft.PowerShell.Core\Import-Module -Name PSCloudShellUtility
|  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| This module requires Az.Accounts version 2.12.5. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session before importing this
| module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for
| troubleshooting information.
I tried the following commands as per the documentation, with no luck:
PS /home/mahmoud> Select-AzSubscription -SubscriptionId f24f799f-4ad0-4f93-bdc6-3aa22a2ddfe1
Name                                     Account                              SubscriptionName                     Environment                          TenantId

Visual Studio Enterprise Subscription –… MSI@50342                            Visual Studio Enterprise Subscripti… AzureCloud                           e1304ad9-93ba-4557-8b20-8c1c1143b399
PS /home/mahmoud> Register-AzResourceProvider -ProviderNamespace Microsoft.CloudShell
Register-AzResourceProvider: The 'Register-AzResourceProvider' command was found in the module 'Az.Resources', but the module could not be loaded. For more information, run 'Import-Module Az.Resources'.
PS /home/mahmoud> Import-Module Az.Resources
Write-Error: This module requires Az.Accounts version 2.12.5. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session before importing this module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for troubleshooting information.
Import-Module: The module to process 'Az.Resources.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest '/usr/local/share/powershell/Modules/Az.Resources/6.9.0/Az.Resources.psd1' was not processed because no valid module was found in any module directory.
PS /home/mahmoud>
Also, I tried to update the module, but got the below error.
PS /home/mahmoud> Update-Module -Name Az.Accounts
Install-Package: Unable to find repository '/usr/cloudshell/temp'. Use Get-PSRepository to see all available repositories.
PS /home/mahmoud> Get-PSRepository
Name                      InstallationPolicy   SourceLocation

PSGallery                 Trusted              https://www.powershellgallery.com/api/v2

Hi @mahmoud76 -- Thank you for the issue.  One way of fixing this is to try and uninstall the older module then install the new one.  Please try:
Uninstall-module Az.accounts
Install-module Az.Accounts
Please let us know if this resolves the problem.

Hi @mahmoud76 -- Thank you for the issue. One way of fixing this is to try and uninstall the older module then install the new one. Please try: Uninstall-module Az.accounts Install-module Az.Accounts
Please let us know if this resolves the problem.

Many thanks, theJasonHelmick.
I've fixed it by recreating the cloudshell VM.


Book addition and general cleanup

Hello Kamila,
I've added this book to the project, and wrote a paragraph on what programming environment the person that wishes to learn C should use.
Also I did a bit of proofreading, and corrected a few tiny grammar mistakes.
Finally, I moved the 'contributing'  part to the end, in a separate section.

thanks :)


[wxWidgets] non-static builds are missing regex and scintilla  .lib

Host Environment

OS: win10 amd64
Compiler: latest MSVC 2019

To Reproduce
Steps to reproduce the behavior:
any non-static x64/x86 install
Failure logs

$ cd vcpkg/installed
$ find . -wholename '*lib*regex*'
./x64-windows-static/debug/lib/wxregexud.lib
./x64-windows-static/lib/wxregexu.lib
./x86-windows-static/debug/lib/wxregexud.lib
./x86-windows-static/lib/wxregexu.lib

$ find . -wholename '*bin*regex*'
[nothing]

Additional context
The upstream build (for comparison) builds and installs wxregex(ud).lib files into wxWidgets/lib/vc_dll. There is, however, no correspondingly named regex .dll file in the upstream build.
Upstream (wxwidgets 3.1.4 github repo) build result:

E:\dev\wxWidgets\lib\vc_dll>dir *.dll *.lib

 Directory of E:\dev\wxWidgets\lib\vc_dll

31.12.2020  11:34           303.616 wxbase314ud_net_vc_custom.dll
31.12.2020  11:34         3.834.880 wxbase314ud_vc_custom.dll
31.12.2020  11:37           312.320 wxbase314ud_xml_vc_custom.dll
31.12.2020  11:36            36.864 wxmsw314ud_adv_vc_custom.dll
31.12.2020  11:37           932.864 wxmsw314ud_aui_vc_custom.dll
31.12.2020  11:36        12.324.352 wxmsw314ud_core_vc_custom.dll
31.12.2020  11:38           150.016 wxmsw314ud_gl_vc_custom.dll
31.12.2020  11:36         1.069.056 wxmsw314ud_html_vc_custom.dll
31.12.2020  11:36           203.776 wxmsw314ud_media_vc_custom.dll
31.12.2020  11:37         1.227.776 wxmsw314ud_propgrid_vc_custom.dll
31.12.2020  11:37           233.984 wxmsw314ud_qa_vc_custom.dll
31.12.2020  11:37           599.552 wxmsw314ud_ribbon_vc_custom.dll
31.12.2020  11:38         2.616.320 wxmsw314ud_richtext_vc_custom.dll
31.12.2020  11:38         2.462.720 wxmsw314ud_stc_vc_custom.dll
31.12.2020  11:36           275.968 wxmsw314ud_webview_vc_custom.dll
31.12.2020  11:37         1.211.392 wxmsw314ud_xrc_vc_custom.dll

 Directory of E:\dev\wxWidgets\lib\vc_dll

31.12.2020  11:34         3.102.364 wxbase31ud.lib
31.12.2020  11:34           119.270 wxbase31ud_net.lib
31.12.2020  11:37            35.370 wxbase31ud_xml.lib
31.12.2020  11:33           500.382 wxexpatd.lib
31.12.2020  11:33           797.774 wxjpegd.lib
31.12.2020  11:36             2.134 wxmsw31ud_adv.lib
31.12.2020  11:37           719.860 wxmsw31ud_aui.lib
31.12.2020  11:36         7.515.910 wxmsw31ud_core.lib
31.12.2020  11:38            47.632 wxmsw31ud_gl.lib
31.12.2020  11:36           568.594 wxmsw31ud_html.lib
31.12.2020  11:36           101.392 wxmsw31ud_media.lib
31.12.2020  11:37           852.244 wxmsw31ud_propgrid.lib
31.12.2020  11:37            22.914 wxmsw31ud_qa.lib
31.12.2020  11:37           316.346 wxmsw31ud_ribbon.lib
31.12.2020  11:38         1.722.140 wxmsw31ud_richtext.lib
31.12.2020  11:38           327.556 wxmsw31ud_stc.lib
31.12.2020  11:36            56.020 wxmsw31ud_webview.lib
31.12.2020  11:37           367.932 wxmsw31ud_xrc.lib
31.12.2020  11:33           924.248 wxpngd.lib
31.12.2020  11:33           224.192 wxregexud.lib
31.12.2020  11:34        19.575.658 wxscintillad.lib
31.12.2020  11:33         1.215.740 wxtiffd.lib
31.12.2020  11:33           230.598 wxzlibd.lib
              39 File(s)     67.141.726 bytes
               0 Dir(s)  464.901.242.880 bytes free

Looking at the vcpkg buildtrees folders I can see that regex (and scintilla) libs get built. So it seems to be effectively only an installation stage problem.

wxregex is indeed generated during non-static build, but due to upstream rules, these built-in libraries will not be installed during dynamic build.
See https://github.com/wxWidgets/wxWidgets/blob/b58ee58a7bf7a954a34680d3765f42fffd962860/build/cmake/functions.cmake#L510-L512
If you still think that's a bug, please report it to the upstream.
Thanks.

wxregex is indeed generated during non-static build, but due to upstream rules, these built-in libraries will not be installed during dynamic build.
See https://github.com/wxWidgets/wxWidgets/blob/b58ee58a7bf7a954a34680d3765f42fffd962860/build/cmake/functions.cmake#L510-L512
If you still think that's a bug, please report it to the upstream.
Thanks.

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


[PL-46739] Update install delegate screenshot - remove legacy link

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Update install delegate screenshot - remove legacy link
Jira/GitHub Issue numbers (if any): PL-46739
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66201a309005a68c2f0c6033--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66201b998132078d103be9c6--harness-developer.netlify.app


Fix django issue about is_anonymous django deprecation

RemovedInDjango20Warning: Using user.is_authenticated() and user.is_anonymous() as a method is deprecated. Remove the parentheses to use it as an attribute.

This is coming from the djangosaml2 library and it's because of a workaround they have. I think we should just suppress this warning.


Created a react-menu component and migrated MessageBase menu to use the component

Fixes #359

The way you're doing submenus via props on the Menu, can we expose more of the react-menu API so you can do things declaratively?

By this you mean creating separate components for submenu right i.e creating a saperate SubMenu.tsx?

Right.  I would assume you'd expose the various components from react-menu in a wrapped form so they play nicely with the rest of our stuff.  So you can create src/components/Menu/* and put all the different things we want in there.  I'm not sure we need to expose everything at first, but we should have all the common stuff: menu, submenu, menuitems, divider, etc.

Right. I would assume you'd expose the various components from react-menu in a wrapped form so they play nicely with the rest of our stuff. So you can create src/components/Menu/* and put all the different things we want in there. I'm not sure we need to expose everything at first, but we should have all the common stuff: menu, submenu, menuitems, divider, etc.

Okay., For the duplicate chat until message

This is the current functionality, but the react-menu's MenuItem does not support as or to prop. Is that okay if I handle it with this?

I think you can do it, see https://github.com/szhsin/react-menu/issues/248#issuecomment-910261822

I think you should use their built-in theming vs hard-coding colours:
theming	string	 	It sets a CSS class on the container element of menu for theming purpose. E.g., 'dark' will add szh-menu-container--theme-dark.

I got all the components ready and updated in the MessageBase class declaratively. I need someone's help with css part. I am stuck on that and not able to match the theming perfectly.

@Amnish04 is good at CSS.  Can you help?

I've been looking at this PR for a while, and one thing I noticed except theming is that we have a weird hover resize on messages that did not exist before.

I think that's because the MenuButton from React-Menu is a smaller size than buttons from Chakra, and when the appear they resize the container div pushing stuff down.
We can probably use a Chakra IconButton from before to fix this issue.

@Rachit1313 I would suggest using this option to add changes to batch instead of commit suggestion, so there's only one commit and no CI errors :)

@Rachit1313 I would suggest using this option to add changes to batch instead of commit suggestion, so there's only one commit and no CI fails :)

Thanks and

After checking your changes I see that its good in the light mode but we need to do something for the dark mode.

@Rachit1313 I would suggest using this option to add changes to batch instead of commit suggestion, so there's only one commit and no CI fails :)

btw the add suggestion to batch is disabled for me.

@Rachit1313 I would suggest using this option to add changes to batch instead of commit suggestion, so there's only one commit and no CI fails :)

btw the add suggestion to batch is disabled for me.

I think you need to go to the Files tab for that

@Rachit1313 I would suggest using this option to add changes to batch instead of commit suggestion, so there's only one commit and no CI fails :)

Thanks and
After checking your changes I see that its good in the light mode but we need to do something for the dark mode.

I think that's something related to theming property. Still looking into it.

@Amnish04 @Rachit1313 another approach you can take to doing something like this is for each of you to push/pull commits to the branch.
This approach requires a bit of care, but is a great way to work together.  Before you do it, ask the other person if they are OK with you pushing commits.

git push upstream react-menu

Now, the key here is to always git pull upstream react-menu before you start doing more work, or you risk getting out of sync.
If that happens, you can do:
git pull --rebase upstream react-menu

You don't have to work this way, it's a bit more advanced and both parties need to feel comfortable with git to do it.  But FYI, you can, since we're working on a branch in the same repo.
Also, I'm really glad to see you to helping each other get this landed.  Amazing work!

@Amnish04 @Rachit1313 another approach you can take to doing something like this is for each of you to push/pull commits to the branch.
This approach requires a bit of care, but is a great way to work together. Before you do it, ask the other person if they are OK with you pushing commits.

git push upstream react-menu

Now, the key here is to always git pull upstream react-menu before you start doing more work, or you risk getting out of sync.
If that happens, you can do:
git pull --rebase upstream react-menu

You don't have to work this way, it's a bit more advanced and both parties need to feel comfortable with git to do it. But FYI, you can, since we're working on a branch in the same repo.
Also, I'm really glad to see you to helping each other get this landed. Amazing work!

Thanks for sharing! I was having an itch to push directly from the beginning, but wasn't sure if that's acceptable 😝
@Rachit1313 If it's okay with you, can I push changes directly here? We can always reset if things go in the wrong direction.

Just pushed the following changes:

Switch to dark mode theme based on colorMode state.

A Menu open/close transition.

Added a Menu.css file to adapt the React-Menu theming to align with Chakra colors.

/*
  Colors from official Chakra docs
  https://chakra-ui-git-fix-typescript-autocomplete.chakra-ui.vercel.app/docs/theming/theme#gray

  Classes from official @szhsin/react-menu docs
  https://szhsin.github.io/react-menu/style-guide
*/
.szh-menu-container {
  /* Light Mode */
  --chakra-gray-100: #edf2f7;
  --chakra-gray-200: #e2e8f0;

  /* Dark Mode */
  --chakra-gray-500: #718096;
  --chakra-gray-600: #4a5568;
  --chakra-gray-700: #2d3748;
}
...
...

Some block padding adds attention to detail.

@Rachit1313 @humphd
Please let me know if its good so far.

I think this is excellent. I have two questions, but neither is a blocker for me. Just fix or file issues to deal with it later.
Amazing work.

Made the changes.

Other than that, I also observed a couple of unexpected behaviours.
1. When opening submenu, the view automatically exhibits some weird scroll.

I don't think that was happening before.
2. When the sidebar is open or on a lower width, opening the menu makes a horizontal scrollbar appear.

I think the second issue can be fixed in a follow up.
Should we try to address the first one now?

Yes, that scroll bug is not good.  Let's get that sorted before we merge.

Yes, that scroll bug is not good. Let's get that sorted before we merge.

@Amnish04 @humphd , For me I can't see the scroll to top and the scroll bar, both issues. Can you please confirm?

https://github.com/tarasglek/chatcraft.org/assets/58596563/574e2397-a8a3-4295-8739-1cbc1d5ba39f

@Rachit1313 The scroll bug I mentioned isn't happening for me either, it was only limited to that particular browser tab I was testing in.

But the second one is still there for me. Not sure what's up.

@Rachit1313 The scroll bug I mentioned isn't happening for me either, it was only limited to that particular browser tab I was testing in.

But the second one is still there for me. Not sure what's up.

Can you check if it shows you this even in cloudflare preview Url?

@Rachit1313 Just retested, I see same behavior there as well.

@humphd Is this happening for you as well, or is it just me?

@humphd Is this happening for you as well, or is it just me?

I've tested on macOS with Chrome and Safari, and I can't reproduce this bug.  It might be Windows only?  Or specific to the browser you are using?

@humphd Is this happening for you as well, or is it just me?

I've tested on macOS with Chrome and Safari, and I can't reproduce this bug. It might be Windows only? Or specific to the browser you are using?

Not sure why its only happening for me then. I tested in both Windows and Mac - Firefox and Chrome.
Maybe we have different scaling settings? I have mine set to 100%.
In any case, if it's not happening for anyone else we should be good to land this for now.
And open a follow up if people face issues.

@Amnish04 agreed.  I think if you hit it, it's possible the bug is there and subtle.  Let's land this and improve later on.

@Amnish04 agreed. I think if you hit it, it's possible the bug is there and subtle. Let's land this and improve later on.

Are we good to merge this for release 0.1, will work as another issue if anything comes up.

great fix, thank you @Amnish04

great fix, thank you @Amnish04

Great team effort by @Rachit1313 and @Amnish04.  Love to see the collaboration here.


Escape column names using Dialect().Quote()

Coverage remained the same at 92.683% when pulling d9ec3a4050599e2cc901e8d493a75629fce546d8 on zdevwu:master into 36aee76bfd779da9e7f00b7591c255a20137f1a2 on jirfag:master.

Coverage remained the same at 92.683% when pulling d9ec3a4050599e2cc901e8d493a75629fce546d8 on zdevwu:master into 36aee76bfd779da9e7f00b7591c255a20137f1a2 on jirfag:master.


5.0.9 Patch Release

Prerequisites

[x] DEV: Create branch release-x.x.x-rc.x - tested in stable-5.0

[x] DEV: bump ocis version in necessary files

[x] DEV: sonar-project.properties
[x] DEV: ocis-pkg/version/version.go

[x] DEV: prepare changelog folder in
[x] DEV: update production docker tag in the production.yml file in the continuous deployments

[x] DEV: Check successful CI run on release branch
[x] DEV: Create signed tag
[x] DEV: Check successful CI run on v5.0.9 tag / BLOCKING for all further activity
[x] DEV: Merge back release branch

QA Phase

[x] QA: Confirmatory testing (if needed)

[x] https://github.com/owncloud/ocis/pull/10458

[x] https://github.com/owncloud/ocis/pull/10439#issuecomment-2470217723

[x] QA: Compatibility testing between 5.0.8 and 5.0.9 (builded from stable-5.0)
[x] QA: Performance test  see result here
[x] QA: e2e with different deployment:

[x] QA: wopi against smoke test https://drone.owncloud.com/owncloud/web/48832

I will add release notes in docs-main and update admin docs for this patch when released.

k6 test: successfully
https://grafana.k6.infra.owncloud.works/?orgId=1&refresh=15m&var-test_id=e25e4964-1324-45c3-97ac-dd7238e36f51
log:
```
✓ authn -> logonResponse - status
✓ authn -> authorizeResponse - status
✓ authn -> accessTokenResponse - status
✓ client -> search.searchForSharees - status
✓ client -> role.getMyDrives - status
✓ client -> resource.getResourceProperties - status
✓ client -> application.createDrive - status
✓ client -> resource.createResource - status
✓ client -> drive.deactivateDrive - status
✓ client -> drive.deleteDrive - status
✓ client -> tag.getTags - status -- (SKIPPED)
✓ client -> tag.createTag - status -- (SKIPPED)
✓ client -> resource.downloadResource - status
✓ client -> share.createShare - status
✓ client -> tag.addTagToResource - status
✓ client -> resource.uploadResource - status
✓ client -> share.deleteShare - status
✓ client -> tag.removeTagToResource - status
✓ client -> resource.moveResource - status
✓ client -> resource.deleteResource - status
 checks.........................: 100.00% ✓ 50926     ✗ 0
 data_received..................: 24 GB   18 MB/s
 data_sent......................: 16 GB   12 MB/s
 http_req_blocked...............: avg=66.69µs  p(95)=7.63µs   p(99)=13.68µs  count=48502
 http_req_connecting............: avg=6.3µs    p(95)=0s       p(99)=0s       count=48502
 http_req_duration..............: avg=125.28ms p(95)=311.78ms p(99)=733.49ms count=48502
   { expected_response:true }...: avg=125.28ms p(95)=311.78ms p(99)=733.49ms count=48502
 http_req_failed................: 0.00%   ✓ 0         ✗ 48502
 http_req_receiving.............: avg=9.82ms   p(95)=636.49µs p(99)=422.57ms count=48502
 http_req_sending...............: avg=4.78ms   p(95)=42.67µs  p(99)=1.23ms   count=48502
 http_req_tls_handshaking.......: avg=54.29µs  p(95)=0s       p(99)=0s       count=48502
 http_req_waiting...............: avg=110.68ms p(95)=275.83ms p(99)=407.49ms count=48502
 http_reqs......................: 48502   36.130726/s
 iteration_duration.............: avg=11.74s   p(95)=19.58s   p(99)=23.94s   count=28469
 iterations.....................: 28469   21.207489/s
 vus............................: 1       min=0       max=300
 vus_max........................: 300     min=62      max=300

🎉 Infinite Scale 5.0.9
Changelog

Bugfix - Thumbnail request limit: #10280
Bugfix - Restart Postprocessing properly: #10439
Change - Define maximum input image dimensions and size when generating previews: #10270


Add beautify code option

Name is explainable

There is already a readable code generator, which I created for this reason. Back then there was no awesome Stylua.
I'd recommend to just run stylua on the outputted code if the readable generator is not good enough 🙂


Whether the implementation description of wfredsum is a requirement or suggestion?

In section 15.3.2, it says "The implementation can ...", the word "can" makes me feel it's a suggestion. But the discussion in issue #386 makes me feel the description in spec is a requirement.
So I want to make sure whether the description of wfredsum is a requirement that every implementation must follow? Is it acceptable that the reduction tree of a implementation calculate more than two operands each node, or always use RTZ instead of the dynamic rounding mode?
I think the order and implementation difference of floating point sum reduction instruction will affect whether it can get the exact result and what result value it will get when raising the inexact flag. So maybe the basic requirement of the wfredsum instruciont is it should produce exact reduction sum result as using infinite exponent range and precision, otherwise the inexact flag must be raised.
I am also interested in when and how the vfredsum instruction will be used in software program. In my opinion, this instruction is not friendly to portable code. Any information about how to use it will help understand the requirements of the instruction. Thanks.

The use of "can" is unfortunate here; it is meant to be a requirement.  I will fix the text.
The intent is not to mandate an exact result, but merely to admit that as one possibility.  It is too expensive to mandate that hardware.
Yes, the instruction is inherently problematic for portability and should only be used when different summation results on different implementations are acceptable.

@aswaterman I observe that vfredmin of all-NaN is FLT_MAX instead of NaN. Is that desirable? If so, it doesn't seem to be permitted by the current spec?

I don't think that's right.  vfredmin of {NaN, NaN} is NaN.  vfredmin of {x, NaN, NaN} is x.  This is consistent with a scalar loop using the fmin instruction.
Unlike vfredsum, vfredmin doesn't give the implementation any wiggle room, because it's cheap to implement in a manner that's consistent with the scalar loop.

Additionally, unlike fadd, fmin is associative (as is IEEE minNum, as of IEEE 754-2019 [Chen 2017]). So it's unclear what wiggle room an implementation could be reasonably allowed.

@chihminchao @frankchang0125 FYI

Thank you @pliaotw , I understand this has already been addressed.


Migrate and fix Azure pipeline to TWGC/Tape

Describe the bug
Due to migration, some Azure managed secret not available in TWGC vault now.
The Azure pipeline file is considered not properly configured.
To Reproduce
When Azure pipeline in TWGC triggred
Logs
There was a resource authorization issue: "The pipeline is not valid. Job BuildAndReleaseBinaries: Step GitHubRelease input gitHubConnection references service connection github.com_stone-ch which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz."
Additional context
https://dev.azure.com/Hyperledger/TWGC/_build/results?buildId=29187&view=results

Closed by #141

Closed by #141

@stone-ch stone， please also add with 2.2 version test ref https://github.com/hyperledger/fabric/pull/2316#discussion_r566928965

@stone-ch stone， please also add with 2.2 version test ref https://github.com/hyperledger/fabric/pull/2316#discussion_r566928965


Perform domain substitution before patching

Is your feature request related to a problem? Please describe.
Patches can't be reverted without reverting domain substitution process, which would reset the whole incremental build.
Describe the solution you'd like
Simply apply domain substitution before patches.
All patches should be updated to work on source that is already domain substituted. This could easily be automated.

Why is this necessary when the domain substitution utility can revert the changes?

Correct me if I'm wrong, but here's one example to show my point.
Do a full build with all patches and domain sub after patches, and afterward decide to do a new build without some a.patch. That would require reverting domain sub, reverting a.patch, applying domain sub and starting a new build.
By redoing domain sub, timestamps of all files in domain sub list are changed. Ninja incremental build checks only timestamps and even if files remain the same, they are complied once again, and basically that is like doing a full build instead of only a few actions affected by removal of a.patch.

How is this issue different from #849? Does 1a0e163a1130c7b47b8a98fc387628b077320a49 address your issue?

I wasn't aware domain_substitution.py was modified to keep a track on timestamps, that definitely solves the problem listed.
Nevertheless, it would be simpler to only revert patches without having to redo domain sub each time
Another advantage would be ability to fix some necessary links domsub brakes with patches.
But it's really not something of a high priority right now.

Right now, domain substitution is a pretty crude and inefficient tool. There are proposals like #1026 that are steps in the right direction, but there still needs to be more work on this tool.
Closing as duplicate since the timestamp manipulation logic solves this issue.


storage: hook rangefeed iter limiter to a cluster setting

PR: https://github.com/cockroachdb/cockroach/pull/34890
From release notes:

The new kv.rangefeed.concurrent_catchup_iterators cluster setting limits the number of rangefeed catchup iterators a store will allow concurrently before queueing. [#34890][#34890] {% comment %}doc{% endcomment %}

Is the Cluster Settings page automatically updated? Do I need to do anything to pull changes?

It is auto-generated in the cockroach repo and copied over. I took care of it with today’s release notes, so we can close this.


Request v2: Navi-WS Support

Resolves #746

Description
Webservice change to support storing Request V2 while still supporting v1
Proposed Changes

Add jackson magic to serialize/deserialize request objects in either v1 or 2.0
Note that there are some minor differences than Java implementations based on Kotlin data class limitations.

License
I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@cythrawll can you please rebase?

@jkusa rebased


Provide better API for handling very large (batch) deletions

Currently, the DeleteRelationships API provides a means for deleting all relationships matching the filter, transactionally.
Unfortunately, if the number of relationships is extremely large (e.g. millions), the delete relationship operation can time out due to the attempt to invalidate so many relationships within a single transaction
The alternative, today, is to call ReadRelationships and then manually chunk the deletions via WriteRelationships, but this is not a great solution
We should investigate modifications to the API (or perhaps a new BackgroundDelete API) to allow such deletions to occur non-transactionally, and perhaps make the response be async to ensure the request does not time out

Fix portion is supporting limits on DeleteRelationships: https://github.com/authzed/spicedb/pull/1306

#1306 has now been merged with support for partial deletions, which can be executed in a loop to delete large amounts of relationships.

Closing as the current DeleteRelationships API with a defined limit allows for reasonable means of large batch deletions; if we ever decide to provide a single call approach, will reopen


Remove Express contract test inputs

Description of changes:
Removes secondary set of contract test inputs used for Express workflows.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Build failures are due to cloudformation-cli-java-plugin dependency releasing 2.0.6. Will look into whether we can temporarily freeze the dependency at 2.0.5 which I've tested works, or whether we need to support the new version right away.

Addressed the build issues in this PR. I will re-run the build check for this PR once the other PR is merged.


Find And Replace: invalid top folder path causes directory not found exception

Bug, Enchacement

via #2428


Fix atomic checkpointing

Motivation
This PR fixes three issues found in storage map checkpointing:

Incorrect checkpoint truncation and state reverting
Incorrect number of rewinds (we weren't rewinding to the proper point)
Atomic rewinds incorrectly sets the batch_in_progress flag to false.

The first issue was solved by updating the atomic_batch from an IndexMap to a Vec. This Vec incurs additional cost during lookups/iterators, however it lets us properly revert state.
The second issue was solved by introducing the concept of a checkpoint_milestone and checkpoint_depth, that will atomic_rewind checkpoints until the declared checkpoint.
The third issue was solved very simply, by removing the incorrect logic in atomic_rewind
In the VM finalize calls, a new atomic_wrapped_batch_scope is being used to utilize the checkpoint milestones for individual transactions within vm.speculate and vm.finalize
Test Plan
Individual tests have been added to the MemoryMap and DataMap to test that the checkpoints were set correctly and that the new atomic_wrapped_batch_scope macro works correctly.
An integration test was also added to ensure that the VM state is still consistent when processing accepted and rejected transactions.

Closed in favor of #1592


Linux
Version
V0.127.1

SMA hat es durch ein missglücktes automatisches Firmware-Update des SHM kaputt gemacht. Wir können da nichts tun bis SMA das repariert hat.
Bitte an den SMA Support wenden.

 Bitte neues Issue dazu. Danke.

Ich mache mal hier zu, da wir hier nichts tun können und auf einen Bugfix von SMA warten müssen.


Mat 1973

A first pass at converting Maccor Protocol files to Biologic Procedure files with a single Modulo Bat Technique.
Allows users to convert directly between files, or load up an AST of the Maccor XML, alter it, and convert the altered AST into a file.
This is particularly important because the file we wish to convert, diagnosticV4.000 has multiple steps containing EndEntries (conditions on which a step ends, and a GOTO is executed) that result in a protocol not representable in Biologic Format. Seee test_remove_end_entries_by_pred to see an example of what this might look like using the alteration condition we need to make diagnosticV.4000 convertible.
Conversion Details:
Limitations of the Biologic File Format:

There is no "Advance Cycle" step type
Cycle number only advances based on a file defined Cycle Definition has two values

Loop which advances when a loop triggers
Charge/Discharge Alternance

Loops cannot be nested
Metric values can only have 3 decimals of precision, and a max value of 10,000,000
GOTO statements cannot GOTO before a a loop, or before a loop, and have that loop run more than once
The maximum number of steps in biologic file, while not known precisely, is at most 9,999

From these limitations 3 techniques arrive for conversion

We create what is effectively an "Advance Cycle" step with 2 loop steps. With cycle definition set to Loop, if we add a loop step that loops 0 times (a "blank" loop), followed by a loop step that loops exactly once to the "blank" loop will cause the cycle to advance. Note that due to limitation (3) these advance cycles cannot occur in a loop, more on that in a moment.
We can "unroll" loops to make them representable. The conditions for a loop to unroll  follow from limitation 3. and the fact that we are using the Loop  definition of a cycle.

Any loop containing a loop must unroll (3) or else the experiment will be altered
Any loop containing an advance cycle that does not immediately precede the loop step must unroll or else the cycle numbers will be incorrect
Any loop that does not have an advance cycle not immediately preceding the loop step must unroll or else the cycle numbers will be incorrect

We are conservative about unrolling both to keep files readable, and in an attempt to not pass the max number of steps allowed in a Biologic file
We make a "best effort" conversion of metrics so that they are both readable and representable without losing any significant figures.

I've left in print statements about the number of unrolled steps generated in the conversion process if you'd like to test the conversion. I'd recommend the following code with relevant filepaths set appropriately for diagnosticV4.000
def pred(end_entry, step_num):
    goto_step = int(end_entry["Step"])
    # filter all goto step 70s, except when that is Next Step
    return  goto_step != 70 or step_num == 69

converter = MaccorToBiologicMb()
maccor_ast = converter.load_maccor_ast(fp)
filtered_ast = converter.remove_end_entries_by_pred(maccor_ast, pred)
conveter.maccor_ast_to_protocol_file(filtered_ast, out_path)

I'd appreciate any attempts that could be made for a converted file to be loaded onto other versions of EC-Lab software to detect any bugs I may have missed.

@willpowelson What's the status of this?

@moorepatrick
Sorry for not responding, there seems to have been a problem with the way my e-mail notification settings and I never saw the mention. This got put on hold but we're now merging.


version mismatch

Describe the bug
Mismatch version between rtx doctor and apt version...
To Reproduce
Install rtx with apt
Expected behavior
rtx doctor should report the same version than apt
rtx doctor output
❯ rtx doctor
rtx version:
  2023.11.0 linux-x64 (2796c45 2023-11-02)

build:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL, SELF_UPDATE
  Built: Thu, 2 Nov 2023 23:26:31 +0000
  Rust Version: rustc 1.73.0 (cc66ad468 2023-10-03)
  Profile: release

  <snip>

1 problem found:
new rtx version 2023.11.2 available, currently on 2023.11.0

Additional context
❯ apt info rtx
Package: rtx
Version: 2023.11.2
Priority: optional

You're executing an installation that was not installed via apt

Found the culprit, you're right.... It was locally installed because of the previous bug on apt that I had opened. I installed the apt one, but didn't remove the other one


revert: #3609

Sorry to merge and then revert, but I don't think this is quite ready yet. My fault — I should have checked more thoroughly before merging.
@vanillajonathan immediate things that don't seem to work:

npm run preview from the playground path opens a browser that just states Cannot GET /
task run-playground calls into npm start, which doesn't exist now

From a git perspective, the way to fix this is to run git revert {this commit}, where {this commit} is the hash of the commit this PR creates. Then you'll have the code as though #3609 is still open. Then if we can fix those things, open a new PR with that code, then we'll be good. Let me know anything I can do to help.

It doesn't work:
$ git revert 170b80f9b98b715ba6e108e6b6584e71662da7b7
fatal: bad object 170b80f9b98b715ba6e108e6b6584e71662da7b7
$ git revert 170b80f
fatal: bad revision '170b80f'

The npm start needs to be replaced with npm run dev.
When I run npm run preview on GitHub Codespaces it asks me and I click on the Open in browser button and it runs. I don't get "Cannot GET /".

It would be git revert 37db5f2 — that's the hash of the commit on main

When I run npm run preview on GitHub Codespaces it asks me and I click on the Open in browser button and it runs. I don't get "Cannot GET /".

Ah OK cool — possibly there's something up with my build.
Could you confirm this is still the behavior, and then I'll help debug if we still see a difference?

After reverting and merging #3667, npm run dev works great!!
npm run preview still doesn't work for me. What's the difference? Do we need the preview command?

npm run dev runs Vite in development mode where it compiles any changes on fly and immediately reloads them. Very convenient for development, while npm run preview serves it up for preview from the compiled dist directory. It seems you need to run npm run build before you can run npm run preview.

npm run dev runs Vite in development mode where it compiles any changes on fly and immediately reloads them. Very convenient for development, while npm run preview serves it up for preview from the compiled dist directory. It seems you need to run npm run build before you can run npm run preview.

Thanks for the explanation, great.
So let's just wire up task run-playground to npm run dev, update the Readme, and then I think we should be good.
(and then the monarch break we can handle separately)

Could you fix this or help me out with this?
I am having some problems, when I run git revert 37db5f2 I get only the .mega-linter.yaml file but not the rest of the files.

No stress — git can be a pain. In this case, there a conflict with that file.
Try this:
git revert 37db5f2 -Xours

That will resolve the merge conflict in favor of "our" branch automatically

Yeah, that resolved the merge conflict but then I have no files to commit:
nothing to commit, working tree clean

Once that command has run, the branch has the previous vite changes. So from there we need to fix the Taskfile, push, and open a PR. Does that make sense?
(This is advanced git, which I know is confusing...)

Yeah, that makes sense, but when I try to commit, the only thing it wants to commit is the Taskfile. Is that how it should be?

The existing code is already committed by the revert command; so yes, that's good!


kubectl completion bash on Mac not working as expected.

Not able to enable Kubectl Autocompletion on my Mac OS(macOS Mojave 10.14.6), referring to https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion
$ echo $BASH_VERSION
5.0.16(1)-release

Please help with what else I can check for?

https://dev4devs.com/2019/10/20/how-to-have-kubectl-autocompletion-in-macos-x/


Disable encrypting file path/url

We are using AWS S3. S3 is public. So see if there is an option to disable encrypting file path/url. So we will upload files directly to S3, and while viewing S3 file we want to load them by direct S3 public object url.
So this will reduce load on PHP side, as we feel PHP can have much overhead if it handles lots of encrypted file loading routes.
So can the encryption part and checking if real system temp  path can be disabled on demand? Thanks
I am not sure about the security issues we may face because of the request. Can one see secret files if he changes filepath manually in filepond instance from browser? Thanks

Hi encryption is a necessary step of the process you can read the process flow on the filepond website: https://pqina.nl/filepond/docs/api/server/#process


Small Electric Poles - No Assembler or Factory recipe

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[X] pyalienlife
[X] pyalternativeenergy
[X] pycoalprocessing
[X] pyfusionenergy
[X] pyhightech
[X] pyindustry
[X] pypetroleumhandling
[X] pypostprocessing
[X] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[X] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
The only recipe for small electric poles (at least any time in the early game) appears to be handcrafting. Please let us automate/mall this.
Steps to reproduce
No response
Additional context
No response
Log file
No response

Looks like this was intentionally added to pycoalprocessing/dataupdates.lua in this commit https://github.com/pyanodon/pycoalprocessing/commit/d54c2e73a6b3d7b143d234a69c0b719063c4d1c5
RECIPE("small-electric-pole"):set_category("handcrafting")
I wonder if this was added just as a test for a handcrafting category rather than because small electric poles should only be handcraftable for some deeper reason. Regardless, I would love for this to be craftable in the starting assembly (and other) machines.

And now I see there's a recipe gated behind creosote research (requires treated wood).
This comes very close to making lazy bastard impossible even if I mess with starting items in the crash-site a little bit.

And now I see there's a recipe gated behind creosote research (requires treated wood).
This comes very close to making lazy bastard impossible even if I mess with starting items in the crash-site a little bit.

Is creosote that late? I'll have to look at what goes into that if it makes lazy bastard impossible.

Lazy Bastard currently is impossible because everything is hand-crafting until science 1, where automation 1 gives you burner assembling machines. This is an area where getting rid of the crash-landing assembly machines makes a difference.
 Making one or two of the crash-site components a special half-speed burner assembly machine that can craft recipes with up to 8 ingredients as well as the handcraft-only small electric pole recipe would, I think, make 0-handcraft lazy bastard possible (the thing I really want).

@Bozerg Use this mod: https://mods.factorio.com/mod/NoHandCrafting
It adds assembling machine 1 to start and disables handcrafting. It's compatible with Py.


How to add Tailwind 3 to Docusaurus 2 in 2022

category: Note
slug: tailwind-docusaurus-2022
We use Docusaurus at work, and while it shipped v2 this year it still has (as of v2.3) not shipped with any Tailwind support at all. Googled and found this post which was almost everything I needed, but required some stuff in the comments for it to work.
Here are the requirements I have, that differed from that blogpost:

do not activate Tailwind's CSS Reset, Preflight, because it wipes out the rest of Docusuarus' styles
support Docusaurus' dark mode

just writing down my version that affirmatively worked for me.
Step 1 - install stuff
# in the docusarus directory
yarn add tailwindcss postcss autoprefixer
touch tailwind.config.js # intentionally empty; we'll fill in our own in a bit

Step 2 - Setup tailwind config and css files
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
  corePlugins: {
    preflight: false, // disable Tailwind's reset
  },
  content: ["./src/**/*.{js,jsx,ts,tsx}", "../docs/**/*.mdx"], // my markdown stuff is in ../docs, not /src
  darkMode: ['class', '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns
  theme: {
    extend: {},
  },
  plugins: [],
}

and also the @tailwind includes:
/* https://dev.to/sajclarke_62/using-tailwindcss-v3-in-docusaurus-in-5-steps-5c26 */
@tailwind base;
@tailwind components;
@tailwind utilities;

// ...

Step 3 - Custom docusaurus plugin
this part is exactly as per the blogpost:
// ...
    plugins:    [
                  // ....
                  async function myPlugin(context, options) {
                    return {
                      name: "docusaurus-tailwindcss",
                      configurePostCss(postcssOptions) {
                        // Appends TailwindCSS and AutoPrefixer.
                        postcssOptions.plugins.push(require("tailwindcss"));
                        postcssOptions.plugins.push(require("autoprefixer"));
                        return postcssOptions;
                      },
                    };
                  },
                ],

and you are done.
to test, convert /docs/whatever.md to /docs/whatever.mdx and insert a React element or component (did you know you can define React components inline in MDX? its weird af, but it works...)
export function Section() {
  return
this is tailwind!

}

# Welcome to Docs

this works in light and dark mode

whoooo it works

Caveats
Because preflight is off, some assumptions break:

add border-solid for borders because preflight is off

darkMode: ['class', '[data-theme="dark"]'] This doesn't work for me.


lockdown() throwing TypeError in 0.7.1

warner@turing:/tmp$ mkdir t
warner@turing:/tmp$ cd t
warner@turing:/tmp/t$ yarn add<EMAIL_ADDRESS>yarn add v1.22.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 0.26s.
warner@turing:/tmp/t$ ls
node_modules  package.json  yarn.lock
warner@turing:/tmp/t$ cat >t.mjs
import { lockdown } from 'ses';
lockdown();
console.log('locked down');
warner@turing:/tmp/t$ node t.mjs
(node:26496) ExperimentalWarning: The ESM module loader is experimental.
(node:26496) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time
internal/modules/run_main.js:54
    internalBinding('errors').triggerUncaughtException(
                              ^

[TypeError: Cannot delete property 'prototype' of function harden(root) {
    const toFreeze = new Set();
    const prototypes = new Map();
    const paths = new...<omitted>... }]
warner@turing:/tmp/t$

I'm not sure what's going on here, but I can't think of any reason why that should be failing.

BTW this is node 13.7.0

@michaelfig related offline that he suspects that this is a problem with the difference between the version of agoric/harden in the monorepo and a fixed version outside the monorepo. I’ll be investigating.

This issue was mitigated with the release of @agoric/make-hardener 0.0.8. That hasn’t cleared up everything for a working SES, but this particular issue has been overcome.


Incorrectly generates links in content if the BASE_URL is not the root

When the BASE_URL is not the root like this BASE_URL = "https://www.somesite.com/obsidian-vault/" The links in the main content of the notes do not properly generate with the non-root path. I'm linking my fork that includes some changes to facilitate the use of non-root path with an optional BASE_PATH environment that creates the links correctly. However it does have an issue with the graphs on the individual pages not being scoped correctly, and showing the whole graph instead that I am unsure how to fix
https://github.com/trwbox/obsidian-zola/tree/base-path-dev

I understand this is not an issue with the example way of installing with Netlify. So I'm not sure if this should be classified as a feature request, or a bug fix unfortunately. But this can become an issue if someone is hosting on github pages, or routing through a reverse proxy. Here is an example set of notes that is having that issue while being deployed to github pages.

Thanks for raising the issue! I created obsidian-zola to be a one-step tool for non-tech-savvy users to publish their vaults. So I would assume most users to just follow the instructions and publish their websites on Netlify. Of course, it would be good to make it more friendly towards users would might want to publish their sites elsewhere / customize it! So I would be happy to merge the feature if you can make it work :)
To fix the issue in your base_path feature, you probably need to look into zola/static/js/graph.js to make the URL checking logic more robust.

I get that. Thank you for the tip on where to look! I will take a look at that and see what I can figure out!


[Tests] Re-enable the two disabled tests causing CI failure

It looks like a simple case of out of date ModuleCache. These tests shouldn't
fail unless the cache is still outdated, in which case we should purge it from
the CI machine.
-- https://bugs.swift.org/browse/SR-4419

@swift-ci please smoke test

@swift-ci please smoke test OS X

The CI succeeds when I disabled the shared module cache, so that means the module cache on CI is definitely out of date.

@swift-ci please smoke test OS X

@swift-ci please smoke test OS X


Bug 2299671: [release-4.16] update vault version

cve: update vault version
Backport of #209

@umangachapagain

/ok-to-test


Correct invalid CRUD save error handling function name

Fixes #801

When this is planned to be released? Thanks!


Add SigmaOPMExpansion

@Sigma88 Any particular versions of ModuleManager or OuterPlanetsMod you want to specify?
Also, you'll need to mark the mod as up-to-date on Kerbal Stuff or it will only be generated for KSP 1.0.2.

@dbent
I don't think that would be necessary, the mods can work even without OPM
Module manager is a requirement of course, but the version shouldn't be important as long as it's 1.0.x compatible