onChange is not fired

onChange event is not fired. Tested with react 17.0.1

Can you give more specifics - code sample, what browser you're testing in, etc.

Tested with a small component similar to the one in the doc:
import { useMediaQuery } from 'react-responsive'

const Sample = () => {

  const handleMediaQueryChange = (matches) => {
    console.log('matches', matches)
  }

  const isWide = useMediaQuery(
    { minDeviceWidth: 1280 }, undefined,  handleMediaQueryChange
  );

  return (
    <div>
        Screen is wide: {isWide ? '😃' : '😢'}
    </div>
  )
}

export default Sample

I'm seeing that not only the onChange fails. IsWide detection also fails, which always returns 😃
Tested in Windows 10, with react 17.0.1, react-scripts 4.0.0, react-responsive 8.1.0
Browsers: Chrome 86.0.4240.183, Firefox 82.0.2. Same results in both.

I have found the problem. Sorry, my mistake, I was using minDeviceWidth in testing with desktop browsers, when I should be using minWidth.


Error in configuration.yaml when setting up Plex assistant with Home Assistant's conversation

First off this looks awesome, great job! Haven't tried anything like this since Phlex which didn't go so well so really excited to use this.
When setting up Plex Assistant with Home Assistant's conversation integration in the configuration.yaml, I get this error when starting Home Assistant. I copied the exact code you have on the readme without changing anything. Thanks for any help.
Home Assistant Error:
2020-09-24 23:28:05 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block collection
  in "/config/configuration.yaml", line 115, column 6
expected <block end>, but found '<scalar>'
  in "/config/configuration.yaml", line 116, column 18
2020-09-24 23:28:05 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while parsing a block collection
  in "/config/configuration.yaml", line 115, column 6
expected <block end>, but found '<scalar>'
  in "/config/configuration.yaml", line 116, column 18. Activating safe mode

configuration.yaml (ommited my url and token)
plex_assistant:
  url: 'MYURL'
  token: 'MYTOKEN'
  default_cast: 'Lounge TV'
  language: 'en'
  tts_errors: true

conversation:
  intents:
    PlexAssistant:
     # These trigger commands can be changed to suit your needs.
     - Tell Plex to {command}
     - {command} with Plex

intent_script:
  PlexAssistant:
    speech:
      text: Command sent to Plex.
    action:
      service: plex_assistant.command
      data_template:
        command: "{{command}}"

What is on line 115 and line 116 of your configuration.yaml file?

It's these lines
#      - Tell Plex to {command}
#      - {command} with Plex

I actually just got it set up with IFTTT and its working perfectly! Happy to close this or carry on if you think it's actually a bug and not me messing something up :)

That error usually means there was a missed open quotation or something similar. Fairly certain there is something in your configuration that is wonky. Possibly something before the plex_assistant: line. The config that you've shown is valid yaml (unless I'm missing something) and working on my main HA system and dev setup.

I managed to get it working, it needed double quotes around the strings
conversation:
  intents:
    PlexAssistant:
     - "Tell Plex to {command}"
     - "{command} with Plex"

intent_script:
  PlexAssistant:
    speech:
      text: Command sent to Plex.
    action:
      service: plex_assistant.command
      data_template:
        command: "{{command}}"

Interesting, the yaml shouldn't need the quotations, but it is a safer option if there are problems elsewhere. I'll update the example just in case, thanks!


datautils uses remote catalog's population dataset instead of local catalog's

Problem
The owid-datautils-py package reads in datasets such as population for some of its methods. We want to be able to use these methods in our ETL steps, and we do.
However, when the population dataset changes, the changes will not be correctly propagated to steps that use these methods:

The population dataset will change, triggering changes in dependent steps; but the dependent steps will use the old version of population published to the static catalog
The incorrect updates will be stored with the checksum of the updated population dataset, as if they had been updated

Proposed solution
The owid-datautils-py package should use the local catalog when available, which might need changes to its API.

While doing this we could also think about how should our packages depend on each other. At the moment owid-datautils-py depends on owid-catalog-py just because it loads population with catalog.find("population", namespace="owid", dataset="key_indicators"). If we got rid of this and owid-catalog-py could depend on owid-datautils-py, we could DRY some code there.

Marking this as "important" because it's a correctness issue, and could lead to us having inconsistent data on our site.
@Marigold Agree, we should change it to BYO data, so that the dependency on population becomes explicit in the catalog.

@pabloarosado @Marigold Pinning this one so that stays open, it's a correctness issue that still needs fixing.

Circular dependencies between etl, owid-catalog-py and owid-datautils being solved in:

https://github.com/owid/etl/issues/691
https://github.com/owid/owid-datautils-py/issues/56

@pabloarosado @lucasrodes Do you know if this is still an issue today?

As far as we can tell this is all done!


Renderer: broken sprite code path

vboData_t::spriteOrientation is never set anywhere, and it was that way since the field was introduced in b10e8c2. I guess the "autosprite" thing (no idea what it is) has probably been broken at least since then.
illwieckz says:

note that we have some known bugs related to sprites. Some can be seen in metro map, in catacombs: missing fire sprites, distorted chain sprite…

It's possible that vboData_t::spriteOrientation is dead code.
Here are some materials from the metro map:
textures/metro/kosad_flammebougie
{
	qer_editorimage textures/metro/kosad_flammebougie1

	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans

	cull disable
	deformvertexes autosprite2

	{
		animmap 50 textures/metro/kosad_flammebougie1 textures/metro/kosad_flammebougie2 textures/metro/kosad_flammebougie3 textures/metro/kosad_flammebougie4 textures/metro/kosad_flammebougie5 textures/metro/kosad_flammebougie6 textures/metro/kosad_flammebougie7 textures/metro/kosad_flammebougie8
		blendfunc add
	}
}

textures/metro/kosad_chaine
{
	qer_editorimage textures/metro/kosad_chaine

	cull disable
	deformvertexes autosprite2

	{
		map textures/metro/kosad_chaine
		alphafunc ge128
		depthwrite
	}
	{
		map $lightmap
		blendfunc filter
		depthfunc equal
	}
}

First one is candle flame, next is a metal string, both use deformvertexes autosprite2.
Here is a scene with both of them. The metal string is incorrectly distorted, the lightmap is not applied, but the texture is rendered and is always facing the player, there is a candle on the left, without flame:

Now, if I swap the names:
textures/metro/kosad_chaine
//textures/metro/kosad_flammebougie
{
	qer_editorimage textures/metro/kosad_flammebougie1

	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans

	cull disable
	deformvertexes autosprite2

	{
		animmap 50 textures/metro/kosad_flammebougie1 textures/metro/kosad_flammebougie2 textures/metro/kosad_flammebougie3 textures/metro/kosad_flammebougie4 textures/metro/kosad_flammebougie5 textures/metro/kosad_flammebougie6 textures/metro/kosad_flammebougie7 textures/metro/kosad_flammebougie8
		blendfunc add
	}
}

textures/metro/kosad_flammebougie
//textures/metro/kosad_chaine
{
	qer_editorimage textures/metro/kosad_chaine

	cull disable
	deformvertexes autosprite2

	{
		map textures/metro/kosad_chaine
		alphafunc ge128
		depthwrite
	}
	{
		map $lightmap
		blendfunc filter
		depthfunc equal
	}
}

The string is rendered using the flame material (and is animated as expected !), and the candle doesn't have a string as flame:

So, it's like if the autosprite2 code works even if buggy, but only on some kind of surfaces. I guess the string comes from a BSP surface directly made with a brush in NetRadiant, while the candle is a baked model (though if baked, it should be a BSP surface too).

Something we know is that the flame doesn't have any lightmap, the surfaceparm nolightmap was read by the map compiler so the engine is not interpreting that part.

autosprite (without the 2) seems to be broken as well. station15 is supposed to have a sun. Its textures/station15_custom_src/sun_d shader uses the autosprite keyword. Here's what in looks like in Unvanquished 0.25.0:

@DolceTriade says that it works in 0.50 also, which is interesting since that is later than the commit I linked in the OP.

autosprite "one" probably actually works fine. I believe the sun was broken by some map update and autosprite was a red herring.

I made a tool to more easily look up which maps contain a given shader keyword such as autosprite2. https://users.unvanquished.net/~slipher/shader-keyword-directory.txt


Updated root_id variable guidance

