BadRequestError

Version where bug was found:
I believe this is only showing up in this way in version 5
Describe the bug
In New Relic one can see that we have had a couple instances where calls to api/v1/useraliases from the Java client library in Mathia production (version 3, which can be run and built from release/v3.0.20 branch) resulted in 3 big clusters of around 100+ BadRequestErrors.

When this error was first noted in September after the first attempt to push version 5 to production, this BadRequestError seemed to be implicated in server times becoming unusable, but the root cause was unknown, and it seemed that this error was a symptom rather than a cause, and it did not reappear once other steps had been taken, so it was thought that this was thought a red herring / skeptical that this error was accurately representing an actual bad request.
It came up again last week, the timing of the errors makes it not really likely for it to be a reason for the production troubles, it definitely causes the server become unavailable with latency going way up for a little while. The difference now is that we can see the request that is coming in that is getting rejected as a BadRequest: the request body is an empty object:
{
   client_session_id: xdtutmtvhprlbr8o48zlpzxouiw:1698073659781
   endpoint: /api/v1/useraliases
   http_request_id: 6c27b841-faec-4a34-8b32-598f89dd4e42
   level: error
   message: { [[-]](https://splunk.carnegielearning.com/en-US/app/search/search?q=search%20index%3D%22cl_upgrade%22%20BadRequestError&display.page.search.mode=verbose&dispatch.sample_ratio=1&earliest=-7d%40h&latest=now&display.prefs.events.offset=60&sid=1698438186.76541#)
     endPoint: /api/v1/useraliases
     errorCode: 400
     message: Invalid body, check 'errors' property for more info.
     name: BadRequestError
     request: {}
     type: Parameter not in the correct format
   }
   request_method_type: PATCH
}

I asked @jerith666 to help with a theory, I'll just paste that conversation here. Hitting the API directly with postman with an empty object for the request body does produce the correct error, however, I am not able to reproduce how in the world the Java client library could send an empty object to api/v1/useraliases.
hey
@Matt McHenry
sry to throw something at you on a Friday afternoon, I still think there's something here; is possible for client.setAltIds() to have null values passed in for the parameters in here? https://github.dev.carnegielearning.com/CarnegieLearning/ctp/blob/d1298d078d118c96ac6becf43f[…]k12/launcher/bl/AbstractStudentLaunchSpecBuilder.java
The reason I suspect this could be a possibility is that we definitely saw the BadRequestError business come up again back on Monday.
https://one.newrelic.com/nr1-core/apm/overview/NzMyNTEzfEFQTXxBUFBMSUNBVElPTnw4MzYyNz[…]end=1698077520000&state=ad3a1eca-5531-0756-7d22-e6169806cfc6
https://one.newrelic.com/nr1-core/errors-inbox/entity-inbox/NzMyNTEzfEFQTXxBUFBMSUNBV[…]end=1698077520000&state=64704018-c039-4a7b-62ea-aedaa808e585
https://one.newrelic.com/nr1-core/errors-inbox/entity-inbox/NzMyNTEzfEFQTXxBUFBMSUNBV[…]end=1698077520000&state=576de03e-0b5a-16c7-dd3c-269291ab811f
These produced error logs like this:
{ [-]
client_session_id: xdtutmtvhprlbr8o48zlpzxouiw:1698073659781
endpoint: /api/v1/useraliases
http_request_id: 6c27b841-faec-4a34-8b32-598f89dd4e42
level: error
message: { [-]
endPoint: /api/v1/useraliases
errorCode: 400
message: Invalid body, check 'errors' property for more info.
name: BadRequestError
request: {}
type: Parameter not in the correct format
}
request_method_type: PATCH
}
That request property is literally an empty object, which is very strange. This is a property I added to our error middleware to log out the request body specifically in response to the first time we got these bad errors. Other errors we see are definitely attaching a correct looking request body, so I looked into our Java Client library to see if it was possible to somehow send an empty object. I think that it technically could, if and only if there were null values passed in. That's the only way I can think that this BadRequestError could have happened.
https://github.com/CarnegieLearningWeb/UpGrade/blob/dev/clientlibs/java/src/main/java/org/upgradeplatform/client/ExperimentClient.java#L485
https://github.com/CarnegieLearningWeb/UpGrade/blob/dev/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/UserAlias.java#L10 (edited)
GitHubGitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects. (7 kB)
https://github.dev.carnegielearning.com/CarnegieLearning/ctp/blob/d1298d078d118c96ac6becf43f403466dbba5356/runtime/services/services-business/services-k12-launch-bl/src/main/java/cl/services/k12/launcher/bl/AbstractStudentLaunchSpecBuilder.java#L174
Matt McHenry
:snail:  4:51 PM
I'm pretty sure that can't happen.  If there were null CtContextIds in the Stream passed in, then the map(CtContextId::getIdString) would throw an NPE and we'd never even make the call to UpGrade.
Dan Oswalt
4:52 PM
how about an empty list?
Matt McHenry
:snail:  4:53 PM
I think that would generate a request body like { userId: ..., aliases: [] }, not like {}
4:54
but yeah, if a class had an empty syllabus, I think you'd get an empty list of aliases (context ids) for any students in that class.
4:55
I doubt TT lets you create such a class, but roster integration might.
4:55
it'd be super simple to squelch the setAltIds call in that case.
Dan Oswalt
4:56 PM
it's just this weird constructor, public UserAlias(){} .... my java skills aren't so great but github copilot seems to think a null userId and empty list would produce an empty object for that class and get passed in as the request body that way https://github.com/CarnegieLearningWeb/UpGrade/blob/dev/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/UserAlias.java#L10
UserAlias.java
public UserAlias(){}
https://github.com/[CarnegieLearningWeb/UpGrade](https://github.com/CarnegieLearningWeb/UpGrade)|CarnegieLearningWeb/UpGradeCarnegieLearningWeb/UpGrade | Added by GitHub
4:58
also have no idea if a null userId is possible, but it seemed like a maybe
Matt McHenry
:snail:  5:00 PM
I would expect you'd need @JsonInclude(Include.NON_NULL) annotations to get that behaviour.  that's how it works with Jackson anyway -- I don't know if the client lib is using some other framework?
Should be easy to add a test of this in https://github.com/CarnegieLearningWeb/UpGrade/blob/dev/clientlibs/java/src/main/java/org/upgradeplatform/client/Main.java though.
Dan Oswalt
5:01 PM
oh right true, i'll try that out
Dan Oswalt
5:13 PM
hm can't seem to force it to do so. ok, thx for indulging my theory, have a good weekend

@danoswaltCL Just to add a few things. When I try to hit v1/useraliases api call with empty object and also without providing aliases key, I see the below responses:

ty yeah can make it happen manually, but the question is how this could happen from the Java client (v3).
Important to note is that this BadRequestError is only happening in new v5, in v4 this happens:
{
  "type": "Experiment user not defined",
  "httpCode": 404
}

So Mathia has probably been able to send this occassional unexpected empty object via the Java 3 library for a long time, just now in v5 we are calling this a bad request (for good reason, it's not expected and probably should rightfully be rejected instead of 404).
Also important to note though is that now we have an updated version of the Java client in Mathia production that is no longer retrying 4xx errors. So the severity of this error in production should be greatly reduced, as it the effect before was that it would cause Mathia to retry way too many times and flood ourselves with useless traffic.

Error is occurring roughly 1x/week, 17 errors over the last month.


Fixed falsey atom values being treated missing paths

@michaelbpaulson
Paths which returned falsey values (null, 0, false, '') were being
treated as missing paths, and hence being returned as empty atoms.
See: https://github.com/Netflix/falcor/issues/460
Sending this over for an initial review. This does fix the reported issue, however I still need to work on the get tests. I don't think they're testing the right use case, because they pass with the older code too.
I don't think we should merge until I've sorted out the right set of unit and integration tests.

@sdesai I will merge the test once you upload that final test you are writing.
There will be a follow PR by Satyen around JSON-Graph output having the same issue.


Create query coordinator implementation

Took a stab at implementing the query processing part that initializes a query from the coordinator's point of view. Follows the approach described in #352.

what's the goal for this PR? a lot of the Transport/Network stuff doesn't quite line up.
are you going to basically "rebase" this on top of the new PR we just opened? https://github.com/private-attribution/ipa/pull/355

what's the goal for this PR? a lot of the Transport/Network stuff doesn't quite line up.
are you going to basically "rebase" this on top of the new PR we just opened? #355

yes we need to merge #355 first and I'll rebase on top of it

closing as I am merging create and prepare logic together in one PR


Don't error when there is empty OneOf

Boutique gives exceptions when it encounters empty OneOf groups. For example:
+ Attributes (object)
    + id: pavan
    + One of

Also release 0.1.7 version.

Please, make the test part of the existing test suite. Otherwise looks good!

@honzajavorek Updated.

:rocket:


Mention dev docs in CONTRIBUTING.md

Objective
Fixes #5390. Makes https://dev-docs.bevyengine.org/ a bit more discoverable.
Solution
Mention the option as an alternative option to building the docs yourself in CONTRIBUTING.md.

bors r+


Thick lines another go

Hi! Thank you for helping out with Embedded Graphics development! Please:

[x] Check that you've added passing tests and documentation
[x] Add a simulator example(s) where applicable
[x] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc) and appropriate crate (embedded-graphics, simulator, tinytga, tinybmp) if your changes affect the public API
[x] Run rustfmt on the project
[x] Run ./build.sh (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description
Finally, thick lines! This only handles single line segments, not joined lines like triangles or (later) polylines - those need to have end/join caps figured out.
This can/should probably wait till after 0.6.0 is released.
Closes #46
Closes #301
TODO

[x] Clean up line-thickness example so it can be used for future debugging
[x] Add some MockDisplay tests to Line to check thick drawing
[x] Some cleanup in the algo itself, although I'm starting to miss the forest for the trees at this point.

Questions:

[x] The LineIterator (unstyled) iterates over every pixel in a thick line. Should this be the case, or should it revert to only iterating over the 1px wide "ideal" line between start and end?

@rfuest This is a draft still, but could you take a look at line.rs and point out anything you see that could make the code cleaner? As long as it's not fundamentally broken, I'd like to keep the shitty algorithm as is for this PR even if it's not perfect. Thick lines has kicked my ass enough recently and it would be great to see it released at some point :grin:

Have a look at https://github.com/rfuest/embedded-graphics/tree/thick-lines-another-go
I didn't really know what I was doing, without looking at the algorithm in more detail. But I think I've reduced some code duplication and at least the tests still work.

Ah that looks a bit better, thanks! Ready for review now I think :)

@rfuest Just a bump in case this slipped off the table. There's one unresolved question but otherwise I think this is good to go:

The LineIterator (unstyled) iterates over every pixel in a thick line. Should this be the case, or should it revert to only iterating over the 1px wide "ideal" line between start and end?

Ignore the nightly failure, I guess the latest release build failed.

LineIterator couldn't be constructed for an unstyled line, because it doesn't have a stroke width. I would like to have a LineIterator that uses the ideal line behavior you described, but for this PR I would suggest to simply make LineIterator private.

for this PR I would suggest to simply make LineIterator private.

I believe it was private before (couldn't find it in the doc search), but I've changed it now to pub(crate) just to make sure.

The "ideal" LineIterator could be added later with similar iterators for other primitives.

Sounds like a good idea to do all the primitives at the same time, yeah.

Woohoo, passing tests. Can you give this another look over?

What I don't like about this is how thick 45° lines are drawn, which might be a common operation. One side is always one pixel longer than the other.
Should we merge this regardless and fix this issue later? If you want to merge this now, please create an issue for this problem.
Do you want to remove the line-thickness example before merging? It is described as a debugging tool and might not be useful for the user of e-g, but is fun to play with.

What I don't like about this is how thick 45° lines are drawn, which might be a common operation. One side is always one pixel longer than the other.

Hm, that shouldn't be the case. I'll take a look when I'm on my Linux machine again in a bit.

Do you want to remove the line-thickness example before merging?

It's not an example per se, but it's been incredibly useful for debugging thick lines, so much so that I think I'll need it again in the future.

but is fun to play with.

So let's leave it in ;)

@rfuest Fixed the 45 degree issue and added a test. Thanks for spotting that. This whole thing has been really finicky. Anything else left to fix?

I would really like to say there aren't any more things to fix, but I think I've found yet another problem.
If you set the stroke width to an even number of pixels and, for example, move the line between DY = 0 and DY = -1 the start of the line jumps. This seems to be caused by a problem with the sides, which aren't always on the left or right but somehow get mirrored in some octants.

Haha no problem, I'd rather spend the time fixing bugs :). Lemme take a look...

Alright, I think I fixed the last issue you found. I'm not too happy with the code but the tests pass and the line in the debugger demo looks good. Can you give it a look over for any more bugs or obvious cleanups/optimisations please?

Just gave this a rebase. Is this good to merge?

Should this be merged into master or the 0.7 branch? It doesn't break the API, but could be considered a breaking change because it changes the way lines are drawn.

Master IMO as it's sort of a bugfix. It adds "new" (expected) behaviour. I can see why someone would treat it as a breaking change though as any > 1px thick lines will now draw correctly.

This could cause problems if someone used the same style with stroke width > 1px for drawing lines and other shapes and relied on the current behavior that lines are always 1 px wide.
But because that's very unlikely I'm OK with merging this into master. But maybe the changelog entry should make this clearer. Suggestion:
-  [#271](https://github.com/jamwaffles/embedded-graphics/pull/271)
   Styled `Line`s are now drawn using the `stroke_with` specified in the
   `PrimitiveStyle` and no longer default to 1 px width.

I'll take another look at the code and will let you know if it's ready to be merged.

Suggestion:

Thanks, I've modified the changelog entry with that text.

I've tried to refactor the code a bit, let me know if you think that this is any better: https://github.com/rfuest/embedded-graphics/tree/thick-lines-another-go

Oh that's loads better, thanks! I've rebased those changes in and force pushed my branch. I like the split between all the thick line stuff and the styled line. I didn't look too deeply at the code but it feels quite a bit more understandable.

Woohoo!

it's finished enough

High praise from mr fuest ;)

High praise from mr fuest ;)

You need to remember that I'm german, so this was really euphoric ;)


update query inventory document

Coverage decreased (-0.03%) to 65.915% when pulling 8c6c30230e51f8d0c3f00834d34b30f8d59ea420 on indriHutabalian:dev into 298a1e85625c34b44a7c7cea3f5d3117239790dc on danliris:dev.

Coverage decreased (-0.03%) to 65.915% when pulling 66e3c7871aae952fb3aaa902eb8422916addf0c6 on indriHutabalian:dev into 298a1e85625c34b44a7c7cea3f5d3117239790dc on danliris:dev.


Compute min/max distance between two GeometryQuery objects

This is a Civil iTwin user request for reporting min/max distance between points/linestrings/polyfaces.
See this video re: user request for max distance, as reported on Yammer: https://web.yammer.com/main/org/bentley.com/threads/eyJfdHlwZSI6IlRocmVhZCIsImlkIjoiMjM1MzY3OTA1NjI0MDY0MCJ9
Existing logic:

Civil mesh-mesh O(n^2) close approach code (using async, Promise).
native geomlibs:

pf_SearchContext.cpp DoPointPickXY for fast projection to mesh along z-vec.
SearchClosestApproachToLinestring (PolyfaceVisitorSearch.cpp) - does not use range speedup

Idea for initial framework: stroke both input GeometryQuery objects to LineString3d/IndexedPolyface so that the problem reduces to computing discretized min/max distance between all combinations of segment/triangle. Later refinements could include exact computations to avoid stroking (where possible), and speedups to avoid the O(n^2) complexity.

Min distance with range tree speedup: https://github.com/iTwin/itwinjs-core/pull/6188


Access to cache

The Ctx object should grow a cache option - an interface that can be bound to in-memory, redis, etc.
Pretty straightforward; get, set, set with TTL, etc.

Done!

Done!


启动时错误

Cannot import H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_Comfly module for custom nodes: No module named 'split_image'
无法加载split_image，有啥解决办法不？

这个是需要安装split_imag依赖文件，找到自己comfyui文件夹里面的python文件夹，然后在上面地址栏输入cmd回车，然后输入python.exe -m pip install split_image回车，等待安装完成后，重启即可

谢谢大佬，收到邮件了，然后安装了 split_image,后来启动时发现又缺了aiohttp-cors,按同样的的办法安装，重启后成功，感谢！我的职业是3D设计师，以前从来没接触过python之类的东西，最新学习comfyui也慢慢摸索如何装这些环境依赖的东西，也有看requirements的习惯，之前看别的后面都有版本号，你这没写，作为外行，不敢装不懂的东西，幸亏你指点。。
Thank u, I got your email, that's really a supprise. Following guidence, I installed the lacking module and it works after rerooting comfyui. As a 40 years up old 3d designer, I have zero  experience on python-like computer language which detering me from trying to install things I don't understand. Here great apprecitaion to you. And also thanks AI which creat a bridge between programmer and designer,normally they're parallel lines that stands for rational and passion，now AI bring them together.


DeckGL controller prop does not accept boolean

Hi, I installed the v6.0.3, and I tried to follow the docs with this example:
<DeckGL
  initialViewState={initialViewState}
  controller={true}
  layers={layers}
>

And it throws an warning:
index.js:2178 Warning: Failed prop type: Invalid prop `controller` of type `boolean` supplied to `DeckGL`, expected `function`.
    in DeckGL (at App.js:32)
    in App (at index.js:7)

Uncaught (in promise) TypeError: this.props.onResize is not a function
    at DeckGL._onResize (deckgl.js:159)
    at Deck._updateCanvasSize (deck.js:347)
    at Deck._onRendererInitialized (deck.js:527)
    at animation-loop.js:149

Can anyone help me?
Thanks.

it throws an warning:

@FranciscoGileno Thanks for reporting! Looking on the 6.0-release branch the prop type for that prop should be defined here and it looks like it should support bool.
Will require some investigation so marking this as a bug.
In the mean time, it may be worthwhile for you to copy a working example to make sure you don't get blocked.
Also relevant is taht we are actually moving away from the top level controller prop, and instead it is possible to specify a controller on each view. That newer syntax could be an alternative.
See the documentation of the View controller prop here

@FranciscoGileno  Thanks for confirming!


Cannot get vitest version

Describe the bug
Vscode say "cannot get vitest version"
log:
[INFO 11:09:51 AM] Error: Cannot get vitest version from "{"cmd":"/Users/orange/ShuDongProjects/aina/community-ui-pc/node_modules/.bin/vitest","args":[]}"
[INFO 11:09:51 AM] process.env.PATH = /usr/bin:/bin:/usr/sbin:/sbin
[INFO 11:09:51 AM] vitest.nodeEnv = null
[INFO 11:09:51 AM] Vitest Workspace [community-ui-pc]: Vitest version = undefined

Environment
(Paste info.txt content generated by the example project)
{
  "System": {
    "OS": "macOS 12.4"
  },
  "Binaries": {
    "Node": {
      "version": "16.15.0",
      "path": "~/.nvm/versions/node/v16.15.0/bin/node"
    },
    "Yarn": {
      "version": "1.22.5",
      "path": "~/.yarn/bin/yarn"
    },
    "npm": {
      "version": "8.5.5",
      "path": "~/.nvm/versions/node/v16.15.0/bin/npm"
    }
  },
  "IDEs": {
    "VSCode": {
      "version": "1.69.1",
      "path": "/usr/local/bin/code"
    }
  },
  "npmPackages": {
    "vite": {
      "installed": "2.9.14",
      "wanted": "^2.9.9"
    },
    "vitest": {
      "installed": "0.12.10",
      "wanted": "^0.12.6"
    }
  }
}

It seems problem of vscode itself.
I restart vscode then the problem gone


Update README

Some properties listed in Variable are in fact nested inside TypeName.
I'm not sure whether is something transitory or it is supposed to stay. Anyway this PR updates the README with the nesting.
(I think that typeName is not the most appropriated name for that variable. )

yeah I agree, it's better if we avoid repetitions in the docs e.g. one that happened in #92
Do you have suggestions for typeName alternative naming? /cc @ilyapuchka

Actually I have similar changes to README in #92 but instead of removing info that isOptional and so on can be accessed directly on the variable and other types I mention that it is a shorthand to typeName property.

I think it is fine too :)
In general I'd expect to find that information at the variable level and not tested.
I can't find a proper name because I can't find a rationale that separates information that is in typeName from the ones that is not.
I guess it is because in typeName there are all the properties that can be computed from the name

