Feature for getting intent results, and applying actions performed on Notification, with docuementation

Fixes #44
Fixes #48

@yunus-ceyhan please review the code, Don't merge yet as I have not updated the doc on README.md. You can run a simple test with the code below. Request for notification permission if you are targeting API 33 and above. also add the permission to your .spec file
from kvdroid.jclass.android.graphics import Color
from kvdroid.tools.notification import create_notification
from kvdroid.tools import get_resource

print(dir(get_resource("mipmap")))

from android.permissions import Permission, request_permissions  # NOQA
request_permissions(
	["android.permission.POST_NOTIFICATIONS"
])

create_notification(
    small_icon=get_resource("mipmap").icon,  #replace .icon without the extension (.png, jpeg....) with whatever name you gave your application icon
    channel_id="1", title="You have a message",
    text="hi, just wanted to check on you",
    ids=1, channel_name=f"ch1",
    large_icon="assets/logo.png",
    small_icon_color=Color().rgb(0x00, 0xC8, 0x53),  # 0x00 0xC8 0x53 is same as 00C853
    big_picture="assets/logo.png",
    extras={"tap": ()}

)

@kengoon Unfortunately I can't, at least for a while. My laptop malfunctioned, I'm using my daughter's laptop temporarily which only has Windows and she doesn't want me to install much programming stuff :)

@yunus-ceyhan I will solve that issue for you by sending you my PyjniusTester APK, you can directly test it on your phone, I will bundle the code into it so that you don't need to type at all. But you will need adb to see that when you tap the notification an action is performed

@yunus-ceyhan I will solve that issue for you by sending you my PyjniusTester APK, you can directly test it on your phone, I will bundle the code into it so that you don't need to type at all. But you will need adb to see that when you tap the notification an action is performed

fine then, I have adb

@kengoon btw why don't you use Firebase test lab if you need to test it on more devices with different APIs?
https://firebase.google.com/docs/test-lab
just install your pyjniustester then test on any device you want. for further devices, you can create a Huawei developer account and test it on Huawei devices as well.

@yunus-ceyhan thanks for that, I have never heard of that before. I will check out firebase test lab right away. Is Huawei free?
Do I still need to send you the APK or should I go ahead and do the testing my self and then report back results so you can go ahead and merge?

@kengoon Yeah Huawei is free as well. Yes, it's fine if you test it on a few devices with different APIs, If there is no problem then inform me for the merge whenever it's ready.

@kengoon btw i have an idea but don't know if it's ridiculous.
We have a big performance issue when we intend to do some tasks with pyjnius. For instance, I needed to get all the installed apps activities for one of my apps. When I do that task with pyjnius it nearly takes 10 seconds to complete, but when I execute the same task with pure java it only takes 1 or 2 seconds. So I had to do that task for my app by calling that java function in PythonActivity.java at startup.
So my question is what if we find another way to communicate with Java to do those tasks kvdroid provides?
How to create that channel?
I tried it with OSC protocol just like how we do it to communicate with service.py and actually, it worked but I'm not sure if it's a good approach.
It could be a separate project as well.
what do you think?

@yunus-ceyhan that's exactly what I had in mind too, I wanted to bring the issue up to you but I was a bit not so sure you may like the idea. I think we should start a separate project. In that separate project we will perform all those functions in kvdroid with pure java and then build it into a library that can be added in the Gradle dependency.
I don't know how efficient OSC would be, can you like lay out an example code of how you call Java code from OSC.... Let's way our options before we start

actuall we cant call functions directly, osc only provides sending messages, we could use python-osc library to send messages as commands then create a java listener with using  java oscp5 library, java would get that message (command) analyze then do the task you requested and then send back the result to python client as a message again. the example was in my malfunctioned laptop, but you can ask chat gpt to create a python script to send message via osc and a java listener to get and send back the result.

@yunus-ceyhan I think it's doable with osc, I did some little research on it just few minutes ago (I will still conduct a further extensive research to know the implications).
The idea I currently have on using is to wrap it around async await and then create an build an API (I mean API code not url) around the entire codebase.
I would create a sample code to test this concept by tomorrow or next. For now I would head into more extensive research.

Ok. let me know when you have a working draft of it.

@yunus-ceyhan all good, go ahead and merge


Odds and ends

A variety of changes to help improve optimisation and tidyness.
Home>Index.html

L6 Added page description
L38 - updated Hero img src for compressed image.
L39 - Updated alt tag on Hero image
L51, 58, 66, 74, 84 and 92 - added alt tags to icons
L120, 128 and 136 - added periods for continuity of tags.

About>Index.html

L6 - added page description
L56 - added alt tag to about blurb image
L67 - updated map alt text

hero.css

set max height and width for hero image to help with scaling.

global.css

set a max width on the main of 1200px to optimise content for larger screen sizes.

Relating to Trello Cards:
https://trello.com/c/j2ifxq9d
https://trello.com/c/j2ifxq9d

Yeah, that looks much better on my monitor now. We might also want to apply a max width to the footer but it doesn't matter too much. I tried doing it in DevTools and found I had to wrap it in a div and apply the background to that instead of the footer, then I put the max-width on the footer itself.

It's too narrow with 1200px but 1500px seems to work, though it should maybe be turned into some sort of calc involving its margins:

Backlog task?


Adding text to OOB symbols

Hello,
Is it possible to add text to OOB symbols? If yes, How should I go about it?
Thanks in advance.
-Sam

What do you mean by OOB symbols? As discussed in #67, you can set several text fields on military symbols.

OOB means Order Of Battle i guess. There are few Infantry F symbols in this, which are not part of 2525C symbol library. I wanted to know if text can be added to these OOB symbols as well.

Can you share the code you're using to render non-2525C symbols? Maybe that will help someone give you advice on how to add text. I think you'll probably need to use a second graphic with a TextSymbol but that depends on how you're displaying the symbol.

Closing this issue.


Bug - SDK Docs Broken Link 404

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/330
Originally created by @pnadolny13 on 2022-02-17 19:54:24

https://sdk.meltano.com/en/latest/dev_guide.html#target-development-overview

You can also reference the Meltano Tutorial for a more detailed guide.

Links out to https://meltano.com/tutorials/create-a-custom-extractor.html which gives a 404.
I think the new link should be https://docs.meltano.com/tutorials/custom-extractor.

Stale


[v0.4.26] Fails to initialize CUDA backend after jax_cuda_visible_devices is set

Description
In version 0.4.26:
>>> import jax
>>> jax.config.update("jax_cuda_visible_devices", "0")
>>> jax.devices()
CUDA backend failed to initialize: jaxlib/cuda/versions_helpers.cc:90: operation gpuDeviceGetAttribute( &major, GPU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR, device) failed: CUDA_ERROR_NOT_INITIALIZED (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
[CpuDevice(id=0)]

But it works in version 0.4.23:
>>> import jax
>>> jax.config.update("jax_cuda_visible_devices", "0")
>>> jax.devices()
[cuda(id=0)]

System info (python version, jaxlib version, accelerator, etc.)
A DGX V100 machine
Version 0.4.26
jax                          0.4.26
jaxlib                       0.4.26+cuda12.cudnn89

Version 0.4.23
jax                          0.4.23
jaxlib                       0.4.23+cuda12.cudnn89

I figured it out!  It is due to incorrect jax version.  I need to install jax with cuda12 support.  Reinstalling jax as follows that fixes the issue.
pip install jax[cuda12]==0.4.26 jaxlib==0.4.26+cuda12.cudnn89 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html


Normalize mean and std in tiny_imagenet

When normalizing data in tiny_imagenet, mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225] are used as mean and std, but they are designed for imagenet dataset.
Why not use tiny_imagenet's mean and std  mean=[0.4802, 0.4481, 0.3975], std=[0.2302, 0.2265, 0.2262]?
https://github.com/Westlake-AI/openmixup/blob/084a8f113df34997d041c323a2ea1c9342f5400d/configs/classification/_base_/datasets/tiny_imagenet/sz64_bs100.py#L10-L20

Hi, @zeyuanyin. Thanks for raising this question. In OpenMixup, we only adopt two sets of mean and std, i.e., using the mean and std of ImageNet for all image datasets except for using those statistics of CIFAR-100 for CIFAR-10/100. As you know, it is better to use the local mean and std calculated on each dataset to achieve normalization preprocess. However, we consider using the ImageNet statistics for three reasons:

Except for CIFAR-10/100, the commonly used image classification datasets share similar normalization statistics (the means and stds) and input resolutions as ImageNet-1k. For example, the supported fine-grained datasets usually contain some parts of ImageNet (e.g., CUB-200 and StandfoldCars). As for datasets with smaller resolutions than ImageNet, e.g., STL-10 (96x96x3) and Tiny-ImageNet (64x64x3), they are subsets of ImageNet and can apply the ImageNet statistics.
Using the mean and std to perform normalization matters while applying which statistics have negligible effects on the performance. For example, some projects of Google Research (e.g., EfficientNet) use the mean and std of [0.5, 0.5, 0.5] on ImageNet, which also achieves high performance.
Since transfer learning is a common practice in OpenMixup, applying the same normalization statistics during self-supervised pre-training or supervised training is convenient for conducting transfer experiments.

Overall, we choose to use the mean and std of ImageNet-1k to normalize the input images from Tiny-ImageNet instead of using Tiny-ImageNet's statistics. I hope these reasons will solve your doubts.

Many thanks for your detailed answers.


Oauth 1 & 2

Is this current version compatible with AFOauth1Client and 2Client?
I want to use iOS7 AFHTTPSessionManager primarily.

Both frameworks are not compatible with AFNetworking 3.0

There is a 3.0.0 branch for the OAuth2 library that is compatible, but not yet released.


Ansible warnings

ansible-playbook raises a decent number of warnings, should we look into that
using ansible 2.6.2
TASK [install python 2] ***********************************************************************
changed: [<IP_ADDRESS>]
 [WARNING]: Found variable using reserved name: port

TASK [ubuntu-postgresql : PostgreSQL | Enable service] ****************************************
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or
{% %}. Found: {{ postgresql_service_enabled | bool }}

TASK [fubarhouse.yarn : Yarn | Uninstall] *****************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or
{% %}. Found: yarn_clean_install == true and "{{ ansible_os_family }}" == "Debian" or "{{
ansible_os_family }}" == "RedHat"

