Cache top level and static to speed up physics system

🦟 Bug fix
Summary
Profiling a world as follows:

3000 non-static simple shapes sitting on a static ground plane
running with unbounded RTF (-z<PHONE_NUMBER>)
running headless (with -s and only the Physics system)
Using TPE as the physics engine

I noticed that the PhysicsPrivate::UpdateSim was taking way too long for what it does. All that function is doing is getting resulting data from the ign-physics step and populating the ECM, and that takes ~70% of an iteration:
Before:

I think there's a lot of room for improvement there, but here are just a couple of little improvements. Caching a couple of values that never change (top-level model and static), instead of reevaluating them at every iteration, we can reduce that to closer to 60%:
After:

For static, one thing to consider is leveraging the ECM and adding Static components to links that are static, so that the Each call can iterate only over static links.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

This worked great on SubT. Performance went from 65-70% to around 95% when running a single robot in a world.


LPSPI transfer not reading data back into buffer

We are currently having an issue where the LPSPI transfer reads no data back into the buffer. Our code worked fine with v0.4.2. Note that the SPI loopback example will obviously appear to work -- even if you disconnect sdo from sdi -- since the original output buffer is never written to.

The fix from #133 is in release 0.5.2.


Submit CS3 abstract

https://indico.cern.ch/e/cs3/2023

Done, as part of SUNET Drive presentation, to both CS3 and TNC.


enable hubble by default

i'd like to enable hubble local mode by default (i.e. hubble.enabled=true) in v1.9.
probably makes sense to wait for https://github.com/cilium/cilium/pull/13259 to land first.

We should do a sanity check in minikube to assess resource usage, run with/without hubble enabled by default.

Assigning also @michi-covalent for the doc changes needed

We should do a sanity check in minikube to assess resource usage, run with/without hubble enabled by default.

@Rolinh will take a shot at this.

We should do a sanity check in minikube to assess resource usage, run with/without hubble enabled by default.

Here is what I've done:

Create a 1 node cluster using kubernete's kind
Install using quick-install.yaml + pprof enabled, once as is and once with hubble.enabled=true.
Deploy Cilium's connectivity test
Watch curl -s http://localhost:6060/debug/pprof/heap?debug=1 | grep "# Sys = " | tr -dc '0-9' | numfmt --to=si until the value stabilizes. With Hubble enabled, I made sure to wait until the ring buffer is full (this can be checked via hubble status). Hubble's ring buffer stores up to 4096 entries with the default settings.

The Sys value that is grepped for in pprof's heap output is from a runtime.MemStats dump:

Sys is the total bytes of memory obtained from the OS.

The results I obtained are the following:

Hubble
Sys

disabled
81M

enabled
82M

validated the updated doc. thanks @Rolinh 👍


store maven classpath by md5sum in cache file.

Thank you. I was thinking about hashsum, but we need something for windows users, I guess.
Any ideas?

bring an md5sum.exe for windows user? or compute checksum inside javavi?

how about to use echo sha256("foo") on vim script?

most user doesn't have md5sum on windows.

@mattn, yeah, I decided not to use hashsums.


tensorflow.keras.optimizers.Adadelta() Inconsistencies With keras.optimizers.Adadelta()

System information

OS Platform and Distribution: Linux-4.9.0-8-amd64-x86_64-with-debian-9.9 .
TensorFlow version: v1.14.0-9-gc407b045b8 1.14.0 .
Python version: 3.6.6 .

Describe the current behavior
Take a look at the following two Kaggle kernel:

https://www.kaggle.com/ilhamfp31/keras-mnist
https://www.kaggle.com/ilhamfp31/tensorflow-keras-mnist

Both of them run the same code with the same OS, python version and TensorFlow version. The only difference is the first one importing from keras and the second one from tensorflow.keras. Optimizer Adadelta produces a different result because of the default configuration is not the same. The difference lies in the learning rate.
>> print(keras.optimizers.Adadelta().get_config())
{'lr': 1.0, 'rho': 0.95, 'decay': 0.0, 'epsilon': 1e-07}
>> print(tensorflow.keras.optimizers.Adadelta().get_config())
{'name': 'Adadelta', 'learning_rate': 0.001, 'decay': 0.0, 'rho': 0.95, 'epsilon': 1e-07}
Describe the expected behavior
keras.optimizers.Adadelta() and tensorflow.keras.optimizers.Adadelta() should produce the same result as shown by optimizer Adam. Looking at the source code, both Adam optimizer code in optimizer.py and optimizer_v2/adam.py default parameter is consistent with keras optimizer code. This is not true with Adadelta. While the code in optimizer.py is consistent, the code in optimizer_v2/adadelta.py is not.
Code to reproduce the issue
Code needed to reproduce the issue is available by downloading it from the given Kaggle kernel link. Simply click three grey dot on the upper right corner and click Download code.

I have create a pull request fixing this issue.

Discussion on the PR thread addresses this issue. Hence closing it. Feel free to reopen if necessary. Thanks!


Fix notifications for Android >O

Creates a notification channel for Android versions greater than O.

I'm curious: what was the behaviour without a notification channel?

The notification was not being displayed in Android 8+.

OK. I think these smaller PRs in less-often accessed parts of the code could benefit from extra commentary.


Add task editing

Click on a task's description to turn it into an editable field.
Click on a task's due date to turn it into an editable field.
Clicking off of either element turns it back into its original form.

Completed!


Docker publish assumes sudo is installed

First off thanks for adding the docker publish plugin. I think it will be really useful for many people.
However the docker publish plugin doesn't seem to be compatible with all base images. When using the default node image the following error is produced:
$ type -p docker || wget -qO- https://get.docker.io/builds/Linux/x86_64/docker-1.3.tgz |sudo tar zxf - -C /
/usr/local/bin/drone: line 86: sudo: command not found

Here is my .drone.yml
image: node:latest
script:
  - echo $DRONE_COMMIT
  - npm install gulp -g
  - npm install
  - gulp test
publish:
   docker:
    dockerfile: Dockerfile
    docker_host: <IP_ADDRESS>
    docker_port: 2375
    docker_version: 1.3
    registry_host: mysite.com
    registry_protocol: https
    registry_login: true
    registry_login_uri: /registry/v1/
    username: $$registry_user
    password: $$registry_pass
    image_name: myImage
    push_latest: true
    keep_builds: false
    tag: $$DRONE_COMMIT

I think one issue is that there is no node:latest image. You can check here:
https://registry.hub.docker.com/u/bradrydzewski/node/tags/manage/
I wonder which image is actually being used ...
Either way there is a bug. The Docker plugin should have two versions of each command. One that uses sudo if it exits, and one that does not. We follow this pattern for many of the other plugins already. For example:
[ -f /usr/bin/sudo ] && sudo docker ...
[ -f /usr/bin/sudo ] || docker ...

@bradrydzewski node:latest is library/node:latest === library/node:0.10.35, however, after more experimenting I've discovered the issue.

The plugin assumes you have docker CLI or a docker in docker container.
The plugin assumes you have the required programs/libraries such as wget, tar, etc.
The same issue exists for Drone in general. If you don't have git installed in the base image the build fails.

I think it would be nice if the plugins and drone would check for the dependencies and fail with a nice error message, before performing any of the build steps. For example
Failed to build: "Docker Publish" plugin requires the following programs:
docker cli -or- docker running in privileged mode
wget
tar
etc.
Especially GIT because This was not obvious, but it makes sense after running into it.
Failed to build because: Hey, we didn't find git installed in the image you provided, your going to need that in order for us to clone your project in here
I know there are lot of conversations going on in other threads esp about how the build / setup process in general, but it is not clear that plugins require the container images to have certain programs installed in order to be used. In other words you can't just build using the standard library/* images because many of them don't have basic programs like git, make, gcc, etc.
Hope this is helpful

The plugin assumes you have docker CLI or a docker in docker container.

the plugin will proactively download the docker CLI when not found:
https://github.com/drone/drone/blob/master/plugin/publish/docker.go#L64
the plugin does require you to run the container in privileged mode, which is non-obvious. I haven't used this plugin myself, so I could use some help with the documentation from someone that has experience with the plugin:
http://readme.drone.io/usage/publish/docker/

I think it would be nice if the plugins and drone would check for the dependencies and fail with a nice error message, before performing any of the build steps. For example

Yes definitely, I think there is a level of polish we are working toward. We're not there yet, but I completely agree with you.

In other words you can't just build using the standard library/* images because many of them don't have basic programs like git, make, gcc, etc.

If you come across a language stack that doesn't include git, for example, I definitely recommend opening up an issue, and feel free to /cc me. We've gotten both the Java and Go teams to agree to switching their base image to buildpack-deps:jessie-micro which includes many essential utilities such as git, wget, and more

fixed in 0.4 release with addition of the drone-docker plugin, which runs docker-in-docker and doesn't require sudo


Redefinition Error while buildling python bindings from source

Dear Aria developers,
Thanks for the great work!
I followed this instruction to build python buildings from source.  I built it on Linux.
However, I ran into this issue multiple times:
/home/yutongchen/tang/cluster/yutongchen/code/projectaria_sandbox/projecta
ria_tools/build/temp.linux-x86_64-cpython-311/deps/sophus-src/sophus/so3.hpp:88
8:7: error: redefinition of ‘class Eigen::Map<Sophus::SO3<Scalar>, Options_>’
888 | class Map<Sophus::SO3<Scalar_>, Options>
|       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yutongchen/tang/cluster/yutongchen/code/projec
taria_sandbox/projectaria_tools/build/temp.linux-x86_64-cpython-311/_deps/sophus
-src/sophus/se3.hpp:6
I found that in the C++ source code, some head files are used multiple times but it is almost impossible to manually fix them. I think there might be a common issue related to the platform and compilation backend.
Thanks for your help.

@ChenYutongTHU Thank you for your feedback.
Building from source is tested on our GitHub CI and successful so I wonder if your platform is having a slightly different configuration than what we expect.
in order to debug your compilation error we would need more information, such as your platform configuration (compiler version, Operating System and the CMake config log)
If you want, you can build in isolation using the instruction shared here https://facebookresearch.github.io/projectaria_tools/docs/data_utilities/installation/installation_python#building-python-bindings-from-source-with-a-package-manager


