Add eleven initial corpora and new seeds

Adds new seeds per same methodology as in #186 and adds initial corpora for the following eleven fuzz targets:

clusterlin_add_dependency
clusterlin_ancestor_finder
clusterlin_chunking
clusterlin_cluster_serialization
clusterlin_depgraph_serialization
clusterlin_linearization_chunking
clusterlin_linearize
crypter
crypto_aeadchacha20poly1305
crypto_fschacha20poly1305
p2p_handshake

The number of lines added here seems off. Looking into what happened there.

I checked and my version of Bitcoin Core did not have that fuzz target, then realized that it just got merged yesterday. I can add it tomorrow to this PR after fuzzing it the next day or so.

Still around 240,000 new seeds, so I guess I didn’t do it wrong the first time after all.

Still around 240,000 new seeds, so I guess I didn’t do it wrong the first time after all.

$ git diff --diff-filter=A --name-only origin/main..c98fc19a89d6c54a4b92d8e51a9b49d536d02ed2 | wc -l
1496
$ git diff --diff-filter=A --name-only origin/main..murch/2024-08-add-seeds | wc -l
19535

Only 1.5k new seeds for the new harnesses and about 20k new seeds in total, which seems fine.
I think the ~240k number refers to added lines (not sure how much sense that makes w.r.t fuzz inputs).

I see. I was assuming that any fuzz seed would be a single line

I have reverted the addition of seeds for the utxo_snapshot target


Decouple Kubernetes/Docker config from Machine config

Currently, the Kubernetes and Docker configurations are heavily coupled to the configuration for Machine, an external dependency. It would be good if the Machine config could be completely self-contained in the Machine repo, so that changes wouldn't require commits to both repos. Secrets could be handled through environment variables that aren't tied to the Machine config structure.

The hard part with that is that similar to using MongoDB, if the API or configuration file changes, the MongoDB configuration in the docker image or the k8s charts also need to change.  I don't know a meaningful way of being able to hide the changes only in the machine repo.

The appsettings feature in ASP.NET Core supports multiple deployment environments. All of the configuration for different environments could be contained in the appsettings files in the Machine repo. That would leave secrets. These could be set using environment variables that are not tied to the Machine configuration structure. This would allow us to freely make changes to the Machine configuration structure without having an impact on Serval.

The key issue is that the Serval deployment config is currently too coupled to the configuration structure of an external dependency. There are definitely ways that we can reduce the coupling, so that in most cases making changes to external dependency's configuration structure won't break Serval deployment. The design I proposed in a previous comment is just an example of how this could be done.

I have been thinking about this a bit more and here is what I think most deployable software does and what we should do:

Have a few different "modes of operation" such as development, production and quick_test (may be enough)
All network topology parameters stay in k8s files including:

Docker images of machine.py
ClearML connection params (URL + queue)
Serval callback URL

These network topology parameters are defined in a stable way that doesn't change even if the underlying Machine implementation changes (it is in essence, a network API)
We specify in the Machine readme what parameters are needed to connect it with the outside world

Rationale:

We need flexibility to change the network topology of a Serval deployment without rebuilding machine
Machine's few "modes of operation" (production, development, quick-test) can be built in - but then we should be able to switch between them
The entire network topology can be defined in one place, the Serval k8s charts

We could call the 3rd state a dummy_build.  It implies that it goes through the real pipeline, but that somehow, it is all fake and that no good data could come from it.  @ddaspit, can we also make a dummy_build for SMT?  It would be nice to try out large files for training, but only do 1 step of the training for speed.  We can pass dummy_build to Machine.py as per https://github.com/sillsdev/serval/issues/178 as well.

Proposed params to consolidate into development and dummy_build appsettings (internal config):

app_settings:

ASPNETCORE_Logging__LogLevel__Default=Information
ASPNETCORE_Logging__LogLevel__Microsoft.AspNetCore=Warning

specific to machine:

ASPNETCORE_TranslationEngines__0=SmtTransfer
ASPNETCORE_TranslationEngines__1=Nmt

machine.py dummy_build:

dummy_build:
  max_steps: 10
  huggingface:
    parent_model_name: facebook/nllb-200-distilled-600M
    generate_params:
      num_beams: 1

Proposed params to leave as env variables (networking topology):

ASPNETCORE_ENVIRONMENT=dummy_build
ASPNETCORE_Kestrel__Endpoints__Grpc__Url
ASPNETCORE_Kestrel__Endpoints__Grpc__Protocols
ASPNETCORE_ConnectionStrings__Hangfire
ASPNETCORE_ConnectionStrings__Mongo
ASPNETCORE_ConnectionStrings__Serval
For Serval:

All ASPNETCORE_Translation__Engines endpoints (they can change with deployment - include the echo or no?)

For Machine:

All ClearML and S3 configs

I think that makes sense. Maybe we could move all of the connection strings under ASPNETCORE_ConnectionStrings. That would provide us with a stable and clearly demarcated configuration section that would require changes to the Kubernetes deployment if it changed. All of the rest of the configuration could be changed without breaking the deployment.

I'm ok with the layout right now.  Apart from the ClearML / NMT change, they have been very stable.

This has been implemented to the extent that it will be.


Show the shortcut information somewhere in the application

Hello, with the current version of the REPL is you press Ctrl + S or Cmd + S it will recompile + run the code.

thx, cmd+r would be more obvious

Well Cmd+R is already used by the browser to reload the page so I prefer to not override this shortcut which is more used than Cmd+S in a browser.
You can also use alt+enter. In the past, we had the information shown in the toolbar but seems like we lost it. We should make it visible again.

Perhaps, we can a tooltip when hovering the Compile button for a certain period of time

Good call!
Convention is a big thing!


Incompatible layer Error with Yocto Rocko

I am trying to integrate meta-aws layer with Yocto project which is based on Rocko branch. I am getting an error of incompatible with core layer. There is no branch for rocko in meta-aws. is it possible to use meta-aws with Yocto based on Rocko branch:
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log for this session (/home/bilal/firmware-gen2/poky/build/bitbake-cookerdaemon.log):
  File "/home/bilal/firmware-gen2/poky/bitbake/lib/bb/server/process.py", line 433, in _startServer
    self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
  File "/home/bilal/firmware-gen2/poky/bitbake/lib/bb/cooker.py", line 197, in __init__
    self.initConfigurationData()
  File "/home/bilal/firmware-gen2/poky/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData
    self.databuilder.parseBaseConfiguration()
  File "/home/bilal/firmware-gen2/poky/bitbake/lib/bb/cookerdata.py", line 316, in parseBaseConfiguration
    raise bb.BBHandledException
bb.BBHandledException
ERROR: Layer meta-aws is not compatible with the core layer which only supports these series: rocko (layer is compatible with kirkstone)

Hi, @rpcme I am using MSM8909 from Qualcomm. I ported the master branch to Rocko and able to build it with Yocto Rocko version.

Okay this seems ok now. If you would like to contribute the Rocko port (just do PR to rocko release branch) we will review it.


Lack of clarity in new Generative Tooling page

This page was created without M&P review, and there is a list in it that is not clear. Specifically:

The terms and conditions of the generative AI tool do not place any restrictions on use of the output that would be inconsistent with the Open Source Definition (e.g., ChatGPT’s terms are inconsistent).
At least one of the following conditions is met:

The output is not copyrightable subject matter (and would not be even if produced by a human)
No third party materials are included in the output
Any third party materials that are included in the output are being used with permission (e.g., under a compatible open source license) of the third party copyright holders and in compliance with the applicable license terms

A contributor obtain reasonable certainty that conditions (b) or (c) are met if the AI tool itself provides sufficient information about materials that may have been copied, or from code scanning results

E.g., AWS CodeWhisperer recently added a feature that provides notice and attribution

Lists like this should typically be bulleted, since they are non-sequential. BUT, in step 3, it references "conditions (b) or (c)". Where are those conditions? This list? In which case, this list should be numbered, but in the proper format. If another list, then the other list should be properly linked/referenced.

Is M&P review a requirement for new pages? I'm out of touch.
Thanks for the (b) and (c) report. That's a case of markdown doing things differently than my pre-markdown draft; i.e. (b) changed to (ii) etc. I'll fix to 2(ii) etc.

M&P is responsible for all content on apache.org. We're not planning to block anything; mostly we want to ensure we don't have page sprawl, which we just cleaned up. An edit pass would not hurt anyone, either. :)
We are going to post revised process instructions soon.


Disable auto centering

Hi,
I just started using this view. Is there a way to disable the auto centering, when you move or zoom on the view?

hey @MadsHoltum , try setting the bindToBorders={false} prop on the zoomable view.


The new ASSAO looks weird

Godot version:

v4.0.dev
OS/device including version:

Windows 10 Pro, v20H2, compilation 19042.685, AMD FX-6300, GTX 960 2gb
Issue description:

Apparently when ssao is active there doesn't seem to be much difference between on and off. Sometimes a diffuse, dark texture appears on the screen that stains the screen (this texture can change its appearance when the screen changes in size or the quality changes).
==================================Output========================================
Attempted to use the same texture in framebuffer attachment and a uniform (set: 1, binding: 6), this is not allowed.
================================Windows Console====================================
ERROR: Attempted to use the same texture in framebuffer attachment and a uniform (set: 1, binding: 6), this is not allowed.
at: (drivers\vulkan\rendering_device_vulkan.cpp:6194)
ASSAO OFF

ASSAO ON

This video better shows what i'm talking about.
https://user-images.githubusercontent.com/48926464/103105530-09949000-45f4-11eb-9994-4f7990ed2760.mp4
Steps to reproduce:
Just turn on the ssao and test debug mode or light mode.
Minimal reproduction project:

[NOTE THE PROJECT DON'T HAVE SPONZA SCENE BECAUSE IT'S VERY BIG BUT IT CONTAINS THE MODEL sibnek.fbx TO TRY]
Project_test.zip

If your materials use an ambient occlusion map, make sure to set Ao Channel Affect to 1.

Sometimes a diffuse, dark texture appears on the screen that stains the screen (this texture can change its appearance when the screen changes in size or the quality changes).

I can reproduce this when no DirectionalLight is present in the scene.
Godot version: Git https://github.com/godotengine/godot/commit/545c89461464ee14b2b806dd2dd2c0eef110e181
OS: Fedora 33
GPU: GeForce GTX 1080 (NVIDIA 455.45.01)

Uh oh. Does this happen on all scenes?
Can you also send a screen shot of the "normal_roughness buffer" it's another one of the debug modes.
I had issues in the sibenik model I have because the normals were completely corrupted.

Godot version:
v4.0 dbd00d932e27088f6f8a8fc88e5dd75796719ada
OS/device including version:
OpenSUSE / RX 5500 XT (Mesa 20.2.4)
new ASSAO works fine but there are output errors