TASK [fubarhouse.yarn : Yarn | Include OS-specific tasks] *************************************
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or
{% %}. Found: "{{ ansible_os_family }}" == "Debian" or "{{ ansible_os_family }}" == "RedHat"

TASK [fubarhouse.yarn : Yarn | Install] *******************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or
{% %}. Found: "{{ ansible_os_family }}" == "Debian" or "{{ ansible_os_family }}" == "RedHat"

@clementhannicq yes we should, help is welcome :)


special case for inheritance mapping

There is a special case for inheritance mapping  I think, I  have  3 customer entities,  CustomerC extends CustomerB , CustomerB extend CustomerA, all of them are mapped to a single table, there is no need to use a discriminator , for I will only use CustomerC to get data from database.  I add orm definition for these classes, all of them are mapped-supper-class, and their table is the same . in this case,  the inheritance mapping is just used to separate properties in different class, it seems reasonable to do so, the limitation below is not needed.

A mapped superclass cannot be an entity, it is not query-able and persistent relationships defined by a mapped superclass must be unidirectional (with an owning side only).

right now , is it possible to do this?  I tried but failed,  it might be something I did wrong.

A mapped superclass is a non-entity. It is not a "real thing", so it cannot really extend from a concrete  entity by definition.
The simplest solution to avoid problems like this one is to simply make your intermediate ancestor abstract, so it cannot be instantiated, yet you will be able to extend from it and have actual entities as subclasses.
You will still have to map it as entity and have entries for it in the inheritance map.


OAuth access token and refresh token expiration times

Gitea version (or commit ref): 1.13.0+dev-371-g4d9f59a45
Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
The OAuth2 docs describe REFRESH_TOKEN_EXPIRATION_TIME as the Lifetime of an OAuth2 access token in hours. This seems incorrect looking at the name of the variable.
That aside, I find it strange to have different expiration times for the refresh token and the access token. When you get an access token via the OAuth authorization flow, you get this answer:
{
"access_token":"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJnbnQiOjIsInR0IjowLCJleHAiOjE1NTUxNzk5MTIsImlhdCI6MTU1NTE3NjMxMn0.0-iFsAwBtxuckA0sNZ6QpBQmywVPz129u75vOM7wPJecw5wqGyBkmstfJHAjEOqrAf_V5Z-1QYeCh_Cz4RiKug",
"token_type":"bearer",
"expires_in":3600,
 "refresh_token":"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJnbnQiOjIsInR0IjoxLCJjbnQiOjEsImV4cCI6MTU1NzgwNDMxMiwiaWF0IjoxNTU1MTc2MzEyfQ.S_HZQBy4q9r5SEzNGNIoFClT43HPNDbUdHH-GYNYYdkRfft6XptJBkUQscZsGxOW975Yk6RbgtGvq1nkEcklOw"
}

The expires_in property is the expiration time of the access token (per specification). Hence, a third party application would expect to be able to refresh the access token within 3600 seconds. But in reality, that won't work as the refresh token expires in REFRESH_TOKEN_EXPIRATION_TIME.

it looks like the docs are incorrect here. The name is correct - it sets the REFRESH_TOKEN_EXPIRATION_TIME not the ACCESS token expiration time. I've sent a PR to update them.

@zeripath thanks for the fix ! That was quick 😄 Do you have any comment regarding the fact that there are two settings for those timeouts. How is a third party app expected to refresh the token since the refresh token will have expired long before the 3600 seconds mentioned in the payload as expire_time ? Shouldn't Gitea either return the expiration of the refresh token as well ?

The refresh token is in hours - not seconds

@zeripath I see. Do you think it would be possible to include in the OAuth response a property named refresh_token_expires_in which has that value ? Github does this:
{
  "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a",
  "expires_in": "28800",
  "refresh_token": "r1.c1b4a2e77838347a7e420ce178f2e7c6912e1692",
  "refresh_token_expires_in": "15811200",
  "scope": "",
  "token_type": "bearer"
}

You would probably have to add it here :
https://github.com/go-gitea/gitea/blob/d3b5edacb655ced0135ca5f48544612ccc38890e/routers/user/oauth.go#L109
And here
https://github.com/go-gitea/gitea/blob/d3b5edacb655ced0135ca5f48544612ccc38890e/routers/user/oauth.go#L160
Would be a 2 line pr. (Barring formatting changes.)
Feel free to submit a PR.


Single menu with custom items does not visually show selected items.

Steps to reproduce

Use any menu variant with custom items.
Make a selection.
Menu doesn't visually show selected item in the menu.

Expected behavior
Selected item should show in the menu list.

Released in 6.2.1


ImportError: DLL load failed: The specified module could not be found.

I have successfully installed the diffvg module. Still getting this error. conda list is showing the module.

same


Adding trace ids to email tags

Ticket #3386
Description
Adding DataDog trace and span ids to email tags. Updated email.test.js to set default values for the tags.
Automated and Unit Tests

[ ] Added Unit tests

Manual tests for Reviewer

[ ] Added steps to test feature/functionality manually

Checklist

[ ] Provided ticket and description
[ ] Provided screenshots/demo
[ ] Provided testing information
[ ] Provided adequate test coverage for all new code
[ ] Added PR reviewers

Not sure if email.test.js is correctly updated? I set the default values to undefined, but there's probably some other value I should be initializing it to.


tests/e2e: make cilium version configurable

Make the installed version of Cilium configurable with a new command line flag: -tetragon.cilium-version.
Signed-off-by: William Findlay<EMAIL_ADDRESS>

Merging as vmtests are unaffected by this change.


Set only utilized layer properties

Currently, we are running into issues like:
W/Mbgl: {GLThread 40809}[ParseStyle]: Layer 'mapbox-android-symbol-layer' has an invalid value for text-font and will not render text. Output values must be contained as literals within the expression.

in the result of that, we are not displaying the text-field if there is no provided text-font property, because we default to null or empty arrays for array type properties.
The other issue is:
W/Mbgl: {GLThread 40809}[OpenGL]: The layer 'mapbox-android-symbol-layer' uses more data-driven properties than some devices may support. Though it will render correctly on this device, it may have rendering errors on other devices. To ensure compatibility with all devices, use 1 fewer data-driven properties in this layer.

which would also be resolved by limiting the usage of data-driven properties.

Another example is fill-pattern property used in the FillManager that defaults to null and blocks rendering of fills.


fix: missing sampler pass-through

Discovered when testing example services with sampling configuration, and the honeycomb distro was not honoring SAMPLE_RATE env var.

Codecov Report

Merging #1655 (081851f) into launcher (a3c60ed) will decrease coverage by 0.0%.
The diff coverage is 100.0%.

@@            Coverage Diff             @@
##           launcher   #1655     +/-   ##
==========================================
- Coverage      70.2%   70.2%   -0.1%
==========================================
  Files           147     147
  Lines          7080    7081      +1
==========================================
- Hits           4973    4971      -2
- Misses         1982    1984      +2
- Partials        125     126      +1

Impacted Files
Coverage Δ

launcher/config.go
85.7% <100.0%> (+<0.1%)
:arrow_up:

samplers/jaegerremote/sampler_remote.go
85.4% <0.0%> (-2.0%)
:arrow_down:


Describe supported Tarantool versions with limitations

Too much thoughts how it should look. We'll pass it over. PR #210 was closed by the author.


fix: handle chunk relation

Summary
Chunk relation should be handled at any time processing chunk group connection
Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!canary


Add scrollbox to AI editor

As developers, we need a scrollbox for the AI editor's block list so that when future blocks are added, they can easily and automatically be displayed.
Acceptance Criteria:

[ ] Given the open AI editor, when looking at Blocks available, all implemented blocks should be present inside a scrollbox.
[ ] Given the AI editor code, when looking at where the blocks are displayed, they should be displayed in a manner that allows newly detected blocks and their blockoptions to be added to the scrollbox area automatically. (ex for all blocks, display block and block options)

This task was cancelled, because it required too much re-factoring for us to be able to complete it in time.


Ensure azcopy sync can accurately resume and validate operations

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.6.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy sync http://blobs/ .

What problem was encountered?
Interrupted/damaged downloads are not repaired when sync is re-run.  Even if the files are not the same length, the sync does nothing.
Ideally, I would like a --verify flag for azcopy sync that would not only check the length but also re-check the MD5 for all items in the set.  This would make azcopy sync consistent across re-runs and makes it possible to validate downloads/uploads.
How can we reproduce the problem in the simplest way?
Download some files, then truncate a file to zero bytes in length.
Have you found a mitigation/solution?
Run long (too long to monitor manually) downloads twice, check results are identical.

having MD5 in the blob is optional, so if there is no MD5 stored in the blob we will be downloading the entire blob to check MD5.
Based on this, at this point we cannot accept this request.

Hi, what about checking for file length as mentioned in the original post?


Add param allowing to disable clearing of vehicles inventory/cargo

This commit adds mission parameter which disables clearing of cargo from vehicles.
This allows to use weapons stored in RHS vehicles, so u can take that BMP down with RPG from captured GAZ ;-)
Cargo clearing is enabled by default to preserve current behaviour.

Looks fine, thanks for the contribution.


Add video compression pipeline for all behavior-videos modality data

acceptance criteria

[ ] all .avi and .mp4 files in behavior-videos modality folders will run through this
[ ] codec will be ffmpeg - encoding string is still TBD
[ ] there is a way to specify an alternative encoding string

Create repo called aind-behavior-data-transformation repo and move this ticket there


Document.Anchors is empty

The documentation for IHtmlDocument is:

Gets a list of all of the anchors in the document

So I would expect it to be have the same as QuerySelectorAll("a") but it appears to be empty:
    var html = "page";
    var doc = new HtmlParser().Parse(html);
    Console.WriteLine("Document.Anchors count " + doc.Anchors.Count());
    Console.WriteLine("QuerySelectorAll count " + doc.QuerySelectorAll("a").Count());

Prints

Document.Anchors count 0
QuerySelectorAll count 1

An anchor is any element which has a name attribute.
What you want is document.links.
See https://stackoverflow.com/a/44007462

(Note that document.anchors was removed from the HTML standard https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors)

Thanks @campersau for taking this one!
I agree that the naming is unfortunate, but this is the official name. I've chosen the path to take commonly known "false friends" instead of inventing new ones.


Make Schema Message Dynamic