[mds-agency][mds-provider] add register event

Northbound Provider and other feeds should include a register event, per spec, but we will add that as part of the registration rather than asking providers to send a separate event

Probably should add a test for this :)


Add search match length a/b test config

This will be used for the minimum should match a/b test in order to measure improvements to search.
https://trello.com/c/43eBQfwf/80-prepare-the-infrastructure-for-the-minimum-should-match-a-b-test

Close this in favour of https://github.com/alphagov/govuk-cdn-config/pull/52


Implements cosmos.OLTP SPN support as requested  #29958

Description
Added cosmos.OLTP SPN support by changing azure-cosmos-spark. You can still use
spark.cosmos.accountKey config key to specify accountKey. Alternatively combination of the following keys needs to be provided
spark.cosmos.tenantId
spark.cosmos.clientId
spark.cosmos.secret
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ x] The pull request does not introduce [breaking changes]
[ x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

@microsoft-github-policy-service agree

@arykov  - you change is missing an important design gap - AAD auth in the SDK would prevent using any metadata operations (like creating databases and containers) - which means the built-in Spark catalog functionality would be broken.
We have a PR already that will add AAD support and also addresses above gap - please take a look at https://github.com/Azure/azure-sdk-for-java/pull/32393
We are planning to release the AAD support like in the PR above in the January or February release of the SDK. Please let me know when you have any remaining questions. My assumption right now is that we can close this PR in favor of above?

Indeed. Too bad it was not linked from corresponding issues and I did not look at pull requests more thoroughly

I added the missing link (and fixed the issue with didn't have porject association correctly - which is why the link was probably missed in the first place)

https://github.com/Azure/azure-sdk-for-java/pull/32393 has been merged in the meantime.


Update enzyme to the latest version 3.5.0

Summary

Test plan

Coverage remained the same at 95.073% when pulling 83396045ae6dea4d3bfe822d2e9efe53f52c41dd on greenkeeper/monorepo.enzyme-3.5.0 into 51eb465aa99c3b4d03bb9438755ebfdcc925b0b2 on master.


Off-Chain Protocol: Optional Result Field

dip: 161
title: Off-Chain Protocol: Optional Result Field
author: Xiao Li (@xli), SunMi Lee (@sunmilee), David Wolinsky (@davidiw)
type: Informational
discussion-to: https://github.com/diem/dip/issues/161
created: 2021-04-07
updated: 2021-04-07

Overview
Both the Off-Chain Protocol and Travel Rule Exchange (or PaymentCommand) are defined in DIP-1. The Off-Chain Protocol was defined in such a way as to support the minimal requirements for these exchanges, specifically, in this case, asynchronous responses to requests. Many types of communication benefit from synchronous responses as it provides for both protocol simplicity and reduced latency. In order to support synchronous commands, the CommandResponseObject can leverage an optional field: result. The result field, if defined, must contain __ObjectType that should uniquely define the shape or other fields within the result.
Here's an example from DIP-10:
{
   "_ObjectType": "CommandResponseObject",
    "status": "success",
    "result": {
	    "_ObjectType": "ReferenceIDCommandResponse",
	    "recipient_address": "c5ab123458df0003415689adbb47326d",
    },
    "cid": "12ce83f6-6d18-0d6e-08b6-c00fdbbf085a",
}

I don't understand what makes embedding a result field in a response "synchronous", could you explain?

One doesn't have to do a subsequent JSON-RPC query to get a result that's more informative than just status: success. In this case, the desired information is the recipient_address normally in a ReferenceIDCommandResponse . By having it in a result field, it saves a second round trip, simplifying and reducing latency for a P2M flow.
Put another way, one can issue a command and get the response in a single JSON-RPC command as opposed to two: doAction, getRecipientAddress.

Thanks for the explanation @dimroc . This makes total sense, but the terminology "asynchronous/synchronous" don't apply here. I would remove them, and just leave the explanation that a response field can include information that may prevent the need for another message exchange.

Hi @dahliamalkhi i've incorporated your feedback into the PR for this dip https://github.com/diem/dip/pull/165 if you can take a look that'd be great!


Ignore call to process.getuid if in Windows

This should fix support for Windows. Running the example in the readme seems to run without any errors.
Fixes #9

did you mean to close this? this pr seems reasonable.

It seemed like it wasn't going to get anywhere anytime soon and I was just cleaning up my pending PRs. If you think it's going to be useful, I'm fine with reopening it and fixing anything it might be missing.

oh sorry, I just missed it i think. sometimes I get lots of github emails etc. I'm gonna merge this. sorry it took so long.

sorry, actually it looks like this might be fixed already. master already has code to check this.
1ca6e00f0d7393a19acb436afe7101fd2bf3329b
that should work, right?

Yeah, looks good

okay good. Closing.


Adding to favorites feature

What about being able to "star" a module/page that we are using frequently and being able to browse through it from a new category named for example favorites. I'm using less than 10modules frequently.
Just my 2 cents

It's actually there already. It's implemented using Custom Hotkeys. Just the URL and you can get there by clicking Alt+1, Alt+2, Alt+3. You can set it up in Authentic Theme Settings.
Is this alright with you?

I'm not the kind of shortcuts person but will try to use it. I really think it should be nice to have the little star on each pages, and being able to access the one activated.

Star on each page? I thought you said the menu on the left?
Ok, listen what you can try right now: Webmin has inbuilt-functionality for doing it.
Go to Webmin Configuration:

Open Edit Categories and create new category, let's say Favorites (favorites   Favorites)
Then goto Reassign Modules and reassign modules you want to that category

You will get all your often used modules in Favorites category. On the next release, I will add an icons for label/labels like favorite.
If it's not good enough, please explain what you mean by to have the little star on each pages, and being able to access the one activated

I understand the reasign in categories and you understand what I mean with what you called label/lables. So everything is fine. Thanks

Oh. Having a star on each page - sound like a great idea!! I will do this (most likely) in version 15.

Alright, this feature seems to be great but very hard to do! However I will implement this in the new up-coming release of Authentic Theme 15!

You rock, congrats! You deserve to be the default theme for webmin
Le 16 août 2015 10:09, "Ilia Rostovtsev"<EMAIL_ADDRESS>a
écrit :

Alright, this feature seems to be great but very hard to do! However I
will implement this in the new up-coming release of Authentic Theme 15
!
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/210#issuecomment-131505438
.

:+1:

Gorgeous implementation! Congrats!

Thanks! I'm glad you liked it!


Error using django demo example

Using django 1.7 py3, I tried the function render_to_pdf django demo example and got the following error:
Exception Value: string argument expected, got 'bytes'
When I pass a simple string, like 'hello world', it says that name 'unicode' is not defined. I believe it's a python 3 port issue.

had same issue
in util.py: 508 changed encoding to latin1
in document.py after line 171 added
if type(data) is str:
data = data.encode(encoding='UTF-8')
now getting blank doc without errors

https://github.com/chrisglass/xhtml2pdf/issues/190#issuecomment-73881932

Thanks for hints. I've fixed encoding in util.py and in document.py, before writing to buffer, encode the str again to bytes.
if type(data) is str:
        data = data.encode('latin1')

Now, it seems the generating works with python3 for me with simple document example...attaching freeze:
$ pip3 freeze
Django==1.8.2
Pillow==2.8.2
PyJWT==1.3.0
PyPDF2==1.24
defusedxml==0.4.1
django-easy-pdf==0.1.0
html5lib==0.99999
oauthlib==0.7.2
psycopg2==2.6
reportlab==3.2.0
xhtml2pdf==0.0.6
```

I got the similar problems. The exception log is:
File "/usr/local/lib/python3.4/site-packages/xhtml2pdf/document.py", line 184, in pisaDocument
context.dest.write(data)  # TODO: context.dest is a tempfile as well...
TypeError: string argument expected, got 'bytes'
[21/Mar/2016 12:16:20] "POST /scheduler/reports/calendars/ HTTP/1.1" 500 106774
I'm using xhtml2pdf-0.1a1

Hi all,
@kensonman as @reb00ter noted, you need to feed CreatePDF unicode data and encode is as such, too.
I regret that we don't have better documentation, but I invite everyone to use the latest alpha with Python 3 and make PRs that fix their issues.
Other than that, please rest assured that xhtml2pdf is in production in a lot of systems and is not broken as such, it just needs a kind loving hand :)


Don't configure vcenter plugin per default and in any cases

@jobrs Not sure whether this is acceptable. Please guide me...

@reimannf: does this change mean that you will only configure the center plugin if the prerequisite configuration has been provided? or would the vcenter plugin work properly, but would no longer be configured by monasca-setup?
@Kuckkuck: For suppressing the discovery of plugins, we have added an option to the agent. Maybe we should make this one available also to our Chef recipe?

It means vcenter plugin is only activated if nova_conf was found. Although the initial comment was
# for cases where this plugin and nova-compute service runs separately
# we will configure the plugin with given args.
# so, we have to set these below variables

If I can deactivate this in an other way, this is also fine. But still I think that enableing vcenter plugin in any cases doens't sound right to me.

@reimannf makes sense to me. no nova_conf, no discovery. shall I merge?


[tracking] connections hang with 8 concurrent agents

Known failure condition
Run 8 agents on your computer
Some agents fail to join space
Hypothesis

Due to connectivity limiting changes
Due to something else?

Proposed approach

Reproduce manually with agents
Reproduce in testbench
???
Debugging

Definition of Done
Option 1

Timebox to X days of debugging and investigation

Option 2

Clarity on what area of the code or change is responsible for the breakage

Refs

https://github.com/dxos/dxos/issues/3827

fixed with https://github.com/dxos/dxos/issues/4060


Adds promise-based API for asynchronous ViziCities methods

Description
ViziCities methods are currently not using promises, meaning that asynchronous logic is either handled using callbacks or it run after the return of a method, providing no means of knowing when execution has completed.
Solution
Most asynchronous and potentially asynchronous methods in ViziCities now return a promise that can be used to defer further logic until async execution has completed.
Limitations
This change means that some ViziCities methods now return a Promise object rather than this referring to the scope of the method (eg. for chaining). All existing examples work without modification though it's possible that some uses of ViziCities may break because of the change in what is returned.

Had a bit of a nightmare rebasing this with the changes within the dev branch. Pretty sure it's all up to date now.

Looks good 👍🏻


Make root dom element of  not

<Inspector> component seems to be using
 as a root dom node,
so when the inspector is nested in another list item component React complains with the flowing message:
Warning: validateDOMNesting(...):
 cannot appear as a descendant of

Below is the rendered dom tree which illustrates the problem:

Regardless of the React warning, according to MDN on
 element:

Permitted parents: An
,
, or <menu> element.

So having
 as root element is not a conforming usage anyhow ¯\_(ツ)_/¯

Make sense, will change it to
 or

@ValentineStone if this has not been completed yet, it sounds like a pretty easy change. Would you like to help out, and build this feature?

@ndelangen sure, I'll take a look at it within a couple of days)


View taking too long to render

Whenever I go into Tabmon, it takes 8+ minutes to render the view for the last 24 hours. Is this normal?

Hi spookymonster,
It depends on how many counters you are collecting, your sample rate, and the specs on your database machine.  TabMon does generate a lot of data and this is currently up to the user to manage.  I'd recommend creating indexes on the table for whatever fields you tend to filter on (sounds like Timestamp) -- that should speed it up quite a bit.
We recently added the ability to specify indexes to create in the config, but it hasn't been bundled in a release yet.  In the future we'd also like to include some historic aggregation options, but we aren't there yet.

Another idea to speed up the view would be to schedule some kind of database task to drop data older than a certain threshold, depending on your retention needs.
Using Tableau to create an extract is also an option.

So Tabmon doesn't clean up old records? Is this mentioned anywhere in the
documentation? What other maintenance does it require on a regular basis?
On Mon, Feb 8, 2016 at 3:10 PM, Justin Mangue<EMAIL_ADDRESS>wrote:

Hi spookymonster,
It depends on how many counters you are collecting, your sample rate, and
the specs on your database machine. TabMon does generate a lot of data and
this is currently up to the user to manage. I'd recommend creating indexes
on the table for whatever fields you tend to filter on (sounds like
Timestamp) -- that should speed it up quite a bit.
We recently added the ability to specify indexes to create in the config,
but it hasn't been bundled in a release yet. In the future we'd also like
to include some historic aggregation options, but we aren't there yet.
—
Reply to this email directly or view it on GitHub
https://github.com/tableau/TabMon/issues/42#issuecomment-181510333.

That's correct.  TabMon does not delete old data; curation of data it generates is left up to the user, although we do have a feature request to add a configuration flag to purge data older than a certain threshold.  Issue #13
Since it seems like a point of confusion, I'll spin up an Issue to update the documentation to explicitly state that TabMon does not delete data.

Opened up Issue #43 to address this.  Thanks for the suggestion.
Oh, and other than managing data retention, I can't think of any other maintenance that is required on a regular basis.

Thanks Justin. This can cause a big problem for admins that have little or
no database management experience, or are unfamiliar with pgadmin3. Letting
people know upfront that this isn't a push-button setup will prepare them
for the additional time and resources required to maintain the app.
On Feb 11, 2016 9:00 PM, "Justin Mangue"<EMAIL_ADDRESS>wrote:

That's correct. TabMon does not delete old data; curation of data it
generates is left up to the user, although we do have a feature request to
add a configuration flag to purge data older than a certain threshold.
Issue #13 https://github.com/tableau/TabMon/issues/13
Since it seems like a point of confusion, I'll spin up an Issue to update
the documentation to explicitly state that TabMon does not delete data.
—
Reply to this email directly or view it on GitHub
https://github.com/tableau/TabMon/issues/42#issuecomment-183147741.

Closing this issue out since the work items are tracked in #43 and #13


[5.3] Add nullable morph columns

This will be very helpful for the case when model has owned_by polymorpic relation which could be null if owner not set\exists. For example comments could be written by guests and by authenticated users. Or author of an article can be deleted from system, but content will be published still.
Using it in Laravel Ownership package.

@a-komarev: Docs for this would be really nice 🙂

@tillkruss https://github.com/laravel/docs/pull/2927 Is it enough?

👍


Faster exporter

I removed a lot of the queries that made the exporter slow. Also added a test.
@hugoledoux can you have a look to see if it is still working as you wanted?

I fixed a few things and added a few TODO (as future work, no need for now), now the output is valid ✅


Raycast outputting object path

Feature
The raycast currently gives the position and normal of whatever spot you hit, but what if hitting something with a raycast also gave you the object's name and it's path?
Context

Implemented in 15c73d3339ba0e0440e47cd805245a3215a97492


reponse time 5 times slower when normalizedCache is enabled

Version
2.4.4
Question.
This is related to 2413. When I enable normalizedCache, reponse time increases from 800ms to 4000ms. Here's how my Apollo Client look.
@Singleton
@Provides
fun provideLruCache(): LruNormalizedCacheFactory {
    // Create a 50MB NormalizedCacheFactory
    return LruNormalizedCacheFactory(EvictionPolicy.builder().maxSizeBytes(50 * 1024 * 1024).build())
}

@Singleton
@Provides
fun provideSqlCache(): SqlNormalizedCacheFactory {
    return SqlNormalizedCacheFactory(application, "apollo_cache.db")
}

@Singleton
@Provides
fun provideCacheResolver(): CacheKeyResolver {
    return object : CacheKeyResolver() {
        override fun fromFieldRecordSet(field: ResponseField, recordSet: Map<String, Any>): CacheKey {
            return formatCacheKey(recordSet["nickname"] as String?)
        }

        override fun fromFieldArguments(field: ResponseField, variables: Operation.Variables): CacheKey {
            return formatCacheKey(field.resolveArgument("nickname", variables) as String?)
        }

        private fun formatCacheKey(id: String?) = when {
            id.isNullOrEmpty() -> CacheKey.NO_KEY
            else -> CacheKey.from(id)
        }
    }
}

@Singleton
@Provides
@Named("Apollo")
fun provideOkHttpClient(): OkHttpClient {
    return OkHttpClient
            .Builder()
            .addInterceptor(interceptor)
            .addInterceptor(chunkInterceptor)
            .connectTimeout(20, TimeUnit.SECONDS)
            .writeTimeout(20, TimeUnit.SECONDS)
            .readTimeout(20, TimeUnit.SECONDS)
            .build()
}

@Singleton
@Provides
fun provideApolloClient(@Named("Apollo") okHttpClient: OkHttpClient,
        lruCache: LruNormalizedCacheFactory, sqlCache: SqlNormalizedCacheFactory, resolver: CacheKeyResolver): ApolloClient {
    val lruFirstThenSqlCache = lruCache.chain(sqlCache)
    return ApolloClient.builder()
            .serverUrl(cmsBaseUrl)
            .normalizedCache(lruFirstThenSqlCache, resolver)
            .defaultResponseFetcher(CACHE_FIRST)
            .okHttpClient(okHttpClient)
            .build()
}

And this is how I call my query
private fun getStudents(): Observable<String> {
    return apolloClient.rxQuery(StudentsQuery()).flatMap { response ->
        if (response.errors?.isNotEmpty() == true) {
            Observable.error(Throwable("Error: fetching students. ${response.errors}"))
        } else {
            Observable.just(gson.toJson(response.data?.students))
        }
    }
}

data returned is of size 200kB

Aw yea, that's not great. We definitely need more benchmarks to investigate those.
One thing you can try is write to the cache asynchronously (set writeToCacheAsynchronously = true when passing your normalizedCacheFactory). That should reduce the impact of the cache at the price of maybe a few cache misses.
Besides that, it'd be interesting to know whether it's something specific to your use case or a more general thing. In #2413, the request time went down to 600ms again once the SQLite writes were wrapped in a transaction. So I'm guessing there's something more to it that could explain the 4000ms time

After enabling writeToCacheAsynchronously, on first launch I am getting 900ms which is great. But apart from first launch, I am back to old times 4000ms which is weird.
And in memory cache seems to be working perfectly fine in all 3 cases(without responseFetcher, with responseFetcher & writeToCacheAsynchronously and with responseFetcher but without writeToCacheAsynchronously). I am getting 200ms when I call same query again.

@martinbonnin Any updates on this? I tested few more variations looks like SqlCache might be the culprit. I used only LruCache, it takes only 300ms even after relaunch. I thought LruCache was in-memory, so how is it giving benefit on relaunch? When using only SqlCache, results were slow just like I stated above.
As for fetch strategies, I am using CACHE_FIRST as default one. Using NETWORK_FIRST gets results in 900ms. Using NETWORK_AND_CACHE gets results in 1000ms.

Hi @dush1729 ! We're working hard on optimizing the SQL cache for 3.0 and preliminary results are encouraging. It's not quite ready yet and there are a lot of moving parts at the moment but if you want to take a look, you can try the latest 3.x dev version ( com.apollographql.apollo3:apollo-runtime:3.0.0-dev4 as of writing)


ES6 updates

Replaced almost all uses of var with let. Menu and NestedMenuItem are the only remaining uses of var due to circular references. The docs' HTML file also contains var.
Cleaned up the requires and used deconstructive assignment where possible.

@jkruder Can you sync with master please?

@hai-cea using let in the source shouldn't be an issue because we're transpiling to ES5 anyway.

@jkruder Great stuff! It would also be nice if we used shorthand syntax for method declarations: render () {...} instead of render: function () {...}.

@pomerantsev Does let get transpiled to var?

@pomerantsev I did that for a few of the docs pages/components that I was working on. I was going to take a crack at a portion of the components to minimize merge conflicts.

Created #901 to cleanup git log due to several merge conflicts.


Add game instances list api endpoint

Add a server API endpoint to list game instances (InMemoryDB only)
Add Lobby component to examples
Checklist

[ ] Use a separate branch in your local repo (not master).
[ ] Test coverage is 100% (or you have a story for why it's ok).
[ ] Add 'list' endpoint to MongoDB and Firebase connectors

Coverage decreased (-0.3%) to 99.653% when pulling cc8aa0d4fb4651f58fce7d5510cfe41c2edc5e3d on francoijs:add-game-instances-list-api-endpoint into 314f8f0ba66e6a58505ac8fd7b41c83604c47b5c on google:master.

@francoijs I haven't forgotten about this. Not sure if you're still making changes or if it's ready for a review. If it's the latter, I will take a look sometime this week.

@nicolodavis actually I don't feel satisfied with the PR. It is bigger and messier that what I was expecting initially. Maybe it could be easier to review and discuss if I split it into 3:

1 PR for the API changes (new HTTP endpoints list and leave in src/serve/api.js)
1 PR for the generic lobby interface/code in lobby/
1 PR for a lobby implementation in examples/

What do you think?

Ok! first PR #276 is about the new server API endpoints


Change the device address after connecting.

Is there a way to change the address after establishing a connection with the device (connect_rtu)?

See also: https://github.com/slowtec/tokio-modbus/issues/9#issuecomment-445523963


Availability doesn't change on shutdown

Hi,
Love your work, Sensor updates are OK now.
I use the Agent on my PC that is connected with my wifi.
When I use the shutdown command the PC shuts down. :P
but the "homeassistant/sensor//availability" doesn't change from online to offline.
It would be nice if I can use the availability as status for On or Off.
I know there are other ways to accomplish this. but I realy love the usage of MQTT

Good call, I need to catch Windows' shutdown announcement. Not that difficult, will add in the next version.
Thanks!

Fixed!


Failed to build on Mac OSX: "Could not find python binary"

I am trying to compile tensorflow from source but cannot build master. The build for the pip package fails with the following error message
ERROR: /Users/till/git/tensorflow/tensorflow/tensorboard/components/vz_sorting/BUILD:8:1: Compiling 2 TypeScript files failed: execrooter failed: error executing command
  (cd /private/var/tmp/_bazel_till/3e885964b28c274cf7e8652af4ed1911/execroot/tensorflow && \
  exec env - \
  bazel-out/host/bin/tensorflow/tensorboard/scripts/execrooter bazel-out/local-py3-opt/bin/tensorflow/tensorboard/components/vz_sorting/vz_sorting-tsc-execroot.json): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Traceback (most recent call last):
  File "bazel-out/host/bin/tensorflow/tensorboard/scripts/execrooter", line 168, in <module>
    Main()
  File "bazel-out/host/bin/tensorflow/tensorboard/scripts/execrooter", line 148, in Main
    raise AssertionError('Could not find python binary: ' + PYTHON_BINARY)
AssertionError: Could not find python binary: python3

I am running Mac OSX 10.12.4, bazel 0.4.5, python 3.6.1 in a conda virtual environment, Apple LLVM version 8.1.0 (clang-802.0.42). This might be related to https://github.com/bazelbuild/bazel/issues/2752.
Any suggestions would be greatly appreciated.

What is the output of which python3 in the terminal you are trying to build TF?
Also, did you run configure before building?

@gunan, thanks for looking into this. Yes, I have run configure. Here is the output.
tensorflow git:(master) ./configure
Please specify the location of python. [Default is /Users/till/miniconda3/envs/tensorflow/bin/python]:
Found possible Python library paths:
  /Users/till/miniconda3/envs/tensorflow/lib/python3.6/site-packages
Please input the desired Python library path to use.  Default is [/Users/till/miniconda3/envs/tensorflow/lib/python3.6/site-packages]

Using python library path: /Users/till/miniconda3/envs/tensorflow/lib/python3.6/site-packages
Do you wish to build TensorFlow with MKL support? [y/N]
No MKL support will be enabled for TensorFlow
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N]
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
No XLA support will be enabled for TensorFlow
Do you wish to build TensorFlow with VERBS support? [y/N]
No VERBS support will be enabled for TensorFlow
Do you wish to build TensorFlow with OpenCL support? [y/N]
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N]
No CUDA support will be enabled for TensorFlow
Do you wish to build TensorFlow with MPI support? [y/N]
MPI support will not be enabled for TensorFlow
.........
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
Configuration finished

And some more diagnostics:
which python  # /Users/till/miniconda3/envs/tensorflow/bin/python
which python3  # /Users/till/miniconda3/envs/tensorflow/bin/python3
python3 --version  # Python 3.6.1 :: Continuum Analytics, Inc.

All looks good, thanks.
What is the exact bazel command you are running after configure?

I have tried the following both with the same error:
bazel build //tensorflow/tools/pip_package:build_pip_package
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

Also, here is the full environment.
pip freeze
appnope==0.1.0
bleach==1.5.0
cycler==0.10.0
decorator==4.0.11
entrypoints==0.2.2
html5lib==0.999
ipykernel==4.6.1
ipython==6.1.0
ipython-genutils==0.2.0
ipywidgets==6.0.0
jedi==0.10.2
Jinja2==2.9.6
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.0.1
jupyter-console==5.1.0
jupyter-core==4.3.0
MarkupSafe==0.23
matplotlib==2.0.2
mistune==0.7.4
nbconvert==5.2.1
nbformat==4.3.0
notebook==5.0.0
numpy==1.12.1
pandocfilters==1.4.1
pexpect==4.2.1
pickleshare==0.7.4
prompt-toolkit==1.0.14
ptyprocess==0.5.1
Pygments==2.2.0
pyparsing==2.1.4
python-dateutil==2.6.0
pytz==2017.2
pyzmq==16.0.2
qtconsole==4.3.0
scipy==0.19.0
simplegeneric==0.8.1
six==1.10.0
terminado==0.6
testpath==0.3
tornado==4.5.1
tqdm==4.14.0
traitlets==4.3.2
wcwidth==0.1.7
widgetsnbextension==2.0.0

I see, configuration and bazel command all looks good.
@jart This looks related to https://github.com/tensorflow/tensorflow/commit/b659bc39f27e81b3249f73710671059589c5daa1#diff-f0892bf77329d113fc9bd987ae1d7ec3
Any ideas?

does it work if you disable sandbox?

@jart, I have tried bazel build --config=opt --genrule_strategy=standalone --spawn_strategy=standalone //tensorflow/tools/pip_package:build_pip_package  without success. Is there another way to turn of sandboxing?

@nlopezgi wrote the Python auto configure script IIRC.

I'm quite sure this is related to https://github.com/bazelbuild/bazel/issues/2752. Until that fix percolates through the releases: I got the build to move on without tensorboard by deleting line https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/BUILD#L162, i. e.
"//tensorflow/tensorboard",
I also tried changing the 239 occurrences of PYTHON_?(BIN)(ARY)?_?(PATH)? ?= in 132 files, plus the other 196 occurrences in 108 files in /tmp/_bazel/, but bazel apparently checks hashes for the files it generates.

@MatthiasWinkelmann, thanks for the suggestion.
I've just tried compiling with the new bazel 0.5.1 but get the same error.

I can compile tensorflow using the current master of bazel so hopefully this issue will be fixed in bazel 0.5.2.

@tillahoffmann , could you tell me how to install the master version of bazel? so that I can solve the problem like yours? Thank you!

@justprotato
To test out bazel, you need to compile it. To compile a development version of Bazel, you need the latest released version of bazel, which can be compiled from source.
bazel build //src:bazel builds the Bazel binary using bazel from your PATH and the resulting binary can be found at bazel-bin/src/bazel. This is the recommended way of rebuilding Bazel once you have bootstrapped it.

Install a release version of Bazel

git clone the master branch of Bazel then checkout HEAD (https://github.com/bazelbuild/bazel/issues/2140)

Run:  bazel build //src:bazel in the directory where you have the master branch files.

The output files are in the src folder inside the bazel-bin folder.

Replace your bazel file (example: /usr/local/bin/bazel) with the one in the bazel-bin/src folder.

`ERROR: /private/var/tmp/_bazel_sohilshrestha/ae3fc0f2acf0ccc3faaa1a969a080e66/external/base/image/BUILD:6:1: Couldn't build file external/base/image/003.tar.gz.nogz.sha256: SHA256 external/base/image/003.tar.gz.nogz.sha256 failed (Exit 1): sha256 failed: error executing command
(cd /private/var/tmp/_bazel_sohilshrestha/ae3fc0f2acf0ccc3faaa1a969a080e66/execroot/phd &&
exec env -
bazel-out/host/bin/external/bazel_tools/tools/build_defs/hash/sha256 bazel-out/darwin-opt/bin/external/base/image/003.tar.gz.nogz bazel-out/darwin-opt/bin/external/base/image/003.tar.gz.nogz.sha256)
Use --sandbox_debug to see verbose messages from the sandbox
Traceback (most recent call last):
File "bazel-out/host/bin/external/bazel_tools/tools/build_defs/hash/sha256", line 203, in
Main()
File "bazel-out/host/bin/external/bazel_tools/tools/build_defs/hash/sha256", line 176, in Main
raise AssertionError('Could not find python binary: ' + PYTHON_BINARY)
AssertionError: Could not find python binary: python3.6`
which python3 /usr/local/bin/python3
Similar ERROR encountered. Any help please?

What version of Python are you running?
Is it 3.6?
Different topic but I just read that:
'Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.'
I'm not sure if you want to train without a GPU.

I am running python 3.6.
GPU support was disabled with configuring.

The error you are getting does not seem to me to be related at all with this thread (this thread was for issues with python related to TF configure, while your error is occurring when trying to run a python script located in bazel_tools/tools/build_defs/hash/sha256.
My first impression is that you need to have python in your path (not just python3) as this script under bazel_tools might just have it hardcoded somewhere (i.e. this error is not coming from TF code, its native bazel tools).

@nlopezgi Sorry for posting it in this thread. Will post in Bazel issue. However i tried keeping python3 path in PATH variable. But it will still generate the same error.

did you add a symlink from usr/local/bin/python -> python3
(all that this script requires is likely for usr/local/bin/python to exist and point to some python)


[18.03] Ruby Ver Bump (#10040)

Proposed changes
Cherry-pick #10040
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit eaf7d1d0b32d569609540f64c39cd9026cd71ec9
https://deploy-preview-10042--docsdocker.netlify.com


Update binder link for master —> main

Hi there, cool package. I noticed when launching the binder that the link wasn't updated for the switch from master to main. There are a few other links w/ master but they seem to be redirected by GitHub — just not this one. Cheers.

Thanks!


Question: Will this tool cause games to use less GPU VRAM?

If the tool compresses games, does that mean the compressed data, I assume mostly being textures.. would that make it so VRAM is saved as well? Making GPUs with 8GB / 12GB become somewhat a little more futureproof?

Not how that works, and trust me, you wouldn't want it to be the case even if it was possible.

It can speedup loading times given a good CPU, but data absolutely need to be decompressed in order to be of any use.
This includes even JPEG images, you can't see the raw compressed image, it has to be decompressed in ram first (oversimplification)

It can speedup loading times given a good CPU, but data absolutely need to be decompressed in order to be of any use. This includes even JPEG images, you can't see the raw compressed image, it has to be decompressed in ram first (oversimplification)

I see.
So what it does is it just unpacks the compressed object, then uses a better compression technology to make it smaller.
The target object however remains the same size and so on when decompressed in RAM to be utilised in game, and thus this is why textures ingame don't actually change in quality?

This tool does not do anything like that. All it does is call the functions already built into Windows to handle compressing and decompressing files. If the files are already compressed, compressing them again is going to do nothing at best and actively make things worse on average.
It doesn't unpack anything. It doesn't touch the files themselves at all. It can't magically make a game or program use a completely different format for its files than the one it was designed to use.

This tool does not do anything like that. All it does is call the functions already built into Windows to handle compressing and decompressing files. If the files are already compressed, compressing them again is going to do nothing at best and actively make things worse on average.
It doesn't unpack anything. It doesn't touch the files themselves at all. It can't magically make a game or program use a completely different format for its files than the one it was designed to use.

What the shit.. then how in the world does it make the game dir smaller in size? :f What is it doing?

Compressing....the files. There are multiple layers between the raw 0's and 1's and what makes it onto the disk. What the person before was talking about and what you were confused about is file-level compression, where the data is packed into a file by the person who made the file, optionally, with some form of compression. Compactor is one step removed from that, it compacts files at the filesystem level, meaning the data the person made is still there, its just written to the disk in a more compressed form and automatically decompressed by the system on the fly whenever it is read.

Compressing....the files. There are multiple layers between the raw 0's and 1's and what makes it onto the disk. What the person before was talking about and what you were confused about is file-level compression, where the data is packed into a file by the person who made the file, optionally, with some form of compression.
Compactor is one step removed from that, it compacts files at the filesystem level, meaning the data the person made is still there, its just written to the disk in a more compressed form and automatically decompressed by the system on the fly whenever it is read.

I think I understand now..
So my mistake in understanding is it's not turning a .zip into a .7, but instead taking the whole directory and just writing it to the disk in a more efficient way?
Kind of like the opposite how when you download a 10 GB file, but it isn't fully downloaded, it says the size on the disk is "10GB" when in actual fact it's much smaller?
Sorry this is just super interesting, it's almost tempting to just Compact the C drive for fun. LOL ;d

We're getting there, but things are still a bit fuzzy it seems.
Yeah, its not making an archive out of the files (which is what zip and 7z are, file archives), but its basically encoding the data so that it fits in less space than if it was just written out to the disk as is in a way that can be completely reversed, something called lossless encoding.
That's close, but not quite right. The reason it shows up as 10GB but is smaller is because the system knows that the file will end up as 10 GB so it fakes it to the user, basically creating a ghost of the file. The size is set to 10 GB because it knows that is what it should be at the end, but the amount of space allocated on the disk is only as much data as has actually been written. This also comes into play with compression, so you can have a 5 GB file only have 3.4 GB allocated because the compression managed to squeeze the data into 3.4 GB of space on the disk instead of the 5 GB that it would normally take up.
Yeaaaaaah,  I wouldn't touch C:\ unless you REALLY want to reinstall Windows.

We're getting there, but things are still a bit fuzzy it seems.
Yeah, its not making an archive out of the files (which is what zip and 7z are, file archives), but its basically encoding the data so that it fits in less space than if it was just written out to the disk as is in a way that can be completely reversed, something called lossless encoding.
That's close, but not quite right. The reason it shows up as 10GB but is smaller is because the system knows that the file will end up as 10 GB so it fakes it to the user, basically creating a ghost of the file. The size is set to 10 GB because it knows that is what it should be at the end, but the amount of space allocated on the disk is only as much data as has actually been written. This also comes into play with compression, so you can have a 5 GB file only have 3.4 GB allocated because the compression managed to squeeze the data into 3.4 GB of space on the disk instead of the 5 GB that it would normally take up.
Yeaaaaaah, I wouldn't touch C:\ unless you REALLY want to reinstall Windows.

Hehe I knew the C:\ idea was silly I just being facetious.
Thank you so much this has all been quite interesting.
I think I'll compress all my Games though that I barely play for fun.


Ranks colors

Hi, i created a post with a error with Essencials and TownyChat where they create conflict. One dev of Towny tell me that i can create Names with colors ranks with PEX, but he cant help me. I don't really know how edit this to work like i want. I give you the post about chats colors for you read and tell me what i can do.
Thanx anyway.
Chat Colors Ranks: https://github.com/LlmDl/Towny/issues/2570

You don't need 2 tickets for 1 problem.

Official PEX guru here.
(Not the programmer.)
PEX doesn't have any chat management programming built into it.  PEX only provides a place to store the prefix and suffix for groups and players.  It's up to a chat management plugin to display that information in-game.
Personally, I have always used EssentialsChat and EssentialsXChat (when "EssentialsChat" was discontinued at Minecraft 1.8) to display prefixes and suffixes in-game.  Both of these plugins require the Vault plugin to be installed on the server before they will function correctly.
All of the standard Color Codes and Formatting Codes can be used in the EssentialsXChat config.yml file.  Just replace the "section sign" (§) with an ampersand (&).  I can only assume these codes are also usable within the Towny plugin's config files.

Not a PEX issue after all.  It's all about formatting and color codes in TownyChat.


[Fix] Removed issuer name in payment result

[Fix] Removed issuer name in payment result

Se elimina el nombre del banco de la pantalla de resultados para evitar redundancia

Antes:

Después:

Codecov Report

Merging #863 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #863      +/-   ##
===========================================
- Coverage    31.63%   31.61%   -0.02%
===========================================
  Files          326      326
  Lines        17392    17386       -6
  Branches      1556     1555       -1
===========================================
- Hits          5502     5497       -5
+ Misses       11231    11230       -1
  Partials       659      659

Impacted Files
Coverage Δ

...dopago/paymentresult/components/PaymentMethod.java
48% <ø> (-7.18%)
:arrow_down:

...aymentresult/components/PaymentMethodRenderer.java
0% <ø> (ø)
:arrow_up:

...dk/src/main/java/com/mercadopago/model/Issuer.java
18.18% <0%> (-9.1%)
:arrow_down:

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 b94d6d1...54195e5. Read the comment docs.


[AERIE-1750] Configurable Winston logging

Tickets addressed: AERIE-1750
Review: By commit
Merge strategy: Merge (no squash)

Description
Converts all uses of console.log and console.error to use Winston loggers.
The goal is to make the logging format match the SLF4J format used by the merlin and scheduler servers, so each file that uses a logger is required to get its own instance and configure it with the name of the file. The format is:
LEVEL filename - message

The logger also automatically prints stack traces when it receives an error object instead of a string message.
The logger can be configured with the LOG_LEVEL and LOG_FILE environment variables. LOG_FILE has a special value of console (which is also the default) which sends output to (you guessed it) the console. LOG_LEVEL accepts the levels recognized by Winston, which are:
const levels = {
  error: 0,
  warn: 1,
  info: 2, // default
  http: 3,
  verbose: 4,
  debug: 5,
  silly: 6
};

But aerie-gateway so far only uses info and error.
Verification
I manually verified that message and errors are logged in the correct format, and that the level and file can be set using the environment variables.
Documentation
The documentation for the environment variables should go in deployment/Environment.md in the main repo.
Future Work

update the docs in the main repo
set the environment variables in the docker-compose.yml's in the main repo

Great work. Can you also do an npm run pre-commit commit (runs linting and Prettier formatting)? Other than that this looks good to go.

Done. (through the magic of rebase, its like I totally knew that before :). Rebase is too much power for a junior dev)


Update angr decompiler usage

This updates the angr decompiler usage to more closely reflect mdec's implementation. Importantly, this addresses #13.

This currently prints a deprecation warning to stdout, however it is fixed upstream when angr/angr#3324 is merged.


reorg README, config, etc. based on templatr

Codecov Report

Merging #169 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   62.38%   62.29%   -0.09%
==========================================
  Files          43       43
  Lines        2289     2289
==========================================
- Hits         1428     1426       -2
- Misses        592      593       +1
- Partials      269      270       +1

Codecov Report

Merging #169 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   62.38%   62.29%   -0.09%
==========================================
  Files          43       43
  Lines        2289     2289
==========================================
- Hits         1428     1426       -2
- Misses        592      593       +1
- Partials      269      270       +1

@adamdecaf Not sure how to fix it. Maybe decrease precision from 2 to 1 to avoid such "random" results? But still I don't understand why code coverage was changed here...

I've seen it if there are commits to master while a PR is open. A rebase helps usually, but I thought codecov did that..

@adamdecaf I've updated all as it was requested. Please, ✅ if you don't have any other comments.


WordBoundary Events Missing for Words with Apostrophe and Alias

Describe the bug
WordBoundary Events are missing when the SSML has words with an apostrophe. Also, when an alias is present in the SSML, there is no word boundary event for the substituted word. For example please consider the following SSML:
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><voice name="en-US-AmberNeural">Hello. I'm the king of Fantasy Land.</voice></speak>
The following word boundary events are generated where each line represents time in seconds, start, end and text:
50.0 114 119 Hello
600.0 119 120 .
1687.5 130 133 the
1800.0 134 138 king
2075.0 139 141 of
2825.0 182 183 .

As you can see, an event for "I'm" is missing. Also the alias phrase is missing.
To Reproduce
Use the above example SSML and observe word boundary events for "I'm" and the alias are missing.
Expected behavior
Correct word boundary events to occur for every word spoken.
Version of the Cognitive Services Speech SDK
1.30
Platform, Operating System, and Programming Language
MacOS/Swift

@yulin-li Please check this one, too.

Hi, this is a known issue. We don't have an ETA for this bug but you can replace I'm with I'm as a workaround, i.e. the ' character should not be escaped.

Tracked as long-term fix, we have put it into backlog for future plan. Will continue follow up with it.

Given there's a workaround available, I'm going to close this issue. If there are further concerns that the preprocessing can't address, please reopen or file a new issue referencing this one.
@yulin-li / @Kerry-LinZhang  -- please ensure that the internal work items crosslink to this GH issue so we can report here (even closed) once the unretouched capability is available. Thank you!

This shouldn't be closed. There is a supposed workaround for the apostrophes issue, but aliases are still ignored by the word highlighting. This behavior is incorrect and should be fixed.

Yes, we will track it as a backlog item.


Unable to upgrade data structure for DidlFavorite

Home Assistant recently implemented SoCo 0.14 and now issues about this warning are being reported. I have been unable to reproduce it myself so far but maybe you don't need a testcase to figure out what is happening?

WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.

I will fix this along with the other fix to data_structure_upgrade
2018-02-28 9:22 GMT+01:00 Anders Melchiorsen<EMAIL_ADDRESS>
Home Assistant recently implemented SoCo 0.14 and now issues about this
warning are being reported. I have been unable to reproduce it myself so
far but maybe you don't need a testcase to figure out what is happening?
WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE
FAIL. Unable to upgrade music library data structure to music service data
structure because an entry is missing for DidlFavorite in
DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SoCo/SoCo/issues/599, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiVRGvJdzbFwZLv74I6vkUlus5OHAWFks5tZQzCgaJpZM4SWPyt
.


Document ecto log entry deprecation

This is meant for a v3.0.x release (e.g. 3.0.7), but since there is no 3.0 branch I have it set for master right now (and is the reason for the merge conflict), alternatively we could only keep the changelog portion of the update since master removes the Ecto.LogEntry docs completely.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

Great, thanks!


Received unsupported nostr data:

When downloading events from wss://relay.realsearch.cc i get this error:
Received unsupported nostr data: "\n[\n\"EVENT\",\n\"RAND\",\n{\n\"id\":\"f9cb12c2e433b29a7441f897204804b83a5b9b7fdd903a759927029f17feac4e\",\n\"pubkey\":\"e022f5138944612a5cdbdaf13591fcf85c881f6616b8527eb24175aaca2c0aa0\",\n\"created_at\":1672993199,\n\"kind\":1,\n\"tags\":[\n[\n\"client\",\n\"astral\"\n]\n],\n\"content\":\"@5e7ae588d7d11eac4c25906e6da807e68c6498f49a38e4692be5a089616ceb18 Verifying My Public Key: \\\"highfar888\\\"\",\n\"sig\":\"621eba3ac2f6dc793c53a227a0553b83fca5355c8cc37546bbda87c983784af6e5ba6494639dd1612533e62b40249143852b061d225bc6a838d3a4823cf8323a\"\n}\n]"

It seems that the wss://relay.realsearch.cc relay doesn't conform to the
output standard of other relay implementations. It's possible to add
support for pretty JSON output, however relay's JSON output should be
compressed and with all the \n, as it's just extra data.
The logic is a little basic in nostrcat right now, as I could parse the
JSON to a struct, however the new lines will still break most JSON parsers.
For example this will error with new lines, but works without them. If you
want pretty json output, I suggest you use the jq on the command line,
which will add new lines and spacing - however over the wire,
compressed/compacted JSON is required.
let input = r#"\n["EOSE","ede73d9a-e332-4e06-b62f-acede3383cbd"]"#;
println!("{:?}",
serde_json::from_str::<serde_json::Value>(&input).unwrap());

// This errors. It's fine with the \n removed

impl Response {
    pub fn from_string(s: String) -> Self {
        match s {
            s if s.starts_with(r#"["EVENT""#) => Response::Event(s),
            s if s.starts_with(r#"["NOTICE""#) => Response::Notice(s),
            s if s.starts_with(r#"["OK""#) => Response::Ok(s),
            s if s.starts_with(r#"["EOSE""#) => Response::EOSE(s),
            _ => Response::Unsupported(s),
        }
    }
}

Are you the author of the relay implementation, or just a relay operator?
curl -i -N -H "Connection: Upgrade" -H "Accept: application/nostr+json"
https://relay.realsearch.cc

HTTP/1.1 200 OK
Server: nginx/1.14.1
Date: Fri, 06 Jan 2023 10:07:48 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 329
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS
Access-Control-Allow-Headers: accept,content-type,x-requested-with

{
"name":"Realsearch Nostr Relay",
"description":"This is a fast relay with full archive of textual posts",
"pubkey":"3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd",
<EMAIL_ADDRESS>"supported_nips":[
1,
11,
12,
15,
20,
22
],
"software":"https://relay.realsearch.cc",
"version":"0.1"
}

Hey, thank you for the explainations.
Im very bad at programation but im writing a shell script that use nostcat to convet events to Gource log file. My horrible code can be found at github.com/gourcetools/nostr-2-gource
For now i just removed this relay from relays.txt . Thank you for the time you took to explain and the solution provided, i did not expect that much.

You're welcome. Let me know when you get a visualisation of Nostr. I'm sure everyone on Nostr will love it.


How will you build the static files for this as a SPA?

How will you build the static files for this as a SPA?
I'm having trouble where the static files render but the markdown files are not found

Do you have a reproduction?

Please provide your file structure and configs


use ubuntu 20.04 in github jobs

Github actions warns that ubuntu-latest will soon be ubuntu 20.04 so lest make that explicit

Ubuntu 20.04 seems to work fine so we can safely leave this as is

Ubuntu 20.04 seems to work fine so we can safely leave this as is


Swift version - set Legacy flag to no

Hi @gmoledina Thanks for you contribution. One thing I want to ensure is: Is it still work if I build SwiftyJSON with Xcode 8?
Here is a relate issue: https://github.com/antitypical/Result/pull/193

@wongzigii From the comments in the thread you posted, I guess it doesn't work with Xcode 8.0
But as 8.1 is the latest, it makes sense to have the master branch work with the latest Xcode. We can simply have a specific tag that is the last version working on Xcode 8.0. (same logic as making it work for Xcode 7).

@gmoledina There is no reason to prevent 3.0 compilers from running the latest master as there is no code breaking change. I could be convinced if there actually were new language features that we'd ship along with the change, but as it is, this PR only adds a major inconvenience for no benefit whatsoever. You can compile with 3.0.1 if you want, and you can compile with 3.0.0 if you'd like too, but we're not going to force you either way.
I'm gonna go ahead and close this. Thanks a lot for contributing to SwiftyJSON, let me know if you'd like to reopen.


Clean test warnings from OpenRewrite

@JiriOndrusek do you mind taking a quick look at this PR

Thanks @ammachado for this! May I ask you to resolve the conflict on this PR? (it a simple conflict, just has to be solved manually)


Add Maraxsis compatibility

This PR adds the "get_waypoints" function onto the remote API. It allows read access of the spidertron waypoints from the remote API.
This is used in maraxsis to read the waypoints and send the submarine to the trench based on the schedule status.


Remove unused layouts.defaults

As far as I can tell, this is unused. There are default options set higher up in the file, but this is unrelated and doesn't seem to serve any purpose

Done


Float mismatch error after float16 quantization ：Data in initializer 'onnx::Add_2877' has element type tensor(float16) but usage of initializer in graph expects tensor(float)

Float mismatch error after float16 quantization ：Data in initializer 'onnx::Add_2877' has element type tensor(float16) but usage of initializer in graph expects tensor(float)
model_fp16 = float16.convert_float_to_float16(model,keep_io_types=True,disable_shape_infer =True)
Turning on keep_io_types=True reports floating point mismatches

I want to cry, but I can't.


Check for empty diagnostics with verbose logging

nlohmann::json throws an exception when trying to format an empty json object.

Any way I can reproduce this?

How I got there:
Launch glslls with --log and --verbose. Just after opening the client (in my case neovim) it says Client 1 quit with exit code 0 and signal 6.
This was in the LSP log (in my case ~/.cache/nvim/lsp.log):
[ERROR][2021-12-22 14:59:58] .../vim/lsp/rpc.lua:417	"rpc"	"/home/caleb/p/glsl-language-server/build/glslls"	"stderr"	"terminate called after throwing an instance of 'nlohmann::detail::type_error'\n  what():  [json.exception.type_error.302] type must be string, but is null\n"

Thanks!


Mention that GNU make is required

The current makefile is not compatible with bmake,
which is the default make on FreeBSD.

Could you point out what feature makes it incompatible?

For example $(shell ...) and ifeq are are incompatible constructs. Wildcarding with % (e.g., %.c) is also not portable.

Thank you (:


[WIP] Sync Settings Progress Bar

[x] Added sync progress bar
[ ] Clean up code
[ ] Tests

Fixes #123

looking good so far

1 Error

:no_entry_sign: | No CHANGELOG changes made

2 Warnings

:warning: | PR is classed as Work in Progress
:warning: | Needs testing on a Phone if change is non-trivial

  Generated by
    danger
  on
  2016-01-07

1 Error

:no_entry_sign: | No CHANGELOG changes made

1 Warning

:warning: | Needs testing on a Phone if change is non-trivial

  Generated by
    danger
  on
  2016-01-07

:white_check_mark:
No errors found

1 Warning

:warning: | Needs testing on a Phone if change is non-trivial

  Generated by
    danger
  on
  2016-01-08

Failing tests are legit:
Failing tests:
	-[ARLabSettingsSyncViewControllerSpec test_viewing_sync_records__looks_right_with_existing_sync_records_as_ipad]
	-[ARLabSettingsSyncViewControllerSpec test_responding_to_network_changes__looks_right_with_poor_network_quality_as_iphone]
	-[ARLabSettingsSyncViewControllerSpec test_responding_to_network_changes__looks_right_with_poor_network_quality_as_ipad]
** TEST FAILED **

I ran imageoptim on the images - happy to use smaller ones too if need be.
I'm not sure what's going one with the snapshots once I enable the usesDrawViewHierarchyInRect bool and there's not much documentation around it (https://github.com/facebook/ios-snapshot-test-case#features). I've decided to make that a separate issue so the new features here can become a testable beta. Basically, enabling that value lets autolayout work properly for iPhone snapshots but totally messes up the navigation bar and size of the resulting image.

If you're happy, and it passes locally, I'm happy to merge this with it red ( after a rebase ) - so I can ensure everything is :+1:

:white_check_mark:
No errors found

1 Warning

:warning: | Needs testing on a Phone if change is non-trivial

  Generated by
    danger
  on
  2016-01-10

yayyy it's :green_heart: !

Awesome, :+1: :+1: :+1:


issue 262 partial check and

1.internet connection check for overlap button
2.issue #262 partially check(if the app is open and user visited  news section once later if internet not there then also he can see the cache webview )

I have changed based on the above comment. Can you please verify and merge it?

Sorry for the confusion, I was not able to see what was this PR and what was branch staleness.
There are still some merge conflicts, can you merge develop and try to resolve them?
Also, there was a large UI refresh (#354 ), so there might need to be a conceptual change to this PR. The check overlap button is gone, however there is an event history button in settings screen now.

Thanks for the confirmation. I can see the News and Loactiontracker js file change. But I have one question.
Do we have still #262 issues valid?

Hi, yes #262 is still valid. There is a news section in Settings screen. I would recommend splitting that functionality out of this PR and tackling it in another PR.
There might be more than one health authority active, so it needs more thought

Thanks @tstirrat . Sure I will create new PR


#905 Added ApiVersion field to Operation object

SwaggerDocument is a C# representation of the Swagger specification. That spec does not include an "ApiVersion" field on the Operation object and so this isn't the correct place to put it. What's the purpose of this addition?

Apologies. Initially I passed it as a separate parameter in the apply method but it would have been a breaking change to the interface. Purpose is to be able to modify the method response types based on version. I version my API using the accept header so need a way to pass in the value. I have managed to work around it using JS for now.


fix: languages extensions and syntax highlighting

Description of the Changes
Please add a detailed description of the change, whether it's an enhancement or a bugfix.
If the PR is related to an open issue please link to it.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the standard-version convention: <type>(optional subject): <description>, e.g: fix: minor typos in code

This change is

Can you change to //.*?

@liorgold2 Is the #-comment syntax no longer legal in Cairo? If so, when was the syntax changed?


Project Specific Tests: Heart Rate Sensor

[x] describes and justify tests
[x] explain how to do them
[x] explain what results were

temperature test is written below
    def getTemp(self):
        # temperature read in integer and fraction, both added
        # to find total temp

        # Enabling the temperature reading
        i2c.write_byte_data(HR_ADDR, 0x21, 1) # TEMP_EN
        i2c.write_byte_data(HR_ADDR, 0x03, 1) #DIE_TEMP_RDY_EN

        # Address for temp int = 0x1F
        T_int = i2c.read_byte_data(HR_ADDR, 0x1F)
        # Address for temp frac = 0x20
        T_frac = i2c.read_byte_data(HR_ADDR, 0x20)

        temp = T_int + T_frac
        return temp

The testing code function (main.py) is responsible for calling the heart rate monitor and starting up the sensor to begin the readings. After cloning the repository, the following code is ran to execute the code on the board.

The MAX30102 should turn on, ready to get its first reading. This is indicated by the red LED light on the finger pad sensor seen above.
After the light has turned on, a finger can be placed right on the light as shown in the picture below.

After the finger has been on the sensor for a few seconds, the terminal begins to print out BPM and SPO2 readings. The following figure below shows a few readings returned after I placed my finger on the sensor as explained above.
Although these readings appear to be accurate, there were a few outliers that were returned that were ignored. With these readings, the MAX30102 Heart Rate Sensor has successfully been set up and works!


[$250] [CRITICAL] [CVP] Track Expense - App crashes when tracking an expense

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.17-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/43163
Action Performed:

Sign in with a new account
Go to FAB > Track Expense

Expected Result:
Track expense modal opens and user is able to track an expense
Actual Result:
App crashes
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/c8879a1d-1e29-41fb-bee9-bdde3e266e5d

logs (2).txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019f114a28e4f405b1
Upwork Job ID:<PHONE_NUMBER>945788496
Last Price Increase: 2024-08-06

Issue OwnerCurrent Issue Owner: @thesahindia

We think that this bug might be related to #vip-vsp

@alexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@thienlnam here's another track expense flow bug, this time a crash and also seems to be referencing policyID -1 in the console error like https://github.com/Expensify/App/issues/46338#issuecomment-2272071153

Not reproducible on latest code base.

@danielrvidal how are you repro'ing this as soon as yesterday?

I'm reproducing it on production still as of now. @jp928 did you try it on mobile web?
I'm on Safari, private tab if it helps at all

@danielrvidal
I tried with a new created account still fine to me.  The console log shows it is a javascript error so it doesn't matter which browser it should reproducible cross all browsers. However, in the error the doge value policy_FAKE_ is the key of this bug.
I would assume it is a testing policy data for testing accounts. Sorry I couldn't test with your internal testing email boxes, but I would suggest to contact your backend team to investigate if you are adding special policy value to testing accounts, especially for the value of policy_FAKE_.

in the error the dodgy value policy_FAKE_

@trjExpensify any idea where this would be coming from? I would think it should be fake since I was testing in production?

Waiting for proposals here

Waiting for proposals here

Proposal
Please re-state the problem that we are trying to solve in this issue.
Javascript throws fatal exception if the onyx collection key contains underscore, such as policy__FAKE_
What is the root cause of that problem?
In the code
https://github.com/Expensify/react-native-onyx/blob/397c2cba8fe5c2bdd5f0e6eaa6761043f1bf51a6/lib/OnyxUtils.ts#L409C3-L409C50
The last index of underscore is using for check if the key is valid so that policy__FAKE_ will be treated as invalid key.
Test case is like below:
function splitCollectionMemberKey(key) {
  const underscoreIndex = key.indexOf('_');

  if (underscoreIndex === -1) {
      throw new Error(`Invalid ${key} key provided, only collection keys are allowed.`);
  };

  const collectionKey = key.substring(0, underscoreIndex + 1);
  const memberKey = key.substring(underscoreIndex + 1);
  return [collectionKey, memberKey];

}

function isCollectionMemberKey(collectionKey, key, collectionKeyLength) {
  return key.startsWith(collectionKey) && key.length > collectionKeyLength;
}

console.log(splitCollectionMemberKey('policy__FAKE_')); // ['collection', 'member']

console.log(isCollectionMemberKey('policy__FAKE_', 'policy__FAKE_',  'policy__FAKE_'.length));

The function isCollectionMemberKey will return false in this case.
What changes do you think we should make in order to solve the problem?
Use indexOf instead of lastIndexOf to support the key contains multiple underscores, such as policy__FAKE_
What alternative solutions did you explore? (Optional)
Change the policy__FAKE_ from backend, such as policy_FAKE

@trjExpensify any idea where this would be coming from? I would think it should be fake since I was testing in production?

Yeah, that's used for off-workspace DMs: https://github.com/Expensify/App/blob/ff2b8887e8bf540997f3bf290ae15f2c8853eb22/src/libs/ReportUtils.ts#L1178-L1179

Thanks, @jp928. @thesahindia can you review that proposal? Also, CC'ing @hannojg for eyes from the blame. :)

@jp928 trying to understand your proposal I don't think this really returns 'collection', 'member', right? What does it actually return?

Hm, we are having these test cases in onyx which expect the underscore for the collection to be at the end. These tests are failing with your proposal:

While it may not be perfect we maybe want to consider handling the case for double __ or for FAKE explicitly

While it may not be perfect we maybe want to consider handling the case for double __ or for FAKE explicitly

@hannojg SRY for confusing you. The code snippet I attached is trying to reproduce the bug because I don't have a way to have that invalid onyx key.  Will update my proposal. Cheers.

@thesahindia can you chime in on the proposal please?

Can't reproduce on mWeb Safari anymore myself, @danielrvidal can try for good measure and then we can close.

I can't reproduce it either.


Remove a few cp commands

I tried to work on removing a few Commands as requested in the todo for the build.rs in sys. I wasn't able to get the make command, but I did grab the cps.

I'll add @jasonahills and @ryaminal to this review too. :)

@Xaeroxe I don't think @jasonahills or @ryaminal would like to see this PR not getting merged waiting for them -- I merely included them to let them know you've started contributing, and I'm sure they be interested in the changes themselves. I'll ping @jasonahills, but if he doesn't respond or indicates he'd like to do other things first then I'll just merge this here.


Governance Structure page has disappeared

I run a broken link checker on my blog, which has detected that this URL is offline: https://palletsprojects.com/governance/structure/
But I still see the content in the repo, with no recent commits: https://github.com/pallets/website/blob/main/content/governance/structure/contents.lr
Perhaps the “trailing slash” fix from #109 accidentally took it offline? I have tried with and without a trailing slash.

Ah, I also just found at the end of my broken link report: the www subdomain is all 404 too: https://www.palletsprojects.com/


Code cleanup for 1.0

Just switching my 1.0 fork to your 1.0 branch
Put bounds on snap, resource-pool, lifted-base, monad-control and lens
(<>) operator is part of base since 7.2, no need for ++
Explicitly list some imports
Switch to fmap from (<$>) to make it work without Control.Applicative
on older GHC
Do import Control.Applicative in Auth/Backend for ghc < 7.10

Thanks, I was just about do do some of this myself.


pop up arrow  at bottom

What happened?
The pop up arrow is moving up and down. When using that icon it is difficult to navigate to the top since it is moving up and down.
We can make it fix by adding onhover function to the arrow and make it stop when the user hovers over arrow.

https://github.com/agamjotsingh18/codesetgo/assets/83742554/45b0a136-d59e-4284-aae0-e504672f249d
How can we reproduce this bug?
navigate to bottom of your page. you'll be able to see popping arrow at bottom right.
Desktop Information (Optional)
No response
Urgency (Optional)
Medium priority

can you assign this issue to me @agamjotsingh18 .I'm in GSSOC'23

Already assigned to someone before


Is it possible to embed the Table directly on the markdown file?

Problem
Sometimes there are situation I don't want the table to create a new markdown. I want the table to be written directly on the current file I am editing. situations
Solution
Using Notion table you created, but directly adding on the current markdown file we are editing.
Additional details
No response

I too would like to do this in a code block:  ```notion-like-tables I am finding that ita more intuitive and efficient to create on the run.

I agree.

@jem2go @ramonskovitch @dutchpete @koichadev @raybb @mahmoudmagby-7 @icebruce @senseofeternity @asabi @roseviet @seddanielsson @sjmgarnier Added in 6.14.0.

I would like to do this too, I attempted to open the files above, but I'm getting a 404 error.

@Lmasey Sorry, I am in the process of updating documentation. Should be sorted out in the next hour :)

@Lmasey Please see: https://trey-wallis.github.io/obsidian-dashboards/other/embedding-dashboards

Thank you!! I'm so excited to use this plug-in!You can help me support my 6th grade math classroom!Donors Choose: https://www.donorschoose.org/ms-maseyAmazon:https://www.amazon.com/hz/wishlist/ls/1YW3SZETZMC1R?ref_=wl_shareInterested in AVON https://www.avon.com/repstore/noturmomsavon?rep=noturmomsavonOn Jul 3, 2023, at 10:27 PM, Trey Wallis @.***> wrote:
@Lmasey Sorry, I am in the process of updating documentation. Should be sorted out in the next hour :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Thank you! I will try it tonight when I'm on my computer:)You can help me support my 6th grade math classroom!Donors Choose: https://www.donorschoose.org/ms-maseyAmazon:https://www.amazon.com/hz/wishlist/ls/1YW3SZETZMC1R?ref_=wl_shareInterested in AVON https://www.avon.com/repstore/noturmomsavon?rep=noturmomsavonOn Jul 4, 2023, at 2:36 PM, Trey Wallis @.***> wrote:
@Lmasey Please see: https://trey-wallis.github.io/obsidian-dashboards/other/embedding-dashboards
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Update readme of app-mode installation

Description:
set master branch chart to dev and update the readme & app-mode installation doc.

@gitlawr updated.


Feature merge

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 1

Complexity increasing per file
==============================
- application/consumer-hazelcast-quarkus/src/test/java/webapp/tier/service/MockDeliverService.java  1
- application/consumer-hazelcast-quarkus/src/main/java/webapp/tier/service/HazelcastDeliverSubscriber.java  1

Complexity decreasing per file
==============================
+ application/consumer-hazelcast-quarkus/src/main/java/webapp/tier/service/HazelcastSubscribeService.java  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2

Complexity increasing per file
==============================
- application/consumer-hazelcast-quarkus/src/main/java/webapp/tier/service/HazelcastDeliverSubscriber.java  1
- application/consumer-hazelcast-quarkus/src/test/java/webapp/tier/service/MockDeliverService.java  1

Complexity decreasing per file
==============================
+ application/consumer-hazelcast-quarkus/src/main/java/webapp/tier/service/HazelcastSubscribeService.java  -2

See the complete overview on Codacy


Reduced duplicate code and fixed debug info to display based on messa…

…ge type.

Codecov Report

Merging #144 into master will increase coverage by 0.42%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #144      +/-   ##
==========================================
+ Coverage    87.5%   87.92%   +0.42%
==========================================
  Files          40       40
  Lines        3601     3594       -7
  Branches      288      288
==========================================
+ Hits         3151     3160       +9
+ Misses        182      166      -16
  Partials      268      268

Impacted Files
Coverage Δ

src/upstream.c
81.76% <50%> (+3.44%)
:arrow_up:

tests/test_client_list.c
91.42% <0%> (+6.42%)
: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 afbb5c5...a3991b3. Read the comment docs.


Small wording change

It was pointed out to me that "take a dump" should probably be phrased differently after I pasted it into an email.

@da5is : Thanks for your contribution! The author, @rachel-msft, has been notified to review your proposed change.

Thank you for your feedback

#sign-off


run pit download_data script error

🐛 Bug Description

The following error occurs when you run the pit download_data script:
TypeError: download_data() takes from 1 to 7 positional arguments but 8 were given
To Reproduce
Steps to reproduce the behavior:

cd scripts/data_collector/pit/
python collector.py download_data --source_dir ./csv_pit --start 2000-01-01 --end 2020-01-01 --interval quarterly --symbol_flt_regx "^(600519|000725).*"

Expected Behavior
Data download successful.

Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
Darwin
x86_64
macOS-10.14.6-x86_64-i386-64bit
Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64
Python version: 3.8.12 (default, Feb  9 2022, 10:43:54)  [Clang 10.0.1 (clang-1<IP_ADDRESS>)]
Qlib version: <IP_ADDRESS>
numpy==1.22.2
pandas==1.4.1
scipy==1.8.0
requests==2.27.1
sacred==0.8.2
python-socketio==5.5.2
redis==4.1.4
python-redis-lock==3.7.0
schedule==1.1.0
cvxpy==1.0.21
hyperopt==0.1.1
fire==0.4.0
statsmodels==0.13.2
xlrd==2.0.1
plotly==4.12.0
matplotlib==3.1.3
tables==3.7.0
pyyaml==6.0
mlflow==1.24.0
tqdm==4.63.0
loguru==0.6.0
lightgbm==3.3.2
tornado==6.1
joblib==1.1.0
fire==0.4.0
ruamel.yaml==0.17.21
Additional Notes

fixed in this PR https://github.com/microsoft/qlib/pull/979.


Support Node.js RC version

I need to verify that an RC version of Node.js resolves a bug, is there a way to specify this version?
For example, I need to test v12.22.12-rc.0 and other LTS version. https://nodejs.org/download/rc/
My CI config:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]
        node: [12, 14, 16]

      - name: Set up Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node }}
          cache: npm

