Maximum recursion depth exceeded error

Hi, loving this, managed to install this but I'm getting the below error...my TV is a Philips OLED 48/808....any help gratefully received...
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 20:43:14 (5 occurrences)
Last logged: 20:46:22

[140220322288576] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 627, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/config/custom_components/custom_ambilight/light.py", line 81, in async_turn_on
    await self.api.turn_on(**kwargs)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  [Previous line repeated 985 more times]
  File "/config/custom_components/custom_ambilight/api.py", line 186, in turn_on
    current_brightness = self.get_brightness()
                         ^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded

I think your TV is too new if it’s an OLED808, they stopped including the jointspace API a couple of years ago.
You can test by going to http://your-tv-ip-address:1925/ambilight/currentconfiguration
If it returns some JSON then you have jointspace, if not I’m afraid you’re out of luck

Ah that's a shame, tried that link and I don't get any JSON...thanks for the quick reply though...

I have a Philips 65OLED808/12 and it has the API. I'm getting the same error when invoking the light.turn_on action without any parameters:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 626, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/config/custom_components/custom_ambilight/light.py", line 81, in async_turn_on
    await self.api.turn_on(**kwargs)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  [Previous line repeated 985 more times]
  File "/config/custom_components/custom_ambilight/api.py", line 186, in turn_on
    current_brightness = self.get_brightness()
                         ^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded


Fix Android Studio Gradle sync with Gradle verification

By not caching ComponentMetadataRule for local maven repositories.
Fixes #18498

Currently I support the following commands:

@bot-gradle test {BuildStage} to trigger a build

e.g. @bot-gradle test SanityCheck plz
SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease are supported
test this means test ReadyForMerge
test and merge to trigger a pre-tested commit build
cancel to cancel a running pre-tested commit build or remove it from queue
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.
Specific builds:

AST: AllSmokeTestsReadyForMerge
AFT: AllFunctionalTestsReadyForMerge
ASB: AllSpecificBuildsReadyForMerge
ACC: AllConfigCacheTestsReadyForMerge
ACT: AllCrossVersionTestsReadyForNightly
APTN: AllPerformanceTestsReadyForNightly
AFTN: AllFunctionalTestsReadyForNightly
ACTR: AllCrossVersionTestsReadyForRelease
AFTR: AllFunctionalTestsReadyForRelease

@bot-gradle help to display this message
@bot-gradle clean to clear the conversation history

OK, I've already triggered ReadyForMerge build for you.

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

@bot-gradle test this

@bot-gradle test and merge

Your PR is queued. See the queue page for details.


vumeter

Updated to baresip 0.6.5 from 0.5.7
Ubuntu 18.04.4 LTS
vumeter no longer shows on command line. Not even the vumeter end brackets.
Yes, I have changed the Modules path in config after update.
So far, everything audio seems to be working well. Makes connection to another client.
No error messages.
Using StreamS IOdigi2X UAC2 USB Audio Device - ALSA
Using Opus 48000.
Am I missing a dependency that is not reporting missing, or is this a known issue?
baresip 0.5.7 vumeter was working.
`
baresip is ready.
-><EMAIL_ADDRESS>call: connecting to<EMAIL_ADDRESS>call: SIP Progress: 100 Trying (/)
stream: update 'audio'
audio: Set audio decoder: opus 48000Hz 2ch
audio: player started with sample format S16LE
audio: Set audio encoder: opus 48000Hz 2ch
audio: source started with sample format S16LE
audio tx pipeline:        alsa ---> vumeter ---> opus
audio rx pipeline:        alsa <--- vumeter <--- opus
<EMAIL_ADDRESS>Call established<EMAIL_ADDRESS>stream: incoming rtp for 'audio' established, receiving from <IP_ADDRESS>:5062
Audio decoder changed payload 107 -> 96
call: terminate call '4dfe78e50c241727' with<EMAIL_ADDRESS><EMAIL_ADDRESS>Call with<EMAIL_ADDRESS>terminated (duration: 35 secs)
audio           Transmit:     Receive:
packets:           3477         1739
avg. bitrate:      64.7         51.1  (kbit/s)
errors:               0            0
pkt.report:        2826         1414
lost:                 0            0
jitter:             1.5          0.6  (ms)
`

try to generate a fresh config file, you will see what has changed.
try to enable this config:
vumeter_stderr          yes

All working now.
Thank you.


Made the url option more versatile

So I needed a way to have the query as part of the URI and not as get params on the end
eg. "search/for/part" + query;
now the url option can be a function which has the query as a param
url: function (query) {     return "search/for/part" + query; }

I was looking around to see if someone had tackled this already, thanks.


mfg_gen.py does not handle blank lines correctly (IDFGH-6794)

Environment

IDF version: 4.4
Build System:         idf.py
Operating System:     Windows
(Windows only) environment type: ESP Command Prompt

Problem Description
//Detailed problem description goes here.
Line 284 increments an index that is used by line 288 without checking.  In my case (despite having a seemingly clean .csv file), "row" is [''] .  This means that on the second iteration of the inner while loop, row[index] = val will access an index that does not exist.
In my case, modifying the line to: while key_val_new and key_repeated and row[index]: allowed the program to complete correctly.
Expected Behavior
Not crash
Actual Behavior
Crash
Steps to reproduce
feed a csv resulting in a blank line
Original code:
 while row:
            index = -1
            key_val_new = list(zip_longest(keys, row))
            key_val_pair = total_keys_values[:]
            key_repeated = total_keys_repeat[:]
            while key_val_new and key_repeated:
                index = index + 1
                #  if key has repeat tag, get its corresponding value, write to file
                if key_val_new[0][0] == key_repeated[0]:
                    val = key_val_pair[0][1]
                    row[index] = val
                    del key_repeated[0]
                del key_val_new[0]
                del key_val_pair[0]

Hi @armandr
Could you please share your csv file ?
If there is any extra spaces, the row will be taken as empty, so would be helpful to see the csv file.
Thanks

Hi @armandr
Could you please share your csv file ?
If there is any extra spaces, the row will be taken as empty, so would be helpful to see the csv file.
Thanks

@armandr,
Can you share the csv file you are using? It will be helpful to reproduce the issue.


C# NUnit Framework can be cracked easily

It's applicable only for C# NUnit. Other environments may not.
This line makes you pass (almost) any test: NUnit.Framework.Assert.Pass();
See: https://www.codewars.com/kata/reviews/5d612414344de60001df1e50/groups/662ece960a3f2d0001193e20
It's the reproduction.
Generally, you are not supposed to pass katas with the same line of code.
So, it should not pass and be invalidated.
Way around for Kata developers:
Assert.DoesNotThrow<SuccessException>(() => KataTest());

It's a duplicate of this issue https://github.com/codewars/codewars.com/issues/2179#issuecomment-644977083 and a couple of similar. I'm going to close this issue as a duplicate, but maybe it would be good to pick up some mentioned topics again, for example "[...] For banning specific code, we can create a community project for each language if the community is interested. [...]


Revert "[skip ci] Bump version 1.0.7"

This reverts commit e8a0869de21fc49c79ce181770d781a07213cba5.
Before submitting a pull request, please ensure the following:
Description
Please explain the changes you made.
Add a link to the design (if applicable).
Checklist

[ ] Code compiles correctly
[ ] Relevant tests were added (unit / contract / integration)
[ ] Relevant logs were added
[ ] Formatting and linting run locally successfully
[ ] All tests pass
[ ] UA review
[ ] Design is documented
[ ] Extended the README / documentation, if necessary
[ ] Open source is approved

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.i047130 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


🎈 3.2.1

🎈 Release
Preparation for 3.2.1 release.
Comparison to 3.2.0: https://github.com/gazebosim/gz-cmake/compare/gz-cmake3_3.2.0...gz-cmake3
Checklist

[ ] Asked team if this is a good time for a release
[ ] There are no changes to be ported from the previous major version
[ ] No PRs targeted at this major version are close to getting in
[ ] Bumped minor for new features, patch for bug fixes
[ ] Updated changelog
[ ] Updated migration guide (as needed)
[ ] Link to PR updating dependency versions in appropriate repository in gazebo-release (as needed):

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Homebrew job is an infra issue.


refactor: Modify the default template root relative path

I modified the default template root ("templates" to ".").
And now only call the render_write function when receives the :text argument.
Added *.gem at gitignore's file

@gabrielalmir10 you don't need to commit the *.gem file


Use classes to create types

Right now each time we call a type constructor we allocate a new object with all the needed functions as closures. We could resort to using a private class instead

If we do this refactor we could consider to move the logic of encoding/decoding/validate inside the class by adding the respectively methods inside the type.
export class OptionalType<T extends Type> {
  readonly kind: 'optional'
  readonly wrappedType: T
  //...

  encode(value: types.Infer<T> | undefined,  validationOptions?: Partial<validator.Options>): result.Result<JSONType, validator.Error[]>
  //decode(...): ...
  //validate(...): ...
}

const userType = types.object({ name: types.string() })
const user = userType.decode({ name: "" })

Yeah it would result in an API that is way easier to work with; basically we could move all the functionalities provided by the validator/decoder/encoder modules into the class definition.
This would be quite a big breaking change in the API so I'm making it high priority and I'll start to look into its feasibility (I'm not sure if this change will break Mondrian's type inference) as soon as we get everything to compile and merge #25 into develop

After some trials it looks like this is really not trivial and would require some big changes. For now this won't be worked on


Print instruction after teardown

TL;DR
Print instruction after execution sandbox/demo teardown command.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
As described in https://github.com/flyteorg/flyte/issues/3689, it is helpful to guide users cleaning up.
Tracking Issue
Closes https://github.com/flyteorg/flyte/issues/3689
Follow-up issue
NA

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-prtbml3a/sphinxcontrib-yt_82d7821052bb4688b3a0669cac992342/setup.py", line 4, in <module>
          from sphinxcontrib import yt as pkg
      ImportError: cannot import name 'yt' from 'sphinxcontrib' (unknown location)
      [end of output]