@denelon - YamlCreate had a static reference to the 1.0 schema; This makes it dynamic to be whatever is referenced in the PR template
cc @jedieaston  @OfficialEsco
Microsoft Reviewers: Open in CodeFlow

@denelon - Any changes needed here?

🚢


MM-19627 Fixing emoji reaction popover.

Summary
Fixing emoji reaction popover by making its onEnter async and reducing the delay.
Ticket Link
https://mattermost.atlassian.net/browse/MM-19627

@crspeller you think you can add some 2e2 tests to this ?

@enahum Not sure e2e tests are appropriate here, since this is a timing thing.

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4344.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed


Example of configGeneral.toml

Could you please provide an example of the configGeneral.toml

found it https://github.com/hcholab/sfgwas/blob/db52ea4b07aec8390abbae13447f5fcdf8469849/config/gwas/configGlobal.toml#L4


Sync should have an option to PUSH changes to the spreadsheet

Issue: I just overwrote my existing text styles using sync. It's more intuitive to push styles from a document than to manually enter them after having created them in sketch.
Workflow:

New file
Mockup designs and create styles
Save File
Sync > Push to GoogleDoc

Confirmation dialog "Are you sure?"
End

That would be cool but sounds really complicated because Sketch would have to authenticate with your Google account to be able to write to the document. Do you know of any plugins that authenticate with a web service?

Send to Slack
Marvel
Invision
Zeplin
All use an API key/token of some sort

What if Sync created it's own file?

I would love to see this progressed. This is one of our biggest issues with Sketch right now. I think there's a real opportunity to create something of value here (worth paying for).

This proposal should not replace the existing PULL feature, rather, it should extend the capabilities of the Sync plugin.
Thought I would clear that up after rereading my remarks.

Google Drive auth is a bit more complicated than just copy/pasting a token.
Sync generating its own csv would probably be easier, and then that csv could be uploaded to Drive.
It could also be done with Sheetsu.

This will log typography styles in csv format. Then you can import this into Google Drive. Still need to figure out how to get character and and line height, and export as a file.
Output:
Style, Typeface, Color, Opacity, Size, Alignment, Line, Character
My Style 1, SFUIText-Light, #000000, 0.34, 15, left, @TODO, @TODO
My Style 2, SFUIText, #333, 1, 24, right, @TODO, @TODO
etc…

Code:
log('Style, Typeface, Color, Opacity, Size, Alignment, Line, Character');

var alignmentEnum = Object.freeze([
  'left','right','center','justified'
]);

var doc = context.document;
var sharedStyles = doc.documentData().layerTextStyles();
var styleObjects = sharedStyles.objects();

for (var i=0; i<styleObjects.length; i++) {
  var name = styleObjects[i].name();

  var attributes = styleObjects[i].style().textStyle().attributes()

  var paragraphStyle = attributes.NSParagraphStyle;
  var alignment = alignmentEnum[paragraphStyle.alignment()];

  var line = "@TODO";
  var character = "@TODO";

  var font = attributes.NSFont.fontName();
  var color = '#' + attributes.NSColor.hexValue();
  var opacity = attributes.NSColor.alphaComponent();
  var size = attributes.NSFont.pointSize();

  log(name +', '+ font  +', '+ color +', '+ opacity +', '+ size +', '+ alignment +', '+ line +', '+ character);
}

Alright, I figured out the missing features and it appears to be all working. Check out the branch (you'll need to download and rename the folder to sync.sketchplugin, then open it). I'll do some cleanup and then merge it in.

Some feedback here would be great! I've been using the branch myself but somehow others always run into issues I don't ;)


Dependencies issue

Hello,
I'm using apalis with those specific feature flags:
apalis = { version = "^0.5.0", default-features = false, features = ["apalis-redis", "tokio-comp"] }
But still in my Cargo.lock I found that apalis-sql cron are downloaded & build:
Cargo.lock
[[package]]
name = "apalis"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82fa3b6942555029a1c59174250602fefa15fe1ad761b5210db36ea7f402a999"
dependencies = [
 "apalis-core",
 "apalis-cron",
 "apalis-redis",
 "apalis-sql",
 "futures",
 "pin-project-lite",
 "serde",
 "thiserror",
 "tokio",
 "tower",
]

Before 0.5.0 a trick was to use apalis-core & apalis-redis instead of apalis. but now I need also to import TokioExecutor which is behind apalis
The moment I enable tokio-comp redis, sql & cron are also enabled
Did I miss something ? or there is something wrong with this code :
tokio-comp = [
    "apalis-sql?/tokio-comp",
    "apalis-redis?/tokio-comp",
    "apalis-cron?/tokio-comp",
    "tokio",
]

Thank you

This is noted, and I will look into it. This is not expected behaviour. Possibly because of tokio-comp

I can confirm that this is caused by including tokio-comp.
This is a priority issue.

Before 0.5.0 a trick was to use apalis-core & apalis-redis instead of apalis. but now I need also to import TokioExecutor which is behind apalis

Meanwhile, a quick work-around with your previous approach can just be a custom implementation:
#[derive(Clone, Debug, Default)]
pub struct MyTokioExecutor;

impl apalis_core::executor::Executor for MyTokioExecutor {
    fn spawn(&self, future: impl std::future::Future<Output = ()> + Send + 'static) {
        tokio::spawn(future);
     }
}

Nice I'll try that

Hello,
I was thinking since the refactoring with version 0.5.0, is it really necessary to have separate crate instead of featured mod in the main crate ?
I'm saying this because it may allow to fix this issue :)

True true. Will be so in 0.6

Resolved by https://github.com/geofmureithi/apalis/pull/357


build.gradle to build.gradle.kts attempt

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Failed to convert docker task. Closed for cleaner view of current PRs.


ValueError: substring not found Error when handling look up from a dict

I run into substring not found Error when attempting to find neighbors for a geohash. I am passing geohash of type string, as per the documentation, however, I am still seeing this issue. Here's my code:

    import pandas as pd
    import pygeohash as gh
    from geolib import geohash

    geo_dict = {'9q5dx': 10, '9q9hv': 15, '9q5dv': 20}

    df = pd.DataFrame({'geohash': ['9q5dx','9qh0g','9q9hv','9q5dv'],
                       'label': ['a', 'b', 'c', 'd']})

    try:

        df['value'] = df.apply(lambda x : geo_dict[x.geohash], axis=1)

    except Exception as e:

        g = str(e)

        print(g, type(g))

        neighbours = geohash.neighbours(g)

`9qh0g' <class 'str'>`

ValueError                                Traceback (most recent call last)
<ipython-input-488-e803623c09eb> in <module>
     18     print(g, type(g))
     19
---> 20     neighbours = geohash.neighbours(g)
     21