so what do you guys think we should do here in regards to changes in #92, @bolismauro @ilyapuchka which doc approach you prefer?

I'd keep changes in #92
The main reason is because typeName.isOptional is very weird to see. As I wrote, it is not clear why a variable named "typeName" should have a value "isOptional". The shorthand is much easier to use and to understand

What about hiding these details about properties in ?

From a user perspective I think it is better (less is more, having the same thing in multiple points may be confusing)

ok let's do that, ok to close this pr @bolismauro?

Sure 👍


Using OpenSpeech With Self Downloaded Data

❓ Questions & Help
Hi there, thank you for your contribution to ASR!
I'm rather new to this framework and encountered some issues.
I have previously downloaded train-clean-100 and dev-clean from the LibriSpeech dataset and would like to use this version in OpeenSpeech, so I specified dataset.dataset_download=False. However there seems to be an error finding the path.
Details
My script is as follows:
DATASET_PATH="..\data\LibriSpeech\train-clean-100"
MANIFEST_FILE_PATH="..\data\manifests\train-clean-100-proc.csv"

python ../openspeech/openspeech_cli/hydra_train.py \
    dataset=librispeech \
    dataset.dataset_download=False \
    dataset.dataset_path=$DATASET_PATH \
    dataset.manifest_file_path=$MANIFEST_FILE_PATH \
    tokenizer=libri_subword \
    model=conformer_lstm \
    audio=fbank \
    lr_scheduler=warmup_reduce_lr_on_plateau \
    trainer=cpu \
    criterion=cross_entropy