Doesn't seem to relate to this PR.

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-prtbml3a/sphinxcontrib-yt_82d7821052bb4688b3a0669cac992342/setup.py", line 4, in <module>
          from sphinxcontrib import yt as pkg
      ImportError: cannot import name 'yt' from 'sphinxcontrib' (unknown location)
      [end of output]

Doesn't seem to relate to this PR.

This seems to be either a pip or setuptools issue.
A successful build has python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0, while a failed one has python -m pip install --upgrade --no-cache-dir pip setuptools.
I tried pip 23.0.1 and setuptools 58.2.0 locally and that worked. https://github.com/divi255/sphinxcontrib.youtube/blob/master/setup.py#L4 has the weird usage of importing itself from setup.py and maybe pip/setuptools no longer supports that.

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-prtbml3a/sphinxcontrib-yt_82d7821052bb4688b3a0669cac992342/setup.py", line 4, in <module>
          from sphinxcontrib import yt as pkg
      ImportError: cannot import name 'yt' from 'sphinxcontrib' (unknown location)
      [end of output]

Doesn't seem to relate to this PR.

This seems to be either a pip or setuptools issue.
A successful build has python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0, while a failed one has python -m pip install --upgrade --no-cache-dir pip setuptools.
I tried pip 23.0.1 and setuptools 58.2.0 locally and that worked. https://github.com/divi255/sphinxcontrib.youtube/blob/master/setup.py#L4 has the weird usage of importing itself from setup.py and maybe pip/setuptools no longer supports that.
Since this would require change to readthedocs, it is not possible to do anything in this PR.