See also: https://github.com/actions/setup-node/pull/360

Hello @yisibl. Thank you for your report. The setup-node action does not install release candidate.

There is a PR open that would enable support for the nightlies: https://github.com/actions/setup-node/pull/360

I've changed to setup-node-nvm to install the RC version, but I still want setup-node to support this.
https://github.com/yisibl/svg-sprite/pull/3/commits/48a402fca42a05608a00be8958430f381ef70721

Hello everyone. We released and updated the major tag with changes to install rc versions. Could you please confirm that everything works as expected?
jobs:
  build:
    runs-on: ubuntu-latest
    name: Node sample
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '16.0.0-rc.1’
      - run: npm ci
      - run: npm test

Hello everyone. For now I'm going to close the issue.


Fix panic in DatagramRecv::try_from with empty buffer

MultiplexKind (and, by extension, callers such as DatagramRecv) didn't check for an empty buffer before attempting to read the first byte, causing a panic.

Thanks!


README: Improve description

hi @jcfr
thanks for the suggestion.
I am sorry for the delay. I've been out from the academic research for a while...
All done.
Thanks


does not handle relative path for input file

when indicating relative folder name, get this error:
ERROR: fmri.nii.gz does not exist. Exit program.

check all scripts to see where the issue exists...


⚠ ClamAV has degraded performance