@Unknownn1024 Thanks for confirming. It looks like this is an NVidia specific issue.
The error is unrelated to SSAO and there is already a PR submitted to fix it :) https://github.com/godotengine/godot/pull/44530

This fixes #44530 the nvidia problem?

I have tried the demo of Intel ASSAO and AMD CACAO and they work fine. In all the projects that I have it works badly, I even created a new one and it is the same.

This fixes #44530 the nvidia problem?

No, it fixes the framebuffer attachment error.

In the two apis

Here I leave you some images with the normal buffer.

The sponza model has problems in the geometry, I think it is a bug from the collada importer.

@AlfonsoGrimaldo Would you be willing to run a scene in RenderDoc or Nvidia Nsight to show me further details?
I don't think I can debug this without access to NVidia hardware

If you explain me how to do it. I will do it

@Calinou and I have been debugging this a little. So far we have figured out that the issue is coming from the blur pass. I am not sure what the root cause is. But this means their are 2 workarounds for now:

Set blur_passes in the ProjectSettings to 0, so no blur is performed; or
Set quality to "Very Low"


The plugin breaks code with specific symbols

I use d3.js. It includes this string (from trigonometry.js in source):
var ε = 1e-6, ε2 = ε * ε, π = Math.PI, τ = 2 * π, τε = τ - ε, halfπ = π / 2, d3_radians = π / 180, d3_degrees = 180 / π;

So if I build my script without html-webpack-plugin everything is ok, but if I do with, it turns into this:
var Оµ = 1e-6, Оµ2 = Оµ * Оµ, ПЂ = Math.PI, П„ = 2 * ПЂ, П„Оµ = П„ - Оµ, halfПЂ = ПЂ / 2, d3_radians = ПЂ / 180, d3_degrees = 180 / ПЂ;

And this is causes "Uncaught SyntaxError: Unexpected token ILLEGAL"

Which version are you using?

The last. I've installed the plugin today.

Actually we don't change the code webpack delivers..
I have no idea what this might cause


remove and ignore dotnetcli and dotnet-install.ps1

The Generate Size checkin has added the dotnet cli and the dotnet-install.ps1 With this checkin I removed them and added it to the ignore list

Main changes here

removed the dotnetcli from the git repository and ignored it
improved the appveyor-doc.yml to first checkout and then installing the dotnetcli (before the checkout removed the dotnetcli and thats why the Generate site failed).

oh, the entire dotnetcli was pushed to git when it tried to push the website. 😲. Thanks for fixing it.


Windows 10 installation

Initially, I could not install this using npm on a windows 10 machine as it apparently requires 'bash'. Installing the windows linux subsystem and free Ubuntu distribution allowed the installation to succeed.
Any plans for a version that runs on windows without having to install the linux subsystem?

@nikshriv could this be a duplicate of this issue?
if so then the problem is with the ohm-js package. If you like you can open an issue there

@nikshriv I just did a major refactor and replaced ohm-js with a custom parser should it should install fine on windows now without any workarounds - as of v1.4.1


iOS - forcing a UIView to have userInterfaceStyle produces strange snapshot results

This seems to be an issue with XCTest/XCode as it happens even if I use native methods to convert a view to an image within a XCTest context, but I thought it would still be worth tracking here too, in case you have any ideas or workarounds.
Open radar bug: http://www.openradar.appspot.com/7404933
Essentially I have a test where I define two dynamic colours:

dynamicColor1 is green in dark mode, purple in light mode, and black in iOS < 13.0
dynamicColor2 is orange in dark mode, cyan in light mode, and black in iOS < 13.0

For the light mode snapshot, I simply take a screenshot of the UIView.
For the dark mode snapshot, I create a new instance of the View, set userInterfaceStyle to dark and take a screenshot of the UIView
As you can see in the test snapshots, the dynamic text colour is being correctly applied when I force userInterfaceStyle on the UIView, while the dynamic background colour is not.

This repository has been archived, please open this PR here: https://github.com/uber/ios-snapshot-test-case

This repository has been archived, please open this PR here: https://github.com/uber/ios-snapshot-test-case

Thanks for the heads-up. New issue opened here https://github.com/uber/ios-snapshot-test-case/issues/122


Data races in global variable initialization, from command-line arguments and otherwise

Original issue: https://charm.cs.illinois.edu/redmine/issues/538

// Miscellaneous global variable init
SUMMARY: ThreadSanitizer: data race isomalloc.c:2033 init_ranges
SUMMARY: ThreadSanitizer: data race isomalloc.c:2247 init_ranges
SUMMARY: ThreadSanitizer: data race convcore.c:319 CmiArgInit
SUMMARY: ThreadSanitizer: data race convcore.c:951 CmiTimerInit
SUMMARY: ThreadSanitizer: data race memory.c:305 CmiMemoryInit
SUMMARY: ThreadSanitizer: data race threads.c:1586 CthInit
SUMMARY: ThreadSanitizer: data race sockRoutines.c:51 skt_set_abort
SUMMARY: ThreadSanitizer: data race NullLB.C:70 NullLB::init()

// Command-line argument initialization
SUMMARY: ThreadSanitizer: data race convcore.c:2124 CsdInit
SUMMARY: ThreadSanitizer: data race convcore.c:941 CmiTimerInit
SUMMARY: ThreadSanitizer: data race conv-ccs.c:568 CcsInit
SUMMARY: ThreadSanitizer: data race cputopology.C:398 LrtsInitCpuTopo
SUMMARY: ThreadSanitizer: data race ck.C:2578 CkMessageWatcherInit(char**, CkCoreState*)

SUMMARY: ThreadSanitizer: data race register.C:142 CkDisableTracing // init calls getting tracing disabled

These probably need locks or checks for rank-0 only

Original date: 2014-07-28 22:57:05

Forgot one, now added above.

Original date: 2014-10-14 16:13:13

Most of these have been easy to resolve by extending an existing exclusion zone (typically CmiRank==0) to include the adjacent initialization.  A few might require the introduction of stronger ordering methods.

Original date: 2014-11-09 16:56:51

Ping. We'd like to have a fix for this merged before the core meeting. This should be fairly simple, and would make a substantial difference for people who want to use ThreadSanitizer.

Original date: 2014-11-10 16:49:58

I have most of these fixed.  Should it go in one commit?

Original date: 2014-11-10 17:06:57

One commit should be fine, unless there's something about some particular change that might need more attention

Original date: 2014-11-11 19:34:05

Most of these were pretty straightforward to implement, but there was a lot of code reading to determine the minimal safe intervention.  Also found that fixes for the initialization of conv-ccs made the sockroutines problem go away and had to go digging to make sure that was correct.

Original date: 2014-12-02 18:51:24

I ran into a bug with the isomalloc fix that may take some time to unravel, that was where I left off with this before SC14.  I haven't had a chance to get back to it yet.

Original date: 2015-02-10 21:20:52

The NullLB fix isn't quite right, since other threads are still going to read from _theNullLB, and they'll just see a zero group ID, which causes a crash. I guess that assignment should be locked rather than gated on rank == 0.

Original date: 2015-09-01 18:17:03

This was fixed months ago.

Original date: 2015-11-11 03:30:57

~~https://charm.cs.illinois.edu/gerrit/429~~ https://github.com/UIUC-PPL/charm/commit/be9a0cef3e724e97a3abbc5bf19cd8ca53670cb5
I'll open a separate issue to follow up on my comment about potential problems with _theNullLB


deprecated error  in react native 0.73,  Input component  only ios

Description
currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput
CodeSandbox/Snack link
No response
Steps to reproduce
No response
gluestack-ui Version
@gluestack-ui/themed": "^1.0.33"
Platform

[X] Expo
[ ] React Native CLI
[ ] Next
[ ] Web
[ ] Android
[X] iOS

Other Platform
No response
Additional Information
need some action later

Hey @CodeExpedition, I am unable to reproduce it can you please share your code?


Update code to work with PureScript 0.12.0 and Pux 13.

Looks good, thanks! I just added "psc-package-bin-simple" to the solutions directory like the others and updated the slides as well.


Fix link in README.md

Thanks! This has been merged into our internal repository. It will be propagated to GitHub soon.


tools/ci/docker/linux/Dockerfile: Restarting the Docker-Linux workflow

Summary
The docker image has not been updated we currently use that one from 25 days ago.
It seems that the error encountered is due to an incomplete download. It will probably work fine if downloaded again..
https://github.com/apache/nuttx/actions/runs/10619683045/job/29437799464#step:7:1339
28.31
28.31 gzip: stdin: unexpected end of file
28.31 tar: Unexpected EOF in archive
28.32 tar: Unexpected EOF in archive
28.32 tar: Error is not recoverable: exiting now
#13235
Impact
There should be no impact.
Testing
CI

@simbit18 we have frequent CI failures because some download packages fail. It is possible to create a custom download function that try retry the download case it fails?

@acassis  for the Docker-Linux workflow, I think it might be useful to add
Manual execution of a workflow
https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow
This way you can restart the workflow in case the PR modifying the Dockerfile has been merged but stops in the creation phase in the master.
simply add in docker_linux.yml
name: Docker-Linux

on:
  workflow_dispatch:
  push:

The docker image has not yet been updated!!!
https://github.com/apache/nuttx/actions/runs/10659707443/job/29542626343
a new attempt PR #13266


ListHeaderComponent support?

Is this a bug report, a feature request, or a question?
question/feature-request
Since I read this is using FlatList, is there support to set the ListHeaderComponent in the Flatlist?  I'd like to display a header but for it to be inside the carousel view

@vonwao I'm afraid this is to going to mess with the component's inner logic.
See #291 for more info.


Add tests for ember-console

Fixes #1

[x] Refactored ember console so that fastboot API is into its own file. Will make it easier in future to extend ember console for other platforms.
[x] Added an edge error case
[x] Added basic test harness.

cc: @stefanpenner

Just realized travis god isn't running new tests. Will update config of both gods in a while.

Sorry @stefanpenner haven't got time to work on this. I'll work on fixing this this weekend.

@stefanpenner super sorry for the delay here. totally forgot about this.
Updated to make both gods happy. Also upgrade ember-cli version in the addon and setup appveyor to run tests as well.

you rock!


Revert "added retry statements to jq installation commands"

Reverts grpc/grpc#17836
The retry hack didn't prove to be effective and I think the problem was mitigated by
switching to a newer image with auto-updates disabled. See https://github.com/grpc/grpc/pull/17928.

As a remark, I also noticed from the logs that the retry mechanism is slighly broken - after 3 failed attempts, the script just continues.

Known failures:
https://github.com/grpc/grpc/issues/17814
https://github.com/grpc/grpc/issues/17335