sphinxcontrib-youtube is supposed to be a dropin replacement (we did this in other repos, e.g.: https://github.com/flyteorg/flytekit/pull/1619 )

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-prtbml3a/sphinxcontrib-yt_82d7821052bb4688b3a0669cac992342/setup.py", line 4, in <module>
          from sphinxcontrib import yt as pkg
      ImportError: cannot import name 'yt' from 'sphinxcontrib' (unknown location)
      [end of output]

Doesn't seem to relate to this PR.

This seems to be either a pip or setuptools issue.
A successful build has python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0, while a failed one has python -m pip install --upgrade --no-cache-dir pip setuptools.
I tried pip 23.0.1 and setuptools 58.2.0 locally and that worked. https://github.com/divi255/sphinxcontrib.youtube/blob/master/setup.py#L4 has the weird usage of importing itself from setup.py and maybe pip/setuptools no longer supports that.
Since this would require change to readthedocs, it is not possible to do anything in this PR.

sphinxcontrib-youtube is supposed to be a dropin replacement (we did this in other repos, e.g.: flyteorg/flytekit#1619 )

🤦 , so many different sphinxcontrib youtube libs:

https://github.com/shomah4a/sphinxcontrib.youtube
https://github.com/divi255/sphinxcontrib.youtube
https://github.com/sphinx-contrib/youtube


Problems with grad backpropagation

Hi, it's excellent work! And I got some troubles with the gradient backpropagation, here is the process one by one:
I customed some new loss terms in get_train_loss_dict in customed pipeline, where contains the steps like
grad = torch.nan_to_num(grad)
target = (latents - grad).detach()
loss_sds = 0.5 * F.mse_loss(latents, target, reduction="sum") / latents.shape[0]

the first error is RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn so I add loss_sds.required_grad_(True),
and the second error is RuntimeError: a leaf Variable that requires grad has been used in an in-place operation so I changed the line below to non-in-place operation,

https://github.com/nerfstudio-project/nerfstudio/blob/3dd162aae8ae7c166928e1f02bf97e7febe3a18e/nerfstudio/engine/trainer.py#L474

and after fixing 2, the third error is AssertionError: No inf checks were recorded prior to update. on grad_scaler because I used mixed precision.

https://github.com/nerfstudio-project/nerfstudio/blob/3dd162aae8ae7c166928e1f02bf97e7febe3a18e/nerfstudio/engine/trainer.py#L490
And if I disable the mixed precision, the training process looks smooth, however with the viewer I noticed that the scene wasn't updated at all. So confusing.
I'm new to NerfStudio and I'm so confused how to properly backpropagate the new loss term, could you give some tips? Thanks!

Solved


Apostrophe breaks preview

Having ' in page content cuts the preview short.

This has been be fixed by escaping ' characters that remain after parsing manually in blockparser

There are still some scenarios where preview breaks, needs investigation


Quit the server properly?

Hi, is there a method other than Kill to quit the server properly? I didn't find it in the wiki.

No, for the most part we've just been using ctrl^c for quitting. It would probably be cleaner to have a real exit, but I don't think it's a priority for us to implement right now

ok, thanks just checking :)


Add deployment notes to README

Add additional notes about how to deploy this on a live system.

Environment variables

Switch to this README template as it has a much better structure to the current one.

@dan1elhughes to update.


Update some .md files to end with \n

Description
We have a GitHub workflow that checks for readme formatting on updated .md files. Many of those files aren't following the convention of ending with \n so this PR addresses that.
Type of change

Other enhancement

Platforms tested on

[ ] WPF .NET 6
[ ] WPF Framework
[ ] WinUI
[ ] MAUI WinUI
[ ] MAUI Android
[ ] MAUI iOS
[ ] MAUI MacCatalyst

Checklist

[ ] Self-review of changes
[ ] All changes work as expected on all affected platforms
[ ] There are no warnings related to changes
[ ] Code is commented and follows .NET conventions and standards
[ ] Codemaid and XAML styler extensions have been run on every changed file
[ ] No unrelated changes have been made to any other code or project files
[ ] Screenshots are correct size and display in description tab (800 x 600 on Windows, MAUI mobile platforms use the MAUI Windows screenshot)

Closing as this as there are way too many formatting issues. Perhaps easier to be reactive instead of proactive with .md styling.


Migrate Alexandria datasets to new schema

Migrate datasets from the Alexandria project (dsuids 4-12, 26) to the Corpora schema.

The Alexandria datasets are not very amenable to conversion to the new schema. There are a lot of missing values: for example lots of cells only have values for ACE2 and TMPRSS2. This makes it impossible to follow the HGNC requirements in the schema, and it makes it very hard or impossible to reproduce the transformed layers.
Per a conversation with Jonah, the effort per value is pretty high for these, so I'm going to leave some unremixed and be done with whatever's in PR #423


Not enough space for icons rendered within the wizard title

The step title icons are displayed inside a circle, which limits their display. When the icons are larger than the icon holder, they overlap outside the holder.
Steps to reproduce the behavior:

Go to 'https://function-publicportal-test.shesha.dev/dynamic/TestModule/new-organi?mode=edit'
Check the icons displayed within the wizard steps/ Check step 4
Actual Results: There's no enough space for the icons

Expected behavior
The icons should be displayed fully, without any blockage hindering a full display

@Lukeybooi , the final decision is to remove the circles around the icons and keep the same view we have on admin portal


Sudden issue with vector.mult

I've suddenly started seeing the following error when running a sketch that I haven't changed in months
p5.Vector.prototype.mult: x, y, or z arguments are either undefined or not a finite number
I haven't updated any packages since starting my project so I'm not sure whats causing the problem.
I tried checking out a much earlier commit in my project history and still see the same problem
Nextjs version 12.1.6
React wrapper version 3.4.0
Any help would be greatly appreciated

Everything has started working again with no code changes. No idea why this happened. It seems to have effect all my sketches that performed Vector operations.

Interesting, I'm sure it was some local cache issue or something but if it comes up again, let me know. Everything should be stable with the library up to and including the latest P5 release though.


Can't get mod to work (CTD) (1.3 Beta)

Discovered this mod, got excited for the perk fixes, but I get a crash on startup no matter what I do. Tried: With no other enabled mods and the mod at the bottom of load order, verified steam files, deleted and reinstalled mod, redownloaded mod, deleted old install and re-install, verified the mod was in the correct location C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules unpacked mod with 7zip in Modules folder and MnB2-Bannerlord-CommunityPatch-dev folder was created successfully. I run Windows 7, help would be much appreciated...

Mod folder NEED to be named just CommunityPatch

Also if you just downloaded source code not release pack you need to build it first.

Yup, downloaded source code like a doofus, i got the release pack working, may try building the dev version in the future, thank you!


Invoke base hover text in ConsumeableItems

Minecraft version
1.20.1
Farmer's Delight version
2.0.7
Forge version
0.15.7
Description
Hello,
I'm the developer of the mods Frostiful and Scorchful. These mods both have integrations with Farmer's Delight food items for things related to temperature and thirst. These integrations work through a series of tags and (should) automatically insert a tooltip text on selected items and grant effects when they're consumed. In the old port, this works fine. However, in this version of the mod, the ConsumableItem class fully overrides the appendHoverText method of Item, which means that the tooltip does not show up. The effects are still applied, as that hooks into the minecraft:consume_item advancement trigger which is properly invoked here, it's just the tooltip text that does not show up.
This can be fixed with a simple call of super.appendHoverText(stack, level, tooltip, isAdvanced) somewhere in ConsumableItem#appendHoverText.
Steps to reproduce
No response
Mod list

Fabric API
Mod Menu
Cardinal Components API
Cloth Config
Thermoo
Scorchful
Farmer's Delight Refabricated

Logs
No response
Minimal instance

[X] I have tested this on a minimal instance

Performance and shader mods

[ ] I am using performance or shader mods

Will be fixed in 2.0.8.


Arc gis

Have added the following
Using Esri's JavaScript API

Add spacial data to the map, using ArcGIS Feature Layer

Add ArcGIS JS API Popups for each layer that include display information about that data

Add Filter to the featureLayer using definitionExpression

Closing this PR, since it was based of the master branch


Fixes mix content error in web browsers when jupyter runs on https

Currently http is hard coded which is fine but it yield browser warning on jupyter running on https. This PR aims to fix that.

@gtnx Any clarification why it was closed without merged? Please see screenshot below to help you why I fixed it.

Thanks :+1:


Potential fix to show all supported languages

Fix to show all supported languages in language options.
PR Type
What kind of change does this PR introduce?
Bugfix

@JasonStein can you test if installing from package shows all the manifest languages??

It works locally in release mode but my guess is that it will not work once built and distributed by the store. But that just be my guess.
https://docs.microsoft.com/en-us/windows/uwp/design/globalizing/manage-language-and-region
https://developercommunity.visualstudio.com/content/problem/1041637/the-new-version-probably-vs-makes-the-language-lis.html
Maybe we can use this:
    IReadOnlyList<string> runtimeLanguages = Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView().Languages;
    runtimeLanguages = Windows.Globalization.ApplicationLanguages.Languages;

Maybe we can use this:
    IReadOnlyList<string> runtimeLanguages = Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView().Languages;
    runtimeLanguages = Windows.Globalization.ApplicationLanguages.Languages;

These methods will only show languages installed by the user.

It works locally in release mode but my guess is that it will not work once built and distributed by the store. But that just be my guess.

This article describes the problem it doesn't work in store package because during package creation value of “Create App bundle” isn't set to "Never". May be changing that will solve the issue??


Be able to handle gracefully notifications that do not contain any notification info

Environment

circuit_maintenance_parser version: 2.0.1

Proposed Functionality
Today, a Provider processing a notification can only return either the maintenance objects or raise a ProviderError when it was not possible to get, at least, a maintenance object from the notification.
Some times the notification parsed is not actually containing any relevant information and it's not actually needed to be parsed and raise an error, just signal that it was not containing any relevant info.
Use Case
Being able to differentiate between parsing errors and non relevant notification would make the library clients able to handle each one in a different way.

An example of the need for this is with Lumen, where emails regarding support tickets come from the same address<EMAIL_ADDRESS>as emails regarding scheduled maintenance. This results in a lot of "failed" parsing for the support ticket emails.

Fixed in #91


LSDB with Nested-Dask: Additional Wrappers

Feature request
Related to #367. Add wrappers for Nested-Dask functions directly to the catalog API. The functions that should have wrappers are:

[x] dropna
[x]  reduce

Before submitting
Please check the following:

[ ] I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
[ ] I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
[ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.

Closed with #414 and #410


odo service create -p --dry-run should show "parametrized" crd

/kind bug

What versions of software are you using?
Output of odo version:
▶ odo version
odo v2.2.2 (0e9e9717d)

Server: https://api.crc.testing:6443
Kubernetes: v1.20.0+75370d3

How did you run odo exactly?
odo service create  postgresql-operator.v0.1.1/Database -p databaseName=mydb -p databaseUser=user -p databasePassword=pass  --dry-run
Actual behavior
shows alm-example
apiVersion: postgresql.dev4devs.com/v1alpha1
kind: Database
metadata:
  name: database
spec:
  databaseCpu: 30m
  databaseCpuLimit: 60m
  databaseMemoryLimit: 512Mi
  databaseMemoryRequest: 128Mi
  databaseName: example
  databaseNameKeyEnvVar: POSTGRESQL_DATABASE
  databasePassword: postgres
  databasePasswordKeyEnvVar: POSTGRESQL_PASSWORD
  databaseStorageRequest: 1Gi
  databaseUser: postgres
  databaseUserKeyEnvVar: POSTGRESQL_USER
  image: centos/postgresql-96-centos7
  size: 1

Expected behavior
the flag is called --dry-run, so it should show what will be created
in the above command with parameters it should who
      apiVersion: postgresql.dev4devs.com/v1alpha1
      kind: Database
      metadata:
        name: database
      spec:
        databaseName: mydb
        databasePassword: pass
        databaseUser: user

If executed without parameters it should show alm-example
/kind bug
/priority high

this is really interesting and really good thought. but isn't this a feature?

this is really interesting and really good thought. but isn't this a feature?

From the user's point of view, this is a bug. --dry-run should behave as a dry run and it is not currently doing that.

this is really interesting and really good thought. but isn't this a feature?

+1

From the user's point of view, this is a bug. --dry-run should behave as a dry run and it is not currently doing that.

Agreed. But it's not a user who's opened this. We didn't even think of this aspect of --dry-run when we implemented it.


History view stops working after DecisionTaskFailed event for reset

My guess is the IDL files need updating. Also looks like a non-backward compatible change was made.

https://github.com/uber/cadence-web/pull/52

I'm assuming https://github.com/uber/cadence-web/pull/52 has fixed the issue. Please reopen if you are still having issues. Thanks!


What can be done to resolve binary differences caused by af_alg before and after kernel 4.10?

Can the  ktls  be used to replace af_alg? Then can I use no-afalg to mask the 4.10 kernel differences?

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Missing dependency: Flask_Restful

Added to requirements-dev.txt but not to requirements.txt.

This should be fixed in #130


Replace repository field in package.json with an object

This will fix #8657.

Upgrades to the latest build-tools.
Run repo-policy-check to pick up new policy changes, which include using an object in the package.json repository field and detecting duplicate dependencies.

@bekell Can you confirm this change would unblock your tools?

@tylerbutler yes it would. Thank you!


Remove obsolete problems key

The problems key has been obsoleted as per this issue. This has already been succesfully implemented by the C#, F# and Haskell tracks, so API-wise this is a safe action.
Removing the problems key also makes it very impossible for people to only add a new exercise in the old, obsolete problems key.

The build script also had to be modified, as it looked for the list of exercise names in the old problems key.


Secure cookies are not working

Describe the bug
I need to use Secure Cookies to scrape some data.
When I use a synchronous Session and add the cookie using kwargs cookies={name: value}, it does not work, but it works when I add it using a curl-like API.
For AsyncSession, it does not work when I add it using kwargs and the curl-like API.
Expected behavior
It should always print 'cookie in headers'.
Versions

OS: Windows 11 | Alpine Linux
curl_cffi: 0.5.9 | 0.5.10b2
python: 3.11

To Reproduce
import asyncio
import sys

from curl_cffi import CurlOpt
from curl_cffi.requests import AsyncSession, Session

value = "1"
name = "__Secure-test-cookie"  # will only work for 'bypass test' (request is not sent with the cookie, not https?)
# name = "_Secure-test-cookie"  # will work for all except 'async bypass test' (acurl.setopt() bug?)
cookie = f"{name}={value}"

cookies_bytes = bytes(cookie, 'utf-8')
cookies_dict = {name: value}

def test():
    print("\ntest")
    with Session() as s:
        resp_ = s.get("https://browserleaks.com/ip", impersonate="chrome110", cookies=cookies_dict)
        check_in_headers(resp_.text)

def bypass_test():
    print("\nbypass test")
    with Session() as s:
        s.curl.setopt(CurlOpt.COOKIE, cookies_bytes)
        resp_ = s.get("https://browserleaks.com/ip", impersonate="chrome110")
        check_in_headers(resp_.text)

async def async_test():
    print("\nasync bypass test")
    async with AsyncSession() as s:
        resp_ = await s.get("https://browserleaks.com/ip", impersonate="chrome110", cookies=cookies_dict)
        check_in_headers(resp_.text)

async def async_bypass_test():
    print("\nasync bypass test")
    async with AsyncSession() as s:
        s.acurl.setopt(CurlOpt.COOKIE, cookies_bytes)
        resp_ = await s.get("https://browserleaks.com/ip", impersonate="chrome110")
        check_in_headers(resp_.text)

def check_in_headers(html):
    if cookie not in html:
        print("cookie not in headers")
    else:
        print("cookie in headers")

if sys.version_info >= (3, 8) and sys.platform.lower().startswith("win"):
    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

test()
bypass_test()
asyncio.run(async_test())
asyncio.run(async_bypass_test())

For __Secure-* cookies, Secure attribute must be set to True, and that's where we missed in the current implementation. I will change this behavior in the next version.

Fixed in 0.5.10b3


Cleanups in depsgen, glob mode and filelist support.

First commits are doing some small cleanups and fixes.
The last but one adds a glob-mode (whether to take only normal files, hidden files or all of them).
Last commit teaches depsgen to use filelists.

LGTM, merging


Templates written to image metadata have \n instead of newline character

I love this extension and want to thank the creators for maintaining it. I just updated to version 284d3ef3, and how the prompt template is written to the image metadata has changed. Now the template has \n inserted where newlines should be.
Just making up an example, if the prompt is:
Fast cars {
<lora:somelora:0.8>|
<lora:loratwo:0.2>|
<lora:lorathree:0.3
}

What gets written to the template is
Template: "Fast cars {\n<lora:somelora:0.8>|\n<lora:loratwo:0.2>|\n<lora:lorathree:0.3\n}"

The template saving feature is amazing because you could, in Automatic1111, just drop an old image into the PNG Info tab, copy the whole template with wildcards out of the metadata, and paste it into a new prompt. Now, if you have multiple lines in your prompt, you have to paste it into a text editor and replace all the "\n" with a newline.
Thank you!

This is expected after #691 (cc @w-e-w); in one way, it's an improvement over the previous code (where a computer couldn't easily figure out where a multi-line template would end). I don't honestly know enough about the metadata system to know if there's a way for the PNG Info tab to un-mangle quoted metadata so it'd be easier copy-pasted.

the problem with is the previous old syntax was causing the infotext to be invalid to others when sd-dynamic-prompts is not installed
and people make a report about it and thinking that it is something that webui did that borke infotext but the truth is actually opposite
the infotext is designed to be read by machines while remaining readable to a certain level of degree
one of the restrictions on how auto coded the infotext syntax make it so that you cannot have literal new line in it
normally when something is in the infotext it will be automatically read back and by the UI so and humans won't have to manually copy and paste and so not a problem
but since sd-dynamic-prompts does not use the template intotext it itself this causes issue of the infotext being "not friendly"
potential ways of solving the issue

add a button of some kind that will automatically do the copy parse and paste for you

hijack run_pnginfo(image) and make it generate infotext html with template in parsed for the user and displayed in newline

got a similer report days ago
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14545


Canceling vehicle's motion

Hello All,
I am trying to integrate past point clouds into the most recent one wrt the current lidar's coordinate system while the ego vehicle is driving. How do I remove the vehicle's motion? I converted the point clouds from the lidar's coordinate system to the world and then converted back to the current lidar's transformation. How do we include the car's transformation do counteract its motion?
For your reference, I am using version 0.9.10
Thanks all.

Static objects should not have motion in them!
Here is an example:


Can't apply markup attributes to parent class

Hi,
I ran into an issue, and I'm unsure of whether it's a bug or whether I'm simply making a mistake.
Try the following setup:
public class TestParent : MonoBehaviour
{
    [TitleGroup("Group A")]
    [SerializeField] string field1;
    [SerializeField] string field2;
}

public class TestChild : TestParent
{
    [TitleGroup("Group B")]
    [SerializeField] string field3;
    [SerializeField] string field4;
}

In this situation, only Group B is appearing in the editor. The "Group A" heading doesn't appear. The same is true for Foldouts etc.
https://i.imgur.com/cQieGHw.png
I'm testing this in a fresh project, so my editor scripts are as you suggested in the docs.
[CustomEditor(typeof(MonoBehaviour), true), CanEditMultipleObjects]
internal class MarkedUpMonoBehaviourEditor : MarkedUpEditor
{
}

[CustomEditor(typeof(ScriptableObject), true), CanEditMultipleObjects]
internal class MarkedUpScriptableObjectEditor : MarkedUpEditor
{
}

This is Unity 2021.3.4 and MarkupAttributes 0.5.0.

Hello again!
Turns out it's not really a bug. You declared your fields in the parent class as private, so they are invisible in the child class (though Unity still serializes them). You can just declare stuff  protected.


Update communication to latest spec

As titled, we need to update the spec.
There are two API changes:

Default value changes from null to Unknown. Since we never read the default value, it is not breaking change because we don't change any behavior.
Type of subType changes from string to enum. Since we have implicit cast from sring to enum, it is not breaking change.

Why we have this change:
The spec is:
model WhatsAppMessageTemplateBindingsButton {
  subType: WhatsAppMessageButtonSubType;
}

Usage of WhatsAppMessageButtonSubType  changes from None to Input. It's a known issue from TCGC integration, and seems the enum type is expected.

@glorialimicrosoft could you take a look at these changes or could you direct it to the right people?


implement basic list project from wrapdb

Signed-off-by: Igor Gnatenko<EMAIL_ADDRESS>

Traceback (most recent call last):
File "./mesonwrapdb.py", line 18, in
import requests
ImportError: No module named 'requests'

A different implementation is in trunk already.


Question: How do I accept int values that can be negative. I think on seeing '-' it parses the negative number as an option.

Is there a way to escape '-' sign so that '-1' is not considered an option and instead assigned to an in argument.


feat: startup-list

This pull request includes several commits that add new features and improvements to the codebase. The commits include the addition of search functionality to the StartupsDictionary component, the addition of a height prop to the StartupsDictionary component, and the creation of a startup details page. The startup details page allows users to view detailed information about a specific startup, including its name, description, metrics, founders, and website. These changes enhance the functionality and user experience of the application.

The current layout looks great! However, I noticed that the list is not utilizing the full width of the page. It would be fantastic if we could extend the list to cover the entire page width and remove the second frame. This would enhance readability and make better use of the available space.

Added company social and founder cards to startup detail page


microprofile-health-35 Provide different types of health check

First version of the pull request for #35.
HealthCheckResponse description will probably need to be change to take Readiness into account.

Well, I still find the @Health qualifier useless. I think that for /health endpoint all the health check producedures should be invoked, i.e. the impl should use @Inject @Any Instance<HealthCheck> to obtain all procedures. For /health/live the impl should use @Inject @Liveness Instance<HealthCheck> and for /health/ready the impl should use @Inject @Readyness Instance<HealthCheck>.
I would also recommend to add a new annotation to specify custom health checks groups, something like @HealthCheckGroup("checksA") (but find a better name ;-). @Named is probably not appropriate as it has side effects (named beans are accessible in EL etc.). This way it would be possible to select only specific checks for  /health/{groupName} endpoints, using @Inject @Any Instance<HealthCheck> and instance.select(HealthCheckGroup.Literal.of("checksA")).

@mkouba I really like your idea in the second paragraph but this PR probably isn't the right place to track it. Can you create an issue for it please?

@xstefank I've added a comment to https://github.com/eclipse/microprofile-health/issues/81...

I'd avoid using terms like "MP-HC". This is AsciiDoc -- if "MicroProfile Health Check" is too long to write all the time, use a variable :-)

I agree @Ladicek. But for clarity I suggest that we manage that in another ticket / PR

One more comment: please increase the package-info version from 1.0 to 1.1 since new APIs were added.

@Emily-Jiang are you sure it should be 1.1 and not 2.0 to follow spec version?

I merge with required version modification.


Switching to unencumbered GATK 4.x

Will this ever support GATK 4.x ?

At some point in a future revision possibly.
On Thu, Aug 29, 2019 at 4:48 AM Torsten Seemann<EMAIL_ADDRESS>wrote:

Will this ever support GATK 4.x ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CPTR-ReSeqTB/UVP/issues/28?email_source=notifications&email_token=ABJNQ3ZC7PMZHPDDUAXDC43QG6EM5A5CNFSM4IR7RYEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIEKXIQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJNQ33FFNZAIUDC2RDWEADQG6EM5ANCNFSM4IR7RYEA
.

I've taken a quick look at this. It would simplify the installation process a bit. It seems like the main difference between GATK3 and GATK4 is the move from the UnifiedGenotyper to the HaplotypeCaller for SNP & indel calling. Some discussion here:
https://gatkforums.broadinstitute.org/gatk/discussion/3151/should-i-use-unifiedgenotyper-or-haplotypecaller-to-call-variants-on-my-data
I've had some difficulty finding detailed documentation or 'best practices' guidelines for using the HaplotypeCaller on monoploid organisms. There is a -ploidy switch, but it seems that the HaplotypeCaller is designed with human/cancer analysis in mind.
Do either of you (or anyone else reading this) have experience using the HaplotypeCaller on bacterial samples? Know of any good documentation?
I suppose that another significant part of adopting a new tool or version for this pipeline is re-running a validation process to ensure that the results are consistent/compatible with older pipeline version results.

Does your design allow the variant caller to be a plugin?
And replaced with alternate callers?
ie.  REF + R1 + R2 . =>  [variant caller module ] => VCF (in your format)

You can choose between GATK and samtools:
usage: uvp -q STRING -r STRING -n STRING [-q2 STRING] [-o STRING]
           [--keepfiles] [--bwa] [--all] [--gatk] [--samtools] [-a]
           [-t THREADS] [-k STRING] [-c STRING] [-v] [-h] [--version]

UVP - Call SNPs and InDels

Input:

  -q STRING, --fastq STRING
                        Input FASTQ file
  -r STRING, --reference STRING
                        Reference genome in FASTA format.
  -n STRING, --name STRING
                        Sample name to be used as a prefix.
  -q2 STRING, --fastq2 STRING
                        Second paired-end FASTQ file.

Output:

  -o STRING, --outdir STRING
                        Output directory
  --keepfiles           Keep intermediate files.

Aligners:
  Select a specific aligner.

  --bwa                 Align Illumina reads using bwa. (Default)

Callers:
  Choose program(s) to call SNPs/InDels with.

  --all                 Run all SNP / InDel calling programs.
  --gatk                Run GATK SNP / InDel calling. (Default)
  --samtools            Run SamTools SNP / InDel calling.

Annotation:
  Use snpEff to annotate VCF file

  -a, --annotate        Run snpEff functional annotation.

Optional:

  -t THREADS, --threads THREADS
                        Num CPU threads for parallel execution
  -k STRING, --krakendb STRING
                        Path to kraken database
  -c STRING, --config STRING
                        Config file
  -v, --verbose         Produce status updates of the run.
  -h, --help            Show this help message and exit
  --version             Show program's version number and exit

That doesn't answer my question though. Can one replace the SNP calling engine and still get the rest of the functionality?  Would be awesome for benchmarking on such an important problem in Mtb genomics.


Possible to use build variables?

I suspect the answer to this is "no, that's not a thing because C++ is prohibitively complex", but I'm hoping there's a way to set variables that the preprocessor can read.  For legacy reasons that I don't actually know I have a header file that says:
#if FOO
// define stuff!
#endif

and CMake knows whether it wants to set FOO, but I'm not seeing a way to pass that information through the cxxbridge calls.  Is there something I can do, or should I start refactoring to eliminate the preprocessor if?

Build variables are not relevant to CXX because by design we simply don't look at the header. CXX does not parse it or run the C preprocessor on it or compile it.
When compiling the C++ side of your application is when you would need to set those variables, but that is independent of CXX.

For example if you were using Cargo for the C++ build, they're set with https://docs.rs/cc/1.0.72/cc/struct.Build.html#method.define.
See https://github.com/dtolnay/cxx/pull/987/files.

Hmmm, then it's clear I don't understand how our build works / should work / has ever worked.  Thanks for the info, it at least points me away from certain rabbit holes!


Dry Run Follow-ups

Not sure if I should have put the missing packages here  or in integration-pkgs.
Originally posted by @m-cat in https://github.com/SkynetLabs/pinner/pull/30#discussion_r882115584

https://github.com/SkynetLabs/pinner/pull/30/files#r884710245


Protect freezing shift, driving pools & missions

Freezing the shift and its driving pools is done AFTER freezing all driving missions in the shift.
Risk:
Optimization can be started by another user during the freeze actions, the freezing actions may be compromized if the freeze action is not protected (BEGIN TRANSACTION - COMMIT).

Fixed in commit https://github.com/TIXI24/sfitixi/commit/7000906ffbe66198c4b315bfd00013f2d6d41a59


Dormant Firebrand tomes and Swift Scholar buffs

Hey, added Swift Scholar and Dormant tomes buffs which are a new thing for Firebrands after November 29 Balance patch.

Thank you for your contribution! Once the CI is completed, please download the built DLL and test your changes. If everything checks out, let me know and I'll merge. If there are issues, you can continue iterating this PR and the CI will automatically generate the changes for you.

Thanks! I've tested it in game and all the changes work, here is a little screenshot of some of those buffs in action.


Cards without model numbers aren't loading

Not sure if this is birdbot related, or this script.
Cards on BB's list that don't have model numbers (there's only 2 right now) come back with error's when the Tasks attempt to load the page.

That should have been fixed with the push last night. When did you clone project?

Ahh!
I'll try the latest build, I hadn't pulled anything for awhile now.

Yep haha no worries!


Unconsistent behavior for selectedLeafNodeIds when using triState checkboxes and async loading

Hello,
I am using a tree with checkboxes, triState and async loading (v8.4.0).
I use state.selectedLeafNodeIds to get the checked items but I noticed that the behavior varries depending on when we load the children.
You can reproduce the error here (open the console):
https://stackblitz.com/edit/angular-qd4tzm
Steps to reproduce:

Check the root node
Expand the children
Click the button
Value of selectedLeafNodeIds [ parentNode: true, childNode1: true, childNode2: true ]
Reload the page.
Check the root node
Uncheck the root node
Expand the children
Check the root node
Click the button
Value of selectedLeafNodeIds [ parentNode: false, childNode1: true, childNode2: true ]

Reproduced in browsers:

IE
Firefox
Chrome

It would be better to have a consistent behavior. When expanding a node, it is not a leaf anymore so its value in selectedLeafNodeIds should be false.
Thanks for the amazing compent BTW 👍

In the meantime, as a workaround, I manually remove the parent node id of selectedLeafNodeIds using the onLoadNodeChildren event.
In the template
 <tree-root [(state)]="state" (loadNodeChildren)="onLoadNodeChildren($event)">
  </tree-root>

In typescript
  public state: ITreeState;

  public onLoadNodeChildren(event: any) {
    delete this.state.selectedLeafNodeIds[event.node.data.id];
  }


Setup help

I currently use qbittorrent and sonarr to feed to my plex server.
Often, the automator will fire correctly and convert the files and update my plex. Other times, nothing is converted and the file is left where it is.
Even when things are properly converted, the old files are not removed from my PC and the torrent is left running.
I do have an old copy of the automator installed. Maybe that is part of the issue.
My current setup is as follows:
external program:
/usr/bin/python "/opt/sickbeard/qBittorrentPostProcess.py" "%L" "%T" "%R" "%F" "%N" "%I"
When seeding reaches 1 minute, pause torrent.
Sonarr v3
/opt/sickbeard/postSonarr.sh (this script is simply "/usr/bin/python /opt/sickbeard/postSonarr.py")
On Import and On Upgrade both checked.
Others left unchecked
Download client:
Completed handling enabled and remove handling renabled
Failed download redownload enabled and remove enabled.
I am running CentOS 8 fully updated.
autoProcess.txt

Without log files this isn't something I can help much with
I will say first off, don't use an old version. Always try the latest and see if that helps, especially if its been a while since you installed.
The other issue I'm seeing is that you're using completed download handling and qBittorrentPostProcess which you should NOT do. Those two concepts compete with each other and may be contributing to your issue. qBittorrentPostProcess will notify sonarr that it needs to scan a download directory and will only do so after its conversion has completed. Completed download handling may be scanning the directory prematurely and interfering. postSonarr will handle the conversion if it wasn't done before the file was sent to Sonarr.
Happy to reopen this with more specifics or if those changes don't help.


Remove filtering feature from catalog import

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Player Data Tracker is (still) wrong from March 3 Google Drive change

Google Drive: https://drive.google.com/drive/u/0/folders/1RqWDGzttM38V11Rtt3h85E2WpWm5kEYs
Commit 665f99e downgraded the Player Data Tracker mod from <IP_ADDRESS> to <IP_ADDRESS> (which removed features and reintroduced bugs long fixed). The SHA1 hash verification started failing on PlayerDataDump.dll for a month.
The hash being wrong should have been a red flag that led to the URL getting replaced with a proper download. Instead, commit b9e08be changed the hash to further reflect the old <IP_ADDRESS> version.
Please update back to the correct version. It may also be a good idea to audit all <SHA1> changes made since 665f99e.

The PR changed a large amount of the hashes because it was migrating after the previous hosting setup went down. The downgrading of the mod as a result of this, while unintended, still has the mod link pointing to a trusted source, the drive created by us as a result of the previous hosting going down. This isn't anywhere near a "malware" attack.
Migrating was done mostly by getting links using a self-written script which took a zip from every mod folder, which didn't account for multiple zips in every folder. While it getting the wrong one is a mistake, and an unfortunate one at that, it's nothing near a vulnerability. I've gone ahead and fixed it, but calling this a red flag for malware is a bit much given how often people put wrong SHA1s in and have to replace them later.


Include LintMetadata in the LintResult

This reduces the need to do a lookback on what the lint was based on its name when all the user needs is the metadata.
This also allows the name field in the results to be eventually sunset.

I didn't really think about if we want it in JSON or not when writing this and was following the rest of the fields. No opinions on it either way and I'm happy to exclude it from JSON serialization.

I think the JSON output would be extremely redundant when ran with ZCertificate if LintMetadata was included, so let's leave it out of the JSON.


TensorRT inference error: TensorFlow device was not registered

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04
TensorFlow installed from (source or binary):
source
TensorFlow version (use command below):
last commit from pull request #20350
Python version:
2.7
Bazel version (if compiling from source):
0.15.0
GCC/Compiler version (if compiling from source):
gcc 5.4.0
CUDA/cuDNN version:
Cuda 9.0/cuDNN 7
GPU model and memory:
2 x Tesla P40 (22919MiB)
Exact command to reproduce:

Describe the problem
Using tensorflow.contrib.tensorrt.create_inference_graph results in an error:
Non-OK-status: GpuIdManager::TfToCudaGpuId(tf_gpu_id, &cuda_gpu_id) status: Not found: TensorFlow device GPU:0 was not registered
I use custom frozen graph to convert (2 x conv->3 x gru rnn->dense->softmax).
Other Tensorflow scripts (which are not using tensorrt) works correctly with both GPU.
Source code / logs
Source code:
def load_graph(frozen_graph_filename):
    with tf.gfile.GFile(frozen_graph_filename, "rb") as f:
        graph_def = tf.GraphDef()
        graph_def.ParseFromString(f.read())
    return graph_def

graph_def = load_graph(model_path)

import tensorflow.contrib.tensorrt as trt2
trt_graph = trt2.create_inference_graph(
    input_graph_def=graph_def,
    outputs=['softmax_var/output'],
    max_batch_size=5,
    max_workspace_size_bytes=5 << 25,
    precision_mode='FP16',
    minimum_segment_size=1
)
with tf.Graph().as_default() as infer_graph:
    tf.import_graph_def(trt_graph, name="")

Traceback:
INFO:tensorflow:Running against TensorRT version 4.0.1
[INFO 2018-07-13 10:40:36,867 tf_logging.py:115] Running against TensorRT version 4.0.1
2018-07-13 10:40:38.625151: I tensorflow/core/grappler/devices.cc:51] Number of eligible GPUs (core count >= 8): 2
2018-07-13 10:40:41.120095: I tensorflow/contrib/tensorrt/convert/convert_graph.cc:747] MULTIPLE tensorrt candidate conversion: 428
2018-07-13 10:40:41.120688: I tensorflow/contrib/tensorrt/convert/convert_nodes.cc:2858] Segment @scope 'rnn/RNN_2/BGRU_2/bw/bw/while/custom_gru_cell/', converted to graph
<...many segment conversion messages...>
2018-07-13 10:41:02.943808: E tensorflow/contrib/tensorrt/convert/convert_graph.cc:711]  Can't find a GPU device to work with. Please instantiate a session to initialize devices
2018-07-13 10:41:02.943813: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:833] Can't identify the cuda device. Running on device 0
2018-07-13 10:41:02.946091: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:846] Engine creation for segment 108, composed of 1 nodes failed: Invalid argument: Output node 'rnn/RNN/BGRU_0/bw/bw/TensorArrayUnstack/strided_slice/stack_2' is weights not tensor. Skipping...
2018-07-13 10:41:02.946118: E tensorflow/contrib/tensorrt/convert/convert_graph.cc:711]  Can't find a GPU device to work with. Please instantiate a session to initialize devices
2018-07-13 10:41:02.946123: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:833] Can't identify the cuda device. Running on device 0
2018-07-13 10:41:02.948399: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:846] Engine creation for segment 109, composed of 1 nodes failed: Invalid argument: Output node 'rnn/RNN/BGRU_0/bw/custom_gru_cell/BatchNorm/moving_mean/read' is weights not tensor. Skipping...
2018-07-13 10:41:02.948426: E tensorflow/contrib/tensorrt/convert/convert_graph.cc:711]  Can't find a GPU device to work with. Please instantiate a session to initialize devices
2018-07-13 10:41:02.948430: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:833] Can't identify the cuda device. Running on device 0
2018-07-13 10:41:02.950709: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:846] Engine creation for segment 110, composed of 1 nodes failed: Invalid argument: Output node 'rnn/RNN_1/BGRU_1/fw/fw/ExpandDims/dim' is weights not tensor. Skipping...
2018-07-13 10:41:02.950719: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:715] Can't determine the device, constructing an allocator at device 0
2018-07-13 10:41:02.950731: F ./tensorflow/core/common_runtime/gpu/gpu_id_utils.h:50] Non-OK-status: GpuIdManager::TfToCudaGpuId(tf_gpu_id, &cuda_gpu_id) status: Not found: TensorFlow device GPU:0 was not registered
Aborted (core dumped)