In 6a7fd54, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 426 ms

Resolved: ClamAV performance has improved in d21e83c.


Downloading pretraining dataset from huggingface

Hi,
Thanks for providing the pre-training database with foldseek tokens! having difficulty downloading the dataset and using with hugginface functions. Trying
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("westlake-repl/AF2_UniRef50")

# Load the train split of the dataset
train_dataset = dataset["train"]

but getting error
if not module_name:
    raise DataFilesNotFoundError("No (supported) data files found" + (f" in {path}" if path else ""))
    return module_name, default_builder_kwargs

DataFilesNotFoundError: No (supported) data files found in westlake-repl/AF2_UniRef50

What then is the proper way to load in the dataset from huggingface?

Hi,
AF2_UniRef50 is organized in LMDB format. If you want to load it, you have to first download it and then open the file using lmdb package.
Here is the example of how you get samples:
import lmdb

lmdb_dir = "/your/path/to/AF2_UniRef50/train"
with lmdb.open(lmdb_dir, readonly=True).begin() as txn:
    length = int(txn.get('length'.encode()).decode())
    for i in range(length):
        data_str = txn.get(i.encode()).decode()
        data = json.loads(data_str)
        print(data)
        break

Hope this could resolve your problem:)

@LTEnjoy Hi, can I download the orginal structure data of the sequence?

@LTEnjoy Hi, can I download the orginal structure data of the sequence?

Hi,
I'm sorry but the original structure data is too large to upload so We are unable to share it. You could download all AF2 structures on the official website https://alphafold.ebi.ac.uk/.


Fix Guild Bans

Summary
Updates the ban API call, abstractions, and inline docs, to support cleaning messages as the old delete_message_days parameter has been replaced by delete_message_seconds, and adds support for sending an X-Audit-Log-Reason header.
Fixed
No audit log reason for guild bans, and broken clean messages parameter.

I've added back support for the message_days parameter. I've included message_seconds as an optional parameter to ease the transition to 4.0, when that eventually releases.


⚠ Bofrost.at has degraded performance

In c8b04b2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2578 ms

Resolved: Bofrost.at performance has improved in ff49fa0 after 6 minutes.