Allow arbitarily Long resource IDs

AWS is changing their length again, and will cotninue to do so.  lets just stop enforcing this length...

Thanks @jjlimepoint


Update to 1.18

Very simple update to 1.18. Only buildscript, gradle version, and gradle properties were changed.
Also, removed the maven plugin because it no longer exists, so it's using the maven-publications plugin.
Have not tested the publishing, but it was copied from a builscript I use which I know works.

It should still work with 1.18 from the original jar right?

Not sure, as the loom mappings updated.
I forget how loom works exactly off the top of my head, but just boot up a quick fabric env to test it out

Hey! What's the status on this? Anything a newbie can do to help?

the status is: this PR is ready to be merged, I'm just waiting on it to be merged


These screenshots are no longer relevant.

Old screenshots that no longer exist. No explanation for why scaling in doesnt really work.

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

ID: 6ec7c0bf-3a61-5c61-d803-78f3a9fc55ef
Version Independent ID: 06b977de-2be4-00e6-6bef-a6693bdc9d87
Content: Scale instance count manually or with autoscale with Azure Portal
Content Source: articles/monitoring-and-diagnostics/insights-how-to-scale.md
Service: monitoring-and-diagnostics
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@tony-gutierrez Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Hi @tony-gutierrez . Thanks for the report. Sorry for the late reply.  You are correct.  This an old article that needs to be deleted and redirected. I'll take care of that and report back here.

In internal pull request. https://github.com/MicrosoftDocs/azure-docs-pr/pull/42966

This process is completed on June 6th.  We can close this PR.  Thanks again for the report @tony-gutierrez

@rboucher can we close this issue?

@femsulu Please close this issue.

#please-close


Mfa

Summary
Adding MFA support for those accounts that have it enabled
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] All new/modified APIs include changes to the drivers
[x] Has UI changes
[x] Includes text changes and localization file updates

@hmhealey @jarredwitt ready for re-review


add pull up/down configuration

changes the config to remove the DigitalInterrupts field and change it to a generic pins field. Note the analog reader config was not changed, as that config is defined within RDK still.
before
"attributes": {
          "digital_interrupts": [
            {
              "pin": "40",
              "name": "re"
            },
            {
              "name": "le",
              "pin": "38"
            }
          ]
        }