I have also faced the same issue with PR #20350

This is a bug in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/tensorrt/convert/convert_graph.cc#L731, and will be fixed by #20318. Please wait for that PR to be merged and try again later.
Thanks.

Nagging Assignee @aaroey: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I tested the script provided by @k-anastasia and it works well.

@aaroey I still have the same issue with this PR merged. Although not core dumped, it end up with not changing the graph. The log information shows failed in TensorRT engine creation.

2018-08-07 15:19:10.464436: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:814] Can't identify the cuda device. Running on device 0
2018-08-07 15:19:10.469900: E tensorflow/contrib/tensorrt/log/trt_logger.cc:38] DefaultLogger runtime.cpp (16) - Cuda Error in allocate: 2
2018-08-07 15:19:10.470166: E tensorflow/contrib/tensorrt/log/trt_logger.cc:38] DefaultLogger runtime.cpp (16) - Cuda Error in allocate: 2
2018-08-07 15:19:10.470190: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:827] Engine creation for segment 1, composed of 22 nodes failed: Internal: Failed to build TensorRT engine. Skipping...

@qinyao-he since it's different from this issue, would you please file a separate issue for that?
Thanks.


Html

HTML Clipboard Format support (some fixes)

HTML Clipboard Format support (some fixes), hope it fix the issue