Overview/Summary
Adds additional context to Module Variables article for naming root_id, with regards to custom archetype validation - must be lower case..
This PR adds:

Adds additional context to Module Variables article for naming root_id, with regards to custom archetype validation - must be lower case.

Breaking Changes
n/a
Testing Evidence
n/a
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[x] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located in the Enterprise-Scale repo in the directory: /docs/wiki/whats-new.md)

Closing as no response from author and we believe this is resolved already, as per previous comments.

Apologies for not getting back sooner.  Thanks for your support on this.

@cmccourt-22 no worries... Are you happy that this was resolved as we believe?

Hoping to test this very soon @krowlandson!


CM-56 Crear endpoint para listado de bovinos en bovine-be

Refer to this link for build results (access rights to CI server needed):
http://utils.brazilsouth.cloudapp.azure.com:8080/job/ci/job/continuous-integration-bovine/18/


feat(elements|ino-markdown-editor): add new component

Closes #457
Proposed Changes

add new component <ino-markdown-editor>
disabled es5 output targets (breaking change)

Stencil seems to have problems generating the docs when an enum is used.
That's why I added the ViewModeUnion type which is used only for the public interfaces.

Also, we should have a look at the build pipeline and why it's failing. Does the build script work on your machine?

npm run yalc (for both frameworks) and npm run start works fine. npm run build fails too. It looks that something is worng with react. I can try to find the problem but I am not an expert with react.
Edit: npm run yalc does not work properly too.

To fix this problem I opened a new PR #500

In opposite to  the markdown viewmode, the preview viewmode  doesn't supply a border that indicated focus state (e.g. Markdown Viewmode). Propably this would be nice due to consistancy as well as UX perspective.

Moreover it would be nice if the border color (unfocused) is more decent (with less oppacity/gray)


Cannot create multiple-page PDFs

I have been banging my head against a wall for several days now, hoping someone might be able to help.
I am using v2.1.1 via the phantomjs-prebuilt NPM package. I know of all the rendering issues regarding zoomFactor, DPI settings, etc., and have done the appropriate hacks to make the pages render correctly, and it works ... for one page. I cannot for the life of me figure out how to set the overflow to the next page.
Following the rasterize.js from examples, My setup is pretty straightforward:
page.paperSize = {
    orientation: "landscape",
    margin: 15,
    format: "Letter"
  };

  // phantom crashes with literally any other userAgent?!?!?
  page.settings.userAgent =
      "Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7";
  page.customHeaders = {
    "SESSIONID": sessionId
  };
  page.zoomFactor = 1;
  page.settings.loadImages = true;

And in my application, I've done the recommended zoom hack of:
@media print {
  html {
    zoom: 0.65;
  }
}

I've even forcibly set CSS in my application to cause a series of page breaks just to see if it will force anything:
.section {
  page-break-before: always;
}

No dice. The one page that is produced looks correct, but there are no other pages and the content is clearly cut off. Is this a bug related to the zoom / dpi issue?

In my code I had to do the following to get a page break to work....

I don't know if this will help? I'm using a version I built from source with the modifications for DPI.


Create iover

Signed-off-by: iover2020<EMAIL_ADDRESS>
Motivation
(Write your motivation here)
Test Plan
(If you changed any code, please provide clear instructions on how you verified your changes work.)
Related PRs
(Link any related PRs here)

hi

A no-change PR; I'm closing it, unless it's some push mistake (in which case feel free to correct it and reopen).


Q: Targets for links

Is there a way to define links with targets?
I'd like to open some in a new tab rather than navigate away.

One workaround is to embed html directly . (as per #524)
However, if you're using syntax highlighting in your editor, the rest of your document will appear in italics, which isn't great.

That's what I figured. Just wondered if there was there was any markdown extension for this that slate supported. But HTML will do just fine. Thanks.


removed net_avg parameter from model call and widget

Fixes #50
Dear maintainers @carsen-stringer @psobolewskiPhD
This PR

removes the apparently deprecated keyword argument net_avg from the call to the cellpose model.
Removes the checkbox from the widget
Pins the cellpose version to the latest version or newer (>=3.0.7)

I am not entirely sure when exactly net_avg was deprecated but didn't want to go back all the version to find it - hope that's okay :)

I guess the other option is to pin the other way -- to the last cellpose 2?

FYI: this has been fixed by @carsen-stringer, the latest release of the plugin works great!


question: How to get newer crosswalk version (chromium 39) in cca?

Hi, I'm trying updating crosswalk WebView with newer version to get chromium 39 on cca 0.5.1 android apps by updating cordova-crosswalk-engine to  latest master branch commit [1f7883d] (https://github.com/MobileChromeApps/cordova-crosswalk-engine/commit/1f7883dbfe0f5cfb3258e358b123129be8597b91) and manually change files in cordova-lib with this  this.
It's buildable, but the app crashed at launch.
Here's the console log:
adb logcat
tombstone
crosswalk stable and beta version in this repository was tested, all version resulting app crashed at launch.
I'm also trying to build without chromium plugins that listed in cca/node_modules/cca-manifest-logic/src/plugin-maps.js and pointing app content directly to index.html.
The result, app was launched successfully, but should I use cca without plugins?
Is possible one of chromium plugin that make crosswalk crash?
Btw, I wanted chromium 39, because Polymer paper-input is require double tap to show soft-keyboard in chromium < 39.
Polymer paper-input are working normal in chromium 39 (tested in latest Chrome android).
Thank you.

Further to this, replacing:
org.chromium.boostrap/api/mobile.js:80 with:
bgWnd.history.replaceState(null, null, ('file:///android_asset/www/index.html'));

Let my app start up correctly, including all plugins and Google Play service api calls, such as identity and in app purchases (payments), which rocks because now I can use the BeaconAPI that's only available in Chome beta builds >39!

I can confirm that ploymer paper-input require two taps to make the soft-keyboard show with the currently released cordova-crosswalk-engine getting installed with cca. Also the steps provided above do seem to fix support to install the latest head of cordova-crosswalk-engine. Though the change to mobile.js does have side effects - though without it the app crashes.
So - what are the plans to upgrade to latest crosswalk engine with Chromium 39 and later so the cca apps can use the very latest of the features. Manually upgrading this seems scary and the resulting app does have various issues.

@clelland fyi.

I've created https://crosswalk-project.org/jira/browse/XWALK-3344 to track this on the Crosswalk-project side.

Another temp. solution is to create a file named xwalk-command-line in your platforms/android/assets folder and set the content of the file to: xwalk --disable-web-security.
As the flag suggests, it does turn off all the CORS features, so be sure use it with caution...

cca is now using Crosswalk 11 (Chromium 40), and the crash problem (XWALK-3344) has been resolved.
@clelland anything left to do on this issue?

The issue was really more about history.replaceState('chrome-extension://....') working, rather than Chromium 39+ -- The only thing left to do is to see if that method still crashes a cca app.

The replaceState method is working for chrome-extension urls in a cca app.


btcli feature request

Is your feature request related to a problem? Please describe.
I am not able to remove all staked $tao from all my hotkeys at once, that are connected to my coldkey. It is very cumbersome to have to do each one at a time, especially for those who have a lot of hotkeys.
Describe the solution you'd like
I would like a feature that can unstake all $tao from all my hotkeys at once, that are connected to my coldkey. something like "btcli stake remove-all"
Describe alternatives you've considered
No response
Additional context
No response

btcli st remove --all_hotkeys

thanks!
On Tue, Dec 19, 2023 at 10:17 AM @.*** @.***>
wrote:

btcli st remove --all_hotkeys
image.png (view on web)
https://github.com/opentensor/bittensor/assets/152772873/17025ed8-4e85-4843-bba1-472967cd13a9
—
Reply to this email directly, view it on GitHub
https://github.com/opentensor/bittensor/issues/1624#issuecomment-1862964338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB3YVSJAMPDX5GHXMRCLF7LYKGVZTAVCNFSM6AAAAABAZWGN7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSHE3DIMZTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


EMP-340 - Adding Deployment Pipeline for Gotenberg

Adding Deployment Pipeline for Gotenberg

the ingress identifier need to change at line 7in ingres.yml

Just fixed and pushed it. Please re-review.


Adjust maintenance_work_mem limit to 2047MB

The limit is 2GB on Linux/Unix systems, but on Windows it only
accepts 2047MB. Since they differ by only a MB, we just use 2047MB
everywhere.