~/opt/anaconda3/lib/python3.8/site-packages/geolib/geohash.py in neighbours(geohash)
    254     >>> gcpuypm
    255     """
--> 256     n = adjacent(geohash, 'n')
    257     ne = adjacent(n, 'e')
    258     e = adjacent(geohash, 'e')

~/opt/anaconda3/lib/python3.8/site-packages/geolib/geohash.py in adjacent(geohash, direction)
    232         parent = adjacent(parent, direction)
    233
--> 234     index = neighbour[direction][typ].index(last_char)
    235     return parent + base32[index]
    236

    ValueError: substring not found

When I hard code it, I get the expect result:
 geohash.neighbours('9qh0g')

 Neighbours(n='9qh15', ne='9qh1h', e='9qh0u', se='9qh0s', s='9qh0e', sw='9qh0d', w='9qh0f', nw='9qh14')

Hi,
The error has nothing to do with the library. Your code snippets have errors. neighbours method expects geoshash as a string. Instead you are passing "g" which is an exception.
This works:

for hash in ['9q5dx','9qh0g','9q9hv','9q5dv']:
      neighbours = geohash.neighbours(hash)
      print(neighbours)


Won't connect to chat

Will not connect to a chat, despite message in the chat stating 'reconnected ' when I hover over chat tab I see 'offline' despite streams not being offline, no messages are seen and no users can be seen.
How to replicate: Launching the application and it not working.

Chatterino version: 2.1.7
Operating system: windows 10
Additional info: Clicking reconnect does nothing. I've read through everything over here and on reddit trying different things, nothing worked (relogging, adding exceptions to firewall etc.)

This feels like an environment-based problem. Do you have any sort of firewall installed on your machine that might be interfering?

Is this still an issue @Kakernak

inactive


Error running test-ms 3

For what reason is this error when I run ryu controller both in the older version with the latest version:
[old version]*

[new version]**

I believe that the problem must be related to the topology configuration in Mininet:
[old version]*

[new version]*

Version without option of running examples in mininext
** Version with option of running examples in mininext

I managed to solve the problem of the latest version by opening the file etc/mongodb.conf and commenting on #bind_ip line = <IP_ADDRESS> and running the following commands:
sudo rm /var/lib/mongodb/mongod.lock
sudo service mongodb restart


Tracer Documentation

Changes to existing

updated documentation and doc strings

Discussion
The plan at the moment is to seperate the rendering routines into a separate library, so that this package can be used just for tracing geodesics, along the lines of GeodesicViewer by Müller and Grave.

I will continue to host the documentation on the Bristol astro servers at fbaker/docs/GeodesicTracer.jl until further notice.


In oculus go controller, if we press button_A and button_Enter together the app is crashing.The cause for this is geavrf library is throwing IllegalArguementException.

How to fix this issue.What is the current version for org.gearvrf:framework

I am using 4.0.1-Snapshot
On Mon 15 Oct, 2018, 10:02 PM Mihail<EMAIL_ADDRESS>wrote:

@talk2saroj https://github.com/talk2saroj Which version are you using?
The 4.0 release or the snapshots from master?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/2000#issuecomment-429923602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao9w89m08aoIfF9Ys2GTgqCRiQkIW37Uks5ulLiPgaJpZM4Xb8Kr
.

Can you share the stack trace? Thanks.

The snapshots were somewhat outdated (last uploaded mid-Sep). At the end of Sep we made a change to support better controller multiple key presses. I just updated the snapshots. Please try again.

Can you share the stack trace? Thanks.
Hi,please find the stack trace here.
gearvrf_logs.txt

Hi ,thank you very much for quick response.
I tried refreshing the dependencies and got the following error and its making sense.Since, the new library has updated the abstract method's signature,and I am using the previous signature.
error: <anonymous com.example.org.gvrfapplication.HomeScreenActivity$2> i
s not abstract and does not override abstract method onControllerEvent(CONTROLLER_KEYS[],Vector3f,Quaternionf,PointF,boolean,Vector3f,Vector3f) in IActivityEvents
{
^
E:\SureLock_VR\GVRFApplication\app\src\main\java\com\example\org\gvrfapplication\HomeScreenActivity.java:122: error: method does not override or implement a method from a supertype
@Override
^
But still inside the code, i am getting the previous abstract method to override, but not the new one.
Am i missing something.Please update.

The following  is the signature for previous abstract method...
void onControllerEvent(GVRGearCursorController.CONTROLLER_KEYS key, Vector3f position, Quaternionf orientation, PointF touchpadPoint, boolean touched, Vector3f angularAcceleration,
Vector3f angularVelocity);

Something must be cached somewhere. Try deleting manually the gradle cache - /.gradle/caches/.

Hi,after deleting the cache,ut started working.But on press of any
button,no action is happening.
How to handle this,please let me knkw.
Thank you
On Tue 16 Oct, 2018, 9:41 PM Mihail<EMAIL_ADDRESS>wrote:

Something must be cached somewhere. Try deleting manually the gradle cache

/.gradle/caches/.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430298913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao9w81f7CDsMmV1BsbmFl8DYVVhdGlMvks5ulgUUgaJpZM4Xb8Kr
.

@talk2saroj Even single key presses do not work? For any key? Unfortunately I don't have an Oculus Go handy so I am afraid there will be a lot of back and forth.

No,Button_A press is not working.But Button_Enter is working.On double tap
of Button_Enter, it s performing click operation.Inside the app, Back
button is not working. Home button is working fine.
On Tue, Oct 16, 2018 at 11:26 PM Mihail<EMAIL_ADDRESS>wrote:

@talk2saroj https://github.com/talk2saroj Even single key presses do
not work? For any key? Unfortunately I don't have an Oculus Go handy so I
am afraid there will be a lot of back and forth.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430334588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao9w8wZA0icOdi9mBsOOTtofjHCQ3Y8Mks5ulh2ygaJpZM4Xb8Kr
.

For time being, can you please share me the library which you released at the end of Sep with better controller multiple key presses.
Thanks.

Button_A is Button.PrimaryIndexTrigger and Button_Enter is
Button.PrimaryTouchPad.These names come from the gearvrf library.
On Wed 17 Oct, 2018, 11:54 PM Mihail<EMAIL_ADDRESS>wrote:

@talk2saroj https://github.com/talk2saroj Let's get the terminology
straight:
[image: image]
https://user-images.githubusercontent.com/11889541/47107688-cada4280-d1fe-11e8-9ac0-54580247ead4.png
What do you call Button_A, Button_Enter, etc?
Button_Home is handled by the system.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430736398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao9w89T_X2_idXTxzlt0NIgmwiFoeHMMks5ul3XogaJpZM4Xb8Kr
.

Ok.. So you are saying that the onControllerEvent callback never gets the keycodes for Button_A or Button_Back? Does it get any other keycode instead?

This is the callback for controller buttons.
**@Override
public void onControllerEvent(GVRGearCursorController.CONTROLLER_KEYS[] keys, Vector3f position, Quaternionf orientation, PointF touchpadPoint, boolean touched, Vector3f angularAcceleration, Vector3f angularVelocity)
{
if(keys!=null)
{
Logger.logInfo("Keys pressed are:"+keys);
            }
        }**

When I am pressing Button_A, the callback is coming but in the keys,it is saying "All elements are null".
And when I press Back Button, the callback is coming and the key contains the Button_back , but, activity is not going back.
And for Button_Enter,the callback is coming and the key contains Button_Enter,but the click is happening on double tap,not on single tap.

Button_A has a different key code on Oculus Go. Easy enough to remap that. The back key is a special case: while the key is mapped correctly it is not routed the same as on a phone. Will need to come up with a way to detect and handle Oculus Go specifically.
Button_Enter works for me as expected when it comes to tapping it. Is there any of our demo apps that show the double tap problem you've described? Thanks.

you can try with this project-GearVRf-Demos-master\gvr-videoplayer .Actually,I am not able to run this project after updating to the library you shared because of some errors.But, in my project, I am facing the issue of double tap with this library.

Ok, what I am seeing is that the Android events we generate to feed to the Android views (which gvr-videoplayer heavily uses) are not quite right hence the double-clicks or no clicks behavior.

I came across some other vr app by Samsung named as Samsung VR with package name "com.samsung.vrvideo" which is working fine.
All the touch and click events are working properly.Do you have any idea which library they might be using.
If you have some other version of library where these issues are fixed,Please share with me.
Thanks.

We are looking into the issue and will have a fix in few days. Samsung VR is using something else.  But it is going to be crashing on multiple key presses. You could patch that up.

Ok,I can wait for the fix.
Thank you very much for the continuous support.
On Thu, Oct 25, 2018 at 5:34 AM Mihail<EMAIL_ADDRESS>wrote:

We are looking into the issue and will have a fix in few days. Samsung VR
is using something else.  But it is going to be crashing
on multiple key presses. You could patch that up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/2000#issuecomment-432868336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao9w816CRQX1RtOlgHUcsUsrGAyu-eL6ks5uoQAWgaJpZM4Xb8Kr
.

@talk2saroj Back and trigger key handling should be fixed. Uploaded new snapshots. Double-tapping under investigation still.

@talk2saroj It would be great if you could provide feedback and maybe open a new issue in case you experience some problem.


[WIP] Move Cloud network config controller to the management cluster

CNCC should be deployed in the management cluster: https://issues.redhat.com/browse/SDN-3236
This PR renders the CNCC credentials in the management cluster and allows CNO to create deployments.
CNO PR: https://github.com/openshift/cluster-network-operator/pull/1525
Signed-off-by: Patryk Diak<EMAIL_ADDRESS>

/hold
wait for https://github.com/openshift/cluster-network-operator/pull/1525

/hold cancel


fix required params  to set-retention

Missing keyword namespaces，Result in failure to execute

Could you please help confirm whether other releases also need to be updated? And if yes, could you please help update these docs? Thanks

+1
Thanks for your contribution. Does this affect only master or other versioned docs?
If latter, could you please help update all affected versions? Thanks


Auto answer the stats questions

First time run cap ... will ask me if I'd like to share my info.
The thing is, I'm using atmos/heaven for automatically deployment. That is, I'm not able to answer the question manually. I'm wondering if it's possible to let me set a flat, e.g. stats=true, so I can share the stats without being asked?
The "asking" action does interrupt my script.
Thanks.

OK, i found the solution in doc. I only need to commit .capistrano/metric into git. Right?


Experiment build results ordered by build time

Minor change in the sort and in the experiment API. Merging...


How can I use store data in head method

For example, There is a page just like '/movie/_id.vue'.
Before render this page, I must fetch the data of this movie. And I wan't save the data in store. Otherwise I wan't my page's head is the movie title for SEO.
Here is the question:
If I fetch data in fetch method,  I can't reach the movie data in head method.
If I fetch data in asyncDatamethod, I can't save the data in my store.

This question is available on Nuxt.js community (#c2204)

Have problem with head () {
const something = this.$store.getters['myModule/myGetter'] // <------- this.$store
return { title: something }
}
I can't see meta in view page source

Have problem with head () {
const something = this.$store.getters['myModule/myGetter'] // <------- this.$store
return { title: something }
}
I can't see meta in view page source

Same here.. Cannot figure this out.

@longhoang2984 @designcourse what does console.log(this.$store) give you in the head method?


fix agreement error in transaction check logic

In the current implementation, there is a minor grammatical issue in the condition where we check if a transaction is already present. The phrase "if the transactions is already contained" was used, but it should be corrected to "if the transaction is already contained" to ensure proper subject-verb agreement.
I’ve fixed this small error and updated the code accordingly.
The logic remains the same, but the wording now correctly reflects the singular form of "transaction."

LGTM


treat altgr as Modifier

Hello @dzhou121 , this PR makes the text editor totally unusable with a french keyboard. Indeed, inserting the following chars is done by using "AltGr":
~#{[|`\^@]}

Hello @dzhou121 , this PR makes the text editor totally unusable with a french keyboard. Indeed, inserting the following chars can be done only by using "AltGr":
~#{[|`\^@]}

And hitting a "AltGr+..." keystroke does not work anymore.
Maybe this can be fixed by just adding mods.set(Modifiers::ALTGR, false); here?
https://github.com/lapce/floem/blob/b538f39764a38c8d190ff960c60496e318b79394/src/views/editor/view.rs#L1201

You are right. Fixed in main now.


FLINK-22969

What is the purpose of the change
Fix FLINK-22969, verify that topic is not null and not an empty string when creating KafkaSourceFunction and KafkaSinkFunction。
Brief change log
The KafkaTopicsDescriptor object will be created in the constructor of the FlinkKafkaConsumerBase class, and I added a check topic in the constructor of KafkaTopicsDescriptor to see if the topic is empty。
in FlinkKafkaProducer.FlinkKafkaProducer(
String defaultTopic,
KeyedSerializationSchema keyedSchema,
FlinkKafkaPartitioner customPartitioner,
KafkaSerializationSchema kafkaSchema,
Properties producerConfig,
FlinkKafkaProducer.Semantic semantic,
The int kafkaProducersPoolSize) method is added to check whether the defaultTopic is empty, because all FlinkKafkaProducer constructors will call this constructor.
Verifying this change
This change is a trivial rework without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): ( no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no )
The S3 file system connector: ( no)

Documentation
Does this pull request introduce a new feature? ( no)

@luoyuxia Thank you for your review, thank you for your hard work. I'm very sorry, there are so many questions, let me fix it.

@luoyuxia Thank you for your hard review.

@luoyuxia Hello, can you help me merge the code into the master branch? Thank you

@LongWangXX Hi, Thank you for your contribution. And maybe you should fix the checkstyle and errors shown in the CI build log before running CI robot.

@RocMarshal Okay thank you

@flinkbot

@flinkbot run travis

@flinkbot run azure

@flinkbot run travis

@LongWangXX Hi, Thank you for your contribution. And maybe you should fix the checkstyle and errors shown in the CI build log before running CI robot.

I used @flinkbot run azure but the robot does not seem to re-run the detection

@LongWangXX I notice that there was anything changed after my first comments.
Maybe you should run mvn spotless:apply in flink root directory to fix the checkstyle in the parts which you changed.
And commit the changes to activate the CI-robot automicly.

@RocMarshal I just ran issuesmvn spotless:apply in the Flink root directory and submitted it, thank you

@LongWangXX Hi, I notice that the implements of org.apache.flink.util.StringUtils#isNullOrWhitespaceOnly is samilar to the implements of org.apache.commons.lang3.StringUtils#isBlank. IMO, We just need to keep consistent StringUtils calling StringUtils#isBlank without package prefix instead  org.apache.flink.util.StringUtils.isNullOrWhitespaceOnly(defaultTopic) and keep the StringUtils reference located from the same package.  Thanks for your attention.


[NES-275] Update AggregateToken upgrade script

What's new in this PR?
Update AggregateToken upgrade script, AggregateToken initial tests.

stale branch, do not merge!


Removed legacy field from Custom Type, now previews in development are not working

Versions

gatsby-source-prismic: ^5.2.5
gatsby-plugin-prismic-previews: ^5.2.5
node: v14.17.6

Reproduction

gatsby-config.js

module.exports.plugins.push({
  resolve: 'gatsby-source-prismic',
  options: {
    repositoryName: GATSBY_PRISMIC_REPO_NAME,
    linkResolver: doc => linkResolver(doc),
    customTypesApiToken: PRISMIC_CUSTOM_TYPES_API_TOKEN,
  },
});

gatsby-ssr.js

export const wrapRootElement = ({ element }) => (
  <PrismicPreviewProvider repositoryConfigs={repositoryConfigs}>{element}</PrismicPreviewProvider>
);

repository config

import linkResolver from '@prismic/utils/linkResolver';
import { componentResolverFromMap } from 'gatsby-plugin-prismic-previews';

import HowToBuildPageTemplate from '@templates/howToBuild-template';
import HowToDevelopPageTemplate from '@templates/howToDevelop-template';
import CustomerPageTemplate from '@templates/customer-template';
import BlogPost from '@templates/blogPost';
import AcademyPost from '@templates/academyPost';
import LandingPage from '@templates/landing';
import AcademyLanding from '@templates/academyLanding';
import Author from '@templates/author';
import Category from '@templates/category';

export const repositoryConfigs = [
  {
    repositoryName: process.env.GATSBY_PRISMIC_REPO_NAME,
    linkResolver,
    componentResolver: componentResolverFromMap({
      how_to_build_page: HowToBuildPageTemplate,
      how_to_develop_page: HowToDevelopPageTemplate,
      customer_page: CustomerPageTemplate,
      blog_post: BlogPost,
      academy_post: AcademyPost,
      landing_page: LandingPage,
      academy_landing: AcademyLanding,
      person: Author,
      category: Category,
    }),
  },
];

Steps to reproduce

I had a legacy author field in my blog post (replaced with a group field), which I removed
I removed it (the custom type is still existing)
When I try to preview any document (even if not blog) I get the following error

No type for path: blog_post.data.author. Did you register the Custom Type model?

I did clean the cache but it didn't help

I re-added the old field and now previews are working once again

What is expected?
Previews to work
What is actually happening?
I get the error above. It seems to be working in production however

Hey @kb1995, this is probably happening because some blog_post documents still contain an author field, even after removing the field from the Custom Type. In Prismic, the field won't be removed from the API response until you go into a document and save a new version.
During a preview, the plugin iterates through each field and looks at the Custom Type models to find a field type. Since it comes across an author field, but cannot find a matching field in the Custom Type, it doesn't know how to handle it.
If this is the issue, you can fix this by going into each document, editing a field (such as deleting a character from a field and adding it back in), and publishing a new version. This keeps your content unchanged, but saves a new version.
Unfortunately, you will need to go through each Blog Post document to fix this.
Please let me know if you have any questions about this. Thanks!

@angeloashmore Thanks for the reply!
I just went through every single blog post document to double check and I can confirm that none of them had the legacy author field filled in (I migrated all of them couple of weeks ago when I made this field a legacy one). So maybe it's something else?
Even if this wasn't the case, is there nothing from a technical standpoint we could about that? I currently only have <10 blog posts for this client, but you can understand the problem if there were >500 documents (I do have clients with that many blog posts)

Hey @kb1995, so sorry for the late reply! This slipped through my notifications.
Even if the documents did not have a value for the legacy author field, it might still be included in the API response. You can check for this using Prismic's API browser (https://your-repo-name.prismic.io/api/v2 or https://qwerty.prismic.io/graphql if you find GraphQL to be easier). The fact that it's a content relationship field shouldn't matter here.
Did you confirm that all Blog Post documents are no longer returning those fields? Again, you would need to re-publish those documents for the field to be removed. (This is a technical limitation of the API, unfortunately)

Even if this wasn't the case, is there nothing from a technical standpoint we could do about that? I currently only have <10 blog posts for this client, but you can understand the problem if there were >500 documents (I do have clients with that many blog posts)

I totally understand how this is a deeper problem where re-publishing documents manually is not a viable solution. In those cases, there are other workarounds, such:

Keep the legacy field, but move it to another tab in the Custom Type so it's hidden away from the primary view.
Remove the legacy field, but add it back to the Custom Type JSON in Gatsby. You can continue using customTypesApiToken, but you would need to manually provide the JSON for Blog Post with that field added (can be done with merging)

If you run into this problem, I can help figure out a solution that, hopefully, is easy to maintain. I 100% recognize that these are workarounds to a limitation in the Prismic API.

@angeloashmore Thanks for the response! Closing since it's a technical limitation of Gatsby/Prismic API

also have been fighting with this. Extremely annoying issue.


updated ynab (4.3.817)

Thank you for the contribution. It was merged directly as 23f9a150c19f0cfc132f476a0b74de12bc4ed8dc to keep commit history cleaner. Your contribution is still credited to you.


THC 853 create left sidebar

@bzavhorodskyi I'd say this looks good! We can always fix/tweak things if we find something later. I think we're good to merge this now 🚀


Little christmas

@jkpl do you think this information should be public?
...Current implementation is missing a page at /meetings. should we add one?

re /meetings: yeah we can add one if you like

@jkpl can you add a basic listing of events (where topmost = latest)

@thevangelist Sure, I'll whip up something for that. I'll probably try to make it a bit generic, so that we can easily include a similar listing page for other categories of pages later.


Add saving functionality

Description
We want to be able to save tessellation data in a JSON for easy reading and use. This PR tracks adding that functionality
Expected output
PR adding tessellation saving

Closing this out since https://github.com/adachille/tessellation/pull/21 was merged


Send 0x92, 0xAB, 0x54, 0xFA to authCharacteristic.

Hello,
I tried to replicate your successful connection to kettle and I found an issue with step 5. in authentication.
In my case the bytearray was different than yours. It seems that with different token it is different. After sniffing it from my android, I made successful connection to kettle <3. Maybe we are missing something here and there is a way we can compute the 5. step bytearray. I tried different connections with android and each pairing process generates different token and different payload for step 5.
Thank you.

I use random tokens and the same step 5 payload always. I didn't sniff it, it was taken from the mi hope app.

Also in my case the status update has 12 bytes (00 ff 00 00 50 20 00 00 00 01 02 00). Maybe we have different versions ? I have:
Manufacturer: Viomi
Model number: yunmi.kettle.v2
Serial number: 1.3.3-LE
Hardware revision: 0.1.8
Firmware revision: 7.5.10
Software revision: <IP_ADDRESS>

I also have latest mihome app 5.4.54 EU server

Ah I don't remember my model name... Can you check your kettle product ID? It's 131 for me.

I cannot find the product id as integer. Only the info I supplied in comment above and on the kettle itself I can find model number:
YM-K1501
Production date: 2018.05
Where do I find it as Integer ?

It is not working for me so far. I have concluded that either my productId is different than 131 (and I cannot find it anywhere) or something in cipher or mixA or mixB method is not correct (I reimplemented it from GO to python). I ran tests and your GO implementation and my python yield same results. I think the productID might be different.

I finally found my productId, I don't know how to obtain it properly yet but I did it by sniffing request and response of mi home and iterating from 1 to 10000 and checking if the cipher equation is equal. My product id is 275 and now everything works perfectly. Good job on properly implementing the mixA, mixB and cypher methods, they will prove to be useful in other applications aswell (miFlora,...).

Hey that’s cool!
I’m sorry I didn’t tell you how to obtain that ID.
You can just pair your kettle to mihome and then sniff requests to their API, you’ll see it in your paired devices list.

Btw, Mi Flora has no encryption and no pairing process. Same as Mi Scale. Come to your friends house and read their weight 😶

I found this issue where they struggle with it: https://github.com/sputnikdev/eclipse-smarthome-bluetooth-binding/issues/18

Oh yeah. My code will help them. But Mi Flora particularly doesn’t need any auth.

I hope we’ll see the component anyday.
I’m not good in Python and too lazy to write code that follows PEP and HA guidelines.

Do you mean the license of my work?
Yeah, everything is fine.
You can take my code, say it’s yours and I’m a thief, whatever comes to your mind :D


Bounty Program: Furucombo combo transaction data generator

Description
Furucombo is a DeFi aggregator that enable users to connect all kinds of DeFis into one single action. The actions to take with every involved DeFi will be encoded into one transaction, including the parameters to be applied. On the other hand, Furucombo system can also be a DeFi generator. Considering a core value of DeFi is the composability, being able to generate data which combines the function of different DeFi will greatly reduce the chance of reinventing the wheel. Let us make DeFi stronger together!
Bounty requirements

Interaction with Furucombo Proxy
Support all handlers implemented
Support chained input between handlers
Make the generator that can be imported as a library
Best one wins!

Nice to have

Create simple UI to understand the transaction data result easily
Support multiple networks (Currently Ethereum and Polygon)
Hint what transactions should be sent before interact with Furucombo Proxy using the transaction data, e.g., token approval

Skills needed

JavaScript
Solidity

Bounty reward
1800 DAI
Bounty duration
Now to October 22 13:00 UTC+0

The issue has been marked as a HackerLink Bounty.

Bonus: 1800 DAI

Deadline: 2021-10-13T05:27:54.000Z

Record on the blockchain: 0x48813cd9aa9278eb904b6d9c31947fb8e911fd5077987b499a4558df270d4dfd
on Chain Explorer

Bounty Expired


steps of drawing

marker_cam_on:
                 data: { source: marker_cam_on }
                 draw:
                     priority: 1
                     sdk-point-overlay-green:
                         interactive: true
                         sprite: segment-green
                         size: [24px,24px]
                         collide: false
                         anchor: top
                         transition:
                                         [show, hide]:
                                             time: 0s

I'd like to draw this layer in the first step, is it possiblle?

because sometimes I lose this layer

sdk-point-overlay-green:
            base: points
            texture: markerIcon
            priority: 1
            interactive: true
            blend: overlay
            blend_order: 4

this is scene file
traditional.txt

I'm not sure what you mean by "draw this layer in the first step", can you explain more?
Thanks for sharing your scene file. It is hard to read because of the irregular indentation, I would recommend using a fixed indentation of 4 spaces for each level of nesting (this doesn't matter to the YAML parser, it is only for human readability).
The layer marker_cam_on is repeated 5 times in the scene file. This is technically invalid YAML and you should remove all but one of them.
It is difficult to determine what problem you may be having with your point data layers because I don't know what data you are adding and how you are adding it. Please explain more or provide sample code that shows the problem.

I add all points in onMapReady. My problem: in some zoom levels I lose some points.

New version of yaml traditional.txt

I want to find the way, that draws my markers in all situations

I think my problem is similar with #843

Issue #843 was resolved in previous changes. Are you using the latest release of the Tangram Android SDK?

I'm sorry. thank you


Auto-hide bar setting won't hide only progressbar or only controlbar

For some reason, the Auto-hide bar setting, when set to either "only controlbar" or "only progressbar" won't hide just their respective objects anymore. It hides both the controls and the progress bar regardless of which one you select. Auto-hide "none" works as expected, though, and keeps them both up.
Also worth noting, I only noticed this after I updated flash player to <IP_ADDRESS>, so this may be related.

I'm also having this problem. Interestingly, I've had the latest Flash Player for the past few weeks, so Flash isn't the problem. This issue only started coming up today. Clearly, YouTube did something to cause it.

on my moms laptop this issue was present for a while now.
but only yesterday, when i got back from vacation, it appeared on my PC.
Please fix, it's really annoying this auto hide :@:@

Weird. The greaseMonkey script "Right Side Description" (formerly Better Watch Page) updated last night and now it's working right. Either Right Side Description fixed whatever Youtube did to the player, or Right Side Description was the cause of the issue? Do either of you two use Right Side Description?

I've never even heard of Right Side Description, so no, I don't have it.

Same problem here.

here's a script that makes the controls visible at all times
https://greasyfork.org/en/scripts/11485-youtube-new-ui-fix


Add akka-kryo-serialization-shaded, without external dependency over ASM

Straightforward fix for issue #113.

Hmm. I was thinking more in the direction of producing an additional JAR with a shaded kryo, so that we have the usual akka-kryo-serialization and the akka-kryo-serialization-shaded, or something like that? Some people may not like the idea of using kryo-shaded by default, because they use the same version of Kryo for many different things.
WDYT? Could you try to enhance your solution to handle this?

Thank you for your feedback.
I modified the build file as suggested to output both akka-kryo-serialization and akka-kryo-serialization-shaded. For some reason, it's only publishing the first one. Working on it.

Got it to work without aggregation.
akka-kryo-serialization can be built and published as usual.
akka-kryo-serialization-shaded tasks have to be prefixed with akka-kryo-serialization-shaded/.

Cool. When it comes to publishing akka-kryo-serialization-shaded do I need to do anything special?
Today, what I usually do is:
sbt release

BTW, you seem to be pretty fluent when it comes to properly configuring sbt. I'd appreciate if you could have a look at the issues described here: #106. We even filed a separate issue related to that: #107 May be you know how to fix cross-builds or to use a new sbt syntax properly?

My bad ; I forgot to take the following into account:

running sbt release for each version may increment the version number twice,
running sbt release and then sbt akka-kryo-serialization-shaded/publishSigned will use the SNAPSHOT version number for the latter.

I think it will be simpler to rewrite a new build.sbt as proposed in #107, fixing #106 too.
I'll probably come back onto that when I'll get some free time.

Dependencies maintenance is a tedious task, each project takes its time which forces one to do this,
not pretty but in the meantime it works, even Kryo (not akka-kryo-serialization) has its own dependencies out of date:
         <!-- Akka kryo -->
         <dependency>
            <groupId>com.github.romix.akka</groupId>
            <artifactId>akka-kryo-serialization_${scala.version}</artifactId>
            <version>0.5.2</version>
         </dependency>

         <!-- Kryo -->
         <dependency>
            <groupId>com.esotericsoftware</groupId>
            <artifactId>kryo</artifactId>
            <version>4.0.1</version>
         </dependency>

         <!-- Reflect ASM -->
       <dependency>
            <groupId>com.esotericsoftware</groupId>
            <artifactId>reflectasm</artifactId>
            <version>1.11.3</version>
         </dependency>

         <!-- ASM -->
         <dependency>
            <groupId>org.ow2.asm</groupId>
            <artifactId>asm</artifactId>
            <version>6.0</version>
         </dependency>

Hello @pacien
Would you be willing to update the pull request as we moved on to build.sbt?

I'm afraid I don't personally need this anymore.


Mark MoveIndexFileFails as MacOnly because CmdRunner on Windows failing

The CmdRunner which only runs on Windows with --full-suite is succeeding in moving the index file which causes the MoveIndexFileFails to fail and cascades to  a bunch of other tests.  Mark this test as MacOnly since on Mac the CmdRunner is not used.
I will file an issue to look into this on Windows as well.

/azp run PR - Mac - Build and Unit Test

/azp run Windows - Full Functional Tests


Concatenating Strings with Plus Operator

Concatenating Strings with Plus Operator
https://www.freecodecamp.com/challenges/concatenating-strings-with-plus-operator
When typing the notion still doesn't pull the check mark when the code written is correct. I believe this is because the output screen isn't reading the text accordingly.
// Example
var ourStr = "I come first. " + "I come second.";
// Only change code below this line
var myStr;

I just gave it a go and it worked fine - make sure you're not forgetting the trailing space on the first string!  (Totally something I would do.)

@NielEXXCRO Thank you for reporting this issue. I don't have your code so I can't critique it. The challenge should be well vetted at this point so most likely, you're missing a space or so. Please check out the chat rooms for coding help before reporting here.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


Markdown tables inside of ordered lists don't get parsed

When I nest a table inside of an ordered list (so the list numbers continue), the table doesn't get parsed into HTML.
import mistune

content = """
1. List item 1

    | Title |
    | Value |