Sorry for later, LGTM.
Thanks for your contribution.

yeah


Arrays of Composite Types

Hello,
I just came across this great little gem. I'd like to use it to store arrays of composite types. It looks like that isn't supported right now; is this a planned feature? If so, do you have any thoughts on how it would be implemented? Thanks!

After more trial-and-error, it looks like if I use the create_table do … end syntax array columns work, however if I directly create the table using CREATE TABLE, it gets confused and fails to save any objects to the table. Any idea what might be going on? Thanks!

Upon further inspection, it looks like some sort of load issue. If I define a class on the console for a table like so:
logan@bender (OSX) $ bundle exec rails console
Loading development environment (Rails <IP_ADDRESS>)
2.1.7 :001 > class TestTable < ActiveRecord::Base; end
 => nil
2.1.7 :002 > TestTable.columns

It correctly loads the type. But if I reference a Model object in app/models, it does not. I put the following snippet in my application.rb:
    #For composite type support
    ActiveSupport.on_load :active_record do
       Dir[Rails.root.join('app/composite_types/*.rb')].each { |file| require file }
    end

Further trial-and-error indicates that if ActiveRecord encounters a column with an array of composite types before encountering a scalar column, it fails to load properly.

Hi @loganb! Thanks for reporting this issue and sorry you had to wait such long time for any response. Since I was not directly involved in development of activerecord-postgres-composite-types, could you help me reproduce the problem?
Things I'd like to know:

Which Rails version are you using?
What complex type did you try to use?
What was your CREATE TABLE statement mentioned in your second comment?

I'll try to nail down a simple repo case here shortly.

@katafrakt I have this problem also.
How do I have to solve it?
  CREATE TYPE family AS
  (
    name character varying,
    age  integer
  )

  add_column :user, :families, :family, array: true

I execute migration, than receive this message and cannot save to table.
  unknown OID 33556: failed to recognize type of 'families'. It will be treated as String. # when i migrate

  TypeError: can't cast Array to # when i save the instance.

Rails Version is 4.2

@loustler This has something to do with PostgreSQL version. Which version are you using?

@katafrakt PSQL version is 9.6.3

@katafrakt Could you plz keep me updated about this issue?

@loustler I wish I could - but please note that I didn't contribute any single line of code to this project. 9.6 should be supported version and my knowledge is probably too limited to debug this easily. Even if I did, I don't have push rights to publish new version to rubygems (@rafalbigaj do you have it?). So I'm sorry, but I'm probably not your man.


Resolved Bug 499 : Storybook >Charts>Pie Chart> Small & large mobile view alignment issue color and chart.

Description
Implemented necessary CSS adjustments within custom-theme.css
Screenshots

@shivani-bhalerao  Please add only one min-width for responsiveness

@shivani-bhalerao Please add only one min-width for responsiveness

Done


qutebrowser: add wrapQtAppsHook

This commit fixes the error:
Could not find the Qt platform plugin "xcb" in ""
Closes #64984
Closes #65290

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

With wrapGAppsHook, the wrapper looks like this:
#! /nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash -e
export GIO_EXTRA_MODULES='/nix/store/r78d406bbjbb6ziwqgyvxs8si25cadrq-glib-networking-2.60.3/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES
export XDG_DATA_DIRS='/nix/store/inlknqkinymvskvigpj345mfyfdvichx-gtk+3-3.24.10/share/gsettings-schemas/gtk+3-3.24.10:/nix/store/r3g9yn2cw6239szfq65q2cxw4cg35a81-gsettings-desktop-schemas-3.32.0/share/gsettings-schemas/gsettings-desktop-schemas-3.32.0'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export XDG_DATA_DIRS='/nix/store/81k455cvnlfcf3an8zs4y41vwi0g2vyd-qutebrowser-1.6.3/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export GST_PLUGIN_SYSTEM_PATH_1_0='/nix/store/nr5hv7dklhgxd684lsqqbxf7sh7w4zf5-gstreamer-1.16.0/lib/gstreamer-1.0:/nix/store/ynkfgyhz7jghvy524y0xxypx2fn9pfy6-gst-plugins-base-1.16.0/lib/gstreamer-1.0:/nix/store/0d1x359zfyjc2j9snf9dym3avkxbqbnj-gst-plugins-good-1.16.0/lib/gstreamer-1.0:/nix/store/gl82wwf8jkjbln6ivdam760phdiang7f-gst-plugins-bad-1.16.0/lib/gstreamer-1.0:/nix/store/xg67dk9vwzsvdgd5ks20ikckic4j82lr-gst-plugins-ugly-1.16.0/lib/gstreamer-1.0:/nix/store/xmv4gcr8jljch61zca551f84dkmxkrci-gst-libav-1.16.0/lib/gstreamer-1.0'${GST_PLUGIN_SYSTEM_PATH_1_0:+':'}$GST_PLUGIN_SYSTEM_PATH_1_0
export QT_PLUGIN_PATH='/nix/store/qa3faa7dy41wxd1y2ldmg5fzc3pdwb10-qtbase-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/js4fqglx52l2gb8f1ad34r8b11xj3y5w-qtsvg-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QML2_IMPORT_PATH='/nix/store/319j582m94yaar88d6qk03rgm658l26f-qtquickcontrols-5.12.0/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QT_PLUGIN_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export XDG_DATA_DIRS='/nix/store/81k455cvnlfcf3an8zs4y41vwi0g2vyd-qutebrowser-1.6.3/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
exec -a "$0" "/nix/store/81k455cvnlfcf3an8zs4y41vwi0g2vyd-qutebrowser-1.6.3/bin/.qutebrowser-wrapped_"  "${extraFlagsArray[@]}" "$@"

Without wrapGAppsHook, the wrapper looks like this:
#! /nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash -e
export QT_PLUGIN_PATH='/nix/store/qa3faa7dy41wxd1y2ldmg5fzc3pdwb10-qtbase-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/js4fqglx52l2gb8f1ad34r8b11xj3y5w-qtsvg-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QML2_IMPORT_PATH='/nix/store/319j582m94yaar88d6qk03rgm658l26f-qtquickcontrols-5.12.0/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QT_PLUGIN_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export XDG_DATA_DIRS='/nix/store/i7kqq9zfrw6bvm02gq5xp1vpkj76b858-qutebrowser-1.6.3/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
exec -a "$0" "/nix/store/i7kqq9zfrw6bvm02gq5xp1vpkj76b858-qutebrowser-1.6.3/bin/.qutebrowser-wrapped_"  "${extraFlagsArray[@]}" "$@"

A brief smoke-test didn't reveal any issues at runtime, but I want to test it further before committing to removing wrapGAppsHook.

Ah, it would be needed for glib-networking and gstreamer which I didn't check.

Think this should be good, do you want to combine this with a change like #65150 @emmanuelrosa  ?

Yes, @worldofpeace
I'll go ahead and apply the qutebrowser-1.7.0 commit


feat(robo): default help menu with pagination

[x] Confirmed its working with 25+ cmds!

fix #371

currently am  using default embed design with simple 2 forward & backward btns to avoid clutter

if any new embed design is desired, kindly let me know


Document covid_naat_pct_positive_7dav in dsew-cpr

Closed by https://github.com/cmu-delphi/delphi-epidata/pull/1404/files


Dockerhub image

Hi,
loved the project. We are testing it to use in our environments.
Any idea why you don't have an image on dockerhub?
https://hub.docker.com/r/boxinc/kube-applier/
Lists there are no tags.

Multi-stage builds supported in #33 @gregory-lyons

The image is now available on DockerHub: https://hub.docker.com/r/boxinc/kube-applier/tags
Looks like I don't have the permission to close issues here, can you help close this please? @gregory-lyons


Logging previous and next state incorrect

When using redux-logger in the Chrome debugger the prev state is incorrect, and always matches next-state, seems to be a reference error. This is not an issue in the (now unsupported) react-native-redux-router though.
I'm unsure if this is an issue local to my reducer, or an internal issue of react-native-router-flux.
Here's the action I'm performing in the reducer
case ON_PUSH:
      var newRouterState = action.routerState
      newRouterState.push(action.route)
      return {
        ...state,
        routerState: newRouterState
      };

Attached image shows the routerState array containing two objects before and after the ON_PUSH action, though prev state should only contain one.

+1

Could you clarify? The component doesn't use redux.

I'm closing it for now because of lack of details


(4.0.0 branch) typo

fixing typo

Fixing typo introduced by https://github.com/wso2/docs-apim/pull/3999/files


pprn 3000 never starts

What happened?
It said starting port 3000
Operating System
Linux
Relevant log output
Last login: Sat Jul 20 15:40:00 2024
alfonsop123@raspberrypi:~ $ sudo docker run docker-conpose.yml
Unable to find image 'docker-conpose.yml:latest' locally
docker: Error response from daemon: pull access denied for docker-conpose.yml, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
alfonsop123@raspberrypi:~ $ sudo docker run pluja/blogo:latest
1:19AM INF Using path: /app
1:19AM WRN No .env file found, using default settings or environment variables.
11:19PM INF Loaded settings:
11:19PM INF     ~ Title: Blogo
11:19PM INF     ~ Description: Welcome to my Blogo 🎈
11:19PM INF     ~ Url: http://localhost:3000
11:19PM INF     ~ Keywords: blog, blogo
11:19PM INF     ~ Timezone: UTC
11:19PM INF Starting server on port 3000...

Code of Conduct

[X] I have searched for simmilar issues
[X] I am sure my issue is related to blogo
[X] I have searched for the error message on the internet

I can't assist you. You don't even read the errors. This has 0 relation to blogo.
Some hints:

the file is named docker-conpose.yml
you are using docker run for a docker compose


[v6] ARRAY_MOVE action gets triggered twice

I came accross an issue with the ARRAY_MOVE action. I was using this in one of my components:
this.props.fields.move(oldIndex, newIndex);