Codecov Report

Merging #35 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   90.11%   90.11%
=======================================
  Files          16       16
  Lines         809      809
=======================================
  Hits          729      729
  Misses         68       68
  Partials       12       12

Impacted Files
Coverage Δ

pkg/pgtune/memory.go
86.95% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53f6ef2...2776a5f. Read the comment docs.


feat: report newly found vulnerabilities in mattermost

Currently only a simple message with a run url is sent, which requires to go to the ci logs to see the newly found vulnerabilities. With this change a table with CVE info is attached to the mattermost message.

LGTM

@dobairoland Thank you for the review!


[Bug] Cropping or Saving Image from Web URL images.

Hi, Thank you for this awesome editor.
I have a bug to report and I'm also trying to solve it in my end.
To replicate:

add an image from the left menu.
update URL from right menu under Image panel with URL from web example: http://www.fujifilm.com.sg/Products/digital_cameras/x/fujinon_lens_xf18_55mmf28_4_r_lm_ois/sample_images/img/index/ff_x_e1_007.JPG
crop or save the image.

Thank you.

@markblasdls saving image might be related to #111


Update Azure AI Search (fka Azure Cognitive Search) vector store integration to latest client SDK 11.4.0 stable + updating jupyter notebook sample

Description
This PR includes updates to Azure AI Search (renamed from Azure Cognitive Search) vector store integration to the latest azure-search-documents pypi stable release version along with minor syntax updates. The jupyter notebook is also updated.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[] Added new unit/integration tests
[x] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@pablocastro @logan-markewich plz review

@farzad528 Thank you! Will get this reviewed today :)


FEATURE: Strict controls and any protocol support

With this PR Trireme will establish stricter traffic controls and will allow applications and network policies to optionally disable them.
Specifically:

Drop all traffic to non-TCP protocols
Allow policy rules to open-up specific protocols to specific IP addresses and optional port numbers.
Selections are per processing unit and driven by policy.
TCP and UDP rules are statefull (i.e. once a rule is allowed in one direction, reverse is automatically installed).
Other protocols are not bi-directional. Users will have to define rules on both directions.

Additionally, the PR makes the IP tables rules more strict on what is allowed to reach any container.

Codecov Report

Merging #162 into master will decrease coverage by -1.24%.
The diff coverage is 44.86%.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   57.01%   55.78%   -1.24%
==========================================
  Files          30       30
  Lines        3797     3913     +116
==========================================
+ Hits         2165     2183      +18
- Misses       1488     1582      +94
- Partials      144      148       +4

Impacted Files
Coverage Δ

supervisor/iptablesctrl/acls.go
71.71% <44.86%> (-14.85%)
:x:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 959756a...f9a0408. Read the comment docs.


Json.net wrongly favoring case insensitive match over exact match.

Version 9.0.1
Json.Net is choosing the wrong name/value pair when trying to deserialize some json where the name of two elements different in case only.  Specifically, the case insensitive match is being chosen over the case sensitive match.
This reproduces the problem in Linqpad yielding the wrong value:
JsonConvert.DeserializeAnonymousType("{a:1, A:2}", new { a = 0 })
(Edited for readability)

This issue is that during deserialization a is being to set to 1, and then it is being set to 2, because A will match a when there is no exact match.
Keeping track of what properties is being set - and that a has be set exactly and shouldn't be set inexactly, would negatively effect performance.


ImageGrinder plugin (com.diffplug.gradle.image-grinder) version 2.1.2 fails to run on Gradle 6.2

I recently tried upgrading my project to Gradle 6.2 (both 6.2 and 6.2.2) and ran across this error with the latest version of your plugin (2.1.2). Perhaps this method was deprecated in Gradle 6.2
java.lang.NoSuchMethodError: org.gradle.util.SingleMessageLogger.nagUserOfReplacedPlugin(Ljava/lang/String;Ljava/lang/String;)V
        at com.diffplug.gradle.imagegrinder.LegacyPlugin.apply(LegacyPlugin.java:43)
        at com.diffplug.gradle.imagegrinder.LegacyPlugin.apply(LegacyPlugin.java:25)
        at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:43)
...

Thanks for reporting!  A quick workaround is to use com.diffplug.image-grinder, rather than com.diffplug.gradle.image-grinder.

I have worked around it with the plugin change you suggested. Is there any benefit of using com.diffplug.gradle.image-grinder over com.diffplug.image-grinder? It's not clear to me what the differences are.

The NoSuchMethodError is hiding a nice deprecation error which describes that it's just a name change, no behavior change, for this reason.

Ah, that is some unfortunate irony. Thank you for explaining

Fixed by 1c3736e66729fdf260cf8652102382ca910f7c6f


byte-string needs to support UTF8

the 0x7E was introduced January 8th 2018:  8383d3287428c63ff97e70214caa2b00fdae0f14

Thank you!

Thank you!


Search: Exploration, pagination and Prismic fetch pages

Determine if we can make it work with Prismic fetchLinks pages (estimate effort)
e.g. https://www-stage.wellcomecollection.org/articles

In the case of /stories using SearchPagination component works, and I've opened a PR to show that in place.
I've left the PR in draft as there are issues with /exhibitions and /events. I'm going to estimate the remaining effort to make events and exhibitions work with SearchPagination, if I can get it working myself, I'll put my workings in the draft PR.

So it does work, the branch just fell victim to a bug that was merged in main, but merging the fix in and testing the new pagination in article series, exhibitions, events, it all seems to work nicely. The next steps will be https://github.com/wellcomecollection/wellcomecollection.org/issues/8963 (replacing pagination in content pages) and https://github.com/wellcomecollection/wellcomecollection.org/issues/8964 (replacing catalogue pagination), although I might consider merging them into one ticket.
I'm leaving the PR open as we can use it for the work above - it's already started.


Azure VM ASM disk, /dev/sdn, oracleasm createdisk issue???

In this example you are adding ASM disks ASMSP, DATA, DATA01, and FRA.  They are mapped to their respective devices
e.g.
in this article ASMSP is mapped to /dev/sdc1
However, I know that the scsi devices are not guaranteed to be mapped to the same /dev/sdn AFTER a reboot.  So you may reboot and the device that was once at /dev/sdc1 may now be at /dev/sdd1.... this could happen if you add or remove devices and even i think if you don't... because the order the devices are recognized can change.  Is this an issue with how the devices are configured with ASM..
i.e.
oracleasm createdisk ASMSP /dev/sdc1
if the ASM disk was initially created with the command above... is it bound to /dev/sdc1?  Because if after a reboot the device /dev/sdc1 can actually change to a different device, that will break ASM.  Does anyone know?  Or is the command just to initialize the disk and afterwards ASM disk ASMSP is NOT bound to /dev/sdc1?
Thank you for your contributions!

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

 Thanks.

@Dbakevlar Can you please share your insights on the customer question? Thanks :)

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Is there any update on this issue? Here is another MS documentation explaining the issue Attach a data disk to a Linux VM - Azure Virtual Machines | Microsoft Docs.
It is also highly recommended that the UUID (Universally Unique Identifier) is used in /etc/fstab to refer to the drive rather than just the device name (such as, /dev/sdc1). If the OS detects a disk error during boot, using the UUID avoids the incorrect disk being mounted to a given location. Remaining data disks would then be assigned those same device IDs. To find the UUID of the new drive, use the blkid utility:

I am working on this issue in private repo PR 204464.

I can't not reproduce the issue following the document.
Note: the guidance is using Oracle:Oracle-Database-Ee:<IP_ADDRESS>:latest, that is a sysvinit system. I found we must use command service oracleasm to create disk to avoid error.
See usage:
 service oracleasm
Usage: /etc/init.d/oracleasm {start|stop|restart|enable|disable|configure|createdisk|deletedisk|querydisk|listdisks|listiids|deleteiids|scandisks|status}

Disks will be unavailable after a reboot using oracleasm createdisk .
@seasidebruin from your comment, it seems you used oracleasm createdisk ASMSP /dev/sdc1 to create disk.
@sdecker could you share how did you reproduce the issue?

No reboot issue happens with service oracleasm usage.
Attach debug info:

Disk for Oracle ASM is created following Set up Oracle ASM on an Azure Linux virtual machine - Azure Virtual Machines | Microsoft Docs.

Checking the mapping using /etc/init.d/oracleasm querydisk