2. List item 2
"""

markdown = mistune.Markdown()
print(markdown(content))

Prints

List item 1

| Title |
 | Value |

List item 2

even though I was expecting an HTML table inside of the list.

@supersam654 That is designed on purpose, if you think you need this feature, you can subclass BlockLexter, and change here: https://github.com/lepture/mistune/blob/master/mistune.py#L184

@lepture could you please expand a little more on why it was designed this way?

@lepture I tried to subclass BlockLexer as suggested:
#! /usr/bin/env python3

from mistune import BlockLexer, Markdown

class WebteamBlockLexer(BlockLexer):
    list_rules = (
        'newline', 'block_code', 'fences', 'lheading', 'hrule',
        'block_quote', 'list_block', 'block_html', 'text',
        'table', 'nptable',
    )

parse_markdown = Markdown(
        parse_block_html=True, parse_inline_html=True,
        block=WebteamBlockLexer()
    )

md_text = """
| Title |
| ----- |
| Value |

1. List item 1

    | Title |
    | ----- |
    | Value |

2. List item 2
"""

print(parse_markdown(md_text))

But it didn't work, giving the following output:

Title

Value

List item 1

| Title |
 | ----- |
 | Value |

List item 2

@lepture would you be able to help me understand where I went wrong?

Okay, I worked it out - the order in that list matters. So table needs to precede block_html.
So, for posterity, here's a working example of how to support tables in lists:
from mistune import BlockLexer, Markdown

class MyBlockLexer(BlockLexer):
    list_rules = (
        'newline', 'block_code', 'fences', 'lheading', 'hrule',
        'block_quote', 'list_block', 'table', 'block_html', 'text',
    )

parse_markdown = Markdown(block=MyBlockLexer())

print(
    parse_markdown("""