This triggered the ARRAY_MOVE action as I would expect, but it triggered it twice! That way we move oldIndex to newIndex and then move the two items again. The actions effectively cancel themselve out in this way.
If I replace the code above with this snippet, it works:
const direction = newIndex > oldIndex ? 1 : -1;

let current = oldIndex;
while (current !== newIndex) {
  fields.swap(current, current + direction);
  current = current + direction;
}

Every call to swap is only called once. I therefore assume that my issue is very related to the new move action. I have tried to debug it, but I'm not sure where the source of the problem lies. It seems that infact, the arrayMove action creator of redux-form is only called once. However the redux dispatch receives the ARRAY_MOVE action twice.
Very weird.
I think this is the same issue as described in #1260, but is not related to react-anything-sortable.

I hit this issue as well a couple of days ago.

@clayne11 Care to share your implementation w/ react-dnd?

This is very bizarre. You're absolutely sure that fields.move() is only called once? So...
console.log('Moving', oldIndex, newIndex);
this.props.fields.move(oldIndex, newIndex);

only prints out one entry in the console?

@erikras Unfortunatelly yes, I'm quite sure. I even placed a log statement in the source of redux-form itself inside the action creator, and it gets called only once.
I'll try to debug it more at some point, for now we have the swap workaround in place and using redux-form with great pleasure :fountain:
You did superb work with redux-form! Thanks so much.

I can confirm the same. Am also iterating on swap as a workaround.

Same thing here when trying to use react-dnd. Very confusing.

I'm experiencing this on 7.0.1 (using redux-form/immutable) with any array actions when attempting to dispatch them (not call them directly on fields.)
My use case is a list of lists, where the user can sort lists, sort list items, and drag list items from one list to another.
const value = fields
  .get(oldParentIndex)
  .getIn(['childList', oldChildIndex]);

// remove from source list
dispatch(remove(
  `parentList[${oldParentIndex}].childList`,
  oldChildIndex
));

// insert at new position
dispatch(insert(
  `parentList[${newParentIndex}].childList`,
  newParentIndex,
  value
));

The end result is that list item being moved is removed from its original list twice, then inserted into the new list twice (creating a duplicate object.)
The above swap workaround was causing double ARRAY_SWAP actions for me as well.

Because this issue saw almost no activity for a few months, I'm closing it.


Code Signing Doge Releases with Pub/Private Keys created from Sound of [Universe + Moon + Earth Tides + SpaceX Raptor] and measurements of [Earth to Moon Distance + Mars Station Sqft + Tesla Roadster Travel Distance] and Doge Community Signatures

Have you ever code signed a distribution of Doge. If not
Here is my crazy idea to generate the Universe Strong cryptographic Key creation, which makes doge distribution

Ensure that a piece of code has not been altered since it was signed.
Identify code as coming from a specific source (a developer or signer).
Determine whether code is trustworthy for a specific purpose.

There are some factors to consider while creation of public private key pairs for the code signing, which makes difficult to crack by this universe at least.

Sound of [Universe + Moon + Earth Tides + SpaceX Raptor]  (Dynamic)
Measurements of [Earth to Moon Distance + Mars Station Sqft + Tesla Roadster Travel Distance]  (Dynamic)
Doge Community Signatures (Dynamic)

Thanks for giving people an opportunity to be a part of peoples currency. Doge to the Moon. :)

I like to write something constructive before closing but I have no good way to tell you this isn't practical to implement.


Strange behavior in Firefox browser when page transition.

Hi. I notice this issue was closed for wrong reason. I have the same issue. This is not a FOUC! It's in production! https://github.com/nuxt/nuxt.js/issues/1002

Hi. Please track updates from #1376.


Question: Tools for version management GitLab, GitHub, Bitbucket ... etc.

Question/Feature Request
Thinking about the problem of allowing more registries.
Anyone know a Cli's which automatically create version numbers for projects with git/svn/other remotes? It does not seem difficult but a matter of someone who put in the time to contact the Api's: GitLab, GitHub ... etc.

Meaning when you run hypothetical "remote-publish" it will check your Package file for the version number of your project and make a /Put to update the remote location such as GitLab to create a new version.
If the /Put request fails then the ds publish command could fail and require users to upgrade their version number in the Package file.
Posible wrapper in bash for adding a package check to 'ds'
ds(){
  remote-publish $(git remote get-url origin) &&
  $(which ds) $* $H ||
  echo 'Upgrade version in Package file to publish';
};

Related to #142, #141
Hope this communication makes sense.
If this does not seem helpful feel free to close the issue.
Some of the communication in the project has gone over my head.
Happy to communicate further for clarity.

Note: this might not be a problem entropic is trying to solve. People can manage their versions manually. However, I have found that development is more seamless when the 'Package file' synced up with the Repository.

I'm a little confused about what you're asking, are you looking for something like npm version or cargo bump followed by git push --follow-tags?

@zacanger, git push --follow-tags was exactly what I was looking for.
This would solve the problem for Github, Gitlab, and Bitbucket. 👍
https://gist.github.com/DarrenN/8c6a5b969481725a4413#gistcomment-1694379