Reboot Oracle ARM with service oracleasm restart, will not change drive mappings
[root@myVM ~]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM ~]# service oracleasm
Usage: /etc/init.d/oracleasm {start|stop|restart|enable|disable|configure|createdisk|deletedisk|querydisk|listdisks|listiids|deleteiids|scandisks|status}
[root@myVM ~]# service oracleasm restart
Dropping Oracle ASMLib disks:                              [  OK  ]
Shutting down the Oracle ASMLib driver:                    [  OK  ]
Initializing the Oracle ASMLib driver:                     [  OK  ]
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@myVM ~]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM ~]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1
tty33  [8 33]
ASM disk "DATA" based on /dev/sdd1
tty49  [8 49]
ASM disk "DATA1" based on /dev/sde1
ttyS1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]

Reboot the machine, will not change drive mapping
ASM disk "ASMSP" based on /dev/sdc1
tty33  [8 33]
ASM disk "DATA" based on /dev/sdd1
tty49  [8 49]
ASM disk "DATA1" based on /dev/sde1
ttyS1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM ~]# reboot
Broadcast message from bamboo@myVM
        (/dev/pts/0) at 19:52 ...
The system is going down for reboot NOW!
[root@myVM ~]# Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
bamboo@cn-haiche-0107:~$ ssh <IP_ADDRESS>
[bamboo@myVM ~]$ sudo su
[root@myVM bamboo]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@myVM bamboo]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM bamboo]#

Restart machine from Azure portal, will not change drive mapping (multiple restart 10+)
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM bamboo]#
Broadcast message from root@myVM
        (unknown) at 20:04 ...
The system is going down for power off NOW!
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
bamboo@cn-haiche-0107:~$ ssh <IP_ADDRESS>
[bamboo@myVM ~]$ sudo su
[root@myVM bamboo]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@myVM bamboo]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM bamboo]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]

Shut down the VM from the portal, after the machine was deallocated, start machine
[root@myVM ~]# service oracleasm start
Initializing the Oracle ASMLib driver:                     [  OK  ]
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@myVM ~]# service oracleasm createdisk ASMSP /dev/sdc1
Marking disk "ASMSP" as an ASM disk:                       [  OK  ]
[root@myVM ~]# service oracleasm createdisk DATA /dev/sdd1
Marking disk "DATA" as an ASM disk:                        [  OK  ]
[root@myVM ~]# service oracleasm createdisk DATA1 /dev/sde1
Marking disk "DATA1" as an ASM disk:                       [  OK  ]
[root@myVM ~]# service oracleasm createdisk FRA /dev/sdf1
Marking disk "FRA" as an ASM disk:                         [  OK  ]
[root@myVM ~]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM ~]#
Broadcast message from root@myVM
        (unknown) at 19:07 ...

The system is going down for power off NOW!
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
haixia@Azure:~$ ssh <IP_ADDRESS>
ssh: connect to host <IP_ADDRESS> port 22: Connection timed out
haixia@Azure:~$ ssh <IP_ADDRESS>
ssh: connect to host <IP_ADDRESS> port 22: Connection timed out
haixia@Azure:~$ ssh <IP_ADDRESS>
^C
haixia@Azure:~$ ssh <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:BTnQf8ZHMmiFRBV1UkCb1urhQIAFlcHCnIHrbk+p8x4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts.
[haixia@myVM ~]$ sudo su
[root@myVM haixia]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@myVM haixia]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM haixia]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM haixia]#
Broadcast message from root@myVM
        (unknown) at 19:40 ...

The system is going down for power off NOW!
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
haixia@Azure:~$ date
Tue 26 Jul 2022 02:43:27 AM UTC
haixia@Azure:~$ date
Tue 26 Jul 2022 02:48:27 AM UTC
haixia@Azure:~$ date
Tue 26 Jul 2022 02:52:18 AM UTC
haixia@Azure:~$ ssh <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:BTnQf8ZHMmiFRBV1UkCb1urhQIAFlcHCnIHrbk+p8x4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts.
[haixia@myVM ~]$ sudo su -
[root@myVM ~]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@myVM ~]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM ~]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM ~]#
Broadcast message from root@myVM
        (unknown) at 20:00 ...

The system is going down for power off NOW!
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
haixia@Azure:~$ ssh <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:BTnQf8ZHMmiFRBV1UkCb1urhQIAFlcHCnIHrbk+p8x4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts.
[haixia@myVM ~]$ sudo su -
[root@myVM ~]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@myVM ~]# service oracleasm listdisks
ASMSP
DATA
DATA1
FRA
[root@myVM ~]# for i in `/etc/init.d/oracleasm listdisks`
>   do
>   v_asmdisk=`/etc/init.d/oracleasm querydisk -d $i | awk  '{print $2}'`
>   v_minor=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $1}'`
>   v_major=`/etc/init.d/oracleasm querydisk -d $i | awk -F[ '{print $2}'| awk -F] '{print $1}' | awk -F, '{print $2}'`
>   v_device=`ls -la /dev | grep $v_minor | grep $v_major | awk '{print $10}'`
>   echo "ASM disk $v_asmdisk based on /dev/$v_device  [$v_minor $v_major]"
> done
ASM disk "ASMSP" based on /dev/sdc1  [8 33]
ASM disk "DATA" based on /dev/sdd1  [8 49]
ASM disk "DATA1" based on /dev/sde1  [8 65]
ASM disk "FRA" based on /dev/sdf1  [8 81]
[root@myVM ~]#

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. If you are still experiencing a problem, you might want to move this question to Microsoft Q&A: https://learn.microsoft.com/en-us/answers/tags/94/azure-virtual-machines. Because this issue does not relate to documentation, we are closing this issue. #please-close


Drop django 1.11 and python 2.7

As support is deprecated for django 1.11 and python 2.7 we drop them from travis and tox. As of this pull request it works but we make no guarantees of it working going forwards.

Hi @jonathan-s
I'm not a real fan of maintaining old version,
But I think it should be a challenge of DBBackup.
I think about people with an old project,
They may want to backup before upgrading.

@ZuluPro For the next version we'll have a changelog where we can be clear that this happening. We could also minimize an accidental upgrade by making the next version 4.0.0 instead of 3.4.0

Going to merge this in as I need to use python3 and don't want to maintain compatibility with python 2 any more.


add relative lock created_at in deploy/locked.text.erb

I'm always suspicious about people forgetting to unlock.
This is faster than going thought all the slack channels trying to find the latest /deploy lock.

Hot.


Udpated wrapper to 5.4.1

Updated gradle wrapper to 5.4.1
Now works with JDK-12.0.1
Updated source compatibility to 1.7

Where did you get that gradle-wrapper.jar? It's checksum (50726ef76b6599d458dd37169a6b42d86d3790c83f6065a398e3e672448d18c6) does not match the 5.4.1 release checksum (3dc39ad650d40f6c029bd8ff605c6d95865d657dbfdeacdb079db0ddfffedf9f)

I installed gradle on linux, sudo apt-get install gradle. Then followed the
instructions on how to update gradle wrapper
https://docs.gradle.org/current/userguide/gradle_wrapper.html.
gradle wrapper --gradle-version 5.4.1 --distribution-type all
On Mon, Jun 17, 2019 at 4:00 PM PokeMMO<EMAIL_ADDRESS>wrote:

Where did you get that gradle-wrapper.jar? It's checksum
(50726ef76b6599d458dd37169a6b42d86d3790c83f6065a398e3e672448d18c6) does not
match the 5.4.1 release checksum (
3dc39ad650d40f6c029bd8ff605c6d95865d657dbfdeacdb079db0ddfffedf9f
https://gradle.org/release-checksums/)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/pull/5669?email_source=notifications&email_token=AFULZW2JFO24WHQ5TGQWW5TP254FZA5CNFSM4HYVUIL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX26B2Q#issuecomment-502653162,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFULZWZRNYC5FJTVM37F3L3P254FZANCNFSM4HYVUILQ
.

The gradle-wrapper.jar in the PR is ubuntu's custom built 4.4.1, not 5.4.1

Oh ok, I'll handle that. Thx.
On Mon, 17 Jun 2019, 16:12 PokeMMO<EMAIL_ADDRESS>wrote:

The gradle-wrapper.jar in the PR is ubuntu's custom built 4.4.1, not 5.4.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/pull/5669?email_source=notifications&email_token=AFULZW5UR6YLQ35UKD3WRI3P255SXA5CNFSM4HYVUIL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX2656A#issuecomment-502656760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFULZW2DDOLQWZMOIDU4WB3P255SXANCNFSM4HYVUILQ
.

Also wanted to mention that I've updated only gdx-setup's gradle wrapper.


ADD Registration_form

Describe the feature
Type of Issue

[ ] Bug 🐛
[x] New Feature 🚀
[ ] Documentation 📚

Description Issue
I would like to contribute to the Registration form.
@abhay-raj19 (Please assign me)
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@abhay-raj19

Please assign me the issue of adding a registration form, under the GSSOC'24 label."


Add NER model

Mostly taken from allennlp NER with few adjustments in configuration.

@ibeltagy removed redundant files.


Add support for symlinks in blobs/sha256 path

This feature is especially useful when we want to share blobs across OCI repositories. See the --dest-shared-blob-dir option in skopeo [1] as well as the LXC OCI template [2] (specifically OCI_USE_CACHE).
closes #21
[1] https://github.com/containers/skopeo/blob/main/docs/skopeo-copy.1.md
[2] https://github.com/lxc/lxc/blob/main/templates/lxc-oci.in

@cgwalters any objections to the latest changes? If not, I'll go ahead and merge this.


Serving static files from suburl not working using app_baseUrl as environment variable

Hello, we are having an issue with serving static files from suburl using environment variables
We need to have served static files from https://OUR-DOMAIN/our-catalog/static/ because on https://OUR-DOMAIN/ there is other microservice with documentation.
I tested using hardcoded values to app-config.yaml and it works explained here https://github.com/backstage/backstage/issues/7285
backend:
  baseUrl: https://OUR-DOMAIN/our-catalog/

and
app:
  baseUrl: https://OUR-DOMAIN/our-catalog/

and it works hardcoded into app-config.yaml,
but it is NOT working, when I have set these two values as environment variables
APP_CONFIG_backend_baseUrl: https://OUR-DOMAIN/our-catalog/
APP_CONFIG_app_baseUrl: https://OUR-DOMAIN/our-catalog/

Expected Behavior
The web should serve static files from suburl using environment variables
Actual Behavior
Empty webpage, and the (web) console says: GET https://OUR-DOMAIN/static/module-lodash.43570314.js net::ERR_ABORTED 404 and other similar errors
Steps to Reproduce
One application with its static files on https://DOMAIN/static/
Backstage instace running on https://DOMAIN/suburl/
Context
It is running in GCP cluster next to our documentation service
Backstage and other docs app are in docker files
Your Environment
GCP Kubernetes cluster
Google Chrome

Output of yarn backstage-cli info:
OS:   Linux 5.14.18-100.fc33.x86_64 - linux/x64
node: v16.14.0
yarn: 1.22.17
cli:  0.17.1 (installed)

Dependencies:
@backstage/app-defaults                          1.0.2
@backstage/backend-common                        0.13.5
@backstage/backend-tasks                         0.3.1
@backstage/catalog-client                        1.0.2
@backstage/catalog-model                         1.0.2
@backstage/cli-common                            0.1.9
@backstage/cli                                   0.17.1
@backstage/config-loader                         1.1.1
@backstage/config                                1.0.1
@backstage/core-app-api                          1.0.2
@backstage/core-components                       0.9.4
@backstage/core-plugin-api                       1.0.2
@backstage/errors                                1.0.0
@backstage/integration-react                     1.1.0
@backstage/integration                           1.2.0
@backstage/plugin-api-docs                       0.8.5
@backstage/plugin-app-backend                    0.3.32
@backstage/plugin-auth-backend                   0.14.0
@backstage/plugin-auth-node                      0.2.1
@backstage/plugin-catalog-backend                1.1.2
@backstage/plugin-catalog-common                 1.0.2
@backstage/plugin-catalog-graph                  0.2.17
@backstage/plugin-catalog-import                 0.8.8
@backstage/plugin-catalog-react                  1.1.0
@backstage/plugin-catalog                        1.2.0
@backstage/plugin-github-actions                 0.5.5
@backstage/plugin-org                            0.5.5
@backstage/plugin-permission-common              0.6.1
@backstage/plugin-permission-node                0.6.1
@backstage/plugin-permission-react               0.4.1
@backstage/plugin-proxy-backend                  0.2.26
@backstage/plugin-scaffolder-backend             1.2.0
@backstage/plugin-scaffolder-common              1.1.0
@backstage/plugin-scaffolder                     1.2.0
@backstage/plugin-search-backend-module-pg       0.3.3
@backstage/plugin-search-backend-node            0.6.1
@backstage/plugin-search-backend                 0.5.2
@backstage/plugin-search-common                  0.3.4
@backstage/plugin-search-react                   0.2.0
@backstage/plugin-search                         0.8.1
@backstage/plugin-tech-radar                     0.5.12
@backstage/plugin-techdocs-backend               1.1.1
@backstage/plugin-techdocs-module-addons-contrib 1.0.0
@backstage/plugin-techdocs-node                  1.1.1
@backstage/plugin-techdocs-react                 1.0.0
@backstage/plugin-techdocs                       1.1.1
@backstage/plugin-user-settings                  0.4.4
@backstage/release-manifests                     0.0.3
@backstage/search-common                         0.3.4
@backstage/test-utils                            1.1.0
@backstage/theme                                 0.2.15
@backstage/types                                 1.0.0
@backstage/version-bridge                        1.0.1
Thanks for any help

It also works, when I have both set up
Hardcoded in app-config.yaml and environment variables

One "quirk" of the config system is that all config has to be present at build time as well because parts of it gets baked into the frontend build artifact. What has happened here, I think, is that the frontend was built without the config flags so that field was left empty.


[gotosocial] non fuctional sqlite in default setup

Describe the bug a clear and concise description of what the bug is.
After almost default chart install with both local and external postgres disabled the server does not start with following error:
timestamp="06/08/2023 07:53:39.871" func=cache.(*Caches).Init level=INFO msg="init: 0xc00090e000"
timestamp="06/08/2023 07:53:39.871" func=cache.(*Caches).Start level=INFO msg="start: 0xc00090e000"
timestamp="06/08/2023 07:53:39.872" func=bundb.sqliteConn level=INFO msg="connected to SQLITE database with address file:/gotosocial/storage/sqlite.db?_txlock=immediate"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma journal_mode set to wal"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma synchronous set to 1"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma cache_size set to -8192"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma busy_timeout set to 1800000"
timestamp="06/08/2023 07:53:39.939" func=bundb.doMigration level=INFO msg="there are no new migrations to run"
2023/08/06 07:53:40 error executing command: error creating instance account: disk I/O error (6410)
timestamp="06/08/2023 07:53:40.247" func=cache.(*Caches).Stop level=INFO msg="stop: 0xc00090e000"

What's your helm version?
3.8.2
What's your kubectl version?
1.23.5
Which chart?
gotosocial
What's the chart version?
0.4.8
What happened?
After almost default chart install with both local and external postgres disabled the server does not start with following error:
timestamp="06/08/2023 07:53:39.871" func=cache.(*Caches).Init level=INFO msg="init: 0xc00090e000"
timestamp="06/08/2023 07:53:39.871" func=cache.(*Caches).Start level=INFO msg="start: 0xc00090e000"
timestamp="06/08/2023 07:53:39.872" func=bundb.sqliteConn level=INFO msg="connected to SQLITE database with address file:/gotosocial/storage/sqlite.db?_txlock=immediate"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma journal_mode set to wal"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma synchronous set to 1"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma cache_size set to -8192"
timestamp="06/08/2023 07:53:39.935" func=bundb.sqlitePragmas level=INFO msg="sqlite pragma busy_timeout set to 1800000"
timestamp="06/08/2023 07:53:39.939" func=bundb.doMigration level=INFO msg="there are no new migrations to run"
2023/08/06 07:53:40 error executing command: error creating instance account: disk I/O error (6410)
timestamp="06/08/2023 07:53:40.247" func=cache.(*Caches).Stop level=INFO msg="stop: 0xc00090e000"

What you expected to happen?
Server starts normally
How to reproduce it?
Install chart with default config with sqlite database option (both postgres disables)
Enter the changed values of values.yaml?
# subchart
gotosocial:

  image:
    repository: superseriousbusiness/gotosocial
    pullPolicy: IfNotPresent

  replicaCount: 1

  ingress:
    enabled: true
    className: "nginx"
    annotations:
      cert-manager.io/cluster-issuer: letsencrypt-issuer
      nginx.ingress.kubernetes.io/proxy-body-size: 10000m
      nginx.org/client-max-body-size: 10000m
    hosts:
      - host: REDACTED
        paths:
          - path: /
            pathType: ImplementationSpecific
    tls:
    - secretName: REDACTED-tls
      hosts:
      - REDACTED

  resources:
    limits:
      cpu: 500m
      memory: 512Mi
    requests:
      cpu: 500m
      memory: 512Mi

  gotosocial:
    strategy:
      type: Recreate
    persistence:
      enabled: true
      accessMode: "ReadWriteOnce"
      size: "10Gi"
      #storageClass: ""
    config:
      #logLevel: "info"
      #logDBQueries: ""
      applicationName: "gotosocial"
      host: "REDACTED"
      accountDomain: "REDACTED"
      trustedProxies:
        - "<IP_ADDRESS>/8"
        - "<IP_ADDRESS>/12"
        - "<IP_ADDRESS>/16"
      web:
        templateBaseDir: "./web/template/"
        assetBaseDir: "./web/assets/"

  postgresql:
    enabled: false

  externalPostgresql:
    enabled: false
    database: GoToSocial

  serviceAccount:
    create: true
    annotations: {}
    name: ""

  podAnnotations: {}

  podSecurityContext:
    runAsUser: 1000
    runAsGroup: 1000
    fsGroup: 1000

  securityContext:
    capabilities:
      drop:
        - ALL
    readOnlyRootFilesystem: true
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000

  nodeSelector: {}

  tolerations: []

  affinity: {}

Enter the command that you execute and failing/misfunctioning.
in context of chart which has goosocial as dependency
helm -n REDACETD install default . -f values.yaml

Anything else we need to know?
According to sqlite doc the error 6410 is a problem with temp file creation  as described here https://www.sqlite.org/rescode.html#ioerr_gettemppath
Can be fixed with SQLITE_TMPDIR targeted to the same folder which is used for sqlite.db file
I'll try to send pull request

Should be Fixed in #5


Error when adding to HACS

I'm getting the following error when adding, any ideas?
<Integration rejuvenate/lovelace-horizon-card> Repository structure for v0.9.0 is not compliant
I've done a look on github, google etc but canty see a resolution.

According to the "repository structure" section in the docs above, we need to set content_in_root to true in hacs.json. Additionally a manifest.json is missing

For me at least adding the repository as custom worked fine

Just had another look. The docs link posted by @metbril was for integrations, we are a plugin. As there were no other complains, I think we are good?


lexer, parser: Decorate errors with expression snippet.

At lexer, parser is easy to detect the rune, token that is generating
the error. This change wrap those errors with the expression and a
pointer.
Since the parser knows only about tokens, this change add also the
expression to the parser so it can use it to wrap the errors.
At resolver the ast.Node contains a Position field that points to the expressions
rune where the ast.Node was generated from. This change use that
position to to wrap the errors with a snippet that contains the
expression and a pointer to the place that generated the error.
To acomplish that the capture expressions are passed to the resolver so
it can search for the expression string to create the snippet.
The snippet pointer marks until operators but not inside the paths, this
can be fixed at a follow up.
The errors will look like:
invalid equality filter: right hand argument is not a string
| routes.running.destination==this.is.wrong
| ............................^

/hold
I am going to add some error to integration test to see how it looks

/hold cancel
Integration tests for lexer/parser/resolver error has being added.

I have mix a wip on different PR here that's why integration tests is failing...

@AlonaKaplan PR ready now, have removed the noise from other PR.

/approve


Add @hoechenberger

Whoops, seems I produced a merge conflict. @sappelhoff can you resolve this manually?

sure, done!

Awesome, thanks!


[minor][Windows] output with Unicode support

apktool.bat
from:
java "-Duser.language=en" -jar "%~dp0\apktool.jar" %*

to:
chcp 65001 2>nul >nul
java "-Duser.language=en" -jar "%~dp0\apktool.jar" %*

it will allow Unicode characters to be shown correctly across the entire run of the tool (not just for the author's name part..
Ps. optionally add -Dfile.encoding=UTF8 for Java output-pipe.

Thanks!


Set Creator - Retains screen and crashes

User - Folder-> rt click-< new ->Concept set -> edit concept set- >Create  -> View in IM
Problem : View in IM launches view (correct), edit screen is retained. Tab back to edit screen which is the same and select "create" again.
Private Zenhub Image

Proposal: Navigate to new concept WITHIN tab, rather than opening a new one (thereby rendering this one useless)


feat(#61): @-bound-only objects new syntax

Closes: #61

PR-Codex overview
The focus of this PR is to introduce new syntax for nameless @-bound-only objects in EO, simplifying code structure and reducing indentations.
Detailed summary

Added new syntax for nameless @-bound-only objects
Provided examples of horizontal and vertical notations
Improved readability and convenience in object declarations

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

@yegor256 please check

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 10min)


Fingerprints protocol relative URLs

<EMAIL_ADDRESS>wrongly fingerprints protocol relative URLs:
input:

output:

expected:

I also tried to exclude the protocol relative urls using the following config, but it doesn't work, the urls are still fingerprinted:
// ember-cli-build.js
var app = new EmberApp({
  fingerprint: {
    exclude: ['//**']
  }
});

This also happens with non relative URLs. Is this expected behavior?
I found a similar report in rickharrison/broccoli-asset-rewrite#24.

Sorry, seems this report should've gone to broccoli-asset-rewrite. I was confused because the ember docs mention this plugin in the section on fingerprinting and the configuration is shared for both broccoli-asset-rev and broccoli-asset-rewrite.

Why is this wrong behavior? It is an asset, hence why it's fingerprinted.


Pin image tags in release-0.6 branch

Note this is a PR into the release-0.6 branch and not master.
In preparation for using KFServing v0.6.0 in the next Kubeflow manifests 1.4 release, the image tags need to be pinned. This PR pins the image tags to v0.6.0 in the config YAMLs. This way kubeflow/manifests can use the config directory from this PR's commit.
This is similar to what we did in v0.5.1 (https://github.com/kubeflow/kfserving/pull/1465).
Note: I could not find an image tag for v0.6.0-gpu for  gcr.io/kfserving/pytorchserver, so I left it at latest-gpu as that is around the same time that v0.6.0 was tagged.
Ref: https://github.com/kubeflow/manifests/issues/1960

FYI @yuzisun

/lgtm
/approve


[FLINK-6618][table] Fix GroupWindowStringExpressionTest test case bug

This PR. have fixed 2 bugs;

fix the GroupWindowStringExpressionTest test case bug.
fix window properties(w.start, w.end) can not select in JAVA API.

[x] General

The pull request references the related JIRA issue ("[FLINK-6618][table] Fix GroupWindowStringExpressionTest testcase bug")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Thanks for the update. +1 to merge

Merging


Advanced scripting to set up KPI for multiple measures

Hi!
First of all, congratulations! Tabular Editor is amazing!!
I am new here in GitHub.
I have just downloaded Tabular Editor and I have been using your "Useful scrip snippets" to create measures from columns in just one click.
I wonder wether it could be possible to have something similar to create multiple KPIs from multiple selected measures in just one click.
The reason is that, in my case, I have two tables: Actual Values and Target Values, both with the same name columns (for example: Quantity, Sales, Margin, etc..)
I have created measures for all of them and I named the measures from table Actual Values as "Actual Name.Column" and measures from table Target Values as "Target Name.Column", for example, for column named "Sales" in both tables, I have created two measures "Actual Sales" and "Target Sales".  At the same time, I created the measure "YoY Actual Sales".
Now, "Target Name.Column" meant to be the Target.Expression for KPI "Sales". And at the same time, "YoY Name.Column" meant to be the Trend.Expression.
Well, could you please help me to create that script. Any tip?
Thank you so much in advance, your work is so great!!
Javier

It's not completely clear to me how you want this to work. Do you want to dynamically select a few measures and then run a script to create a KPI based on the selection, or do you want to rely on some naming convention of the tables and columns?
Anyway, here's how to create a KPI on the currently selected measure and assign expressions to the KPI, based on the name of the selected measure:
var m = Selected.Measure;
var kpi = m.AddKPI();
kpi.StatusExpression = m.DaxObjectFullName;
kpi.TargetExpression = m.DaxObjectFullName.Replace("Actual", "Target");
kpi.TrendExpression = "[YoY " + Selected.Measure.Name + "]";

Thank you so much! I am going to try it and I will come back to you.


Added an example of Audio tag

Added an example of Audio tag in: Topics/05. Semantic-HTML/demos/semantic-html5-tags.html

Code:

Audio

    <audio width="400" controls >
        <source src="http://www.stephaniequinn.com/Music/Commercial%20DEMO%20-%2011.mp3" type="audio/mp3">
        Your browser dose not support HTML5 audio.
    </audio>

        Audio courtesy: "Dancing in the Street" (Motown), Vandellas

Source: Quinn Music

Snapshot:

You can see at the bottom of http://www.stephaniequinn.com/ that the music is copyrighted. This is not necessarily a problem. Can you find free to use audio file, just to be safe?

I'll do it and commit within few hours. @cuklev

@cuklev Done! New audio has no copyrights. I found bunch of non-copyrighted songs on soundcloud. You can verify it.

Snapshot of audio source:
Link: TRG Banks

Updated Code:

Audio

    <audio width="400" controls >
        <source src="https://exit.sc/?url=http%3A%2F%2Falonetone.com%2Ftrgbanks%2Ftracks%2Finto-the-sunset-no-copyright-1.mp3" type="audio/mp3">
        Your browser dose not support HTML5 audio.
    </audio>

        Audio courtesy: TRG Banks, Into The Sunset (No Copyright)

Source: TRG Banks (Soundcloud)

Sanpshot:

Hope this works.


Realm Swift 2.4.4 do not support Swift 3.1? Only to Swift 3.0.2?

We LOVE to help with any issues or bugs you have!
Questions: If you have questions about how to use Realm, ask on
StackOverflow.
We monitor the realm tag.
Feature Request: Just fill in the first two sections below.
Bugs: To help you as fast as possible with an issue please describe your issue
and the steps you have taken to reproduce it in as many details as possible.
Thanks for helping us help you! :-)
Please remove this line and all above before submitting.

Goals
What do you want to achieve?
Expected Results
What did you expected to happen?
Actual Results
What did happened instead?
e.g. the stack trace of a crash
Steps to Reproduce
What are steps we can follow to reproduce this issue?
Code Sample
Provide a code sample or test case that highlights the issue.
If relevant, include your model definitions.
For larger code samples, links to external gists/repositories are preferred.
Alternatively share confidentially via mail to<EMAIL_ADDRESS>Full Xcode projects that we can compile ourselves are ideal!
Version of Realm and Tooling
In the CONTRIBUTING guidelines, you will find a script,
which will help determining these versions.
Realm version: ?
Xcode version: ?
iOS/OSX version: ?
Dependency manager + version: ?

Thanks for getting in touch with us. We do not support pre-release versions of Xcode or Swift (such as 3.1) with our prebuilt binaries. You are welcome to clone this repository and build Realm from source, though.

Austin is correct but we do make a best effort to compile and pass all tests as Xcode betas are released, so you should be able to build Realm Swift from source with any of the Xcode 8.3 betas starting with beta 2.

It's not beta anymore...

It was when I commented. We should have a new release out today that supports Xcode 8.3 (and contains a few minor enhancements) if all goes to plan.

No guarantees about binaries being made available today. Might be tomorrow depending on how our infrastructure upgrades go.

hi any update on realm for 8.3?

Our 2.5 and 2.5.1 release archives both include binaries built with Xcode 8.3.


Update README.md

Got a little error ... the symlink wasn't created proprerly ;) Nice work otherwise :+1:

Thanks for catching that. :)

Thanks for catching that. :)