The error that I get:
[2022-07-06 20:30:57,482][openspeech.utils][INFO] - Operating System : Windows 10
[2022-07-06 20:30:57,483][openspeech.utils][INFO] - Processor : Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
[2022-07-06 20:30:57,561][openspeech.utils][INFO] - CUDA is available : True
[2022-07-06 20:30:57,562][openspeech.utils][INFO] - PyTorch version : 1.9.0+cu111
[2022-07-06 20:30:57,565][openspeech.datasets.librispeech.lit_data_module][INFO] - Manifest file is not exists !!
Generate manifest files..
Error executing job with overrides: ['dataset=librispeech', 'dataset.dataset_download=False', 'dataset.dataset_path=..\\data\\LibriSpeech\\train-clean-100', 'dataset.manifest_file_path=..\\data\\manifests\\train-clean-100-proc.csv', 'tokenizer=libri_subword', 'model=conformer_lstm', 'audio=fbank', 'lr_scheduler=warmup_reduce_lr_on_plateau', 'trainer=cpu', 'criterion=cross_entropy']
Traceback (most recent call last):
  File "../openspeech/openspeech_cli/hydra_train.py", line 44, in hydra_main
    data_module.prepare_data()
  File "C:\Users\liana\AppData\Local\Programs\Python\Python38\lib\site-packages\pytorch_lightning\core\datamodule.py", line 428, in wrapped_fn
    fn(*args, **kwargs)
  File "c:\users\liana\documents\projects\openspeech\openspeech\datasets\librispeech\lit_data_module.py", line 148, in prepare_data
    generate_manifest_files(
  File "c:\users\liana\documents\projects\openspeech\openspeech\datasets\librispeech\preprocess\subword.py", line 64, in generate_manifest_files
    transcripts_collection = collect_transcripts(dataset_path)
  File "c:\users\liana\documents\projects\openspeech\openspeech\datasets\librispeech\preprocess\preprocess.py", line 41, in collect_transcripts
    for subfolder1 in os.listdir(os.path.join(dataset_path, dataset)):
FileNotFoundError: [WinError 3] The system cannot find the path specified: '..\\data\\LibriSpeech\\train-clean-100\\train-960'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

I'm sure that the path directory exists, but it's returning me path not found error. I'm not sure where the train-960 comes from, as I only specified ..\data\LibriSpeech\train-clean-100 as my dataset path.
Also, I would like to ask if there's a script to generate manifest files, or is this script only available when dataset.dataset_download=True. Do I need to manually generate manifest files since I didn't download it through your API?
I've been trying to get this work for the entire day to no avail. Any help would be greatly appreciated!

I solved this newbie issue by inspecting the code under openspeech/datasets , openspeech/data and openspeech-cli/. Since my use case was specific, I had to tweak the code to match my target directory, number of training/validation/testing data, modify the LIBRISPEECH_PARTS to only contain the few specific LibriSpeech folders that I wanted to download. Also had to propagate this change throughout the codebase.
The script will always automatically generate manifest files if no file is detected at the provided $MANIFEST_FILE_PATH.
    LIBRISPEECH_TRAIN_NUM = 28539
    LIBRISPEECH_VALID_NUM = 2703
    LIBRISPEECH_TEST_NUM = 2620
    # LIBRISPEECH_PARTS = [
    #     'dev-clean',
    #     'test-clean',
    #     'dev-other',
    #     'test-other',
    #     'train-clean-100',
    #     'train-clean-360',
    #     'train-other-500',
    # ]

    LIBRISPEECH_PARTS = [
        'dev-clean',
        'test-clean',
        'train-clean-100'
    ]


relatedaddress of coinoutputspend is empty when listing transactions

related to threefoldfoundation/tfchain#61

I don't think it's only because of miner payouts

I started debugging this today, and it does seem that only miner payouts have a nil value as RelatedAdddress. I know because after some debugging in heavily used wallets, the ones that have it are transactions with fund type "miner fee".

If you have an address referenced with coins or bs in the genesisblock , all is fine, even if it stakes blocks, make a transaction with that wallet and it's broken.

Does not seem to be the case in v1.0.6-xxx.

A new wallet that receives something is also broken.

Does not seem to be the case.

Makes sense that this unlock hash is nil though. It's because we're also counting MinerFee as an output. But in fact that is neither an input or an output. The output is the MinerPayout, and that is already listed correctly. I don't see any easy, nor sane, way to link a fee to an output, and nor is there a reason to do so, given that it would mean it is double listed as it would be the same as the MinerPayout.


Type error: TypeBoxTypeProvider does not satisfy the constraint FastifyTypeProvider

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
4.24.3
Plugin version
3.5.0
Node.js version
18.15.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
Ventura 13.5.1
Description
TypeBoxTypeProvider produces a type error in version 3.5.0. I am not facing this issue in version 3.1.0.
Steps to Reproduce
import Fastify from 'fastify'
import { TypeBoxTypeProvider } from '@fastify/type-provider-typebox'

const fastify = Fastify().withTypeProvider<TypeBoxTypeProvider>()

This produces a type error:
error TS2344: Type 'TypeBoxTypeProvider' does not satisfy the constraint 'FastifyTypeProvider'.
  Property 'input' is missing in type 'TypeBoxTypeProvider' but required in type 'FastifyTypeProvider'.

Typescript version: 5.0.4
Expected Behavior
No response

I cannot reproduce. Can you push your file and tsconfig to a repo?

@mcollina this happens when using pnpm, and probably recent versions of yarn (I haven't tried them but I've heard they're more restrictive than npm). You don't explicitly declare fastify as a dependency or peerDependency, but still import it in index.d.ts, which makes it a phantom dependency. It's all fine if the consumer is using npm, because npm allows phantom dependencies. But if they use pnpm, when you try to import FastifyTypeProvider from fastify, you get an unknown type because fastify is not declared as a dependency and thus not accessible from your modules:

Workaround:
Adding this to my package.json fixed the issue for me:
"pnpm": {
  "packageExtensions": {
    "<EMAIL_ADDRESS>{
      "peerDependencies": {
        "fastify": "^4.16.0"
      }
    }
  }
}

Needless to say, I think it should be permanently fixed by adding the peerDependency to your package.

The same issue occurs in recent versions of Yarn. I discovered this while updating to 5.x. The problem can be worked around by adding the following to .yarnrc.yml in a Yarn project's root:
packageExtensions:
  "<EMAIL_ADDRESS>    peerDependencies:
      "fastify": "5.x"


Delete CDN Purge from Azure

Ref #553
Deleted:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

@nilsml, is there logs in azure where I can see these deletions?

Hmm, not exactly sure. Azure monitoring/insights perhaps, but doubt it.

Hmm, not exactly sure. Azure monitoring/insights perhaps, but doubt it.

I see. Not so sure how this can be reviewed. Should I just close it?


Political candidates are fireproof

According to some threads (I'm not sure how accurate it is) stumps should be able to burn to ashes.

like, actually burn into ash items?


Add Example to return array

Firstly, thanks for putting this together, as it reduces the horrors of compute shader complexity (though still complex for me at least).
Would it be possible to include an example where the compute shader returns an array, as my implementation is returning the following error when using GPU_PackedFloat64Array:
"Trying to assign an array of type "Array" to a variable of type "Array[float]"."

Thanks for opening an issue for this. This was an oversight on my part. The GPU_PackedFloat64Array and GPU_PackedVector3Array classes were written to take in standard Array types. I've already made the changes to remedy this, so they will take in their respective Packed*** data types.
It usually takes a day or two for updates to be accepted to the asset library, but you can clone master to get the changes now.

Firstly, thanks for putting this together, as it reduces the horrors of compute shader complexity (though still complex for me at least).

Feel free to drop any feedback you have in an issue. The goal of this project is to make compute shaders more accessible, so any input is welcome!


Matrix URIs aren't rendered as links

Gitea version (or commit ref): 1.15.0-rc3
Can you reproduce the bug at https://try.gitea.io:

[x] Yes: https://try.gitea.io/Mikaela/gist-manual/src/branch/master/matrix/spaces.md

Description
Linking to a Matrix URI such as: [Mikaela.info](matrix:roomid/psumPMeAfzgAeQpXMG:feneas.org?action=join&via=feneas.org&via=sorunome.de&via=the-apothecary.club&via=pirateriot.net&via=matrix.org) renders as text instead of a clickable link.
Matrix URI scheme is proposed in https://github.com/matrix-org/matrix-doc/blob/master/proposals/2312-matrix-uri.md and is being proposed in https://github.com/matrix-org/matrix-doc/pull/3168.
Update: Matrix URI scheme is specified in Matrix 1.2 and recognised by IANA.
Screenshots

https://gitea.blesmrt.net/mikaela/gist/src/branch/master/matrix/spaces.md

FWIW, matrix: is a properly recognised URI at the moment; https://www.iana.org/assignments/uri-schemes/prov/matrix
The URI is already proposed and has passed a "final comment period" in https://github.com/matrix-org/matrix-doc/pull/2312, and https://github.com/matrix-org/matrix-doc/pull/3168 is only to formalise the wording into the specification.

I updated the original comment a bit on that Matrix URI scheme became part of Matrix Specification in version 1.2 and included the IANA bit.

https://spec.matrix.org/latest/appendices/#matrix-uri-scheme


Use --dbuser/--dbpass instead of --installdbuser/--installdbpass when…

… invoking maintenance/install.php.
Here's a fix for #2. When invoking maintenance/install.php from script/install.sh, provide --dbuser and --dbpass instead of --installdbuser and --installdbpass.
With this change in place, installation works fine for me.

Can someone explain this to me? I don't get where to put the arguments.


design "write your blog section"

I want to work on this issue under jwoc.

@mrbhatt2348 I want to work on this issue under JWOC

Hello sir... I want to work on this issue under jwoc

I want to work for on this issue under jwoc , please assign me


iOS powerManagement.dim

Is the Partial Wake Lock (dim only) supposed to work on iOS?  It acquires the lock but the screen never diims.  The full wake lock works perfectly.  Am I doing something wrong?
Thanks

No - on iOS the partial wake lock is the same as the full wake lock. AFAIK there is no possibility under iOS to allow dimming the screen.

@tinnocente @Viras- How to use this plugin for iOS..?


Check AppDomain before loading Extension Assembly

In AssemblyHelpers.LoadFromName please check in AppDomain, whether the file is already loaded.
We are developing Addins for AutoCAD and have a custom Target in an extra Library, which would be in every of our Addins. Specifying assemblyName in Extensions-Section of nlog.config leads to a FileNotFoundException, if nlog is already loaded by another Addin (NLog is looking into directory of nlog.dll (the other addin's directory) and in AutoCAD-Installation-Directory, but not in my addin's directory).
We cannot foresee, where the Autodesk or the User installs the Addin, so specifying Extension via assemblyFile is not an option. But I am able to load my Assembly into AppDomain.
NLog version: 4.6.8
Platform: .Net 4.5
Current NLog config:
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      internalLogLevel="Debug"
      internalLogFile="C:\Temp\nlog-internal.log"
      >

  <extensions>
    <add assembly="AutoCAD.Extensions.NLog" />
  </extensions>

  <targets>
    <target name="autocadConsole" xsi:type="AutoCADConsole" />
  </targets>

  <rules>
    <logger name="MyAddin" minlevel="Info" writeTo="autocadConsole" />
  </rules>
</nlog>

Current Result:
Error loading extensions. Exception: System.IO.FileNotFoundException: Could not load file or assembly 'AutoCAD.Extensions.NLog' or one of its dependencies.
Expected Result:
NLog is using the Assembly already loaded into AppDomain.
Solution:
Change AssemblyHelpers.LoadFromName as follows:
var name = new AssemblyName(assemblyName);
var loadedAssembly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(domainAssembly =>
{
    var domainAssemblyName = domainAssembly.GetName();
    if (name.Name != domainAssemblyName.Name)
        return false;
    if (name.Version != domainAssemblyName.Version)
        return false;
    if (name.CultureInfo != null && name.CultureInfo != domainAssemblyName.CultureInfo)
        return false;
    if (!name.GetPublicKeyToken().SequenceEqual(domainAssemblyName.GetPublicKeyToken()))
        return false;
    return true;
});
return loadedAssembly ?? Assembly.Load(assemblyName);

Full Stacktrace:
2019-11-07 10:42:21.5066 Error Error loading extensions. Exception: System.IO.FileNotFoundException: Could not load file or assembly 'AutoCAD.Extensions.NLog' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
File name: 'AutoCAD.Extensions.NLog'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at NLog.Internal.AssemblyHelpers.LoadFromName(String assemblyName)
at NLog.Config.XmlLoggingConfiguration.ParseExtensionWithAssembly(String assemblyName, String prefix)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

You are welcome to create a pull-requests the starts with doing:
System.Reflection.Assembly.Load(String assemblyString)
And if that fails with FileNotFoundException, then you can fallback to:
var name = new AssemblyName(assemblyName);
var loadedAssembly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(domainAssembly =>
{
    var domainAssemblyName = domainAssembly.GetName();
    if (name.Name != domainAssemblyName.Name)
        return false;
    if (name.Version != domainAssemblyName.Version)
        return false;
    if (name.CultureInfo != null && name.CultureInfo != domainAssemblyName.CultureInfo)
        return false;
    if (!name.GetPublicKeyToken().SequenceEqual(domainAssemblyName.GetPublicKeyToken()))
        return false;
    return true;
});

Okay, I will create PR next week or the week after.
But why that way round? Why not first check AppDomain and then Load Assembly?
I also have no idea how to unit test this, but let's see.
Sleeping over it, I instead had the idea of checking not only nlog.dll-Directory and Application-Directory during load of NLog-extensions but also nlog.config-Directory. But I don't know, where this is implemented. Or is this .net doing for us? What do you think about this?

But why that way round?

Because 1 application out of 100.000 applications needs additional work to operate, then it doesn't mean the 100.000 should have the penalty of saving the 1 application.

Where did you get the specs defined in Device Specific Metadata? I have added my device ID and it's working ok, but I would like to fix the size information.

@AchimStuy What happens if you do this, instead of scanning manually:
Assembly.Load(new AssemblyName(assemblyName));
Or this:
Assembly.Load(AssemblyName.GetAssemblyName(assemblyName));

@AchimStuy
please note: master is targeting NLog 4.7 and dev 5.0

Sleeping over it, I instead had the idea of checking not only nlog.dll-Directory and Application-Directory during load of NLog-extensions but also nlog.config-Directory. But I don't know, where this is implemented.

I think you're looking for this:
https://github.com/NLog/NLog/blob/master/src/NLog/Config/ConfigurationItemFactory.cs#L431-L464

@AchimStuy What happens if you do this, instead of scanning manually:
Assembly.Load(new AssemblyName(assemblyName));
Or this:
Assembly.Load(AssemblyName.GetAssemblyName(assemblyName));

Both not working.

Sleeping over it, I instead had the idea of checking not only nlog.dll-Directory and Application-Directory during load of NLog-extensions but also nlog.config-Directory. But I don't know, where this is implemented.

I think you're looking for this:
https://github.com/NLog/NLog/blob/master/src/NLog/Config/ConfigurationItemFactory.cs#L431-L464

This is also not working, because the code is executed during static creation of default ConfigurationItemFactory-Instance. But I would need the nlog.config-path.
So I will implement as proposed by @snakefoot.

please note: master is targeting NLog 4.7 and dev 5.0

I would implement on master. Okay, @304NotModified?

This is also not working, because the code is executed during static creation of default ConfigurationItemFactory-Instance. But I would need the nlog.config-path.

true, I was thinking your were looking for the current code

I would implement on master. Okay, @304NotModified?

👍

Resolved with #3679 ?

Yes, unfortunately GitHub won't close it automatically as it isn't merged to the default branch (yet)
Thanks for the reminder


Retiring the deployment branch

The deployment branch has been causing trouble for the last few months so it's time to kill it. GitHub Actions will now run on pushes to master.

LGTM :)

what the fuck?
why is this here?


 + ractive.set == Big Bad Bug

Hi,
One more edge bug:
http://jsfiddle.net/xc2o8y08/65/
...a nasty one this time since the ractive data-binding breaks on the whole page as a consequence

Array wrapper strikes again... if you aren't using modified arrays (you use ractiveInstance.splice(keypath, idx, ...) instead of array.splice(idx, ...)), you can use modifyArrays: false as a config parameter to work around for now.

Just as a note: it breaks in the select but works fine in an input

thanks @evs-chris


Support for cap_html_filtering condition

Issue Details
Similar: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2146
https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#if-condition
Sometimes an annoyance or popup case can be dealt with by either removing the script from that page entirely (HTML filtering) or with the use of scriptlets and it makes sense that the scriptlet rules don't get injected into a page that HTML filtering has already been applied to.
So I use this in my list:
example.com##^script:has-text(BadStuff)
!#if !cap_html_filtering
example.com##+js(FirstScriptlet)
example.com##+js(SecondScriptlet)
example.com##+js(ThirdScriptlet)
!#endif

For AdGuard it can be translated into !#if (!adguard_app_windows && !adguard_app_mac && !adguard_app_android && !adguard_ext_firefox) but it makes sense to have a dedicated condition for this.
Proposed solution
!#if cap_html_filtering
Alternative solution
!#if (!adguard_app_windows && !adguard_app_mac && !adguard_app_android && !adguard_ext_firefox)

copy of #2259


Bump webpack from 5.75.0 to 5.76.0

Bumps webpack from 5.75.0 to 5.76.0.

Release notes
Commits

updated-dependencies:

dependency-name: webpack dependency-type: direct:development ...

This patch doesn't bump version it does reduce the version number. We are using dependabot so no need for manual version bumps.
Thanks though.


Update scalardb-graphql version to 3.6.0

This PR updates the version of Scalar DB GraphQL to 3.6.0.
The following changes have also been made in this PR to make the probes work well and for the CI to pass.

liveness/readiness probes
initialDelaySeconds was added to liveness/readiness probes to avoid restarting pods in the initial startup.
The probe method was also changed from httpGet to tcpSocket since Scalar DB GraphQL 3.6.0 always starts (or continues) a transaction when it receives a GraphQL query and it triggers database access. The liveness/readiness probe should not affect the database.

schema-loading job in CI
In order for the ct install command to install the scalardb-graphql chart in CI, it is necessary to load a database schema into the Cassandra database since Scalar DB GraphQL requires at least one table to generate a GraphQL schema. (The GraphQL spec doesn't allow leaving the Query root type empty. This is why Scalar DB GraphQL can't start without tables.)
This PR adds a simple schema loading job.

liveness/readiness probes
initialDelaySeconds was added to liveness/readiness probes to avoid restarting pods in the initial startup.

For the above, you can consider using the startup probe, which has been available since Kubernetes 1.18. See the document and entry below for details.

Configure Liveness, Readiness and Startup Probes | Kubernetes
Kubernetes 1.18の新機能を学び、使ってみよう | Think IT（シンクイット）

I tried to use startupProbe as follows.
$ git diff
diff --git a/charts/scalardb-graphql/templates/scalardb-graphql/deployment.yaml b/charts/scalardb-graphql/templates/scalardb-graphql/deployment.yaml
index 6627208..ec615a4 100644
--- a/charts/scalardb-graphql/templates/scalardb-graphql/deployment.yaml
+++ b/charts/scalardb-graphql/templates/scalardb-graphql/deployment.yaml
@@ -82,14 +82,17 @@ spec:
               value: "{{ .Values.scalarDbGraphQlConfiguration.logLevel }}"
           resources:
             {{- toYaml .Values.resources | nindent 12 }}
+          startupProbe:
+            tcpSocket:
+              port: 8080
+            failureThreshold: 30
+            periodSeconds: 10
           livenessProbe:
             tcpSocket:
               port: 8080
-            initialDelaySeconds: 60
           readinessProbe:
             tcpSocket:
               port: 8080
-            initialDelaySeconds: 60
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}

As a result, Scalar DB GraphQL pods are started without restarting by liveness probe.
$ kubectl get pod
NAME                                READY   STATUS    RESTARTS   AGE
scalardb-graphql-6d8c7dc4c8-5jrl4   1/1     Running   0          15m
scalardb-graphql-6d8c7dc4c8-9w9w5   1/1     Running   0          15m
scalardb-graphql-6d8c7dc4c8-mqjw2   1/1     Running   0          15m

Also, the startup probe failed several times as expected.
$ kubectl describe pod scalardb-graphql-6d8c7dc4c8-5jrl4

(snip)

Events:
  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  15m                default-scheduler  Successfully assigned default/scalardb-graphql-6d8c7dc4c8-5jrl4 to minikube
  Normal   Pulled     15m                kubelet            Container image "ghcr.io/scalar-labs/scalardb-graphql:3.6.0" already present on machine
  Normal   Created    15m                kubelet            Created container scalardb-graphql
  Normal   Started    15m                kubelet            Started container scalardb-graphql
  Warning  Unhealthy  14m (x2 over 15m)  kubelet            Startup probe failed: dial tcp <IP_ADDRESS>:8080: connect: connection refused

The startupProbe seems good to me!

@kota2and3kan Thank you for testing it! I did the same kind of check and pushed the change.

@kota2and3kan As for the wait for the Cassandra process, it is not just related to the GraphQL Helm chart, so it might be better to apply the changes in a separate PR.

@ymorimo

As for the wait for the Cassandra process, it is not just related to the GraphQL Helm chart, so it might be better to apply the changes in a separate PR.

Ah, I see. That's right.
I agree with updating it in another PR.


Fixes a test in a bonfire

Closes #3366.

Verified and merged. Thanks!

Hm is this deployed yet?  I still hit the bug in production, yet I do not see it in waffle


Question about parameters

Hello,
Thank you for this amazing work! I am quite new to region-based tracking and I have some questions about the code.
I am trying your algorithm with a camera and in the run_on_camera_sequence.cpp I did not quite understood the difference between the body1_ptr and the body1_model_ptr.
The function Model::LoadModel tries to read several parameters form a .txt file (similar to the ones described in the readme.md for the body_ptr). The parameters read from this .txt file seem redundand form the ones set directly in run_on_camera_sequence.cpp when declaring the body1_ptr.
Edit: By the way, I also have a problem with the detection of contours, they are not any of them detected. This is a consequence of silhouette_image being all black pixels because the normal_image_ is also black. I can see my images in the viewer so the data seems to be properly fed.

My issue was with setting the geometry_unit_in_meterparameter to 1/1000 instead of 0.001f. All the vertices coordinates were equal to zero, thus no contours were detected when generating the model.
By fixing my issue and going trough the code, I think I pretty much understood the global concepts around the body1_ptr and body1_model_ptr variables.


fix: add chmod for /var/log, for #5898

The Issue
From Discord https://discord.com/channels/664580571770388500/1257256256989696021
$ ddev config --webimage-extra-packages software-properties-common && ddev restart
$ ddev logs -s web
...
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-nginx-fpm.conf
...
PermissionError: [Errno 13] Permission denied: '/var/log/supervisord.log'
+ trap - SIGTERM
+ kill -- -1

Related issue with the same problem:

#5898

How This PR Solves The Issue
Adds chmod 777 /var/log.
Some packages have default folder/file permissions described in /usr/lib/tmpfiles.d/*.conf files.
This may cause problems with previously set permissions when installing/upgrading packages.
$ cat /usr/lib/tmpfiles.d/var.conf | grep /var/log
d /var/log 0755 - - -
f /var/log/wtmp 0664 root utmp -
f /var/log/btmp 0660 root utmp -
f /var/log/lastlog 0664 root utmp -

$ dpkg -S /usr/lib/tmpfiles.d/var.conf
systemd: /usr/lib/tmpfiles.d/var.conf

$ cat /usr/lib/tmpfiles.d/php8.3-fpm.conf
#Type Path                  Mode UID      GID      Age Argument
    d /run/php              0755 www-data www-data -   -

$ dpkg -S /usr/lib/tmpfiles.d/php8.3-fpm.conf
php8.3-fpm: /usr/lib/tmpfiles.d/php8.3-fpm.conf

For example, when you install software-properties-common, it has some dependency for systemd, and if there is an update for systemd (which is quite rare), it sets 755 for /var/log.
And I reviewed all files in ls /usr/lib/tmpfiles.d/*.conf to see if we need to add more permission overrides.
Manual Testing Instructions
Try ddev config --webimage-extra-packages software-properties-common && ddev restart
Automated Testing Overview

Release/Deployment Notes

This started failing in ddev-playwright 2 days ago: https://github.com/deviantintegral/ddev-playwright/actions/runs/9730634298
I think this is triggered by a change in a package we're installing. I was able to narrow it down to doing nothing but running apt-get update && apt-get install icewm in a Dockerfile.
Should we be updating addons to do the chmod or do you think there will be a ddev release in the next few days?

It's caused by the release of Debian 12.6 apparently:

https://github.com/justafish/ddev-drupal-core-dev/pull/38#issuecomment-2201142389

For a near-term fix, do the same thing I did there.

I guess a new DDEV release isn't out of the question. A quick look at the log seems to say it would not be disruptive.

We'll do a release.

Fix released in v1.23.3: https://github.com/ddev/ddev/releases/tag/v1.23.3


does not detect file that has been deleted and recreated when use Ino…

https://github.com/hpcloud/tail/issues/122
this is for issue 122
this may help

@Nino-K any chance to review this one?


Selection handler gets called multiple times?

Hello,
Thanks for making this awesome calendar open source.
I noticed that the selection handler gets called multiple times in a row once a date is selected and It's creating issues on our end because we are calling a delegate function. Is this normal behavior?

Nevermind, the delegate gets called after makecontent and because makecontent gets called multiple times, the delegate gets also called multiple times.

I just want to make sure I understand correctly - what delegate is getting called because makeContent() is called? In the example project included with the repo, that function doesn't have any side effects besides returning an instance of CalendarViewContent. Is this an issue specific to your code? Thanks for clarifying!


chore: add jenshenneberg to the org

@jenshenneberg has expressed interest in joining the OpenFeature org. Jens has contributed to the .NET SDK and the Statsig Provider.
https://github.com/open-feature/dotnet-sdk-contrib/pulls?q=is%3Apr+author%3Ajenshenneberg
@jenshenneberg  please signal your interest by adding 👍 or approving this PR. After it's merged, you receive an email inviting you.

@beeme1mr Thank you! 🚀


Change Text in ErrorPage (Probleme => Problem)

Issue moved to SiLeBAT/zoonotify-client #229 via ZenHub


Update index.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hey @vineetjaywant11
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


Can we make tracking of incoming links easier?

I'm imagining a block you can set on the router to do your tracking which gets called with every incoming deeplink that gets matched, regardless of matcher.
e.g.
self.router.trackingBlock = ^(DPLDeepLink *link) {
  [MyTrackingService trackEventWithName:link.url andProperties:link.routeParameters];
};

Or perhaps more generically, a onDeepLinkMatchBlock which just gives you a hook for after a deeplink is matched, but before it is executed?

Or just do it in application:handleURL: / continueUserActivity:.... duh!


HTML App Updates against AppService AuthN

Waiting on JS SDK + Websites updates to enable JS Client scenarios.

Is this for the e2e test app?

Yeah.
On Fri, Dec 11, 2015 at 1:09 PM, Phillip Van Nortwick <
<EMAIL_ADDRESS>wrote:

Is this for the e2e test app?
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-mobile-apps-js-client/issues/46#issuecomment-164048168
.


refreshed token still get unauthorized response

Hi,
My token was expire few days ago and I got a new one after refresh. But the server said that new token still unavailable with following message 401 {"error":{"code":"unauthenticated","message":"Must be authenticated to use '/drive' syntax"}} again and again.
Any suggestion of this case? Why do I get unusable token from refresh without any error?

any idea?


BoundedNumericProperty inconsistent behaviour

There seems to be a bug with this, first described here:
http://stackoverflow.com/questions/42718908/kivy-boundednumericproperty-errorhandler-misbehaving
Versions

Python: 2.7.9
OS: Raspbian Jessie Pixel
Kivy: 1.9.2
Kivy installation method:

Description
When using BoundedNumericProperty with errorhandler=lambda x, correct function depends on the lower bound value. It works as expected with some choices, crashes with others. See simple example in SO link above.
Code and Logs
Example code here:
http://stackoverflow.com/questions/42718908/kivy-boundednumericproperty-errorhandler-misbehaving
Example log:
pi@raspberrypi:~/kivy/VBCIE2/test $ python error.py
[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_17-03-13_31.txt
[INFO   ] [Kivy        ] v1.9.2-dev0
[INFO   ] [Python      ] v2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2]
[INFO   ] [Factory     ] 193 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: egl_rpi
[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0>
[INFO   ] [GL          ] OpenGL vendor
[INFO   ] [GL          ] OpenGL renderer
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO   ] [GL          ] Texture max size <2048>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Shader      ] fragment shader:
[INFO   ] [Shader      ] vertex shader:
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [OSC         ] using  for socket
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
[INFO   ] [HIDInput    ] Read event from </dev/input/event0>
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
[INFO   ] [MTD         ] Read event from </dev/input/event0>
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
[INFO   ] [HIDInput    ] Read event from </dev/input/event0>
[INFO   ] [Base        ] Start application main loop
[INFO   ] [HIDMotionEvent] using
[INFO   ] [HIDMotionEvent]  range ABS X position is 0 - 800
[INFO   ] [HIDMotionEvent]  range ABS Y position is 0 - 480
[INFO   ] [MTD         ] </dev/input/event0> range position X is 0 - 800
[INFO   ] [HIDMotionEvent] using
[INFO   ] [HIDMotionEvent]  range position X is 0 - 800
[INFO   ] [MTD         ] </dev/input/event0> range position Y is 0 - 480
[INFO   ] [HIDMotionEvent]  range ABS X position is 0 - 800
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [HIDMotionEvent]  range position Y is 0 - 480
[INFO   ] [MTD         ] </dev/input/event0> range touch major is 0 - 0
[INFO   ] [HIDMotionEvent]  range ABS Y position is 0 - 480
[INFO   ] [MTD         ] </dev/input/event0> range touch minor is 0 - 0
[INFO   ] [HIDMotionEvent]  range position X is 0 - 800
[INFO   ] [MTD         ] </dev/input/event0> range pressure is 0 - 255
[INFO   ] [HIDMotionEvent]  range position Y is 0 - 480
[INFO   ] [MTD         ] </dev/input/event0> axes invertion: X is 0, Y is 0
[INFO   ] [MTD         ] </dev/input/event0> rotation set to 0
[INFO   ] [Base        ] Leaving application in progress...
Traceback (most recent call last):
File "error.py", line 34, in
MyApp().run()
File "/home/pi/kivy/kivy/app.py", line 828, in run
runTouchApp()
File "/home/pi/kivy/kivy/base.py", line 487, in runTouchApp
EventLoop.window.mainloop()
File "/home/pi/kivy/kivy/core/window/window_egl_rpi.py", line 90, in mainloop
self._mainloop()
File "/home/pi/kivy/kivy/core/window/window_egl_rpi.py", line 85, in _mainloop
EventLoop.idle()
File "/home/pi/kivy/kivy/base.py", line 330, in idle
self.dispatch_input()
File "/home/pi/kivy/kivy/base.py", line 315, in dispatch_input
post_dispatch_input(*pop(0))
File "/home/pi/kivy/kivy/base.py", line 221, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
File "/home/pi/kivy/kivy/core/window/init.py", line 1083, in on_motion
self.dispatch('on_touch_down', me)
File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
File "/home/pi/kivy/kivy/core/window/init.py", line 1099, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
File "/home/pi/kivy/kivy/uix/widget.py", line 457, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
File "/home/pi/kivy/kivy/uix/behaviors/button.py", line 151, in on_touch_down
self.dispatch('on_press')
File "kivy/_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7681)
File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy/_event.c:13524)
File "kivy/_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (kivy/_event.c:12356)
File "/home/pi/kivy/kivy/lang/builder.py", line 64, in custom_callback
exec(kvlang.co_value, idmap)
File "", line 11, in
File "kivy/weakproxy.pyx", line 33, in kivy.weakproxy.WeakProxy.setattr (kivy/weakproxy.c:1236)
File "kivy/properties.pyx", line 423, in kivy.properties.Property.set (kivy/properties.c:5171)
File "kivy/properties.pyx", line 456, in kivy.properties.Property.set (kivy/properties.c:5859)
File "kivy/properties.pyx", line 1098, in kivy.properties.BoundedNumericProperty.check (kivy/properties.c:16949)
ValueError: MainWidget.number is below the minimum bound (0.150000)

I'm only getting the crash when the value reaches .1 or lower. Isn't that what should happen? I'm not sure where the bug is here?

Yes the point of errorhandler is to prevent the code crashing out. Indeed if you change valueMin to 0.5 it works as it should - no crashes. It also works with valueMin set to 0.25, 0.35 but curiously not with 0.4 or 0.15. I find this odd.

Isn't that what should happen?

@matham, no, since we have errorhandler, exception shouldn't happen at all.
BoundedNumericProperty(1, min=0.1, max=2, errorhandler=lambda x: valueMax if x > valueMax else valueMin)
P.S.
Not sure, but probably related to this issue: https://github.com/kivy/kivy/issues/731

The reason is that the errorhandler returns an incorrect value (or at least it thinks it does). Specifically, the value returned is exactly the minimum value, which it thinks is actually less than the minimum value.
The error happens here: https://github.com/kivy/kivy/blob/master/kivy/properties.pyx#L1097, possibly because we convert between a c float and python float which may lead to a python float being slightly less than a c float, causing the error.

Specifically, the value returned is exactly the minimum value, which it thinks is actually less than the minimum value.

It seemed that way at first to me also, but - when lower bound is set at 0.15 we still get an exception, even though the number is decremented from 1 in steps of 0.1

The value I referred to was not the value you set the property, but the
value returned by the error handler. That value, e.g. 0.15 is set and then
compared to the minimum. That's where it fails.
On Mar 14, 2017 6:44 PM, "EvgueniB"<EMAIL_ADDRESS>wrote:

Specifically, the value returned is exactly the minimum value, which it
thinks is actually less than the minimum value.
It seemed that way at first to me also, but - when lower bound is set at
0.15 we still get an exception, even though the number is decremented from
1 in steps of 0.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/5055#issuecomment-286584904, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABkW_kLibVcFIoGrRrgZTrwnY7D7vIaUks5rlxhOgaJpZM4Mbd3W
.


[Typo Report] address in Definition, file in Examples

It seems there's a typo in field RSS3Item - contents, as described in title.
In Line 133 (Definition) using address to record third'party files, while in Line 187 / 190 (Example) using file. It might be a typo. Can you please help fix that? Thanks.

fixed in v0.1.1


Make Entity class JSON serializable

class Example:
    def toJson(self):
        return json.dumps(self, default=lambda o: o.__dict__)

User of the library have to decide how to serialize as JSON entities. Besides, with the new __dict__ implementation, is easy to create a JSON with just a call to json.dumps(user.__dict__, sort_keys=True, default=str)


Migrating existing assets to S3

We're using this module successfully with a bunch of new sites, We would like to use it with existing sites, however not sure how to migrate assets to S3 from default storage. Copying the assets into a bucket doesn't seem to work. Any advice or thoughts?

As far as I know if you have your assets in the existing public/assets folder you should just have to upload the .protected folder to your protected portion of your bucket (see protected prefix) and then all other assets to the public portion of your bucket (public prefix).  At that point if you install the module configure it with your credentials and run a ?flush=1 it should automatically then map from that public local directory to urls on your s3 bucket.  Now when copying these files to your bucket, you will need to make sure the public files do have read access rights.  An example might be (not tested but something to start with)
aws s3 cp public/assets/Uploads s3://{bucket}/{public-prefix}/Uploads --recursive --acl public-read

Now note this is starting from a SS4.x site directly.  If you are migrating from SS3 to SS4 not sure the best way to go about this.
Also to help troubleshoot when you say doesn't work what types of errors are you getting?

Some other example commands that you can try when copying to the bucket -
example .env file
AWS_PUBLIC_BUCKET_PREFIX="public"
AWS_PROTECTED_BUCKET_PREFIX="protected"

aws sync commands -
aws sync public/assets/.protected s3://{bucket}/protected
aws sync public/assets s3://{bucket}/public --exclude "*.protected" --acl public-read

Thanks, I've boiled it down to the following. I've migrated the assets as described above, I can upload and view new images/assets. These get placed in S3 and are accessible via the S3 URLs.
Existing assets migrated are trying to be served from the server filesystem /public/assets* and not the S3 bucket.
So for existing assets (that have been copied to S3) the S3 PublicAdapter is not being used. I'm going to keep debugging, but if that sheds any light on it let me know.

Still not sure what would cause this as in the database, they simply store /Uploads/... As the file name and if using this adapter it just maps the s3 url as the prefix to what is in the database. On your server or dev machine there will be a folder in the /tmp folder (assuming Linux/Mac) for your sites cache. Can you delete that folder and then run a ?flush=1 on your site and let me know if it is still trying to map to your local server.


Script (RPM) installation failed with SELinux issues

OS: CentOS 7.4.1708
Full output below:
[root@onlyoffice-crm ~]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@onlyoffice-crm ~]# bash opensource-install.sh -u true -ics true -icp true -ids true -ims false
Select 'Y' to install ONLYOFFICE using Docker (recommended). Select 'N' to install it using RPM/DEB packages.
Please note, that in case you select RPM/DEB installation, you will need to manually install Mail Server and connect it to your ONLYOFFICE installation.
See instructions in our Help Center: http://helpcenter.onlyoffice.com/server/docker/mail/connect-mail-server-to-community-server-via-portal-settings.aspx
Install with Docker [Y/N/C]? N
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3106    0  3106    0     0  20540      0 --:--:-- --:--:-- --:--:-- 20569
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   202  100   202    0     0    311      0 --:--:-- --:--:-- --:--:--   311

#######################################
#  BOOTSTRAP
#######################################

net-tools-2.0-0.22.20131004git.el7.x86_64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1584  100  1584    0     0   2182      0 --:--:-- --:--:-- --:--:--  2181

#######################################
#  CHECK PORTS
#######################################

onlyoffice-communityserver-10.5.3-336.noarch
onlyoffice-communityserver is already installed
package onlyoffice-controlpanel is not installed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3529  100  3529    0     0   5653      0 --:--:-- --:--:-- --:--:--  5646

#######################################
#  INSTALL PREREQUISITES
#######################################

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2497    0  2497    0     0   7150      0 --:--:-- --:--:-- --:--:--  7154
Loaded plugins: fastestmirror
download.mono-project.com_repo_centos_                                                 | 2.9 kB  00:00:00
local-centos7.4-x86_64--install-centos7.4-x86_64                                       | 3.6 kB  00:00:00
mono-centos7-stable                                                                    | 2.9 kB  00:00:00
mysql-connectors-community                                                             | 2.5 kB  00:00:00
mysql-tools-community                                                                  | 2.5 kB  00:00:00
mysql57-community                                                                      | 2.5 kB  00:00:00
nginx                                                                                | 2.9 kB  00:00:00
nodesource                                                                             | 2.5 kB  00:00:00
nux-dextop                                                                             | 2.9 kB  00:00:00
onlyoffice                                                                             | 2.9 kB  00:00:00
remi-safe                                                                              | 3.0 kB  00:00:00
xCAT-centos7.4-path0                                                                   | 3.6 kB  00:00:00
xcat-otherpkgs0                                                                        | 2.9 kB  00:00:00
xcat-otherpkgs1                                                                        | 2.9 kB  00:00:00
(1/4): download.mono-project.com_repo_centos_/primary_db                               | 1.6 MB  00:00:00
(2/4): mono-centos7-stable/primary_db                                                  | 1.6 MB  00:00:00
(3/4): remi-safe/primary_db                                                            | 1.8 MB  00:00:00
(4/4): nodesource/x86_64/primary_db                                                    |  48 kB  00:00:01
Loading mirror speeds from cached hostfile
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.reconn.ru
Package yum-utils-1.1.31-42.el7.noarch already installed and latest version
Nothing to do
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   189  100   189    0     0    711      0 --:--:-- --:--:-- --:--:--   710
[mono-centos7-stable]
name=mono-centos7-stable
baseurl=https://download.mono-project.com/repo/centos7-stable/
enabled=1
gpgcheck=1
gpgkey=https://download.mono-project.com/repo/xamarin.gpg
Loaded plugins: fastestmirror
mysql57-community-release-el7-9.noarch.rpm                                             | 9.0 kB  00:00:00
Examining /var/tmp/yum-root-lCXf1U/mysql57-community-release-el7-9.noarch.rpm: mysql57-community-release-el7-9.noarch
/var/tmp/yum-root-lCXf1U/mysql57-community-release-el7-9.noarch.rpm: does not update installed package.
Nothing to do
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Preparing...                          ################################# [100%]
        package epel-release-7-12.noarch is already installed
Retrieving https://rpms.remirepo.net/enterprise/remi-release-7.rpm
Preparing...                          ################################# [100%]
        package remi-release-7.8-1.el7.remi.noarch is already installed

## Installing the NodeSource Node.js 10.x repo...

## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## Confirming "el7-x86_64" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'

## Downloading release setup RPM...

+ mktemp
+ curl -sL -o '/tmp/tmp.oauFxBu7DH' 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'

## Installing release setup RPM...

+ rpm -i --nosignature --force '/tmp/tmp.oauFxBu7DH'

## Cleaning up...

+ rm -f '/tmp/tmp.oauFxBu7DH'

## Checking for existing installations...

+ rpm -qa 'node|npm' | grep -v nodesource

## Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.
## You may also need development tools to build native addons:
     sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
     sudo yum install yarn

Loaded plugins: fastestmirror
mono-centos7-stable                                                                    | 2.9 kB  00:00:00
nginx                                                                                | 2.9 kB  00:00:00
remi                                                                                | 3.0 kB  00:00:00
remi/primary_db                                                                        | 2.8 MB  00:00:00
Loading mirror speeds from cached hostfile
 * nux-dextop: mirror.li.nux.ro
 * remi: mirror.reconn.ru
 * remi-safe: mirror.reconn.ru
Package matching epel-release-7-11.noarch already installed. Checking for update.
Package python36-3.6.3-7.el7.x86_64 already installed and latest version
Package expect-5.45-14.el7_1.x86_64 already installed and latest version
Package nano-2.3.1-10.el7.x86_64 already installed and latest version
Package htop-2.1.0-1.el7.x86_64 already installed and latest version
Package supervisor-3.1.4-1.el7.noarch already installed and latest version
Package postgresql-9.2.21-1.el7.x86_64 already installed and latest version
Package postgresql-server-9.2.21-1.el7.x86_64 already installed and latest version
Package rabbitmq-server-3.3.5-34.el7.noarch already installed and latest version
Package redis-6.0.8-1.el7.remi.x86_64 already installed and latest version
Package mysql-community-server-5.7.31-1.el7.x86_64 already installed and latest version
Package mysql-community-client-5.7.31-1.el7.x86_64 already installed and latest version
No package mono-webserver-hyperfastcgi-0.4-4 available.
Package matching mono-complete-<IP_ADDRESS>-0.xamarin.2.epel7.x86_64 already installed. Checking for update.
Package 1:java-1.8.0-openjdk-headless-<IP_ADDRESS>-11.b12.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.reconn.ru
Package python2-certbot-nginx-0.23.0-1.el7.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
rpmfusion-free-release-7.noarch.rpm                                                    | 6.3 kB  00:00:00
Examining /var/tmp/yum-root-lCXf1U/rpmfusion-free-release-7.noarch.rpm: rpmfusion-free-release-7-4.noarch
/var/tmp/yum-root-lCXf1U/rpmfusion-free-release-7.noarch.rpm: does not update installed package.
Nothing to do
Loaded plugins: fastestmirror
SDL2-2.0.10-1.el7.x86_64.rpm                                                           | 448 kB  00:00:00
Examining /var/tmp/yum-root-lCXf1U/SDL2-2.0.10-1.el7.x86_64.rpm: SDL2-2.0.10-1.el7.x86_64
/var/tmp/yum-root-lCXf1U/SDL2-2.0.10-1.el7.x86_64.rpm: does not update installed package.
Nothing to do
package ffmpeg2 is not installed
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.reconn.ru
Package ffmpeg-2.8.15-2.el7.nux.x86_64 already installed and latest version
Package ffmpeg-devel-2.8.15-2.el7.nux.x86_64 already installed and latest version
Nothing to do
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1841k  100 1841k    0     0  2253k      0 --:--:-- --:--:-- --:--:-- 2253k
Collecting pip
  Using cached pip-20.2.3-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
      Successfully uninstalled pip-20.2.3
Successfully installed pip-20.2.3
Data directory is not empty!

elasticsearch-6.5.0-1.noarch
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.30:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.30:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
OSError: No such file or directory

Hello @eugenov Please use clean server for package installation. In opensource version not available Control Panel. Install parametres for script, like -ics, works only in docker version. -u true is used only for update component versions.
Please rebuild your server and run with right parametres, you can look at this instruction. Or use a docker version.

It was out-of-the-box server.
So the solution is to use https://download.onlyoffice.com/install/install-RedHat.sh with only keys from instruction, right?

This is no clean server, looking on your command line output of installation. Because all of prerequisites are installed. And please use the latest version of OS. Yes, try run with right parametres.
In close time we update a helpcenter and instructions.

Yes, you are in the moment of the update. Does everything work with the new script? Close then please this issue.


adding "routing" to fixed-weight-pool

To be merged once https://github.com/alexgo-io/alex-v1-app/issues/179 closes

merged the feature into dev (#374)


[stable/phabricator] Remove apache and/or php volume

Signed-off-by: Carlos Rodriguez Hernandez<EMAIL_ADDRESS>The Apache configuration volume (/bitnami/apache) has been deprecated, and support for this feature will be dropped in the near future. Until then, the container will enable the Apache configuration from that volume if it exists. By default, and if the configuration volume does not exist, the configuration files will be regenerated each time the container is created. Users wanting to apply custom Apache configuration files are advised to mount a volume for the configuration at /opt/bitnami/apache/conf, or mount specific configuration files individually.
You can find more info in the container README: https://github.com/bitnami/bitnami-docker-phabricator/blob/master/README.md#notable-changes
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/retest


ID-1214 status endpoint improvements

Jira: https://broadworkbench.atlassian.net/browse/ID-1214
Bond checks the status of each fence provider to see if they’re up. This is really useful information, and ECM should do the same.

@tlangs Your branch is out-of-sync with dev branch that's why the verification test failed. This is all fixed now.

After this is merged we should update the externalcreds chart to use this new status endpoint! Is there a separate ticket for that?


[Task]: Fix invalid links in Beam Programming Guide

What needs to happen?
The core-construction-java module has been merged into another module, but some beam programming-guide documentation still references links to the old module.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[X] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

.take-issue


Update for staticcheck compliance

👋Howdy!
We (the App Platform Runtime WG) pull credhub-cli into the  diego-release codebase, and are trying to run staticcheck on all of its codebases. We found a few things flagged on credhub-cli, and would love it if y'all could incorporate these changes so we don't have to jump through hoops to whitelist certain codebases from our staticcheck automation.

Hi, thank you! We'll take a look!
But meanwhile, there are 2 test failures from running make all:
[1709773266] CredHub API Client Suite - 182/182 specs - 15 procs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
------------------------------
• [FAILED] [0.001 seconds]
Client() When a SOCKS5Proxy is set in the environment [It] returns an http.Client with a Dial function
/Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:26

  [FAILED] Expected
      <func(context.Context, string, string) (net.Conn, error)>: nil
  not to be nil
  In [It] at: /Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:33 @ 03/06/24 17:01:24.452
------------------------------
•••••••••••••••••••••••
------------------------------
• [FAILED] [0.002 seconds]
Client() With Dial [It] should return a http.Client with a dial function
/Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:140

  [FAILED] Expected
      <func(context.Context, string, string) (net.Conn, error)>: nil
  not to be nil
  In [It] at: /Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:146 @ 03/06/24 17:01:24.457
------------------------------
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Summarizing 2 Failures:
  [FAIL] Client() With Dial [It] should return a http.Client with a dial function
  /Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:146
  [FAIL] Client() When a SOCKS5Proxy is set in the environment [It] returns an http.Client with a Dial function
  /Users/peterch/workspace/tmp/credhub-cli/credhub/client_test.go:33

Ran 182 of 182 Specs in 0.064 seconds
FAIL! -- 180 Passed | 2 Failed | 0 Pending | 0 Skipped

Hi @geofffranks Any update on these failures?

oh, thanks! i missed this comment. Will take a look today.

Ok, should pass tests now @Tallicia @peterhaochen47 - thanks!


[Vue Warn]: Unknown custom element:  - did you register the component correctly?

What problem does this feature solve?
DO NOT CLOSE!! This is a bug - but I am working in a private repo, and have a NDA with my employer so I'm not able to provide a minimal reproduction which only leaves me with this option to actually submit an issue.
I am recieving a Vue Warn in multiple places that the components are not registered properly.  However I've been able to confirm through console.logs that the components are in fact imported.  I am also able to get rid of the error by changing the import style of the component.
The problem occurs, very inconsistently when I use named imports from an index file - if I change the imports to be default imports directly from the component file the problem disappears.  There is no reason this should be causing an issue in Vue, as this is basic ES6 syntax and works fine in other frameworks such as React and Svelte.
I'm lead to believe this SHOULD also work fine in Vue because for most components its not an issue, it only fails with some.
What does the proposed API look like?
// In SomeComponent
<script>
export default { name: 'some-component', ... }
</script>

// In SomeOtherComponent
<script>
export default { name: 'some-other-component', ... }
</script>

// In index.js
export { default as SomeComponent } from './SomeComponent.vue';
export { default as SomeOtherComponent } from './SomeOtherComponent.vue';

// In MainScreen.vue
<template>
  <some-component />
  <some-other-component />
</template>

<script>
  import { SomeComponent, SomeOtherComponent } from './components';
  export default {
    name: 'main-screen',
    components: {
      'some-component': SomeComponent,
      'some-other-component': SomeOtherComponent,
    }
  }
</script>

DO NOT CLOSE!! This is a bug - but I am working in a private repo, and have a NDA with my employer so I'm not able to provide a minimal reproduction which only leaves me with this option to actually submit an issue.

You can still work on a boiled down reproduction if you believe this is a bug...
My only hint here is look at what is contained in the imported variables like SomeComponent and start debugging from there, come back if you manage to find a bug, but please provide a boiled down repro, that is required

Please don't just close it - no I don't have time to work on a boiled down reproduction of the bug because I am under a tight deadline, and have lots of pressing issues that I should be spending my time on over this.  I have already looked at the imported components, and requested help on the forums, on gitter, on stackoverflow and this is my last resort.
Its very frustrating to also see multiple other issues on this problem having been closed in the same manner when searching the issues.  I have found a bug, I have told you exactly how it occurs.  The only difference between working code and not working code is whether or not the file is imported using named import or default import.
Please respect the fact that I am working a demanding job, and have other duties outside of work that doesn't give me the luxury of creating a boiled down repro of the issue, and at the very least allow the issue to stay open longer then 15 minutes so others may comment and involve themselves.
By closing it you make sure that its not taken seriously by others - and the problem remains.

@AasmundEndresen I don't see @posva closing it as a disrespect. The project has a guideline, not to put off contributors, but to help the maintainers to triage and work on issues. This ensures that issues are not forgotten after not being updated, or due to the lack of information.
You can create an issue in your fork, and log things. Sometimes I create a gist on GitHub and document my findings, then remove the unnecessary information and create an issue on GitHub. This helps me to keep tabs of the problems as I investigate, without causing too much noise on other OSS projects.
It can be frustrating, but once you have passed your deadlines, found more time to work on this issue and prepared a working example to reproduce the issue, I'm sure @posva and others will chime in here to help :+1:

Please respect the fact that as OSS maintainers, we are also working a demanding job, and have other duties outside of work that doesn't give me the luxury of creating a boiled down repro for every user who don't have the time to do that themselves.
Someone has to create the repro in order to fix the bug. It's either our time or yours. Since you are not paying for support, what makes your time more valuable than ours? Entitlement?


Not able to insert image on location of click on document?

Thank you for your response. Please use StackOverflow for any support or help related questions.


Diff between wp-fork branch and main repo's default branch

Closing this PR as we no longer need the fork 👋 (more info in https://github.com/wordpress-mobile/react-native-masked-view/pull/8).


Missing reference to contact journal on Increased Risk

Current Implementation

Currently when getting an increased risk there is only written Exposures on x days with increased risk and on the details part the date of the last exposure is listed, but there is no reference to to the contact journal where the other risk encounters are listed.
Suggested Enhancement

Add some text reference and maybe a Jump to contact journal button would be good.
Expected Benefits

The contact journal is a quite new and not by everybody used feature. Also if you don't follow the development you might not know that the high risks are shown there.
Reasons why this might be important:

Probably you have workn protective equipement (e.g. as a healthcare worker)
You want to calculate the day when it makes sence to get tested

Internal Tracking ID: EXPOSUREAPP-3034 (Overview)

@gleichda Thanks for contributing. Internally tracked. Best wishes, DS

Corona-Warn-App Open Source Team
Internal Tracking ID: EXPOSUREAPP-3034 (Overview)

This will be included in version 2.4: https://github.com/corona-warn-app/cwa-app-ios/pull/2748:

Hello everyone,
This has been integrated into the current CWA release 2.4.

Corona-Warn-App Open Source Team


failed to find libmagic

from neonize.client import NewClient
ImportError: failed to find libmagic.  Check your installation

If you are using Termux, you can install it using pkg (package manager)
$ pkg install sox

I'm sorry I didn't provide complete information beforehand
I'm currently using windows and python 3.10
Thank you in advance

Try installing the python-magic-bin library, it should work.
pip install python-magic-bin

still showing the same error, please guide

yes, I think so

pip install python-magic==0.4.15

I have installed python-magic==0.4.15 as suggested but it still gives the same error

there is a fix, thank you


docker: fix multi-chain config in lnd

Bug introduced in d5af509435603686d39cc2b35d40a28621ca0882.

Reference: #202

Thanks @AndrewSamokhvalov, I wasn't aware of that PR. Closing this, then.


Defaul CSP crashing site for scripts injected after hydration

Version
nuxt-security:
nuxt:
Reproduction Link
Hi,
For some reason it seems like scripts being injected after hydration are crashing site due to hash mismatch with csp default settings? does this make sense?

It doesn't make sense if you inject scripts with our recommended method which is useScript, or alternatively useHead.
Can you share a bit more details on how you inject scripts after hydration ?

https://github.com/Baroshem/nuxt-security/issues/482
Misdiagnose. But the above is exaclty my issue


Add a tutorial for beginners who don't know how this tool works...?

Hello, this seems to be a tool that lets a user decrypt assets for a Pixel Game Maker MV game, right? But I don't understand how this program works, could a guide be made that follows through step by step how to decrypt an asset for a game?
Sorry that this isn't a bug report but I think reporting that the usability of this tool is poor to people who might not understand Python usage much and who would just want to decrypt assets is also a bit necessary here.

This manual is based on my memory.
I don't currently have your PGMM game data, so it's hard for me to help you with any issues.
If you encounter any issues, please send encrypted resources and info.json to<EMAIL_ADDRESS>1. Install Package
pip3 install git+https://github.com/blluv/pgmm_decrypt.git

2. Decrypt Key
import base64
from pgmm_decrypt import decrypt_pgmm_key, decrypt_pgmm_resource

key = decrypt_pgmm_key(base64.b64decode("ENCRYPTED_PASSWORD_IN_INFO_JSON"))

3. Decrypt Resource
encrypted_resource = open("path_to_resource", "rb).read()

# Weak
decrypted_res_typeA = decrypt_pgmm_resource(key, encrypted_resource, True)
open("decrypted_typeA", "wb).write(decrypted_res_typeA)

# Not Weak
decrypted_res_typeB = decrypt_pgmm_resource(key, encrypted_resource, False)
open("decrypted_typeB", "wb).write(decrypted_res_typeB)

This manual is based on my memory.
I don't currently have PGMM game data, so it's hard for me to help you with any issues.
If you encounter any issues, please send encrypted resources and info.json to<EMAIL_ADDRESS>1. Install Package
pip3 install git+https://github.com/blluv/pgmm_decrypt.git

2. Decrypt Key
import base64
from pgmm_decrypt import decrypt_pgmm_key, decrypt_pgmm_resource

key = decrypt_pgmm_key(base64.b64decode("ENCRYPTED_PASSWORD_IN_INFO_JSON"))

3. Decrypt Resource
encrypted_resource = open("path_to_resource", "rb).read()

# Weak
decrypted_res_typeA = decrypt_pgmm_resource(key, encrypted_resource, True)
open("decrypted_typeA", "wb).write(decrypted_res_typeA)

# Not Weak
decrypted_res_typeB = decrypt_pgmm_resource(key, encrypted_resource, False)
open("decrypted_typeB", "wb).write(decrypted_res_typeB)


Send content_id to publishing-api

PR #93 sets up the infrastructure for sending the content_id to the content-store very nicely, but completely forgets to actually send the the content_id to the content-store.
:flushed:
Trello: https://trello.com/c/A94Y5Ect

Is it worth an integration test that might have caught this?

I don't think so. Integration test wouldn't have caught this because I would have forgotten to add content_id there too. In the future, adding content_id to the required fields in content-schemas would have caught this.


SEO for Developer Tools

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


Allow triggering of multiple stickies simultaneously

@jimjam-slam
Allow for the following syntax:
:::{focus-on="cr-map,cr-popup"}
Here is a map with a popup on top!
:::

:::{#cr-map}
![](mymap.png)
:::

:::{#cr-popup}
I love this map!
:::

General idea
focus-on can take multiple stickies separated by commas. They will all get cr-active added to them as well as a z-index where the first sticky is the baselayer.
This could also be extended to [@cr-map; @cr-popup], which is valid Quarto crossref syntax.
Open Questions
How to pass effects attributes? How will we know which sticky they're meant for?
Those questions suggest an alternative approach, which is to keep one-sticky per trigger, but allow them to be nested. So:
:::{focus-on="cr-popup"}
:::{focus-on="cr-map"}
Here is a map with a popup on top!
:::
:::

:::{#cr-map}
![](mymap.png)
:::

:::{#cr-popup}
I love this map!
:::

Hmm, looking at it this way... I think I prefer this approach. It's lengthier syntax but it seems easier to think about since its a simple use of the existing approach (cr-popup is also literally on top of cr-map, so it's obvious what this will look like). In fact, if this doesn't work already, it should be very easy to implement.
Thoughts?

Thinking about it a bit more: I'm not sure how scrollama will deal with nested steps. Will the one event listener pick up on both steps triggering simultaneously and run UpdateStickies simultaneously?

Mmmm, I'll not sure either - I think if you had nested levels you'd want to run them as separate Scrollama instances, otherwise you're going to have inconsistency going up/down and also problems with the scroll % counter 🤔 So then you'd want a global state manager that tracks a list of Scrollama instances...


Warnings in browser console after upgrading to PF 5

Using yarn start and connecting to a Quarkus app with mvn quarkus:dev -pl examples/quarkus in hawtio/hawtio:
Camel

Runtime

That ChartVoronoiContainer error comes from the charts dependency. It was there before and it has to be fixed there. Anyway it's not showing after build.
With others PR is on the way.


Force to reload apparmor profile if docker-default exists after a new installation

docker-snap has a chance to load the old apparmor profile(docker-default) if
docker deb package is installed previously, that will cause IPC failed to
execute via signals.
This commit enables docker forced to reload the apparmor profile if a
profile(docker-default) exists before starting docker daemon. And the apparmor
profile with the same name will be refreshed if it's the case and the
right profile for docker snap will be loaded correctly then.)
Fixed #4

LGTM, verified functionality in my testing environment where I'd seen this problem previously.


Feature request: Add port as output to upstash_kafka_cluster

upstash_kafka_cluster's tcp_endpoint does not include the port, and thus when attempting to configure a Lambda integration for a consumer, it fails - I had to add and hardcode the port manually. Would be nice to get that as an output so no hardcoding would be required.

Hi again, @benkraus!
Default port for the kafka clusters is 9092. What I mean is, the port does not change like in the case of our redis databases.
We may release a version for this in the future. In the mean time, you can keep that port info in a variable instead in order not to hardcode everytime.