git tag $(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git push --tags

If a command like this was built into ds publish as a pre-publish instead of a post-publish it could help to determine whether a package has been published to a registry.
But maybe this is a bad idea because it may make sense to publish a package with the same version to multiple registries.
Anyway thanks for the comment.
I did not know about the git push --follow-tags command.
I Learned something new today. 🎉


Question Bank
I've created a question bank and have already committed ~30 answers myself.
There are several questions in the bank that I still think deserve modern gazpacho answers.
Contributing
If you decide to answer any of the questions in the bank (or find another one that you think deserves a gazpacho answer, please submit a PR with a link to your answer!
Importantly, these answers should be high quality (we want to convince users that gazpacho > bs4), respectful, and the opposite of obnoxious.
Example
I found this question by searching for popular [web-scraping], [python] questions. It has 55k views, 19 upvotes and the original link is dead. Given that it gets a lot of traffic, I thought it deserved a new modern answer... here it is:

The original link posted by OP is dead... but here's how you might scrape table data with gazpacho:
Step 1 - import Soup and download the html:
from gazpacho import Soup

url = "https://en.wikipedia.org/wiki/List_of_multiple_Olympic_gold_medalists"
soup = Soup.get(url)

Step 2 - Find the table and table rows:
table = soup.find("table", {"class": "wikitable sortable"}, mode="first")
trs = table.find("tr")[1:]

Step 3 - Parse each row with a function to extract desired data:
def parse_tr(tr):
    return {
        "name": tr.find("td")[0].text,
        "country": tr.find("td")[1].text,
        "medals": int(tr.find("td")[-1].text)
    }

data = [parse_tr(tr) for tr in trs]
sorted(data, key=lambda x: x["medals"], reverse=True)

Looking forward to your contributions!

I also like to contribute my gazpacho answers to the unanswered questions.
Can you tell what does this 🥫 mean in the Answer column?

Answered with a gazpacho answer! (Soup can emoji 😉)


Datepick container not aligned with input fields because of no clr-row

Describe the bug
Datepick field is not aligned with Input fields. Looks like closed #2945 doesn't fix problem.
How to reproduce
https://stackblitz.com/edit/clarity-light-theme-v1-0-xpx9tk
Steps to reproduce the behavior:

Add input fields and datepick field to form

Expected behavior
All fields aligned.
Versions
App

Angular: 7.0.0
Node: 6.5.0
Clarity: 1.0.3-patch

Device:

Type: MacBook
OS: macOS Sierra 10.12.6
Browser: Chrome
Version: 71.0.3578.98

Additional notes
Problem:

In Stackblitz:

clr-row not presented for datepick-container:

Input container:

Datepick container:

Fix:

Index: src/clr-angular/forms/datepicker/date-container.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/clr-angular/forms/datepicker/date-container.ts	(revision 13da85b7f66a5433bdf39f40d14014731180b1c8)
+++ src/clr-angular/forms/datepicker/date-container.ts	(date<PHONE_NUMBER>000)
@@ -90,6 +90,7 @@
     '[class.date-container]': '!newFormsLayout',
     '[class.clr-form-control-disabled]': 'control?.disabled',
     '[class.clr-form-control]': 'newFormsLayout',
+    '[class.clr-row]': 'addGrid()'
   },
 })
 export class ClrDateContainer implements DynamicWrapper, OnDestroy {

I added new dev example ("With other type fields") where datepick combined with input field for easily spot related bugz.
Before fix:

After fix:


Execveat exit event not working properly

Describe the bug
In our tests of several versions of the libs between 0.31.1 and 0.32.1 (inclusive), we observed that the execveat system call exit is  propagating to libsinsp as execve (ev->get_type() returns 293 instead of 331). We also noticed that m_exepath is miscalculated, while m_exe is correct. This is observed from live captures with eBPF/kmod drivers and pre-recorded scap file.
How to reproduce it
To reproduce, compile the following code:
#define _GNU_SOURCE
#include <sys/syscall.h>
#include <linux/fs.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>

// Adapted from "Bypass Falco" presentation (Leonardo Di Donato)
// Note: execveat was introduce in Linux kernel v3.19

int main(){
    int dirfd = open("/bin/echo", O_RDONLY);
    const char* pathname = "";
    const char* argv[] = { "echo", "ciao", "ciccio", "pasticcio", "buon", "capriccio", NULL };
    const char* envp[] = { NULL };
    unsigned int flags = AT_EMPTY_PATH;
    int rc = syscall( SYS_execveat, dirfd, pathname, argv, envp, flags);
    printf("errno: %d\n", errno);
}

From the latest release of sysdig (0.29.3):
2108 03:58:54.708899207 16 example (59192.59192) > openat dirfd=-100(AT_FDCWD) name=/bin/echo flags=1(O_RDONLY) mode=0
2109 03:58:54.708915746 16 example (59192.59192) < openat fd=3(<f>/bin/echo) dirfd=-100(AT_FDCWD) name=/bin/echo flags=1(O_RDONLY) mode=0 dev=CA02
2110 03:58:54.708918923 16 example (59192.59192) > execveat dirfd=3(<f>/bin/echo) pathname=(/bin/echo) flags=1(AT_EMPTY_PATH)
2111 03:58:54.709185619 16 3 (59192.59192) < execve res=0 exe=echo args=ciao.ciccio.pasticcio.buon.capriccio. tid=59192(3) pid=59192(3) ptid=76505(bash) cwd= fdlimit=1024 pgft_maj=0 pgft_min=70 vm_size=364 vm_rss=4 vm_swap=0 comm=3 cgroups=cpuset=/.cpu=/user.slice.cpuacct=/user.slice.io=/user.slice.memory=/user.slic... env= tty=34841 pgid=59192(3) loginuid=1002 flags=0```

Printing the values directly from the sinsp event's exit, we get:
type: 293, exepath: /home/<path-to-example-dir>/example exe: echo

Expected behavior
The event type (as returned by ev->get_type()) should be 331 (denoting execveat) on exit. Also, m_exepath should be "/bin/echo" in this example code.
Environment

Distro:
Ubuntu 18.04.4 LTS
Kernel:
4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Hey @araujof thank you for pointing this out! For what concern the execveat exit event, this is the normal kernel behavior, since execveat is a wrapper of execve, when the call succeeds the event returned is simply an execve exit event. Only in case of syscall failure we can observe an execveat exit event... you can find more information in this PR, where the support for execveat was introduced.
The exepath issue is new to me, so I need to take a closer look at it :eyes: thank you again for having highlighted it!

@Andreagit97 Thanks for getting back to me quickly and pointing to the PR :)

@Andreagit97 thanks a bunch! We will test.

@Andreagit97 I tested PR #552 with the program example above, and it solves the exepath issue. Below is a SysFlow trace showing the correct exepath's (Cmd field). Thanks!


Flutter doctor - Visual Studio Error

Steps to Reproduce

I installed Visual Studio and also Desktop Development with C++ worload and components but I got an error as following
Logs

Logs

Visual Studio - develop for Windows (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know
about this issue at https://github.com/flutter/flutter/issues.
✗ Exception: Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: [
{
"instanceId": "bbf0827c",
"installDate": "2022-05-14T16:24:47Z",
"installationName": "VisualStudio/17.2.0+32505.173",
"installationPath": "C:\Program Files\Microsoft Visual Studio\2022\Community",
"installationVersion": "17.2.32505.173",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe",
"state":<PHONE_NUMBER>,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "G��l� IDE, ��renciler i�in �cretsiz, a��k kaynak katk�da bulunanlar� ve bireyler",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual
Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"installedChannelUri": "https://aka.ms/vs/17/release/channel",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2#17.2.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-05-14T16:24:47.916153Z",
"catalog": {
"buildBranch": "d17.2",
"buildVersion": "17.2.32505.173",
"id": "VisualStudio/17.2.0+32505.173",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "17.2.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "7.0",
"productSemanticVersion": "17.2.0+32505.173",
"requiredEngineVersion": "3.2.2146.50370"
},
"properties": {
"campaignId": "2030:ddf40bc8-0296-4b24-9089-aaf452788280",
"channelManifestId": "VisualStudio.17.Release/17.2.0+32505.173",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
}
]
.


Inconsistent syntax highlighting for shell case statements

Type: Bug
In a shell script case statement:

when the case pattern and command are placed on separate lines, the highlighter correctly recognizes the commands/arguments and colors them appropriately; they get placed into appropriate scopes.

When the case pattern and command are placed on the same line, the command and arguments are not recognized as such and are simply placed in a scope for a case clause body, which has no special highlighting.

Example:
#!/bin/sh
case "$1" in
case1)
cmd1 cmd1_arg1 cmd1_arg2 cmd1_arg3;;
case2) cmd2 cmd2_arg1 cmd2_arg2 cmd2_arg3;;
esac

On line 4:

cmd1 is placed in the "entity.name.command.shell" textmate scope, with its own foreground color (for me '#DCDCAA')
cmd1_arg1, cmd1_arg2, and cmd1_arg3 are each placed into "string.unquoted.argument.shell" scope with a foreground color set (for me '#CE9178')

On line 5:

Everything on this line displays with the default foreground color (for me '#D4D4D4')
This is because " cmd2 cmd2_arg1 cmd2_arg2 cmd2_arg3"  is placed into the "meta.scope.case-clause-body.shell" scope, which has no foreground color set.

Results:
command highlighting happens only when command placed on its own line
Expected results:
Commands/arguments to be highlighted regardless of where they occur in a case statement
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz (12 x 3096)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.86GB (2.23GB free)

Process Argv
--crash-reporter-id 55116356-9d3a-4bbf-a90e-d385b50ead6b

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

debugpy
ms-
2024.2.0

python
ms-
2024.2.1

vscode-pylance
ms-
2024.3.1

jupyter
ms-
2024.2.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

powershell
ms-
2024.0.0

shellcheck
tim
0.37.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30986171
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30981707
cppperfcontrol:30979541
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
dsvsc020:30976470
gee8j676:30988843

Same thing happens for keyword highlighting.
#!/bin/sh
#shellcheck disable=SC2034
case "$1" in
	i) id="$OPTARG";;
	*)
esac

case "$1" in
	i)
		id="$OPTARG";;
	*)
esac

On line 4:
" id" is placed into the meta.scope.case-clause-body.shell texmate scope, which has no foreground color set (so it displays with the default ('#D4D4D4')
On line 10, "id" is placed into the variable.other.assignment.shell scope and is highlighted as a variable (for me set to '#9CDCFE')

should move the report to the upstream repo https://github.com/jeff-hykin/better-shell-syntax

👍 moved to https://github.com/jeff-hykin/better-shell-syntax/issues/80

How is this an "upstream issue"? vscode has support for syntax highlighting for shell scripts and has this inconsistency.
The fact that an extension (that the user doesn't have installed) covers it better is a nonsequitur.

VSCode uses that extension as the built-in Shell script grammar

VSCode uses that extension as the built-in Shell script grammar

Ah. And the installable extension is a newer version of it. I see.

Just updated VS Code to use the latest from https://github.com/jeff-hykin/better-shell-syntax


Do not edit providers.tf

Describe the bug
Editing providers.tf  prevents using a read only mount in the container. This prevents the   simulator infra create command from working as it edits a file on a read-only filesystem. Issue found when working #100
To Reproduce
Steps to reproduce the behavior:

Mount a local terraform dir into the container using -v $(shell pwd)/terraform:/app/terraform
Run simulator infra create

Expected behavior
We should be able to mount this directory into the container as read-only to facilitate local workflow and prevent accidental edits going back to the host fs.
These links may help:
tf docs
Github issue

Has this been address by issue #100 ?

Nope, before #100 this wasn't a problem as the edited files stayed in the container so edits to terraform/deployments/AWS/providers.tf could find their way back to the host. Since #100 there is the possibility of someone committing their bucket name back to the repo.

Unfortunately this file need to be written to configure the S3 bucket to use in terraform.
Potentially this could be reverted as part of the exit clean up, but there could be an issue with that, so would be need testing obviously

Main issue here is that we need to have the ability to re-run make run and still have access to the S3 bucket.  This is to cover the event that someone exits out of the simulator too early and wants to be able to run simulator again to destroy the hanging infrastructure

As discussed with @pi-unnerup on a call - In order to mount the terraform directory as readonly we need to write the settings/bastion.tfvars file to a different location inside the container.  I think that we need a separate ticket for that work and keep the scope of this ticket to stopping writing the providers.tf file.


Add optional DeepSpeed support

As discussed in #137, here's DeepSpeed support. If DeepSpeed is not available, everything should work just like before.
Please also try to test this with working parameters to ensure everything behaves correctly. I didn't have a working baseline at hand.

Amazing! Thank you!


tns does not see css changes

I changed the styles in a single-file component, webpack worked, but tns does not see changes.
Am I the only who has this behaviour?

same issue

I am also facing the same issue. I have some styling defined in a component but this is not applied in the app.

Same issue here, im editing the app.scss file.

Don't use this template anymore
u guys have to migrate to this repo https://github.com/nativescript-vue/vue-cli-template

This template is being deprecated in favor of the Vue Cli template. vue-cli simply deals with these problems much nicely...


update dependency react-native-modal

Thank you!

@mmazzarolo Can you please release this as a new version on NPM?

I'm away from my personal PC right now, I'll probably release it tomorrow. In the meanwhile you can target the master branch from your package.json.

That'll be great. Thanks!

Published in 6.1.0!


Warning when using device_options.retain in HomeAsssistant plugin

Description of problem:
I have the following section in my Zigbee2mqtt plugin config in HomeAssistant:
device_options:
  retain: true

This causes the following warning in the Supervisor logs:
21-08-23 18:20:59 WARNING (MainThread) [supervisor.addons.options] Unknown option 'retain' for Zigbee2mqtt (45df7312_zigbee2mqtt)

Zigbee2mqtt add-on version
><EMAIL_ADDRESS>start

Running platform
Core: core-2021.8.8
Supervisor: supervisor-2021.06.8
Operating System: Debian GNU/Linux 10 (buster)

Your logs from Home Assistant Supervisor
21-08-23 18:19:08 WARNING (MainThread) [supervisor.addons.options] Unknown option 'retain' for Zigbee2mqtt (45df7312_zigbee2mqtt)

I've had a look at z2m configuration docs and I think this option does not exist under device_options.
I've seen it referenced under Device specific configuration which would require you to configure it in the add-on using devices.yaml option.

In this section it says:

The default values used for the device specific configuration can be overriden via e.g.:

If I understand that correctly it means that you can override any defaults, meaning that you can set any property that you would use in the Device specific configuration.

I've had a look again at historical issues and you are correct. The current problem is with a limitation on the add-on itself.
device_options as it currently stands can get some options added (I will try to add retain on edge) however if the device options are more than 1 layer deep it will not work on the add-on due to how configuration options are restricted in home assistant add-on to maximum two levels.
works:
device_options:
  retain: true

does not work:
device_options:
  homeassistant:
    expire_after: 30


TA screen shots, Tekton Pipeline screens and update to contents

Updated contents to App modernization workshop and Images related to App modernization and tekton pipeline

Updated contents to App modernization workshop and Images related to App modernization and tekton pipeline