perf: remove unnecessary operations

Since we only need to know whether we have prior DeveloperDataId messages, we can just collect the DeveloperDataIndex value instead of creating full DeveloperDataId message that most likely we don't need it anyway, this will save memory allocation.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (906cc9a) to head (227170e).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #310   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3706      3703    -3
=========================================
- Hits          3706      3703    -3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


cmd/link: Go 1.12: depending on source, "go build" generates dynamically linked binaries (uses shared libs)

What version of Go are you using (go version)?

$ go version
go version go1.12 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jkayser/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/jkayser"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go1.12"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go1.12/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build474563303=/tmp/go-build -gno-record-gcc-switches"

What did you do?
$ ls -lrt
total 0
-rw-rw-r-- 1 jkayser jkayser  82 Feb 18 14:22 hello.go
-rw-rw-r-- 1 jkayser jkayser 239 Feb 18 14:57 server.go
$ go build hello.go
$ go build server.go
$ file *
hello:     ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
hello.go:  C source, ASCII text
server:    ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
server.go: C source, ASCII text
$
hello.go: https://play.golang.org/p/ueti2wwyW3N
server.go: https://play.golang.org/p/RzImKo9Men5
What did you expect to see?
All binaries generated by Go to be statically linked.
What did you see instead?
One binary dynamically linked.