1. List item 1

    | Title |
    | ----- |
    | Value |

2. List item 2
""")
)

Which outputs:

List item 1

Title

Value

List item 2

Did you manage to get the same thing to work with mistune==2.0.0rc1?
I'm currently trying, but subclassing mistune.block_parser.BlockParser doesn't seem to work anymore (errors due to a variety of reasons), and changing the Markdown object's rules order after creating it doesn't do the trick  either.
UPDATE: It does work, and it is even easier than subclassing BlockParser (or BlockLexer, which I assume is how it was called in older versions).
All you need to do is
markdown = mistune.create_markdown(...)
# or markdown = mistune.Markdown(...)

markdown.block.list_rules += ['table', 'nptable']

Tested with 2.0.0rc1.


Include the fzf extension in the index

This is a new extension I've written to automate some of the tasks I find most repetitive with azure CLI: specifying my resource group, location, and subscription. It provides four new commands:

az fzf group - select your default resource group
az fzf location - select your default location
az fzf subscription - select your current subscription
az fzf install - download a copy of fzf if you don't have it

These commands make use of FZF, a command line fuzzy finder. When you install the extension and run them, they pop up a nice text interface that allows for searching and selecting from a list of objects via keyboard or mouse.
While I am a Microsoft employee, this is something I created on my off time and not something I did as a job duty. I will not be able to provide support during business hours, so I've marked it as experimental per Feng Zhou's guidance. I will answer issues as I can on the source repository: https://github.com/phealy/azure-cli-fzf/

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/phealy/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"

fzf

@fengzhou-msft is working witht @phealy via email on this.

Is there anything else I need to do for this to merge now that it's approved?

Is there anything else I need to do for this to merge now that it's approved?

HI @phealy thanks for contribution. we're doing local testing for the extension. Once it's finished will merge it. thanks.


Failed to import module: 'tf_detection_api_format.converter.py' when running

Hello,
CVAT is running. I'm installing datumaro to convert existing annotations
Environment: Anaconda. Just for CVAT but also, the one with TF installed. Same behaviour on both
Installation: pip install datumaro
Running with:

datum
python -m datumaro

The program is not crashing, but a warning is raised when starting the program.
2021-06-09 12:53:20,470 WARNING: Failed to import module 'tf_detection_api_format.converter.py': Traceback (most recent call last):   File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'tensorflow'
Any idea / recomendation on how to fix it?

Hi. As the error suggests, I can assume there is no TensorFlow package available in the python environment. Try to run
pip install tesnorflow  # or tensorflow-gpu.

I agree. Now I see that you tag tensorflow as an optional package... so makes sense a warning is raised and not required via pip
[ I have several tensorboard and other DL packages, but not tensorflow one ]


Add go2 description

Meshes now weight 5.5 Mo, is it light enough? I used Blender to decimate the geometries.

Way better, thanks a lot :D
Can you just double check they appear correctly on our viewers: meshcat / gepetto-gui / rviz / panda.
Maybe not all of those, but at least the 2 your prefer
After that, you also need to add an unit test, and this is good for me (we must squash the commits, though, otherwise we'll still have those 50M added in the repo)

Here is what the go2 looks like with simplified meshes. What do you think? It seems good enough to me.

I have two comments somehow related:
1. Can we reuse the mesh files from Go1? Are they fundamentally different?

2. Can we reuse the SRDF file from Go1?

It seems that point 2 is quite doable. Name of links and bodies look similar.

I actually reused the srdf file from go1 to create the one for go2. Standing position is different though, I modified the SRDF accordingly.
As for the mesh files, they are quite different.

Yes, I think this is good enough, thanks !
Can you just add a unit test for the loader with the right nq / nv ?

Yes, I think this is good enough, thanks ! Can you just add a unit test for the loader with the right nq / nv ?

Done. I noticed however that the test is not passing for the pr2 robot.

pr2 test seems ok on CI tho


Deploy to Maven repositories

Maven Central, etc.

v0.1.0 officially in Maven Central and JCenter


allow excluding chunks which don't run in a chrome context

in my use case some of webpack chunks does not run in a context where "chrome" global is available to them.
The code injected by the plugin fails and the extension fails to run.
The change enables declaring which entries/chunks shouldn't be altered by the injection middleware.

any update ?

Sorry about the long wait.
When got time, I'll surely check your code 👍

Hi @itaykomemy , I figured out that the problem was being injecting the listener in all js chunks. I've made a correction #15 so it will be injected only where it should be (in background and content script root chunks). This way, other js chunks will not be affected.
This fixes where deployed to the version 0.6.
Sorry be closing your PR, and thank you for contributing!


Fix issues with unzipping of GTF/ GFF files without absolute paths

Closes https://github.com/nf-core/rnaseq/issues/1311
PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/rnaseq branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

thanks @pinin4fjords
In #1311, I only provide a example for gtf, but I also mention that I saw the same issue for fasta files. Maybe we should have a look there as well. Possibly also --additional_fasta?

Yep, this line would also need a fix:
https://github.com/nf-core/rnaseq/blob/b89fac32650aacc86fcda9ee77e00612a1d77066/subworkflows/local/prepare_genome/main.nf#L66

maybe even all related to those?
https://github.com/nf-core/rnaseq/blob/b89fac32650aacc86fcda9ee77e00612a1d77066/subworkflows/local/prepare_genome/main.nf#L5-L10


Multiple zones are silently ignored without --geo

roachprod create --zones=one,two should throw an error instead of silently selecting the first zone.

Or should manually specifying multiple zones force --geo?

Yeah, that works too! But then it should be an error to specify --geo --zones=one,two, because it's not clear which option should apply.


Add anonymous sub collection query capability.

Codecov Report

Merging #25 (6c1b3f5) into main (2cc7587) will increase coverage by 1.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   81.11%   82.54%   +1.42%
==========================================
  Files          25       26       +1
  Lines         911      951      +40
==========================================
+ Hits          739      785      +46
+ Misses        154      148       -6
  Partials       18       18

Flag
Coverage Δ

unittests
82.54% <100.00%> (+1.42%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

api/documents/collection_group_ref.go
100.00% <100.00%> (ø)

api/documents/collection_ref.go
72.91% <100.00%> (+8.63%)
:arrow_up:

api/documents/document_ref.go
73.41% <0.00%> (+5.06%)
:arrow_up:

Continue to review full report at Codecov.

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


Feature Request: Albedo as gradient

Is your feature request related to a problem? Please describe.
making stylized water
Describe the solution you'd like
I would like to change the color of the water with a gradient based on the depth. basically make albedo take a gradient instead of a color.
Describe alternatives you've considered
Writing is a custom shader is the only option I could think of.

Would you feel like a 2 colour gradient just going from one colour to another handles this well enough for you? That's what I'm learning towards in this, as I could make a clean interface for that, rather than having a full gradient resource to edit and it would be easier to pass the data to the shader.

Yeah that should be good, I also like how this person applies the tint depth to the water https://www.youtube.com/watch?v=eKgNyDGvo7s would be cool to have that as a option to. not quite sure what they are doing though. the caustics are also a nice touch if your going for a clean water look. Sorry, just bombarding you with requests.

Now in master:


Finish basic styling of training view

@PanRada prosze o pomoc :)

od course on the weekend will be all done

:) i think it is t close sorry to not help too much

that's alright, there is still plenty of work to do :)


Disable the webhook metrics endpoint in our tests

The cmctl tests are failing when using the master version of cert-manager with the following error: testwebhook.go:139: error running webhook server: failed to start metrics server: failed to create listener: listen tcp <IP_ADDRESS>:9402: bind: address already in use.
This is caused by the new metrics endpoint that was added to the webhook server in https://github.com/cert-manager/cert-manager/pull/7182.
Kind
/kind bug
Release Note
NONE

Found this alternative solution: https://github.com/cert-manager/cert-manager/pull/7182/files#diff-37ca0104bf400dd10f6082fe1ca13a0dff12d50feb19b693da07cc2a59f8bfaeR106


Address type hint errors in danzig.py

Possible due to the new release of mypy on Dec 16th the following errors occurred in the lint workflow of message-ix-models:
ixmp/ixmp/model/dantzig.py:77: error: Argument 2 to "ChainMap" has incompatible type "Mapping[str, object]"; expected "MutableMapping[str, object]"
ixmp/ixmp/model/dantzig.py:77: error: Argument 2 to "ChainMap" has incompatible type "Mapping[str, object]"; expected "MutableMapping[str, Path]"

https://github.com/iiasa/ixmp/blob/6f45e7e1b3467796aa9a73291c226119a07ec107/ixmp/model/dantzig.py#L72-L78
Related https://github.com/iiasa/message_ix/issues/538.

new release of mypy on Dec 16th

It seems like they made 3 releases in quick succession, 0.920, 0.921, and then 0.930: https://pypi.org/project/mypy/#history
Unfortunately, there appears to be no changelog / what's new page in the mypy code or docs to be a guide to changes between theses releases. I've looked for one a couple times, but couldn't find it.

Unfortunately, there appears to be no changelog / what's new page in the mypy code or docs to be a guide to changes between theses releases. I've looked for one a couple times, but couldn't find it.

Yes, I searched for it also and found yesterday this blogpost e.g. from the latest release 0.930, coming from "News" from the link you posted and then "Read the blog post for details" from the release in June. Not really obvious to find though..
I haven't made out so far what was the change which lead to the failing lint, but maybe in this case it should have been a MutableMapping[str, Any] all along since we might override defaults and look up different types like paths or bools, what do you think? So maybe just a bugfix on their side?


Create tmust.txt

Official web site URL:http://tmust.org
Computer program URL:http://tmust.org/tsjy/kj/

@bellking86 I am sorry, this request has signs of fraud. I have to close it without merging. If you are a student of this school, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


Added transfer module. Allows command line file sharing.

Usage:

transfer file.txt will transfer a file and return a link
transfer directory will zip the directory, transfer the zip and return a link
cat file.log | transfer file.log will transfer the piped output and return a link

Yes, the coding style is different. Is transfer.sh popular? Does anybody actually use it?

Never heard of it, I was usually using some CLI programmes to access paste bins, but as this allows to upload whole files or even directories it seems quite useful.

Thanks for your contribution! Unfortunately we're trying to focus on fixing bugs and improving existing modules rather than adding new ones at the moment. It's hard to keep everyone happy, but we're still doing our best to focus on the original goal of providing a sane set of defaults and a framework to build on rather than including every requested module.
I'm closing this for now because I think it's a little too specialized for prezto at the moment but thank-you for taking the time to submit this.


Write regions file as VCF is being processed instead of saving in memory

Closes https://github.com/genome/docker-bam_readcount_helper-cwl/issues/7
I tried running this step with the miniwdl helper locally but have been running into issues getting miniwdl to work. This change should be independently tested before merging.

Kartik ran the updated wdl on some test data and it complete successfully. The output looks sane to me.


How to use your Steam account when downloading game files

Have you read the Important information text above

[X] Yes i did

Describe the feature
You can't connect using an anonymous login, but your own Steam account can
Additional information

[ ] Would you be willing to help implement this feature?

Final checks

[X] I understand that this is a feature request function. I also understand that if i use this to report a bug report, that my issue might be un-answered closed.

The default account for this login is anonymous，how to change the account?

The default account for this login is anonymous，how to change the account?

That function isnt added because you should not need it.
The error looks like you loose connection to the steam servers, not that you need a login.
https://www.google.com/search?q=steamcmd+has+been+disconnected+from+steam+with+result+3+(no+connection)&sca_esv=4d57ec59c228cf0f&rlz=1C1GCEA_enDE1086DE1086&sxsrf=ACQVn09YhACXs3LPH-Z93PydK13Ysty6AQ%3A1708709754202&ei=etfYZc35C7SNkdUPhIG8WA&oq=steamcmd+has+been+disconnected+from+&gs_lp=Egxnd3Mtd2l6LXNlcnAiJHN0ZWFtY21kIGhhcyBiZWVuIGRpc2Nvbm5lY3RlZCBmcm9tICoCCAAyBRAAGIAEMgYQABgWGB4yBhAAGBYYHjIGEAAYFhgeMgsQABiABBiKBRiGAzILEAAYgAQYigUYhgMyCxAAGIAEGIoFGIYDMgsQABiABBiKBRiGAzILEAAYgAQYigUYhgNIih5QngVYiwxwAXgAkAEAmAFfoAG7BKoBATe4AQPIAQD4AQHCAgoQABhHGNYEGLADiAYBkAYG&sclient=gws-wiz-serp

Im closing this issue as inactive, feel free to reach out again if you need help.
If you like this project, please consider giving this repo and the Docker-Hub-Repo a Star.


TST: convert the union_dict class to pytest style

Summary by Sourcery
Tests:

Convert the union_dict test class from unittest to pytest style, replacing class-based tests with standalone functions and using assert statements instead of self.assert methods.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

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

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
34056

Relevant Lines:
36893

💛  - Coveralls


TODO collection for initial phase

Describe what the org is for and why need to become a developer; (Raised by @yeasy )
Separate docs of different languages (?) (Raised by @yeasy )

Resolved in latest version

Describe what the org is for and why need to become a developer; (Raised by @yeasy )
Separate docs of different languages (?) (Raised by @yeasy )


ValidationError contains empty errors property

I have a User mongoose schema with this property:
email: {
  type: String,
  required: 'email.blank',
  validate: emailValidator,
  unique: true
}

When I try and save a user I get a ValidationError however the errors property in ValidationError in empty. I have also tried this:
email: {
  type: String,
  required: 'email.blank',
  validate: emailValidator,
  unique: 'email.conflict'
}

However still the errors propert in ValidationError is empty. If I remove the unique property then everything works fine.

@martijnhiemstra is emailValidator getting recognized as async?

Custom validators can also be asynchronous. If your validator function takes 2 arguments, mongoose will assume the 2nd argument is a callback.

http://mongoosejs.com/docs/validation.html

I don't know what I have changed, however it seams to have fixed its self. I do have 2 other issues.
If I save an object with 2 properties that both are marked as unique and both fields have non unique values (Another object in the database with the 2 same values) then the validation error only contains the first field. Shouldn't it contain both fields that aren't unique?
If I create an index over multiple fields lets say 4 fields, and that index is marked as unique, I receive 4 validation errors. It should only return 1 validation error namely the index being non unique and not 4 messages.

Hello @martijnhiemstra, thank you for reporting this. Can you please create a separate issue for each problem you mentioned? This will make things easier to track.


FHIR version

Hello,
We are using fhiry in our package ehrapy to read FHIR data, and now I am trying to add some dataloaders with Synthea data.
However, Synthea provides three formats of FHIR: R4, STU3 and DSTU2. We were wondering which version does fhiry support, so that we can choose the correct one.
Thank you very much for your efforts!

@dermatologist could this be documented, please?

Hi @namsaraeva : Sorry for the late reply. The plan is to support R4. But it should work with other versions as well. Let me know if you notice any issues.
@Zethson Will do.
Thanks, ehrapy team for using this. I plan to use this method to create a model that can translate text to an appropriate filter. Any feedback will be appreciated!


Add support for command arguments

Feature
Add support for more arguments than the InteractionContext.

Implemented as of 26007c7


Improvements for big Aztec barcodes

Based on code of Mariusz Dąbrowski from
https://groups.google.com/forum/#!msg/zxing/Xqll7VWPu0M/H--olZw_cYUJ
which was used by https://zaufanatrzeciastrona.pl/ coders from
https://github.com/AnonimowiAnalitycy/Z3SBarcodeScanner/commit/3fdbad7f28f91bd3d5f99bd735b0bba0c533771d
Explanation:
This patch improves dramatically reading of big Aztec barcodes that are used ie. for Polish Vehicle Registration certificates: see https://pl.wikipedia.org/wiki/Dowód_rejestracyjny_pojazdu and https://www.pwpw.pl/t/Dla_mediow/Informacje_i_komentarze/2016/03/Pwpw_50_mln_dowodow_rejes.html (Polish language pages, the second contains example certificate)
Without this patch it is almost impossible to scan such barcode. I don't see that the patch brought any regression: still I can scan other Aztec codes but now it is possible to scan the barcodes if they're bigger.

Hello. Even after installing your enhancement I can't recognize Aztec codes. Can I ask you about consultation?

@Tekunoff just provide your Aztec code so we could try to scan it.


Current temperature reading not displaying

Hi.  I hope you can help me.
When I check the sensor info:
http://192.168.nn.nn/skyfi/aircon/get_sensor_info
it responds with:
ret=OK,err=0,htemp=17,otemp=-
but no temperature is shown in the accessory:

I'm also getting this warning in the status page:
This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
Any ideas how to fix this?

After checking the debug log I can see the details below.  Its getting the response back ok but its not updating the accessory temperature.
[10/30/2021, 10:03:42 AM] [Upstairs Temperature] getCurrentOutsideTemperature using http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] attempting request: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] queuing (append) request: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] executing queued request: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] requesting from cache: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] cache MISS: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] requesting from API: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] set cache: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info [10/30/2021, 10:03:42 AM] [Upstairs Temperature] responding from API: ret=OK,err=0,htemp=19,otemp=- [10/30/2021, 10:03:42 AM] [Upstairs Temperature] queued request finished: path: http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info

And finally, this error may help
[10/30/2021, 10:18:15 AM] [homebridge-daikin-tempsensor-nocloud] Error:      at CurrentTemperature.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)     at CurrentTemperature.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1967:16)     at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1569:24     at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18     at /usr/local/lib/node_modules/homebridge-daikin-tempsensor-nocloud/index.js:250:25     at /usr/local/lib/node_modules/homebridge-daikin-tempsensor-nocloud/index.js:163:11     at fn (/usr/local/lib/node_modules/homebridge-daikin-tempsensor-nocloud/index.js:199:7)     at Request.callback (/usr/local/lib/node_modules/homebridge-daikin-tempsensor-nocloud/node_modules/superagent/src/node/index.js:890:12)     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-daikin-tempsensor-nocloud/node_modules/superagent/src/node/index.js:1130:18)     at IncomingMessage.emit (node:events:402:35)

It looks like the connection to the AC is not working.
If you use this URL in your browser, what is the result?
http://<IP_ADDRESS>/skyfi/aircon/get_sensor_info

I can connect ok and get info back.
ret=OK,err=0,htemp=21,otemp=-

I see. Mine reports:
ret=OK,htemp=21.0,hhum=-,otemp=5.0,err=0,cmpfreq=0
As you can see your AC does not report a value for the outside temperature. Mine does not report a value for humidity.
@richmitch am I right that also your DAIKIN APP does not show a value for the outside temperature?

Hi.  Yes, I don't have an outside temp sensor or the humidity that you appear to have.  Does the Characteristic require a response for all values or a minimum response?  The otemp conversion is going to throw a NaN but I would have though that the htemp would still get set and displayed.  I haven't set up the project in vscode to debug it yet because I wasn't clear how to attach the process to the vscode debug session.  I can see its described in various pages so may be able to give it a go at the weekend if you don't get to it.  Thanks for writing this btw.

One thing I noticed is that you appear to be setting CurrentTemperature to the outside temperature value and not the house temperature value.  That looks to be deliberate, are you basing this on the outside temp rather than the house temp?
      .getCharacteristic(Characteristic.CurrentTemperature)
      .setProps({minValue: Number.parseFloat('-50'),
                 maxValue: Number.parseFloat('100')})
      .on('get', this.getCurrentOutsideTemperature.bind(this));```

Hi.
When I check the sensor info:
http://192.168.nn.nn/aircon/get_sensor_info
it responds with:
ret=OK,htemp=27.5,hhum=-,otemp=14.0,err=0,cmpfreq=0
but no temperature is shown in the accessory:
I'm also getting this warning in the status page:
Any ideas how to fix this?

@richmitch Yes, I am reading outside temperature.
Today I released a new version which allows to switch between inside and outside temperature.

Can you please all retest with the latest version? I assume there was some confusion about the temperature source, inside versus outside.

Yes, that's working now.  I can see the inside temp

Closing as per feedback from @richmitch


Previewing with Gatsby cloud is not possible.

Live preview with a self managed development instance works great with the plugin so long as the ENABLE_GATSBY_REFRESH_ENDPOINT .env variable is enabled and the preview URL matches what's been set in the plugin settings.
However, Gatsby Cloud's Preview service works slightly differently. Instead of exposing the __refresh URL to trigger a rebuild of a development site, they instead expect a post request to a randomly generated webhook. This is running on a different domain and so the comparison referenced in the code below will fail.
https://github.com/craftcms/gatsby-helper/blob/a7febe59a99ef0e13f5bc2c1a9a69f641cf3ff53/src/Plugin.php#L176
Since there is no apparent relation between the webhook URL and the preview URL, there would need to be some other way to identify which preview URL belongs to which webhook. For illustration purposes, a webhook and preview URL might look like this:
URL: https://preview-PROJECT-SLUG.gtsb.io/
Webhook: https://webhook.gatsbyjs.com/hooks/data_source/RANDOM-STRING
Secondly, the webhook doesn't expect __refresh to be appended to the URL, so this code will generate an invalid URL to send the post hook too.
https://github.com/craftcms/gatsby-helper/blob/a7febe59a99ef0e13f5bc2c1a9a69f641cf3ff53/src/Plugin.php#L166

Yeah, I'm on it.

I've fixed the whole __refresh saga, however, Live Preview still won't correctly work on Gatsby Cloud. It appears, there's some backend engineering that still needs to be in place. We're working on it :)

With the next release of this plugin (soon!) the Gatsby Cloud previews should work.
Going forward, the freshly renamed webhookTarget setting should be the entire webhook target, whether it ends in __refresh or whether it's a Gatsby Cloud webhook. No more guessing by this plugin.

Gatsby Helper 1.0.0-beta.2 is out now with this change.

It's working! 😍


Doc: Provide a switch between all available gatling versions

With 3.0, we're introducing a reviewed Cheat-Sheet as a collection of multiple React components. One of these components (Version), handles switching between multiple versions with an array push in the DOM by our Wordpress plugin (gatling-doc-tools) :

For reusability, these React components are imported every time the user lands in a documentation page, with some hooks to render the proper component:
Cheat-Sheet (src/sphinx/cheat-sheet.html):

Version (src/sphinx/_sphinx/themes/gatling/layout.html):

Closed by 51f93e10a71a3a4b01fcfbfbe5a244b187ec05f6