"attributes": {
          "pins": [
            {
              "name": "re",
              "pin": "40",
              "type": "interrupt"
            },
            {
              "type": "interrupt",
              "name": "le",
              "pin": "38"
            }
          ]
          ```

@randhid @oliviamiller forgot i needed to update the readme, lmk if theres anything else i should add

Merge main to this branch to start the checks


Exclude Mic/Line dubbed releases

Is there a way to exclude any releases coming with a mic/line dubbed tag? There are some releases 4k, dv, hdr - they got such a high score because of that, but the mic sound quality is bad.
can i avoid it my adding a „mic“ custom format and set it to -10000? If yes, how to do that?

you will need to provide release names so we can see how it looks like,
but i guess these are german releases ?
because quality 4k stuff don't have audio like that.
or you're downloading cams

Hmm you could block ac3ld and ac3md

Would you mind to help me, how to properly do that?

I'm at work now and won't be home before this evening, if I don't forget I will try to manage it this evening

Thanks in advance! It would also be nice to exclude „LD“ which means line dubbed… i think there are several tags for it

Could you provide a few release names

just found these two tags - „LD“ and „AC3LD“. There might be more out there, but couldn‘t figure it out yet…
Father.Stu.2022.German.DL.LD.DV.2160p.WEB.h265-PRD
Jeepers.Creepers.Reborn.2022.German.DL.LD.2160p.HDR.WEB.H265-ZeroTwo
Jurassic.World.Ein.neues.Zeitalter.2022.German.DL.LD.DV.2160p.WEB.h265-PRD
Terminator.Dark.Fate.2019.German.AC3LD.DL.2160p.WEB.x264-miUHD
Uncharted.2022.German.AC3LD.5.1.DL.2160p.UHD.BluRay.REMUX.HEVC.HDR.DV.TrueHD.7.1-GLD

the problem is i can't do LD only
because of false positive
Is the following correct ?
LD= Line Dubbed
MD=Mic Dubbed
Any reason someone would prefer these ?

Yeah, that‘s correct. Line dubbed (sound extracted in cinema by cable) is way better than mic dubbed (just by microphone), but both are shitty quality. And as we both now - quality is trump, so i guess both should be avoided completely.

{
  "name": "Line/Mic Dubbed",
  "includeCustomFormatWhenRenaming": false,
  "specifications": [
    {
      "name": "Line Dubbed",
      "implementation": "ReleaseTitleSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": "\\b(LD|AC3LD)\\b"
      }
    },
    {
      "name": "Mic Dubbed",
      "implementation": "ReleaseTitleSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": "\\b(MD|AC3MD)\\b"
      }
    }
  ]
}

Give this a try with a score of -10kl

Thanks so much TRaSH, you‘re awesome!

Does everything work as expected ?

Yes, works pretty perfect so far - all line releases where avoided.

Could we add this somewhere as a Tip or under Misc/Optional with the info that this applies to the German scene only? I've had a similar Custom Format set up but I'll use yours now as well because it's just so much better.

Could we add this somewhere as a Tip or under Misc/Optional with the info that this applies to the German scene only? I've had a similar Custom Format set up but I'll use yours now as well because it's just so much better.

Does it work as expected?
Or do you have suggestions or issues where it doesn't match ?
Would the same rule apply to sonarr?

These were blocked with the CF above:
Black.Panther.Wakanda.Forever.2022.German.LD.BDRip.x264-PRD
Black.Panther.Wakanda.Forever.2022.German.MD.1080p.CAM.x265-FSX
Terminator.Dark.Fate.2019.German.AC3LD.DL.1080p.BluRay.x264-LameHD
There were not blocked:
Dirty.Grandpa.2016.German.TS.AC3.MiC.DUBBED.XViD-CiNEDOME
Operation.Fortune.2023.German.AC3.Mic.Dubbed.TSRip.x264-HQXD
So if we want to be thorough and capture all the low-quality audio with the CF, it would need to incorporate the following:
AC3MD
AC3LD
Mic
Mic.Dubbed
MiC
MiC.DUBBED
MD
LiNE
LiNE.DUBBED
LD
Maybe there are some others I missed. @tommyguuuun do you have other suggestions that I've missed?

@lyrad87 nope, i think you did a perfect job! I did a research on some scene sites and that should be everything.

well CF are case insensitive so no need to add the different case types
https://regex101.com/r/6vHBAD/1
{
  "name": "Line/Mic Dubbed",
  "includeCustomFormatWhenRenaming": false,
  "specifications": [
    {
      "name": "Line Dubbed",
      "implementation": "ReleaseTitleSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": "\\b(LD|AC3LD|Line[ .-]?Dubbed)\\b"
      }
    },
    {
      "name": "Mic Dubbed",
      "implementation": "ReleaseTitleSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": "\\b(MD|AC3MD|Mic[ .-]?Dubbed)\\b"
      }
    }
  ]
}

Good stuff. I think that’s perfect. Works on all of the releases above. There may be an issue we are not thinking about but we could create a new issue in case it appears. Thanks for the improved CF!

Would the same rule apply to sonarr?

I don't think so. I have yet to see a Line or Mic release.

so i only need to add it to Radarr

There is another unwanted sound profile, which comes as „AC3 dubbed“
I.e. this release: Plane.2023.German.DL.AC3.Dubbed.2160p.HDR.DV.WEB.h265-PsO
ac3 dubbed always have poor stereo quality, maybe you could include it to the line dubbed profile or create a new one?


Regex backreference being inserted instead of match group for project wide searches

Prerequisites

[x ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
It appears the the regex find all and replace all within a project has a bug. When a file is open the backreference is inserted instead of the captured text. If the file isn't open, the replace works as it should. This bug doesn't seem to appear when find all and replace all within a single file.
Steps to Reproduce

create two identical test text files within a folder, with text to search and replace

Crate a regex search w/ replacement using backreference, leaving one file open..

Select Replace All

Expected behavior:
It would be expected that the search & replace would work in both files
Actual behavior:
In the file that was open, the backreference is inserted, instead of match:

And the file that was closed performed as expected:

Reproduces how often:
Consistently reproduces, in both Linux and MacOS
Versions
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
Additional Information
Thank you, love atom : )

Hey @m4rk3r, thanks for the report.
Reproduced in Atom 1.44.0 stable and 1.47.0-5 Nightly

This seems to have been fixed with this commit to the text-buffer repo. Before that, occurrences plain-text replaced. This didn't happen to files which are closed because of the different handling of open editors (for which unsaved buffers may exist) and 'untouched' files for which the search-and-replace is done by another library. That difference is found here.


"The Brilliance of Mario's Size and Shape" Discussion.

Discussion for The Brilliance of Mario's Size and Shape.

Moved to https://gitlab.com/stiemannkj1/stiemannkj1.gitlab.io/issues/3


Typos in the code

Hi,
In the code file "SVGPVAE_model.py", should the line 913 be like
elbo = KL_term + lagrange_mult * (recon_loss/b + tf.stop_gradient(C_ma - recon_loss/b))?
Also the line 925, should it be
elbo = recon_loss + (beta / L) * KL_term?
Thanks.

Regarding line 925: note that recon_loss is equivalent up to a constant to the log-likelihood part of the ELBO (since we assume Gaussian likelihood with constant variance). Minus in -recon_loss is hence there, because of the - in the exponent of the Gaussian pdf. To be fully mathematically exact, one would need to have -recon_loss / (2 * sigma**2), however since we used beta in front on the KL-term, exact scalar is not really needed in front of the recon_loss term. A correct sign (-) is needed, though.
Regarding line 913: would need to check Taming VAE paper again to be able to give a conclusive answer here. Another way to verify this is to run e.g. MNIST experiment, once with KL_term in line 913 and once with -KL_term, see README on instructions how to run experiments directly from the terminal. Make sure to include --GECO flag.

Thanks for the explanation. I have another question about the SVGP-VAE model. In the supplementary C.4 section, you did the experiment of the impact of different number of inducing points. The results and theoretical analysis show that large number of inducing point will result to a poor performance. If I have a large dataset with large number of dependency information, e.g. time points or types of data, it needs more inducing points to capture the complex dependency matrix (covariance matrix). Is there any suggestions in this situation? Will large batch size help to fix the poor performance of large number of inducing points? Or should I explore the MC estimator in Evans and Nair (2020) as the paper mentioned? Thanks.
Best,
Tian


Parse ordinal suffixes in post-processing; ignore legacy ordinal fact [phab:D824]

Created by schroederc at 2016-04-11 19:31:45:
Fixes #1123

zarko accepted this revision at 2016-04-11 19:48:06

schroederc closed via commit 5d4de96e3295239a26472b9113ac9beeb57dd897 at 2016-04-11 22:01:28


[Bugfix] Fix local repository path to fix online editor issues

Motivation and Context

In the base PR the online editor is completely broken. New files can't be created, existing files can't be deleted or renamed. Build errors are also not shown in the ace editor. This should be fixed.
Description

I investigated the network requests a bit and found that the backend does not provide correct file paths to the frontend when it initially retrieves all files.
This is the response object from the getFiles route on develop:
{
   "":"FOLDER",
   "src/de/test":"FOLDER",
   "src/de/test/BubbleSort.java":"FILE",
   "src":"FOLDER",
   "src/de/test/Client.java":"FILE",
   "src/de":"FOLDER",
   "src/de/test/MergeSort.java":"FILE"
}

This is the response in the base PR:
{
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src/de/test/MergeSort.java":"FILE",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src/de/test/Client.java":"FILE",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src/de":"FOLDER",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src/de/test/BubbleSort.java":"FILE",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src/de/test":"FOLDER",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12":"FOLDER",
   "repos/JTCJPEX/jtcjpex-artemis_test_user_12/src":"FOLDER"
}

After some debugging I found out that the localPath field of the Repository class changed in the backend. For some reason it has "./" at the start of the path (which is not the case on develop). My fix is to simply remove the "./" at the start, but I feel like this fix does not really adress the origin of the issue, because I still don't know where the "./" comes from. As far as I could see the application yml files, which provide the repo-clone-path variable in their configuration, have not been changed in that regard by the base PR. Maybe some code previously removed the "./" and was changed/removed, but if that is the case I haven't found it yet.
Review Progress

Code Review

[x] Review 1
[x] Review 2

Manual Tests

[x] Test 1
[x] Test 2

I can confirm that it solves the issue. I'll look at the problem in more detail, if there is something we missed in the changed files in base branch

The fix of this branch has been manually integrated into the base branch by @imstreetspirit, so this PR can be closed.


Not receving data

This works $Reporter->getSalesAccounts();
But the rest of the methods return empty array I am sure I am using the correct account number. What can be wrong?

Did you try Apple's official Reporter tool? Does that work?

No because I don't know java that's why I used this package :). But I will give it a try. Also would this packge be able to get promo codes?

No, it can't fetch promo codes. Please read the official documentation: https://help.apple.com/itc/appsreporterguide/#/itcbe21ac7db

Ok thank you for your answers you were very quick 👍

Heh, thanks for replying quick Fedoco! I see you're the owner of the Python version!
@muresanandrei I'm at work right now so I'm unable to take a proper look but Fedoco is correct about the promo codes.
With regards to the getSalesAccount returning an empty array, I will have to check when I get home from work this evening and see what it does for me. From there I should be able to work out what is happening.

@mikebarlow Do you think you can add a method to extract the promo codes or is it possible with this package? Thanks.

From the docs it looks like they have updated their reporter to 2.2 so that could be why the getSalesAccount has stopped working. This happened when they moved from 2.0 to 2.1.
As for Promo Codes, sadly not. As Fedoco posted above, this package is for the financial and sales reporting. It's a PHP version of the reporter.jar package Apple provide so unless they provide the ability to retrieve Promo codes via that then it won't be possible in this package.

I'm experiencing occasional 502s and large delays with my Python version today – could be that it is nothing more than a temporary hiccup. Just FYI.

Guys thank you so much for your answer really helped me to know how to proceed further. I am one of the creators and developer of https://usevalidator.com/. I have one final question is there a way to get the promo codes if I have the access token with php curl or even python ?

If you're wanting just a list of all promo codes in your iTunes account then no. As stated, this API is purely for the financial and sales reports. That is it, all this package is, is a wrapper around the access token and php curl requests to the correct API endpoints that Apple provides. Apple does not provide an endpoint to retrieve the promo codes.
The only promo code you can get is the promo code used in each sale, and that's retrieved through the two types of reports that are provided by this package. But if you have a promo code that is not used by anyone, it won't appear in this report. Hope that makes sense.

Thanks for the answer I actually need both financial and promo code. But I will see what I am going to do about promo codes. Will you update this package to be able to get the financial and sales reports?

I'll have a look this evening and see if i can see what's wrong. The package already get's those reports but it looks like Apple have released an update which could have broken the package.

@muresanandrei Are you still having problems?
Apologies for the delay, only just getting round to testing. I've been able to successfully get my sales accounts via the package.


fails to capture platform string for CRS device

For a CRS device I was working with, the platform should be captured as "CRS-16/S-B", but instead we got none.
From a glimpse, it looks like the pid2platform regex: '([A-Z]{3}[-| ]?[0-9]{3,4})' cannot capture platform for CRS.
I will email you the telnet info for that CRS device.

Potentially '([A-Z]{3}[-| ]?[0-9]{2,4})' should solve the issue.


How do I use REST API to get content of file in JSON format?

https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents


DwC Importer tag fix: only save CE if new tags were added

I missed an if statement for saving collecting events, causing collecting events to be saved even if there were no new tags added. As a result, importing collection objects was significantly slowed down when the collecting event had many related COs.

Codecov Report

Merging #3045 (4ae8117) into development (1a5fb40) will decrease coverage by 22.24%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           development    #3045       +/-   ##
================================================
- Coverage        86.89%   64.65%   -22.25%
================================================
  Files             1895     1387      -508
  Lines            67595    41378    -26217
================================================
- Hits             58739    26751    -31988
- Misses            8856    14627     +5771

Impacted Files
Coverage Δ

...pp/models/dataset_record/darwin_core/occurrence.rb
59.59% <0.00%> (-0.36%)
:arrow_down:

spec/support/concerns/controller/delete.rb
9.09% <0.00%> (-90.91%)
:arrow_down:

spec/support/concerns/feature/authorization.rb
9.25% <0.00%> (-90.75%)
:arrow_down:

spec/support/concerns/request/api.rb
11.11% <0.00%> (-88.89%)
:arrow_down:

spec/support/concerns/feature/index_list_show.rb
12.50% <0.00%> (-87.50%)
:arrow_down:

app/models/identifier/global/issn.rb
14.28% <0.00%> (-85.72%)
:arrow_down:

app/models/identifier/global/isbn.rb
8.33% <0.00%> (-85.42%)
:arrow_down:

app/models/identifier/global/uri.rb
21.42% <0.00%> (-78.58%)
:arrow_down:

app/models/identifier/global/orcid.rb
22.22% <0.00%> (-77.78%)
:arrow_down:

app/controllers/concerns/token_authentication.rb
22.58% <0.00%> (-77.42%)
:arrow_down:

... and 1065 more

Continue to review full report at Codecov.

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

Just in case I'll proceed with merge, but ActiveRecord might actually already been preventing the saving from happening when no changes have occurred since last save/create?

Just in case I'll proceed with merge, but ActiveRecord might actually already been preventing the saving from happening when no changes have occurred since last save/create?

I don't think so. I was stepping through the import to figure out why it was so slow, and it was hitting some sort of update-on-save for all the COs. It spent 5 minutes chugging away on a single row with an event that had ~300 linked COs.
Maybe the DwC indexer? I didn't look too hard at what it was running, but it's easy enough to test since the update-on-save still runs when new tags are provided.


Segfault with cliprdr + rail plugins

Trying to get clipboard support with the rail plugins.
Command:
/home/vivitron/dev/FreeRDP/client/X11/xfreerdp -u Administrator --plugin /home/vivitron/dev/FreeRDP/channels/cliprdr/cliprdr.so  --app --plugin /home/vivitron/dev/FreeRDP/channels/rail/rail.so --data "||excel" -- <IP_ADDRESS>
Output:
loading plugin /home/vivitron/dev/FreeRDP/channels/cliprdr/cliprdr.so
loading plugin /home/vivitron/dev/FreeRDP/channels/rail/rail.so
connected to <IP_ADDRESS>:3389
Password:
Segmentation fault
Works fine if I exclude the cliprdr plugin...

Can you test current GIT to see if it works now?

Same result... Is there anyway I can provide more information behind the problem?

The segfault is easy to fix; but it'll take a little more work for cliprdr to work with rail.
(for rail, one of the issues is that xf_cliprdr needs to not message thru xfi->drawable for clipboard tasks; perhaps it should use a phantom/unmapped window)

same problem only used with cliprdr:
xfreerdp <IP_ADDRESS> --plugin /usr/lib/freerdp/cliprdr.so
............
freerdp_chanman_load_plugin: filename /usr/lib/freerdp/cliprdr.so
MyVirtualChannelInit:
missing server name
Segmentation fault
....................
source compilation
current version of git

There was a similar issue for pointer updates (cursors) with RAIL I addressed by keeping track of the "current" window in xf_event.c.  Perhaps something similar needs to be done for cliprdr.  In the code cliprdr is disabled in most places for RAIL, but I haven't tested or investigated further than that.


Adjusted code snippets' font-size when in headings, fixes daveliepmann/tufte-css#33

Used the ratio of code-to-regular-text font-size in non-headers: 1.125 / 1.4 =
0.80357.

Nice and simple. Thanks! :)
Resolves #33


How can I add complete folder and not just one js file?

Hi,
Is it possible to add a project folder in ternJS loadEagerly section?
I have issue with ternjs as it not autocomplete my current working file functions. Can you suggest something?
Rahul

as mentioned in the readme:
"loadEagerly": [
    "path/to/your/js/**/*.js"
 ]

this will include all .js files located in path/to/your/js/ and subfolders


[action][push_git_tags] escaping branch tag name in push_git_tags action

currently, the tag name won't be escaped with a parathesis

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

This fixes the error when push tags to git when tags contain (. also inspired by #13444

Description

escape tag params in push_git_tags action to avoid unnecessary errors

Testing Steps

run fastlane run push_git_tags(tag: "2.4.0(1)")

@thegodland Do you mind accepting the Google CLA so we can merge this? 😇 Thanks!

@thegodland Do you mind accepting the Google CLA so we can merge this? 😇 Thanks!

Hi. Thank you. I will do that

@googlebot I signed it!


Kafka engine table gets one extraneous row when Kafka producer send one Protobuf message.

Describe the bug
a Kafka engine table gets one extraneous row when Kafka producer send one Protobuf message.
How to reproduce

Clickhouse: version <IP_ADDRESS> on Ubuntu 18.04.2 LTS. The official deb package from Yandex repo.
Interface: Protobuf format, Kafka engine table.
CREATE TABLE statement:

create table simple (
  t UInt64,
  url String
) ENGINE=Kafka('localhost:9092', 'topic', 'mygroup', 'Protobuf');

Protobuf schema "simple.proto"
syntax = "proto3";

message AccessLog {
  uint64 t = 1;
  string url = 2;
}

A Kafka producer in Python3
#!/usr/bin/env python3

"""
protoc --version
libprotoc 3.0.0

# to create simple_pb2.py
protoc --python_out=. simple.proto
"""
import time
import simple_pb2
from kafka import KafkaProducer

# varint encoder
def encode(number):
    """Pack `number` into varint bytes"""
    buf = b''
    while True:
        towrite = number & 0x7f
        number >>= 7
        if number:
            buf += bytes((towrite | 0x80,))
        else:
            buf += bytes((towrite,))
            break
    return buf

topic = "topic"

producer = KafkaProducer(bootstrap_servers='localhost:9092')

o = simple_pb2.AccessLog()
o.t =<PHONE_NUMBER>  # 2019-03-15 20:50:00 GMT
o.url = 'http://www.google.com'
data = o.SerializeToString()

# prepend the length header
value = encode(len(data)) + data

print(repr(value))
producer.send(topic, value=value)

Sample data

The output of the above test script is
b'\x1d\x08\xf8\x9f\xb0\xe4\x05\x12\x15http://www.google.com'
Test

put the simple.proto to /var/lib/clickhouse/format_schemas/
chown clickhouse:clickhouse simple.proto
Create the table
Run the python producer which publish one kafka message.
SELECT as CSV

:) select * from simple FORMAT CSV SETTINGS format_schema='simple:AccessLog';

SELECT *
FROM simple
FORMAT CSV
SETTINGS format_schema = 'simple:AccessLog'

Received exception from server (version 19.4.0):
Code: 36. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Format schema requires the 'format_schema' setting to have the 'schema_file:message_name' format, e.g. 'schema.proto:Message'.

0 rows in set. Elapsed: 0.002 sec.

At this point the kafka message was already consumed.

Run the producer again to send another kafka message.

:) select * from simple FORMAT CSV SETTINGS format_schema='simple:AccessLog';

SELECT *
FROM simple
FORMAT CSV
SETTINGS format_schema = 'simple:AccessLog'

1552683000,"http://www.google.com"
0,""

2 rows in set. Elapsed: 5.790 sec.

send one more message, and select again.

:) select * from simple FORMAT CSV SETTINGS format_schema='simple:AccessLog';

SELECT *
FROM simple
FORMAT CSV
SETTINGS format_schema = 'simple:AccessLog'

1552683000,"http://www.google.com"
0,""
1552683000,"http://www.google.com"
0,""

4 rows in set. Elapsed: 0.502 sec.

There are 4 rows including the 2 extraneous rows.
Expected behavior

Why the first SELECT failed?  It shouldn't fail.  Also the error message does not make sense since format_schema was correctly set.
Clickhouse shouldn't commit the Kafka offset when the SELECT on Kafka engine table failed because the messages in Kakfa topic would be lost for the consumer group.
The second SELECT was successful, but there shouldn't be the extraneous row.  FYI I confirmed  this problem does not happen to tables with other engines e.g. Memory().

The bug has been fixed. However to work correctly your script should be edited too:

Instead of

create table simple (
  t UInt64,
  url String
) ENGINE=Kafka('localhost:9092', 'topic', 'mygroup', 'Protobuf');

use either
create table simple (
  t UInt64,
  url String
) ENGINE=Kafka('localhost:9092', 'topic', 'mygroup', 'Protobuf', '', 'simple:AccessLog');

or
create table simple (
  t UInt64,
  url String
) ENGINE=Kafka SETTINGS kafka_broker_list = 'localhost:9092',
                        kafka_topic_list = 'topic',
                        kafka_group_name = 'mygroup',
                        kafka_format = 'Protobuf',
                        kafka_schema = 'simple:AccessLog';

Instead of

select * from simple FORMAT CSV SETTINGS format_schema='simple:AccessLog';

use just
select * from simple FORMAT CSV

I.e. specify schema in the command where you specify the format Protobuf.

I confirmed the bug has been fixed.  Thank you!


Publish extensions to open-vsx

I'm a VS Codium user, a FLOSS version of VS Code, it's the same code but without the Microsoft's telemetry and branding.
I want to request if possible to add the French - Code Spell Checker extension on the open-vsx.org market to us doesn't need to works with the Microsoft marketplace as is unclear if it's legal to use it on VS Code forks, see here.
Additional info:

This is how to publish a new extension.

+1 for this (I would like Dutch)
Seeing that streetsidesoftware/vscode-spell-checker is already on open-vsx.org , I hope to see the language extensions soon

Thanks for the work! +1 for the Russian spell checker

@dmaes and @orblazer I have published all the language extensions to Open-vsx.


Don't display SITENAME in banner if HIDE_SITENAME is set

It's probably safe to assume that if people don't want to see SITENAME in the title, they wouldn't want to see it in the banner, either. Add an {% if %} test so that SITENAME is only displayed if HIDE_SITENAME isn't set.
In addition, wrap the whole div in an {% if %} expression such that unless we want to display SITENAME or BANNER_SUBTITLE, we don't generate the div at all. The div gets a background from CSS, and would appear as a square blot on a banner that would be assumed to be standing on its own.

Hi!
First of all, thanks for your pull request! I appreciate the contribution, but I cannot accept this PR at the moment. It's with heavy heart that I have decided that I can no longer maintain this theme due to lack of time and changing interests. To makes sure the theme lives on however and not goes to waste, I've donated it to the Pelican community. It can now be found in the official pelican-themes repository. I'd suggest you re-submit your pull request there.
Sorry for the inconvenience!

Gotcha, thanks for the heads-up and good luck for your future endeavors!

Thanks!


how can I handle the blocked event when opening a database?

I see no handler for blocked like there is for upgradeneeded

Hello @retorquere
This is automatically handled when you have requested a higher database version, it tries to run the higher migration version via the upgradeneeded listener needed when opening the database.
https://github.com/MockingMagician/promised-db/blob/main/src/database-factory.ts#L73

Oops I misread your question

Indeed, there's no mechanism in place to deal with the possibility of trying to reopen the same db with a higher version when using it.
I can add its implementation with an available handler and if you have a suggestion for its automation by default, I'd love to hear it :-)
By the way, I'm wondering about the possible cases where this could happen.

I think I was just confused about how this works - I bumped into it while trying to delete a database, turns out I just have to close it before I do.

Hello @retorquere
I decided to take your case into account and add a handler for the “blocked” event.
You can see the tests here https://github.com/MockingMagician/promised-db/blob/dd7ae8fd269a889b194f48683e012260d7eaa7d5/test/database-factory.test.ts#L68-L81 and the implementation here https://github.com/MockingMagician/promised-db/blob/dd7ae8fd269a889b194f48683e012260d7eaa7d5/src/database-factory.ts#L73-L80
Available in version v2.6.1
If you see any use cases where it would be necessary for the user to take control of this handler, let me know so that I can implement in the API the possibility of passing a custom handler written by the user.

Improvement:
Add a user-customizable handler to perform custom actions in this type of event.
Example:

Warn other tabs that a DB update is required and therefore close the database in all tabs.
Warn user
Or any other case required by an application with its own needs.

Custom user handler available in v4.0.0


Speed up kind-test

This tests takes longer than even hardware-dependent tests and therefore should be cleaned up/ optimized etc.

#1211

closing in favor of #1211


Add test for vincinv

I changed the constants grs80 and ans to not be Decimal. There were some data type conflicts  with vincenty between floats and decimals. Will this cause breakage in other areas? If so, we should probably have test coverage on those areas so we know if it breaks.
I've added a test for vincinv, with the data you sent me. I haven't added any for vincdir because I wasn't sure what numbers I should expect to get back for them. They were pretty off from the numbers used with vincinv. So there could be some bug there. Would be good to have an equality check between them.

This should work fine. I've slowly been trying to remove the 'decimal' module refs for a while (didn't know how much of a problem I was causing when I started!).


Switch to other pkg instead of alm2map & synfast

Per code of the sphtfunc.py :
MAX_NSIDE = (     8192  # The maximum nside up to which most operations (e.g. map2alm) will work )
We are getting Max Nside error with resolution beyond N=8192 a.k.a 26 arcsec. Need to switch pkg for arcsec level support as per #4 .

Possible solutions:

https://github.com/Libsharp/libsharp
https://gitlab.mpcdf.mpg.de/mtr/libsharp
https://gitlab.mpcdf.mpg.de/mtr/ducc

Reference:

https://ui.adsabs.harvard.edu/abs/2013A%26A...554A.112R/abstract

Seams that it is more likely to be done via using the ducc0 pkg:

https://anaconda.org/conda-forge/ducc0

conda install -c conda-forge ducc0
pip3 install --user ducc0

https://mtr.pages.mpcdf.de/ducc/


Startup issue after merging authorization-support

The issue turned out to be related to https://github.com/dotnet/efcore/issues/32553


change ::Capistrano::Configuration dry_run method call from class to instance method

This is related to #70
More like a fix to keep Slackistrano updated with Capistrano gem.

@mvoto Slackistrano 3.8.1 is on rubygems. Let me know if you have any issues. Thanks!

Thank you so much @phallstrom !


Dep Upgrades

What's New?

Upgrade all the things (Ruby, JS, TS)
The most important thing is that we now get React error boundaries, simplifying debugging.

Coverage increased (+0.03%) to 81.2% when pulling dddb70fcc658d1b38486acecfcd763cef1ec4523 on RickCarlino:dep_upgrades into 724b0d8d6e714632b5c5de26fd684f70f6f856f5 on FarmBot:staging.

Coverage increased (+0.03%) to 81.2% when pulling 897934f2a410065ac2297f86b0b9253717a53809 on RickCarlino:dep_upgrades into 724b0d8d6e714632b5c5de26fd684f70f6f856f5 on FarmBot:staging.


Add 'update' function

I made some adjustments to add the ability to listen an update function. Maybe there is an better way to do this (without pass an element?). Will work like this:
snabbt( element, { update:function(tweenValue) { console.log( tweenValue ) } } );
Ignore 'then' removing... i made just to clear the code.
I hope this helps, will be a nice feature.

Thank you!
I try it out as soon as possible and make a release soon.
Stay tuned!


Remove co- based css classes from plugin

co- and any other inherited classes are defined in the console project and can break at any time. We need to remove our dependency on them and maintain our own CSS classes for long term stability.

cc @yaacov @pcbailey @vojtechszocs @hstastna @metalice @upalatucci @avivtur

+1 from my side


Do not declare core include for codeception.

@lazystar says this is needed for project scope.
@stereomon Can you confirm that this is a good change for demoshop only?

Yes, just talked to @stereomon, on project level there should not be any core tests executed. They rely on too many assumptions.

Cool.
As soon he gives the thumbs up I will merge.


fix: #tno-2270 - fix issues related to topic

fixed issues assigning topic to content on ingest
only content which comes from a source that is "topic enabled" will get initizalized
event of the day folder now collects content within the last 24hr which has ANY topic
event of the day report NEVER shows content with "Not Applicable" topic
Topic list now shows an icon for the different topic types
filter by typing now works on the list as well

Looks good to me code wise. And as far as I'm familiar with the functionality, also looks good.


Support insecure Remote JWKS endpoint

Description:

Follow up from https://github.com/envoyproxy/gateway/issues/1930, regarding support for insecure remote JWKS endpoint.

Currently, JWT policy only supports Secured endpoints through HTTPS for the Remote JWKS endpoint. For particular reasons such as when the JWKS endpoint is expected to be accessible internally inside the Kubernetes cluster, in that case adding a secured layer might not needed.
The workaround that we have done so far was to patch the code to add support when the JWKS endpoint uses http://..., thus it will omit the tls socket config under the cluster config. The example patch can be seen here.
With the above patch, you can apply the below configuration.
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
  name: sp-any-endpoint
  namespace: envoy-gateway-system
spec:
  jwt:
    providers:
      - claimToHeaders:
          - claim: userId
            header: x-user-id
          - claim: email
            header: x-username
          - claim: sessionId
            header: x-session-id
        name: internal
        remoteJWKS:
          uri: http://auth-service.auth-service-ns.svc.cluster.local/.well-known/jwks
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: hr-any-endpoint
    namespace: envoy-gateway-system

[optional Relevant Links:]

Any extra documentation required to understand the issue.

@ardikabs Thanks for the feedback. I think it's reasonable to support plain HTTP jwks and ext auth servers, but OIDC servers need to be HTTPS. WDYT @arkodg ?


Back to default tab on rerender

When there is a state change in a parent component,  the tab jumps back to the default tab.

@WimVanDerZijden Did  you get solution for this.

Can you provide a reproducible example?

Seems like this reproduces the issue you are having:
https://codesandbox.io/s/j7w4nxzw0y

:+1:
I am experiencing the same issue, still without a fix or even a workaround :(

Can be 'remedied' by removing defaultTab prop from Tabs component

I'll see if I can have a look at it in the coming days :)

@smilykoch @WimVanDerZijden
Have a look at the PR, if you think it seems like a good solution #5
cc: @marcuslindfeldt

There's now a release v1.0.1 out with the fix.


suggestion for #779 and #785

Suggestion for #779

implement a new css-style .tBodyCellInactive with a light-grey color (uses inactiveBackground from color.map)
set <td>-Class to .tBodyCellInactive if program is inactive

known issue:

changing the "active" state will not apply the style immediately. you have to reload/recall the program list page

and #785

add the name of the program to delete in popup

maybe we should put the name to the caption of the popup?

Thanks for the PR to address the two WebUI suggestions. However, can you please generate separate PR for each single suggestions so that we can discuss them separately. That would be great!

done with #789 and #790


Handling Declined Authorizations

When the authorize_on_billing_agreement fails, Amazon Payments is supposed to return a code that signifies why the operation failed. This is different from 200/400 status codes. Is there anyway to get that info from the response object?
http://docs.developer.amazonservices.com/en_US/pay_with_amazon_automatic_payments/APAGuide_HandlingDeclines.html#APAGuide_DeclinedAuthorizations
thanks

If the API call you are making fails, the status code returned from MWS will be 404. You can then return the response.body value to see the details of the error you are receiving. Below is a link to the README with more information on how to parse the response:
https://github.com/amzn/login-and-pay-with-amazon-sdk-ruby#response-parsing
Please let me know if you have additional questions.

Ah, got it. We have been using FPS for a long time (7 years) and are now migrating over to MWS. This gem has been quite useful.
thanks!


AlphaZero MemoryLeak on Gym Environments.

Possibly related to deepcopy of Gym.Env or GymState objects as this issue is absent for the boardgames.

Issue also observed with MuZero agents. Although memory grows much slower than with AlphaZero.


Sunset old flex config fields

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 65.343%

Files with Coverage Reduction
New Missed Lines
%

flexmeasures/api/common/utils/deprecation_utils.py
9
63.16%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
6836

Relevant Lines:
9823

💛  - Coveralls


Small spelling fix

Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>@allencloud :)

Great！

LGTM


Supabase fails to start after updating to version v1.200.3. ERROR: type "one_time_token_type" already exists (SQLSTATE 42710). Crash ID:d2e88a6259ab4feeb5df888087f935d1

Supabase fails to start after updating to version v1.200.3.
ERROR: type "one_time_token_type" already exists (SQLSTATE 42710)

At statement 0: create type "auth"."one_time_token_type" as enum ('confirmation_token', 'reauthentication_token', 'recovery_token', 'email_change_token_new', 'email_change_token_current', 'phone_change_token')

System information

Ticket ID: [d2e88a6259ab4feeb5df888087f935d1]
Version of OS: [Windows 11]
Version of CLI: [v1.200.3]
Version of Docker: [v4.34.2]
Versions of services:

        SERVICE IMAGE      │      LOCAL       │   LINKED
  ─────────────────────────┼──────────────────┼─────────────
    supabase/postgres      │ <IP_ADDRESS>       │ <IP_ADDRESS>
    supabase/gotrue        │ v2.160.0         │ v2.160.0
    postgrest/postgrest    │ v12.2.3          │ v12.2.3
    supabase/realtime      │ v2.30.34         │ -
    supabase/storage-api   │ v1.11.7          │ v1.11.7
    supabase/edge-runtime  │ v1.58.3          │ -
    supabase/studio        │ 20240729-ce42139 │ -
    supabase/postgres-meta │ v0.83.2          │ -
    supabase/logflare      │ 1.4.0            │ -
    supabase/supavisor     │ 1.1.56           │ -

I have tried to re-link the project, delete containers from docker and re-install via cli with supabase start.
I have also tried to disable some of the newly added configs but Nothing has worked.
Please help!

The error seems to be coming from the application of this system generated migration
create type "auth"."one_time_token_type" as enum ('confirmation_token', 'reauthentication_token', 'recovery_token', 'email_change_token_new', 'email_change_token_current', 'phone_change_token');

drop trigger if exists "on_auth_user_created" on "auth"."users";

create table "auth"."one_time_tokens" (
    "id" uuid not null,
    "user_id" uuid not null,
    "token_type" auth.one_time_token_type not null,
    "token_hash" text not null,
    "relates_to" text not null,
    "created_at" timestamp without time zone not null default now(),
    "updated_at" timestamp without time zone not null default now()
);

CREATE UNIQUE INDEX one_time_tokens_pkey ON auth.one_time_tokens USING btree (id);

CREATE INDEX one_time_tokens_relates_to_hash_idx ON auth.one_time_tokens USING hash (relates_to);

CREATE INDEX one_time_tokens_token_hash_hash_idx ON auth.one_time_tokens USING hash (token_hash);

CREATE UNIQUE INDEX one_time_tokens_user_id_token_type_key ON auth.one_time_tokens USING btree (user_id, token_type);

alter table "auth"."one_time_tokens" add constraint "one_time_tokens_pkey" PRIMARY KEY using index "one_time_tokens_pkey";

alter table "auth"."one_time_tokens" add constraint "one_time_tokens_token_hash_check" CHECK ((char_length(token_hash) > 0)) not valid;

alter table "auth"."one_time_tokens" validate constraint "one_time_tokens_token_hash_check";

alter table "auth"."one_time_tokens" add constraint "one_time_tokens_user_id_fkey" FOREIGN KEY (user_id) REFERENCES auth.users(id) ON DELETE CASCADE not valid;

alter table "auth"."one_time_tokens" validate constraint "one_time_tokens_user_id_fkey";

grant delete on table "auth"."one_time_tokens" to "dashboard_user";

grant insert on table "auth"."one_time_tokens" to "dashboard_user";

grant references on table "auth"."one_time_tokens" to "dashboard_user";

grant select on table "auth"."one_time_tokens" to "dashboard_user";

grant trigger on table "auth"."one_time_tokens" to "dashboard_user";

grant truncate on table "auth"."one_time_tokens" to "dashboard_user";

grant update on table "auth"."one_time_tokens" to "dashboard_user";

grant delete on table "auth"."one_time_tokens" to "postgres";

grant insert on table "auth"."one_time_tokens" to "postgres";

grant references on table "auth"."one_time_tokens" to "postgres";

grant select on table "auth"."one_time_tokens" to "postgres";

grant trigger on table "auth"."one_time_tokens" to "postgres";

grant truncate on table "auth"."one_time_tokens" to "postgres";

grant update on table "auth"."one_time_tokens" to "postgres";

so I replaced that migration with
-- Check if the type doesn't exist before creating it
DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'one_time_token_type') THEN
        CREATE TYPE "auth"."one_time_token_type" AS ENUM (
            'confirmation_token',
            'reauthentication_token',
            'recovery_token',
            'email_change_token_new',
            'email_change_token_current',
            'phone_change_token'
        );
    END IF;
END$$;

-- Drop trigger if exists (keep this as is, it's already safe)
DROP TRIGGER IF EXISTS "on_auth_user_created" ON "auth"."users";

-- Check if the table doesn't exist before creating it
DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM information_schema.tables WHERE table_schema = 'auth' AND table_name = 'one_time_tokens') THEN
        CREATE TABLE "auth"."one_time_tokens" (
            "id" uuid NOT NULL,
            "user_id" uuid NOT NULL,
            "token_type" auth.one_time_token_type NOT NULL,
            "token_hash" text NOT NULL,
            "relates_to" text NOT NULL,
            "created_at" timestamp without time zone NOT NULL DEFAULT now(),
            "updated_at" timestamp without time zone NOT NULL DEFAULT now()
        );
    END IF;
END$$;

-- Create indexes if they don't exist
DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM pg_indexes WHERE indexname = 'one_time_tokens_pkey') THEN
        CREATE UNIQUE INDEX one_time_tokens_pkey ON auth.one_time_tokens USING btree (id);
    END IF;
END$$;

DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM pg_indexes WHERE indexname = 'one_time_tokens_relates_to_hash_idx') THEN
        CREATE INDEX one_time_tokens_relates_to_hash_idx ON auth.one_time_tokens USING hash (relates_to);
    END IF;
END$$;

DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM pg_indexes WHERE indexname = 'one_time_tokens_token_hash_hash_idx') THEN
        CREATE INDEX one_time_tokens_token_hash_hash_idx ON auth.one_time_tokens USING hash (token_hash);
    END IF;
END$$;

DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM pg_indexes WHERE indexname = 'one_time_tokens_user_id_token_type_key') THEN
        CREATE UNIQUE INDEX one_time_tokens_user_id_token_type_key ON auth.one_time_tokens USING btree (user_id, token_type);
    END IF;
END$$;

-- Add constraints if they don't exist
DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM information_schema.table_constraints WHERE constraint_name = 'one_time_tokens_pkey' AND table_name = 'one_time_tokens') THEN
        ALTER TABLE "auth"."one_time_tokens" ADD CONSTRAINT "one_time_tokens_pkey" PRIMARY KEY USING INDEX "one_time_tokens_pkey";
    END IF;
END$$;

DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM information_schema.check_constraints WHERE constraint_name = 'one_time_tokens_token_hash_check') THEN
        ALTER TABLE "auth"."one_time_tokens" ADD CONSTRAINT "one_time_tokens_token_hash_check" CHECK ((char_length(token_hash) > 0)) NOT VALID;
    END IF;
END$$;

-- Validate the constraint (this is safe to run multiple times)
ALTER TABLE "auth"."one_time_tokens" VALIDATE CONSTRAINT "one_time_tokens_token_hash_check";

DO $$
BEGIN
    IF NOT EXISTS (SELECT 1 FROM information_schema.referential_constraints WHERE constraint_name = 'one_time_tokens_user_id_fkey') THEN
        ALTER TABLE "auth"."one_time_tokens" ADD CONSTRAINT "one_time_tokens_user_id_fkey" FOREIGN KEY (user_id) REFERENCES auth.users(id) ON DELETE CASCADE NOT VALID;
    END IF;
END$$;

-- Validate the foreign key constraint (this is safe to run multiple times)
ALTER TABLE "auth"."one_time_tokens" VALIDATE CONSTRAINT "one_time_tokens_user_id_fkey";

-- Grants (these are idempotent, so we can run them without checks)
GRANT DELETE, INSERT, REFERENCES, SELECT, TRIGGER, TRUNCATE, UPDATE ON TABLE "auth"."one_time_tokens" TO "dashboard_user";
GRANT DELETE, INSERT, REFERENCES, SELECT, TRIGGER, TRUNCATE, UPDATE ON TABLE "auth"."one_time_tokens" TO "postgres";

.. And now I have a new error:
supabase_vector container is not ready: unhealthy

Solved the supabase_vector container is not ready: unhealthy by setting analytics to false as explained here

Also not able to start local supabase on this version, I suppose it's the same underlaying error, however I am just seeing a generic error message:

Error status 502: An invalid response was received from the upstream server

$ sw_vers; docker --version; supabase --version
ProductName:            macOS
ProductVersion:         14.6.1
BuildVersion:           23G93
Docker version 27.1.2, build d01f264bcc
1.200.3

$ supabase start
Seeding globals from roles.sql...
Seeding data from seed.sql...
Stopping containers...
Error status 502: An invalid response was received from the upstream server

Try rerunning the command with --debug to troubleshoot the error.

Running with --debug results in the same error message and does not seem to include more info on the actual issue.

The error seems to be coming from the application of this system generated migration

What's the command you ran to generate this migration?
Schema changes to auth generally should not be included. The only exception is RLS policies.

I just hit this same issue. thank you @nosizejosh for posting a solution that worked for me.  No idea why this is suddenly a problem.  @sweatybridge I did manually do anything to create this migration, I think it came about from the initial pull.

The supabase_vector issue is a separate one that's similar to https://github.com/supabase/cli/issues/2737
I will close the original auth schema issue.


sercon fails on start

Using current px4/Firmware stable with corresponding Nuttx submodule didn't let my code start.
I found that commenting out "sercon" in Firmware/ROMFS/px4fmu_common/init.d/rcS line 11, fixed it and everything is happy as before.
best, Markus

I don't think this is real, closing. There are no other reports - maybe you're misinterpreting the "USB not available state" as an error?


fix: change client_secret to client_confirmation (Anvil)

Description
change the client_secrect to client_confirmation in order to fix the anvil risk.
Motivation and Context
<Addresses Anvil Risk
Testing
Not sure how to test this change
Types of changes

[ X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[X] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[X] I have read the README document
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed
[X] My commit message follows Conventional Commit Guideline

License

[X] By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks like unit test fail... I guess there's other places in code also use this Auth object


CustomTabs not working with AndroidX

After migrating project to AndroidX AppAuth-Android stop showing custom tabs and always open auth forms in standalone browser.
Ref

Need investigation and repro


Require clarity on the extensibility of Store Commerce App in Offline mode

Require clarity on the highlighted text. Based on the store commerce app documentation offline is supported. Does it mean the extension is not supported if the Store Commerce app is running in offline mode?

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

ID: fcfc4928-bdf2-e112-bbb7-64605c80ba72
Version Independent ID: 06fa8533-d429-9c15-b8a5-d7473fd8a292
Content: POS extension overview - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/pos-extension/pos-extension-overview.md
Service: dynamics-365-commerce
Product: ****
Technology: ****
GitHub Login: @josaw1
Microsoft Alias: josaw

Bug 802557 has been logged to address this issue.

@5fq Thank you for the feedback. This document has been updated.


Fix the bug of mem pool alloc failed

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #3323
Problem Summary(Required) ：

open() is not by try catched, so can't throw exception here

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_be_unittest


Update version: MPC-BE.MPC-BE version <IP_ADDRESS>

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115188&drop=dogfoodAlpha

@wingetbot run

@wingetbot run

@wingetbot run


width nit working correctly in tables

looks like width isn't really working in tables. Same in my adapter. I tried "50%"; "50% "; 300; "300px"; "300px " .... everything not changing anything
BTW: Great idea to have this type of demo adapter!!

Well - there WAS a issue, but it's closed.
https://github.com/ioBroker/ioBroker.admin/issues/1333
Anyway - this is no isse for the demo adapter but for jsonConfig / admin itself.
Please open a issue here:
https://github.com/ioBroker/ioBroker.admin/issues/new/choose
Note: please add 'jsonConfig' to topic to make it easier to search fir.


[MM-3274] Changed ctrl+/ detection to event.key before event.keyCode

Summary
Changed ctrl+/ shortcut detection to rely on event.key instead of event.keyCode, as the latter isn't reliable across different keyboard layouts.
Also, note that event.keyCode is deprecated https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
Ticket Link
Github issue: https://github.com/mattermost/mattermost-server/issues/7665
Jira ticket: https://mattermost.atlassian.net/browse/MM-3274
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-01894f71823212590.spinmint.com
Test Admin Account: Email<EMAIL_ADDRESS>| Password: user-0
Test User Account: Email<EMAIL_ADDRESS>| Password: user-1
Instance ID: i-01894f71823212590

Spinmint test server destroyed

While working on this PR that solves just one shortcut for non-US keyboard layouts, I found out that we're using KeyboardEvent.keyCode, that is deprecated. If you like the approach of the PR, I could apply it project-wide so we avoid having problems with non-US keyboards and stop relying on deprecated properties

@gnufede

While working on this PR that solves just one shortcut for non-US keyboard layouts, I found out that we're using KeyboardEvent.keyCode, that is deprecated. If you like the approach of the PR, I could apply it project-wide so we avoid having problems with non-US keyboards and stop relying on deprecated properties

We'd be open for a PR - we'd just have to test it carefully that there aren't any breaking changes from the existing behaviour.

Looks like the issues @saturninoabril raised may not be fixed, so I'll let him clear that label

Thanks @gnufede !


Information displayed when deleting an organization is not sufficient

When deleting an organization, there is a link to transfer ownership and then delete the project. The link should be changed to transfer ownership, remove a project or delete the project.
To recreate this issue-

Click on Your organizations
Click on Manage for a specific organization
Click on Settings
Scroll to the bottom of the page and click on Delete organization

Transferring a project to an individual user is not sufficient. It should be removed from the organization or deleted.

Priority - high

ca2000c9a6fbb7d732536582cdfbe7178ecf018d:


Parallelize the travis build

Faster is better!

@kylegibson Do you have any idea why we get intermittent socket errors downloading things with pip when doing builds?
I ran the build twice and a different environment failed each time with a traceback like this:
Building new environment
Traceback (most recent call last):
  File "/tmp/terrarium_bootstrap-b9O496.py", line 2645, in <module>
    main()
  File "/tmp/terrarium_bootstrap-b9O496.py", line 983, in main
    after_install(options, home_dir)
  File "/tmp/terrarium_bootstrap-b9O496.py", line 1973, in after_install
    requirementSet = c.run(options, args)
  File "/tmp/test_terrarium_target-yW7IVq/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 266, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/tmp/test_terrarium_target-yW7IVq/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1033, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/tmp/test_terrarium_target-yW7IVq/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1161, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/tmp/test_terrarium_target-yW7IVq/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 554, in unpack_http_url
    download_hash = _download_url(resp, link, temp_location)
  File "/tmp/test_terrarium_target-yW7IVq/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 458, in _download_url
    chunk = resp.read(4096)
  File "/opt/python/2.7.9/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/opt/python/2.7.9/lib/python2.7/httplib.py", line 573, in read
    s = self.fp.read(amt)
  File "/opt/python/2.7.9/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/opt/python/2.7.9/lib/python2.7/ssl.py", line 714, in recv
    return self.read(buflen)
  File "/opt/python/2.7.9/lib/python2.7/ssl.py", line 608, in read
    v = self._sslobj.read(len or 1024)
socket.error: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/home/travis/build/PolicyStat/terrarium/.tox/py27-venv-1.9.1/bin/terrarium", line 9, in <module>
    load_entry_point('terrarium==1.0.0rc6', 'console_scripts', 'terrarium')()
  File "/home/travis/build/PolicyStat/terrarium/.tox/py27-venv-1.9.1/lib/python2.7/site-packages/terrarium/terrarium.py", line 956, in main
    r = terrarium.install()
  File "/home/travis/build/PolicyStat/terrarium/.tox/py27-venv-1.9.1/lib/python2.7/site-packages/terrarium/terrarium.py", line 216, in install
    new_target
  File "/home/travis/build/PolicyStat/terrarium/.tox/py27-venv-1.9.1/lib/python2.7/site-packages/virtualenv.py", line 1057, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/travis/build/P...-1.9.1/bin/python2.7 /tmp/terrarium_bootstrap-b9O496.py --prompt=(test_terrarium_target-yW7IVq) /tmp/test_terrarium_target-yW7IVq failed with error code 1

I don't think I've ever seen that error before

It also happened in this build.

Looks good


CM scripts for Micro23AE, #5 Sparse-DySta

CM scripts for Micro23AE, #5
Titled: Sparse-DySta: Sparsity-Aware Dynamic and Static Scheduling for Sparse Multi-DNN Workload

Thank you! Checking!

It looks fine to me. It can be improved but it's out of the scope of our pilot project. Maybe the only suggestion is: do you think it's possible to produce tables/graphs in the current directory when you run docker in run.sh?
Thanks again for participating in our pilot project!

Hi, Grigori @gfursin
No problem. It is easy to be done. Just need to add some docker copy commands. I will add it later today or tomorrow. Thanks!


Whitespace removal in class attribute breaks this

What version of prettier-plugin-tailwindcss are you using?
I updated from prettier-plugin-tailwindcss  0.5.14  →  0.6.1
What version of Tailwind CSS are you using?
3.4.3
What version of Node.js are you using?
20.14.1
What package manager are you using?
npm
What operating system are you using?
macOS
Describe your issue
My problem wasn't happening before but since I updated to 0.6.1 prettier wants to replace this
diff --git a/Comment.ts b/Comment.ts
--- a/Comment.ts
+++ b/Comment.ts
@@ -73,5 +73,5 @@
             <ul
               data-${CO_EXTRA_OPTIONS}
-              class="before:content-[' '] before:border-t-0 after:content-[' '] after:border-t-0 absolute -right-2 top-2 z-30 rounded-m border-s border-gray-1-dark bg-white  p-1 shadow-xl before:absolute before:right-[10px] before:top-[-13px] before:z-[1]  before:ml-[-6px] before:block before:h-[6px] before:w-[6px] before:overflow-hidden before:border-[6px] before:border-solid before:border-transparent before:border-b-gray-1-dark after:absolute after:right-[10px] after:top-[-12px] after:z-[2] after:ml-[-6px] after:block after:h-[6px] after:w-[6px] after:overflow-hidden after:border-[6px] after:border-solid  after:border-transparent after:border-b-white"
+              class="before:content-[' '] before:border-t-0 after:content-[' after:border-t-0 absolute -right-2 top-2 z-30 rounded-m border-s border-gray-1-dark bg-white  p-1 shadow-xl before:absolute before:right-[10px] before:top-[-13px] before:z-[1]  before:ml-[-6px] before:block before:h-[6px] before:w-[6px] before:overflow-hidden before:border-[6px] before:border-solid before:border-transparent before:border-b-gray-1-dark after:absolute after:right-[10px] after:top-[-12px] after:z-[2] after:ml-[-6px] after:block after:h-[6px] after:w-[6px] after:overflow-hidden after:border-[6px] after:border-solid  after:border-transparent after:border-b-white"
             >
               ${html.each(

so this before:content-[' '] before:border-t-0 after:content-[' '] after:border-t-0 absolute
becomes this before:content-[' '] before:border-t-0 after:content-[' after:border-t-0 absolute
even though I added the tailwindPreserveWhitespace: true.
Maybe you have an idea what the culprit could be ... otherwise I'll have to wait with the update

This is happening because of duplicate class removal — not whitespace removal. We're seeing '] as a duplicate class. Classes are never allowed to contain spaces in HTML or CSS so the classes before:content-[' '] and after:content-[' '] are not valid classes (Tailwind or otherwise). You want this instead: before:content-['_'] and after:content-['_'].

thanks a lot for the quick reply - even though this wasn't my code (I was just the dev who saw the removal), I learned something today!!


Update README.md

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1560

Relevant Lines:
1560

💛  - Coveralls


argument 1 has unexpected type 'float' labelImg crashes

hai can anyone help me? kept getting error when i tried to label the images, the labelImg crashes.
im working with python 3.9.12 and i"ve tried several solutions as well such as:

line 213 "self.dock.setFeatures(self.dock.features() ^ int(self.dock_features)) adding int to this line,
reinstalling pip install -e . in the command where i did my project.

Traceback (most recent call last):
File "D:\Documents\Master Stuffs Iffah\Sem 2\PS1\Apps\BIM Hand Gesture\TensorFlow\labelImg\labelImg.py", line 972, in new_shape
text = self.label_dialog.pop_up(text=self.prev_label_text)
File "D:\Documents\Master Stuffs Iffah\Sem 2\PS1\Apps\BIM Hand Gesture\TensorFlow\labelImg\libs\labelDialog.py", line 74, in pop_up
offset += QPoint(btn.size().width()/4, btn.size().height()/2)
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(int, int): argument 1 has unexpected type 'float'
QPoint(QPoint): argument 1 has unexpected type 'float'

hai can anyone help me? kept getting error when i tried to label the images, the labelImg crashes.
im working with python 3.9.12 and i"ve tried several solutions as well such as:

line 213 "self.dock.setFeatures(self.dock.features() ^ int(self.dock_features)) adding int to this line,
reinstalling pip install -e . in the command where i did my project.

Traceback (most recent call last): File "D:\Documents\Master Stuffs Iffah\Sem 2\PS1\Apps\BIM Hand Gesture\TensorFlow\labelImg\labelImg.py", line 972, in new_shape text = self.label_dialog.pop_up(text=self.prev_label_text) File "D:\Documents\Master Stuffs Iffah\Sem 2\PS1\Apps\BIM Hand Gesture\TensorFlow\labelImg\libs\labelDialog.py", line 74, in pop_up offset += QPoint(btn.size().width()/4, btn.size().height()/2) TypeError: arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float'

i've finally solved this problem by changing this line. i just add "/" so instead of \labelImg\libs\labelDialog.py", line 74, in pop_up
offset += QPoint(btn.size().width()/4, btn.size().height()/2)
i wrote offset += QPoint(btn.size().width()/4, btn.size().height()//2)

It sounds like it is a pyqt issue that some versions of that method are unable o support float. I just fixed it.  https://github.com/tzutalin/labelImg/commit/eb603c29e1d88085d4552da54074c044d5ec4841

I downloaded labelImg from pypi on 21/10/2022 and I have a similar issue. However, the lines above are not in labelDialog.py. The issues I am having are in canvas.py and other files and seem to stem from the use of QPointF, QRectF etc. Example errors:
TypeError: arguments did not match any overloaded call:
  drawLine(self, QLineF): argument 1 has unexpected type 'float'
  drawLine(self, QLine): argument 1 has unexpected type 'float'
  drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
  drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
  drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'

   p.drawRect(int(left_top.x()), int(left_top.y()), rect_width, rect_height)
TypeError: arguments did not match any overloaded call:
  drawRect(self, QRectF): argument 1 has unexpected type 'int'
  drawRect(self, int, int, int, int): argument 3 has unexpected type 'float'
  drawRect(self, QRect): argument 1 has unexpected type 'int'

venv/lib/python3.10/site-packages/labelImg/labelImg.py", line 965, in scroll_request
    bar.setValue(bar.value() + bar.singleStep() * units)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'

Hi @sprynt001!
I have the same issue, did you mange to fix it?
if you have can u please explain how?
thank you

Hi @gonend I tried making changes to various files, but in the end I gave up and used labelme ( from conda forge: https://anaconda.org/conda-forge/labelme )...

I downloaded labelImg from pypi on 21/10/2022 and I have a similar issue. However, the lines above are not in labelDialog.py. The issues I am having are in canvas.py and other files and seem to stem from the use of QPointF, QRectF etc. Example errors:
TypeError: arguments did not match any overloaded call:
  drawLine(self, QLineF): argument 1 has unexpected type 'float'
  drawLine(self, QLine): argument 1 has unexpected type 'float'
  drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
  drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
  drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'

   p.drawRect(int(left_top.x()), int(left_top.y()), rect_width, rect_height)
TypeError: arguments did not match any overloaded call:
  drawRect(self, QRectF): argument 1 has unexpected type 'int'
  drawRect(self, int, int, int, int): argument 3 has unexpected type 'float'
  drawRect(self, QRect): argument 1 has unexpected type 'int'

venv/lib/python3.10/site-packages/labelImg/labelImg.py", line 965, in scroll_request
    bar.setValue(bar.value() + bar.singleStep() * units)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'


Working towards a CLI tool

It would be great to have a CLI tool that does svg merging magically. We use npm run some-task as build tool to avoid having additional config or grunt/gulp, and svgo doesn't seem to have this particular feature yet (or I have missed something).
Do you have any plans in mind (or know any existing project), if not, I might start looking at how to strip down tasks/svgstore.js to remove grunt dependency.

I went ahead and made one: https://github.com/bitinn/svgshelf, though with less feature than svgstore, hence the name :)


Getting error in when try to logging in

When i am  try to login with this credentials
Tenant: playground
Username: apache.demo
Password: ven3t1@n
it give wrong username and password

me too

I also got error. its not working


Scratch image + multistage builds.

By disabling CGO, we can use the scratch image instead of the fedora
image, allowing a lighter weight image.
By setting up a multistage docker build, we can create the container image
in a single command. This eliminates external setup and allows us to build
this automatically on registries.

Can one of the admins verify this patch?

CLA signed.

@aveshagarwal done! I've also updated the README to reflect the new make target, make docker.

@jelmersnoeck thanks looks really good. Just a comment for README.

I have the same goal.
Perhaps we could optimise the docker image and remove the source code after compiling. It could also be done in a single command so the data doesn't go into the docker layer.
For example before seeing this PR I had done something like that
RUN    git clone https://github.com/kubernetes-incubator/descheduler.git kubernetes-incubator/descheduler \
    && make -C kubernetes-incubator/descheduler \
    && cp kubernetes-incubator/descheduler/_output/bin/descheduler /bin/descheduler \
    && rm -rf kubernetes-incubator/descheduler

here I'm cloning rather than using COPY which is not ideal. Even with the COPY we should delete the redundant source code.

@cesartl to answer both your questions: this is what the multi-stage build setup is for.
In the first container we'll do the build by copying in the source code into a golang container. This is then able to build the binary, which we store in /go/src/github.com/kubernetes-incubator/descheduler/_output/bin/descheduler.
The second FROM scratch then starts a second image - a scratch image in this case - with nothing in it. We just copy over the binary we've created before. This second build is what the final image will look like, a scratch image with only the binary in it, nothing else.

@jelmersnoeck that's amazing, I didn't know this new feature. Much cleaner and easy to use.

@aveshagarwal renamed the targets to dev-image and image and updated the README accordingly.

@jelmersnoeck thanks. just merged it.


Release azure-cli-dla 0.0.2

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-dla 0.0.2...

Release of 'azure-cli-dla' with version '0.0.2' successful. View at https://pypi.python.org/pypi/azure-cli-dla/0.0.2.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Fix self-signed-ca installation

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #3037
Type of changes
Please delete options that are not relevant.

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

NONE

Thanks @sivanantha321 !
/lgtm
/approve