It's always been true that the Go tool sometimes generates a dynamically linked binary.  Is the behavior on your program different than that of 1.11?
In particular, by default, if your program depends on the net or os/user packages, by default you will get a dynamically linked binary.  To avoid that, build with -tags "netgo osusergo".

Go 1.11 also generates a dynamically linked binary.  I thought Go always built statically linked binaries.  It's a selling feature (you only have to copy the binary to deploy...)  Doing a presentation at Oracle Applications Users Group about Go in April.  Will need to add the caveat.

The problem with the net and os/user packages is that accessing DNS and LDAP data in the exact same way as the local system is in general a very difficult problem.  So by default we fall back to the OS support, while providing the netgo and osusergo tags for people who know what they are doing.


DOCKER HOST in Windows

Hello. I like this article about podman insteand of docker, but i want to know how is the value for DOCKER_HOST in Windows enviroment

Check here on how to set DOCKER_HOST for Windows.
Do note that, TESTCONTAINERS_RYUK_DISABLED should be set to true when tested with testcontainers 1.17.6.


vault-unsealing: add operator part and some fixes

Signed-off-by: Nandor Kracser<EMAIL_ADDRESS>

Q
A

Bug fix?
yes

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
#678 Vault unseal conf

License
Apache 2.0

What's in this PR?

This PR completes the work in #678 with the operator implementation of it. Also contains some fixes.
Why?

Additional context

@bonifaido I've been testing this and the unseal functionality works, however, I am not seeing a way to mount volumes into the Bank-Vaults Container through the operator. The VolumeMounts option only apply to the vault container and not the side car. Is this expected?

@bonifaido It appears VolumeMounts only mount volumes into the vault container. The feature for local vault tokens seem to require this to mount into Bank-Vaults sidecar as well?

I created #695 to address this. Hopefully I followed the correct pattern in adding this option.


Stale check ignores non-final snapshot paths

A file in output/ will be considered as stale if it is the result of a non-final snapshot.

Fixed in #810.


Support Precompiled Bitcode in Orochi

Support Precompiled Bitcode in Orochi

Other than the description and what we talked about internally re. another project, it looks good to me.


Error 500 when change the user locale and do relogin

This is all, no apache errors.
Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

Weird. It works for me. Which locale did you select?
The logs are in the var/logs folder, can you check there?

I had not installed php intl package.
Thanks!


CW settings should be similar to Vault settings

Collaborative wallet settings should have all the options like other Vault

@cakesoft-utkarsh
For Updated settings screen of CW wallet,
should the option for update scheme be available,
if yes, what is the intended flow for it.

Completed in Version 1.2.14 (384)


HV-995 Update documentation to contain Google Analytics code

Basically a copy of the Hibernate Search code.

rebased and merged

Ah, was just about to do the same. Do you plan to look into any further
PRs, @hferentschik? Just that we do not interfere :)
2015-09-22 9:31 GMT+02:00 Hardy Ferentschik<EMAIL_ADDRESS>
rebased and merged
—
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-validator/pull/428#issuecomment-142202093
.

Do you plan to look into any further PRs

While in the process of catching up with things, yes

Ok, then you do it. No need for us to do it twice ;)
2015-09-22 9:55 GMT+02:00 Hardy Ferentschik<EMAIL_ADDRESS>
Do you plan to look into any further PRs
While in the process of catching up with things, yes
—
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-validator/pull/428#issuecomment-142206327
.


Enhancement Request: Remote files for Icons and Screenshots

Would it be possible to enable iconDarkPath, iconLightPath, screenShotDarkPath, and screenShotLightPath to use non-local files?
e.g.
<key>iconDarkPath</key>
	<string>https://assets.contoso.com/images/nudgeprod/companylogo.png</string>
<key>screenShotDarkPath</key>
	<string>https://assets.contoso.com/images/nudgeprod/macos1262screenshot.png</string>

The icon asset obviously doesn't change much, but the screenshot asset is updated for each OS version. Right now we have to deploy these assets out to our fleet ahead of changing the config profile to enforce an update, but if they could just be pulled from a central location when Nudge runs it would make life a lot easier.

If anyone else is looking for this feature, I achieved it with a script: https://github.com/phillymjs/get_nudge_assets

I have now implemented something that I think helps enough that this feature is no longer needed.
https://github.com/macadmins/nudge/issues/498
Due to Apple's refusal to back port SwiftUI features and my desire to continue to support macOS 11, I cannot implement web resources directly. While other macadmin tools like SwiftDialog have created hacks around this, I do not have the desire to do this, nor do I have the desire to use any 3rd party modules within Nudge.

Since version <IP_ADDRESS>545 is the final version that supports macOS 11. Would it be possible to re-consider this? It would be handy to load images over a HTTP Endpoint / S3 Bucket, that we can dynamically update on the clients without having to re-push the configuration XML with the base64 of a given image.

Nope because that feature in the way I want to implement requires at least macOS 12

@roberto2lini, take a look at this: https://gist.github.com/phillymjs/0839b664c99c6d9743afe8dcf34a5536
I wrote it a while back and used it until we switched to using generic screenshots that never need to change.

This has been addressed with https://github.com/macadmins/nudge/commit/1520f7bab0db4d719613b25decf34b3ab91355b5
The next pre-release of Nudge will contain this feature. I'm waiting for Github to release Xcode 15.3 before I can make a release.


Demo not working on iOS 14 emulator ?

Hello,
I've just tested the example project on ios 14 emulator and a lot of images don't load, this is not the case on iOS 13.5.
How can I determine if this is coming from SDWebImageSwiftUI or Apple ?
Thanks !

Let me try again.
Have you try to use pod update for that demo ?
SDWebImage fix a issue that AnimatedIamge not rendering on iOS 14.

Thanks for your help :)

Still have issues compatible for iOS 14.
The SVG/PDF vector images can not render on AnimatedImage.
This should be fixed via: https://github.com/SDWebImage/SDWebImage/pull/3046
I'll release SDWebImage 5.8.3 soon after that been merged.


Migrating from winapi to windows-sys

Totally not ChatGPT:
This pull request addresses the migration of our Rust library from using the winapi crate to the newer windows-sys crate. The windows-sys crate provides a more modern and idiomatic interface for working with the Windows API in Rust, improving the overall maintainability and readability of our codebase.
In this PR, I have made the following changes:

Updated all references to winapi to use the corresponding equivalents from the windows-sys crate.
Adapted the affected functions, types, and constants to match the changes introduced by windows-sys.
Verified and ensured compatibility with the latest version of the windows-sys crate.
Performed thorough testing to validate the functionality and compatibility of the library.

By migrating to windows-sys, we take advantage of its improved design, which aligns better with Rust's idiomatic patterns. The windows-sys crate also benefits from ongoing maintenance and community support, which ensures the compatibility of our library with future Windows API updates.
I have carefully reviewed and tested the changes, ensuring that they do not introduce any breaking issues and that the library's functionality remains intact. All unit tests have been updated to reflect the changes in the API and have passed successfully.
I kindly request the reviewers to assess the changes, provide feedback, and confirm that the migrated code aligns with our standards and best practices. Thank you for your time and consideration.

1 test failed


Consider adding MappedWriteSignal as a complement to Signal and MaybeSignal

Creating a type which maps it's input into an underlying Write/Rw signal would complete the elimination of needing generics in components to work with setter/getter signals.
The only thing to consider would be that UntrackedSettableSignal would need special consideration, as per this comment.

Currently, I believe there are only 3 distinct types:

WriteSignal
RwSignal
impl Fn(T)

So the API should support something to the following effect:
let mapped_set_signal = move |v: _| set_signal(v);

/* make mapped_set_signal a concrete type */

I really think we should add core signal traits so a user can decide whether they want to take a concrete signal type, such as Signal, ReadSignal, or a generic, such as T: GettableSignal, but perhaps this belongs in a seperate issue.

Hm... I've honestly never thought of a "derived write signal" before. Would this be, for example, a closure that wraps a setter? (I guess this is where the name MappedWriteSignal you suggest comes from)
This does limit it to the set function of a writable signal rather than the update function.

Yes, it would limit it to just setting the value. You could technically make it work for update with another type, but it would need to be an associated fn on the Write signal types.

Added in 41c03852e19f4896684f10e1680a90586bf4844a


Thermos / KCauldron Issue

src/main/java/me/glaremasters/guilds/commands/CommandList.java Line 77
We don't have Material.BARRIER on 1.7.10

If you grab the latest version and add that line to the config you'll be able to modify the item it uses.


Custom permission not visible in group dashboard

I am using the below code and the permissions are not listing in the group dashboard
@hooks.register('register_permissions')
def view_custom_permission():
    return Permission.objects.filter(codename="view_custom_permission")

@hooks.register('register_permissions')
def register_permissions():
    app = 'test'
    model = 'test'
    return Permission.objects.filter(content_type__app_label=app, codename__in=[f"custom_{model}"])

Thanks for the report!
Have you confirmed that those Permission objects exist in the database? If they do, they should normally show up under the "Object permissions > Custom permissions" section. Or, if you used Wagtail's Admin content type, it should show up under the "Other permissions" section.
I couldn't reproduce your issue, so if you could provide a minimal reproduction of the issue, that'd be great.

My wagtail_hooks.py code
`from django.contrib.auth.models import Permission
from wagtail import hooks
@hooks.register('register_permissions')
def view_custom_permission():
return Permission.objects.filter(codename="view_custom_permission")
@hooks.register('register_permissions')
def register_permissions():
app = 'wagtailadmin'
model = 'admin'
return Permission.objects.filter(content_type__app_label=app, codename__in=[f"custom_{model}"])
`

not able to view the custom permission @laymonage

Yes, I can see your hooks, but the question is: do those Permission objects you're querying exist in the database?
To confirm, run:
python manage.py shell

And let us know the output for the following:
>>> from django.contrib.auth.models import permission
>>> Permission.objects.filter(codename="view_custom_permission")
>>> # What's the output?
>>> Permission.objects.filter(content_type__app_label=app, codename__in=[f"custom_{model}"])
>>> # What's the output?

getting empty queryset @laymonage

There's the problem :)
You need to create the Permission objects first, e.g. using Permission.objects.create(). See Django docs for more details.

ah ok thanks :) @laymonage


[PE-D][Tester A] export doesn't export the "current state" of the list as specified

UG states that only the current state of the contact list will be exported.

But when the list is filtered using the find function and exported:

All the contacts are still exported in the file, which doesn't follow the specified feature.

Perhaps you could consider editing your UG to be more specific, but personally I think it would be better to actually change the list of contacts exported based on the filtered list as some users may only want some specific contacts they find.

Labels: type.FunctionalityBug severity.Medium
original: fannyjian/ped#9

@GarethOng specify on clearer on UG

#204 fixes


Code signing with Azure KeyVault

We have an Azure HSM keyvault set up which contains our code signing certificate.
We have an AZURE_CREDENTIALS org secret that contains current credentials info for the key vault.
We deleted the codesigncertificateurl and codesigncertificatepassword org secrets
I have defined the keyVaultCodesignCertificateName in the repository Settings file
So far, .app file from a build is not coming out signed.
Two questions:

Is there any other setup necessary to initiate code signing during a build?
Is there any way to kick off a build that a) creates app artifacts and b) does NOT initiate any deployment?

Currently you cannot run a CI/CD workflow that does CI only.
Dmitry Katson wrote a blog post on how to enable signing in AL-Go here: https://katson.com/code-signing-in-2024/


Create SPECS_English.md

Translated Portuguese to English using Google Docs.

Please add this English version of docs.  Thank you!!