Tests that don't define a project using useInMemoryFileSystem: true will load node_modules, etc.

The testing mechanism used creates sample test files with project.createSourceFile().
If the test project is not created without useInMemoryFileSystem: true option, then the test project will load all libraries, such as 'node_modules'. This surely slows down the test, but also can create problems when generating references.
For example, a sample variable named add for an arrow function gets a possible reference from domain.d.ts in the projects node_modules, because it defines an add with the same signature (?).

Tests modified, fixed in #63


[feat]: add support for images

it would be great if there was also an option to look for images from google and yandex (i use latter quite often, as it has a great image search engine)

Hi, any updates on this ? Thanks for develop this serpapi.


UX: Move button to add additional roles to bottom of the list

Describe the bug
If you add multiple roles the button to add additional stays on top. To add a new role, you have to scroll up.
To Reproduce
add multiple roles until button on top is out of view
Expected behavior
add new roles without scrolling to top
Screenshots

The usual way is to put the 'New Role' Button on the end of the Input List. (I'd place it where the delete button is and put the delete button on the same line but right aligned)
Another option could be to inverse the input list, meaning that new roles appear on top. that way you wouldn't have to scroll for new items. it's a bit more unorthodox but could still work, depending on how important the descending list order is.


add static methods for using Sort when querying

Output type is missing

I think the only type the users need is Sort and is exposed in weaviate.classes.query. Which type do you think should go into weaviate.outputs?


Gestalt no longer works on Mac OSX Yosemite

The Gestalt() function was deprecated since Mac OSX Mountain Lion. It no longer works properly on Yosemite, as the operating system returns mavericks while running Yosemite. A replacement will have to be made for newer versions of OSX.
(Not surprising it stopped working, it was a really old Carbon API function...)
I know It's kinda early to start reporting OSX bugs, but I am doing some work on OSX after all... ;)

I got this. /me self assigns.

Thanks for the report and fix!


Custom button png update

sync custom button png images in tree with font icons in main area
Issue: #7485

@miq-bot add_label ui, bug

@gmcculloug Please review

Looks great, thanks @epwinchell.


chore: added Hoppscotch

Added hoppscotch to backend - testing

@CBID2 @Anmol-Baranwal @rupali-codes
Pls review

@Toyin5
Raise a fresh PR, and don't edit other files.


Fix  #28 with trailing space detection

We don't use dir names with spaces very often, but we surely never use dir names with trailing spaces.
I reverted the last commit to replace it with a simpler solution - disallowing a space to be the last character in dir name (no ... /).

Sorry. Please do not revert all of the last fixes.

Sorry, didn't think of that, fixed now.

@JosefLitos I think this fix doesn't work with the following case, right?
 /usr/bin/java -jar ./|

The absolute path case is worked as expecetd but relative one doesn't.

I think noone will use that at the end of a folder name either, so it should be safe to disallow these two too.

I will check after work.


/etc/openstack_deploy/user_extras_secrets.yml missing in rpc-openstack/osad

The user_extras_secrets.yml is missing inside the OSAD git tree but I found it in /opt/rpc-openstack/rpcd/etc/openstack_deploy/user_extras_secrets.yml but not inside the osad directory as documented at http://docs-internal.rackspace.com/rpc/api/v11/bk-rpc-installation/content/sec_configure-prerequisites.html which refers to  /opt/rpc-openstack/os-ansible-deployment/etc/openstack_deploy.
Currently I'm not sure if the user_extras_secrets.yml file is supposed to be part of the OSAD or rpc-openstack project

#242 looks like it addresses this, but we need that to make it's way into the internal docs, too.
@robb-romans, @ionosphere80 would either of you be able to update the internal docs?

user_extras_variables.yml and user_extras_secrets.yml are files specifically to be used by playbooks/roles which are only in rpc-openstack (eg: ELK roles, etc). The idea is generally to try and keep the right variables in the right files to reduce confusion and ensure that if changes happen in either project they will only affect the variables in their specific files.

I believe this has been addressed. Closing


Istanbul not covering all spec files

Good day,
I am currently working on a project for which I use Istanbul to generate my code coverage reports.
Using Jasmine (+node version) and Mocha/Chai, both run flawlessly even when added as Istanbul parameter, going trough all the spec files.
Yet, Istanbul is not analyzing all .spec.js files, and only handles the first file out of 3 (channel.spec.js), where the two others are not even listed in coverage report (command.spec.js and helper.spec.js).
the command I used is the following:
./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha spec
Even when using the "include all sources" option, they remain as red, with 0% coverage of the spec file.
If I rename the first and only file being included on coverage (channel.spec.js -> chanel.spec-x.js to not fit the *.spec.js file requirement), it covers only the second file (command.spec.js) and so on.
The spec files are correctly requiring the sources files to test, so I am quite lost on how to fix this.
Any help is welcome!

changed my coverage tool as the issue isnt getting any comment.


Transport Interface over Secure Sockets

Adding Transport over Secure Sockets to libraries/abstractions.
Adding Logging Stack into libraries/c_sdk/standard

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

Run uncrustify


Godot Physics feature parity

Description
This issue is meant to serve as a high-level overview of the things that need to be implemented in order to reach feature parity with Godot Physics.
Note that the issues listed below will likely remain open for a while, even after their respective features are fully implemented, so make sure to check within them for details on progress.
Objects

[ ] #95
[ ] #92
[ ] #93
[ ] #94
[ ] #114

Shapes

[ ] #96
[ ] #97
[ ] #98
[ ] #99
[ ] #100
[ ] #101
[ ] #102
[ ] #103
[ ] #104
[ ] #105

Joints

[ ] #106
[ ] #107
[ ] #108
[ ] #109
[ ] #110

Other

[ ] #111
[ ] #112
[ ] #113

This is a very comprehensive list. Great work!

Although there are some minor things in these issues to sort out still, they have largely served their purpose and have now been closed.
Any remaining work has had new issues created for it.
Also, you can now try these things out for yourself using the release that I just pushed here on GitHub. Be sure to report any bugs or other weird issues you run into, no matter how seemingly insignificant.
Thank you! 🙏

there exists a possibility to upload this to Godot Asset repository?

Yes, I've been meaning to look into adding it to the Godot Asset Library, but haven't gotten around to it yet.
I'll see about adding it after I publish 0.2.0 in the next couple of days.


Fails on Windows - mv doesn't exist

Using invig fails on Windows as the mv command doesn't exist.

Many thanks for the quick fix! ❤


best way to handle large gifs?

anyone have recommendations on how to handle large gifs. I find the processing time slow and i do notice that the resize makes the gifs have empty frames at the end...

One way would be to output as WebP format, which is much faster to process and supports both animation and transparency.
This can be done by adding filter format(webp) explicitly. Or by enabling IMAGOR_AUTO_WEBP=1 in server env config to automatically output WebP if browser supports.

shumc/imagor:0.8.20 significantly improved GIF performance by leveraging cgif and libvips gif save, with tested 2x faster export speed and 5x less memory usage.


Update wit-abi-up-to-date to use wit-abi 0.4.0.

This pulls in syntax support for the stream and future types.


DeathUpdateState discarding item drops from Entity#entityDropItem

I am currently running

SpongeForge version: 1.12.2-2705-7.1.0-BETA-3206
Java version: 1.8.0_121-b13
Operating System: Microsoft Windows 10 Home
Plugins/Mods: Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, LLibrary, Mowzie's Mobs

Issue Description
DeathUpdateState silently discards item drops captured from Entity#entityDropItem during EntityLivingBase#onDeathUpdate.
This was encountered with entities from Mowzie's Mobs through a user who reported this to me (BobMowzie/MowziesMobs#47). Our mobs are intended to drop items after their death animation, which we do so during the death update.
While tracking this issue down I noticed the behavior DeathUpdateState has for PerEntityItemDropSupplier captures, which is logging the them as errors. Which is similar to behavior that exists for different unwind logic in various states. This brought me to think, how can a state deem certain behaviors as errors? I am interested in an explanation, as this, on the surface at least, appears to force limitations.
The items here are lost from DeathUpdateState not handling the PerEntityItemEntityDropSupplier, which is what contains the item entities from Entity#entityDropItem at this time.
A couple of other classes that appear to have curious logic are InteractionPacketState, which handles PerEntityItemDropSupplier the same while ignoring PerEntityItemEntityDropSupplier and CommandState which handles PerEntityItemDropSupplier, but and ignoring PerEntityItemEntityDropSupplier.
Something which further intrigued me was the apparent lack of use of PerEntityItemDropSupplier for capturing. I have not been able to locate any place which offers data to that supplier, only the alternate PerEntityItemEntityDropSupplier through SpongeImplHooks#capturePerEntityItemDrop. I am quite curious about this, what is the motivation?

Oh hey, somehow this issue got left aside. Some core structure changes have been taking place on the capture side of the tracking code. I'll investigate further, likely after I get #2155 fixed with https://github.com/SpongePowered/SpongeCommon/pull/2163.


Get gfxTexture D3D12_GPU_DESCRIPTOR_HANDLE for imgui image

I'm using ImGui to show some texture. ImGui's function AddImage need a argument which type is ImTextureID, it was defined as D3D12_GPU_DESCRIPTOR_HANDLE in D3D12, how can I get D3D12_GPU_DESCRIPTOR_HANDLE from a gfxTexture?

You shouldn't need passing a D3D12_GPU_DESCRIPTOR_HANDLE as ImTextureID can be anything really based on your application needs.
If you're using the built-in gfx ImGui integration (i.e., https://github.com/gboisse/gfx/blob/master/gfx_imgui.h), then you should be able to simply pass a pointer to the GfxTexture object you want to use as image:
https://github.com/gboisse/gfx/blob/d617b252a68ea27116a5a26027530c22d45bc9e6/gfx_imgui.cpp#L270-L272


[SPARK-39618][SQL] Add the REGEXP_COUNT function

What changes were proposed in this pull request?
In the PR, I propose to add new expression RegExpCount as a runtime replaceable expression of Size and RegExpExtractAll. And bind the expression to the function name REGEXP_COUNT. The REGEXP_COUNT function returns a count of the number of times that a regular expression pattern is matched in a string. It takes two parameters:

An expression that specifies the string in which the search is to take place.
An expression that specifies the regular expression string that is the pattern for the search.

When any of the input parameters are NULL, the function returns NULL too.
Why are the changes needed?
To make the migration process from other systems to Spark SQL easier, and achieve feature parity to such systems. For example, Redshift and Snowflake support the REGEXP_COUNT function, see:

https://docs.aws.amazon.com/redshift/latest/dg/REGEXP_COUNT.html
https://docs.snowflake.com/en/sql-reference/functions/regexp_count.html

Does this PR introduce any user-facing change?
No.
How was this patch tested?
By running new tests:
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z regexp-functions.sql"
$ build/sbt "sql/testOnly *ExpressionsSchemaSuite"
$ build/sbt "sql/test:testOnly org.apache.spark.sql.expressions.ExpressionInfoSuite"

Merging to master. Thank you, @cloud-fan for review.


Add support for postgresql 9.4 for centos 7

Not tested yet!

centos 7 and 9.4 is covered in master. thanks.


Nit: change type hint to generic types to support python < 3.9?

We just started using this toolkit for pulling HOD data and found a nit:
In the script, the type hint is using non-generic types (e.g. dict[str, Any] rather than typing.Dict[str, Any]).  Although this works in python 3.9+ where dict can be used as generic type for inferencing, it might be more common to use typing classes for compatibility as many systems are still using python 3.8.

Resolved with v1.0.1


Fix issue Phing targets are not executed in the build dir

See comments in the issue and commits 56f04d9 and ed13ec5.

Can anybody show me the details of the failure?

Wow! the only ones commits for this pull request are the first two commits.

Can a PHPCI collaborator attach information about the failed build? thanks

@dancryer can do that

Thanks @tvbeek and @dancryer, @wandersonwhcr  explain me how to reproduce the build process in local. I had errors whe try to pass phpcs and phpms checkings.

:smiley: you're welcome!

@corretge Thanks! I need the PHPUnit language config fix to upload my ApiGen plugin.

@wandersonwhcr thanks to you, I will use your ApiGen plugin when merged. I'm a phpdoc user but ApiGen seems greater.

There are way too many changes in this PR for us to merge it as one thing.
Please can you split this into logical separate pull requests. For example the formatting of the log should be a PR on its own, same for changing how stdout is handled, etc.

Ok, I will split it per feature.


Package updates are available - The following packages have been kept back

On the dashboard it will show that i have 10 package available update,

but when i press on it, it will show that i don't have any. I then run it from a terminal prompt and i can see this:
The following packages have been kept back:
  ffmpeg libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libpostproc55 libswresample3 libswscale5
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

If i can't update from Webmin they shouldn't be visible. At least some info about it.

Hi,
This is not Authentic Theme issue, though I will take a look. The solution for this message to go away is to run apt-get dist-upgrade.

sort of related .. is this a theme issue ?
 or webmin ? as you can see top of the dash shows everything up to date but lower down I have updates

sort of related .. is this a theme issue ?

No, it's not theme issue!

as you can see top of the dash shows everything up to date but lower down I have updates

It seems that the cache is not updated simultaneously. Do you still have it shown as such? What happens if you click refresh button at the top right of System Information table header?

Ok refresh button clears it, how I got this to appear was -

open notifications
click on update packages
do updates
click dash board from the left menu

Hi,
This is not Authentic Theme issue, though I will take a look. The solution for this message to go away is to run apt-get dist-upgrade.

Yes, i know how to fix it but it shouldn't show 10 updates when i can't see any in Webmin.

Moved. https://github.com/webmin/webmin/issues/1285


Failed to apply changes to file

this is my extention
Name: PHP Intelephense
Id: bmewburn.vscode-intelephense-client
Description: High performance, feature rich PHP intellisense
Version: 1.0.2
Publisher: Ben Mewburn
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client

Getting this error in the output:
[Info  - 3:46:50 PM] Initialising
[Info  - 3:46:50 PM] Initialised in 5 ms
[Info  - 3:46:50 PM] Intelephense 1.0.2
[Info  - 3:46:50 PM] Indexing started.
[Info  - 3:46:52 PM] Indexing ended. Elapsed 1s.
[Info  - 3:46:52 PM] Indexed 96 files. Writing state to C:\Users\Parsbox\AppData\Local\Temp\dd1cb57.
[Error - 3:46:52 PM] Failed to apply changes to file:///d%3A/wamp64/www/1395/ussd/admin/index.php

I'm getting this exact error...  It's rather inconvenient because it keeps forcing vs code to show the Output panel when I'm working in the terminal (eg. doing git merges and the like)

duplicate bmewburn/vscode-intelephense#194


netctl network inspect does not show skydns container name

for e.g
"Oper": {
    "allocatedAddressesCount": 3,
    "allocatedIPAddresses": "<IP_ADDRESS>-<IP_ADDRESS>",
    "availableIPAddresses": "<IP_ADDRESS>-<IP_ADDRESS>",
    "dnsServerIP": "<IP_ADDRESS>",
    "endpoints": [
      {
        "endpointID": "a84aa9f0556fb16fd4b208f89e4a389a8853d4bd441a6522a25258d1017b831a",
        "homingHost": "netplugin-node1",
        "ipAddress": [
          "<IP_ADDRESS>",
          ""
        ],
        "labels": "map[]",
        "macAddress": "02:02:0a:02:01:01",
        "network": "n1.t1"
      },
      {
        "containerID": "d37345ab7e3705692bb1a62346c3752d3733ba91a1ba7501ad4b967e992ba368",
        "containerName": "/prickly_easley",
        "endpointGroupId": 1,
        "endpointGroupKey": "g1:t1",
        "endpointID": "73db8f90fcb1bd70d55581cb78ed07966a75771be25eae6219e3af149fbfed7c",
        "homingHost": "netplugin-node1",
        "ipAddress": [
          "<IP_ADDRESS>",
          ""
        ],
        "labels": "map[]",
        "macAddress": "02:02:0a:02:01:02",
        "network": "n1.t1",
        "serviceName": "g1"
      },

It should show the name of container having endpoint ID : a84aa9f0556fb16fd4b208f89e4a389a8853d4bd441a6522a25258d1017b831a

@DivyaVavili : Are we going to take care of this in the future ?
I remember you talked briefly about this. Let me know. Otherwise I will start working on this.

@gaurav-dalvi @DivyaVavili : I'd like to pick this up and work on it if you are not working on it yet.

@srampal : I am not working on this.

https://github.com/contiv/netplugin/pull/578 .. PR in review phase !


uninitialized constant Spree::SalesConfiguration::Config

rails_projects/extension/spree_sales/app/views/spree/admin/sale_prices/_form.html.erb where line #12 raised:
uninitialized constant Spree::SalesConfiguration::Config
Did you mean?  Spree::Config
I'm using rails 6 and spree 4.1.0.rc1

This is a duplicate of https://github.com/ronzalo/spree_sales/issues/29

Fixed on branch 4-0-stable

Thanks
On Sun, 16 Feb 2020, 4:48 am Gonzalo Moreno<EMAIL_ADDRESS>wrote:

Fixed on branch 4-0-stable
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ronzalo/spree_sales/issues/31?email_source=notifications&email_token=AGRI3RQ2CQIMVMWDPOOD4DTRDB5NXA5CNFSM4KRYCB42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ZW2Q#issuecomment-586652522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGRI3RTR4HKRZJCH75SDM2DRDB5NXANCNFSM4KRYCB4Q
.


abseil_cpp: 0.4.1-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository abseil_cpp to 0.4.1-1:

upstream repository: https://github.com/Eurecat/abseil-cpp.git
release repository: https://github.com/Eurecat/abseil_cpp-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.4.0-1

abseil_cpp
* should fix installation error
* Contributors: Davide Faconti

Holding for kinetic sync


Nested Claims

Describe the problem you'd like to have solved
For both header and payload, a key may contain an object as its value, as shown for foo in this example:
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat":<PHONE_NUMBER>,
  "foo": {
    "bar": true,
    "baz": [{"value": 23}, {"value": 42}]
  }
}

I'm looking for a convenient way to access the values for bar or baz.
Describe the ideal solution
Please add a Claim asClaim() method (suitable for foo) and Claim[] asClaims() (suitable for foo.baz). Basically every sub-object conforms to the Claim API itself.
If called on a non-object, throw a JWTDecodeException as with the other methods.
Alternatives and current work-arounds
At least for top-level objects (foo), the current API offers two related methods:
https://github.com/auth0/java-jwt/blob/f87a5d3f7ce0df3c428fc16e72f2f27659dcf6be/lib/src/main/java/com/auth0/jwt/interfaces/Claim.java#L112-L129
Both are suboptimal: The former loses any type information and the latter requires me to define a type myself.
Furthermore for nesting levels > 1 (foo.baz), they don't help.
Additional information, if any
~nope~ edit: oh if PRs are welcome, I'd like to give this a shot

Hi @overheadhunter, At this point, we don't see ourselves supporting this API but we will take a note of it and based on future requests, we can consider taking it up. Sorry about it.
Hopefully, the <T> T as(Class<T> clazz) method supports your use-case though.


nice

very useful ^^

Thanks. I've updated the site to fix Google search as they switched to Google Lens.
I also had to transfer it away from .ga domain as it is not available anymore.
New address is https://ntdesmond.me/paste-and-search/


Baseline SiameseSentenceSelection Model

This PR implements a baseline siamese style architecture for sentence selection.
We basically encode the question and each candidate sentence with some encoder, then take the cosine similarity and normalize to get a probability distribution over candidate sentences.

merging this now, since it finally passed ci...


feat: add lazysizes for lazy image loading

improve page load speed by not loading off screen images.

Related to #34

Nice find!


Document addi immediate

The RISC-V assembly language allows negative addi immediates to be expressed in more than one way, which may be surprising to newcomers. This PR is intended to resolve riscv-non-isa/riscv-asm-manual#70.

Suggest "Representation of Signed Immediates for I-type Instructions" or something; as it is, it sounds addi-specific.
I thought about generalizing it to N-bit signed immediates, but the extra arithmetic will make it too opaque to be useful.

I intended it to be addi-specific because I didn't verify it exhaustively for all I-type instructions, or prove it by analyzing the binutils source tree. I will certainly take your word for it if this is a general feature.
However, it doesn't appear to work when using the LLVM integrated assembler:
$ riscv64-unknown-elf-clang -march=rv32i -integrated-as -c tmp.S
tmp.S:1:14: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047]
andi x0, x0, 0xfffff800

so perhaps I've stumbled across another GNU vs. LLVM debate.

All I-type instructions with 12-bit signed immediates.  (e.g. doesn't apply to shift instructions, which have lg(XLEN)-bit unsigned immediates within I-type format)

LLVM should match GNU as now.
Though I noticed that GNU as doesn't support 0xffffffff as a valid constant for c.addi on RV32.

@topperc Thanks for the update.
It appears both GNU and LLVM assemblers accept the assembly syntax described in this PR. It's up to the community to decide whether this behavior should be enshrined in our assembly language.

LGTM
@asb @luismarques do you mind that a look if this looks good to you?

LGTM. Shouldn't the commits be squashed during the merge?

I only have "Read" access to this repo so I can't do anything useful.

Gonna to merge, thanks @nick-knight, and thanks @topperc push this forward!


Explain Mobilenet modification

Could you explain how you modified the Mobilenet v1 to fit K210?

add some padding before conv . link
reduce some conv layer filters.  link

add some padding before conv . link
reduce some conv layer filters.  link


Implementing CastOp Removal and Floor Cost Remover

Merging Constant Remover optimization under one pass and modifying pytorch model test to run

@aseemw Now, I have merged constant remover under one hood
Will add more ops and write a generic remover instead of if - elif based one


Reduce Buffering of videos

First of all thank you for this amazing library!
I face a problem the video take 3,4 second to load into player in recyclerview. I use URL of Video for loading videos in recyclerview.  In simple words it take a very long time to buffering and playing video. Please help how i reduce the buffering time and start video fast.

put in cache before start (DownloadVideo to cache file) and verify if have cache for that file.. load from cache ..else load from server

@lucazin Thank you for your help. I'm very thankful to you if you show me the example code.

It should depends on how the video is. How long will it take the Video to load using other players? Do you have an usable link for testing? Video from server relies a lot on the infra (CDN, Device band and network quality).

@eneim I store video in my own server in .mp4 format. Once i try Media Player but its buffering is more than ExoPlayer. Here is an example links of my videos.

http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118061028145.mp4
http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118060352307.mp4
http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118055856634.mp4

I search on google and someone said that use "LoadControl" to set the initial buffering time in "ExoPlayer" but i cannot understand how i use this concept in Toro.
@eneim Please suggest me the possibles solutions, i urgently need the solution. Thank you

@eneim https://github.com/eneim I store video in my own server in .mp4
format. Once i try Media Player but its buffering is more than ExoPlayer.
Here is an example links of my videos.

http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118061028145.mp4
http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118060352307.mp4
http://<IP_ADDRESS>:8123/appdata/harisnoor/media/191118055856634.mp4

I search on google and someone said that use "LoadControl" to set the
initial buffering time in "ExoPlayer" but i cannot understand how i use
this concept in Toro.
@eneim https://github.com/eneim Please suggest me the possibles
solutions, i urgently need the solution. Thank you
On Tue, Nov 19, 2019 at 5:58 AM Nam Nguyen Hoai<EMAIL_ADDRESS>wrote:

It should depends on how the video is. How long will it take the Video to
load using other players? Do you have an usable link for testing? Video
from server relies a lot on the infra (CDN, Device band and network
quality).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eneim/toro/issues/464?email_source=notifications&email_token=ALAKUDUOWOPMPWLKKNA7B5DQUM23TA5CNFSM4JOVH7KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEMOZQQ#issuecomment-555281602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALAKUDVN54YA5NPH26IWS73QUM23TANCNFSM4JOVH7KA
.

Assume that you are using latest version. When constructing new ExoPlayerViewHelper, there is a constructor that allows you to pass in a ExoCreator or a Config. These object allows you to use custom LoadControl and other ExoPlayer’s component. You can have a global ExoCreator or Config object and pass around. Please try that.
Also, mp4 is not the optimized format if you want fast streaming. Investing in HLS or DASH for better performance.

@eneim Here is the code where i use new ExoPlayerViewHelper:
@Override
public void initialize(@NonNull Container container, @NonNull PlaybackInfo playbackInfo) {
if (helper == null) {
//  helper = new ExoPlayerViewHelper(container, this, mediaUri);
helper = new ExoPlayerViewHelper(this, mediaUri, null, FollowingFragment.config);
}
helper.initialize(container, playbackInfo);
helper.addPlayerEventListener(new EventListener() {
@Override
public void onFirstFrameRendered() {
        }

        @Override
        public void onBuffering() {

        }

        @Override
        public void onPlaying() {
            videoThumbnailImage.setVisibility(View.GONE);
        }

        @Override
        public void onPaused() {

        }

        @Override
        public void onCompleted() {

        }
    });

}

Please help me how i use LoadControl?

@saadbzu
In this line:
helper = new ExoPlayerViewHelper(this, mediaUri, null, FollowingFragment.config);

There is FollowingFragment.config, you can use custom LoadControl with it:
LoadControl myLoadControl = new DefaultLoadControl.Builder()
        // add your custom setup here
        .createDefaultLoadControl();

// If you want to extends/modify current Config
Config modifiedConfig = config.newBuilder()
        .setLoadControl(myLoadControl).build();

// If you want to create new Config
Config newConfig = new Config.Builder(this /* Context */)
        .setLoadControl(myLoadControl).build();

@eneim I set custom LoadControl and the the performance increase a little bit now 2,3 second buffering occur Still the performance not satisfied because 2,3 second are add delay in video play. Here is my server response time,status etc:
-- Time: 380ms
-- Size: 4.18 KB
@eneim can we compress the video with any method?
OR
How i change the video format from .mp4 to HLS or DASH?

If you are serious about delay and want to adopt HLS/DASH, you’d better research yourself using those keywords. It involves not only encoding config, but also CDN and other infrastructures as well. It’s worth investing your time and money in long term.
You should also check your video codec setting (if you own the content). For example VP9 would save you many bytes which results in faster download and first frame delay.

I would like to know whether toro internally handling data source(RTMP,DASH or HLS) selection based on the file type or Should we handle manually? If we need to handle manually, Please provide steps to include it for toro config.

@karanianandkumar toro-exoplayer will internally handle the type for DASH, HLS (RTMP is not officially supported by ExoPlayer, but via an extension I believe).


runtime: implement 64-bit atomics

Actually 64-bit atomics are implemented in sync/atomic, but in runtime there's a really lame fallback (in Go even!) that uses 32-bit CAS to implement all the other atomics. Gross.
Let's get rid of that.

Yeah. I copied that nastiness from 5g. I agree it can be done better.
On Fri, Jan 30, 2015 at 6:31 PM, Aram Hăvărneanu<EMAIL_ADDRESS>wrote:

Actually 64-bit atomics are implemented in sync/atomic, but in runtime
there's a really lame fallback (in Go even!) that uses 32-bit CAS to
implement all the other atomics. Gross.
Let's get rid of that.
—
Reply to this email directly or view it on GitHub
https://github.com/4ad/go/issues/72.

It turns out that because of #78 we don't get very far into the process before things go south.
Without 64bit atomics we need to use systemstack and closures to fake a 64bit atomic.
All this goes away if we just use proper 64bit atomics, so lets do that.


Toolbox is broken in RTL

Expected Behavior
Workspace renders properly in RTL
Actual Behavior
Switching to RTL in the vertical playground fails with these errors:
flyout_base.js:609 Uncaught TypeError: Cannot set property 'length' of undefined
    at Blockly.VerticalFlyout.Blockly.Flyout.recordCategoryScrollPositions_ (flyout_base.js:609)
    at Blockly.VerticalFlyout.getMetrics_ (flyout_vertical.js:211)
    at Blockly.WorkspaceSvg.getWidth (workspace_svg.js:830)
    at Object.Blockly.Xml.blockToDomWithXY (xml.js:86)
    at new Blockly.Events.Create (block_events.js:226)
    at Object.Blockly.Xml.domToBlock (xml.js:586)
    at Blockly.VerticalFlyout.Blockly.Flyout.show (flyout_base.js:506)
    at Blockly.Toolbox.showAll_ (toolbox.js:209)
    at Blockly.Toolbox.populate_ (toolbox.js:186)
    at Blockly.Toolbox.init (toolbox.js:135)

Steps to Reproduce
Open the vertical playground and switch to RTL mode.
Operating System and Browser
Any

@ericrosenbaum I just assigned myself to this issue instead since I'm fixing this as part of #1544.

@kchadha and I dug into this for a bit.
The root problem is that the create event for a block in RTL mode includes a call to getMetrics:
/**
 * Encode a block subtree as XML with XY coordinates.
 * @param {!Blockly.Block} block The root block to encode.
 * @param {boolean=} opt_noId True if the encoder should skip the block ID.
 * @return {!Element} Tree of XML elements.
 */
Blockly.Xml.blockToDomWithXY = function(block, opt_noId) {
  var width;  // Not used in LTR.
  if (block.workspace.RTL) {
    width = block.workspace.getWidth();  <--------
  }
  var element = Blockly.Xml.blockToDom(block, opt_noId);
  var xy = block.getRelativeToSurfaceXY();
  element.setAttribute('x',
      Math.round(block.workspace.RTL ? width - xy.x : xy.x));
  element.setAttribute('y', Math.round(xy.y));
  return element;
};

This happens as soon as the first block is created, and before layout has happened.  getMetrics in the flyout causes a call to recordCategoryScrollPositions_, which ~ uses the number of buttons as a count for the number of categories.  At this point no buttons exists, so the list of categories is empty.  This code fails:
  this.categoryScrollPositions[numCategories - 1].length = 0;
@kchadha fixed this by adding a check for an empty list of categories, and skipping work in that case.
As a related problem, the category scroll position code made a simple (no categories) flyout not work.  That should also be fixed by the recent change.
This is more generally symptomatic of way too many calls to getMetrics while creating the flyout in RTL, which will definitely cause performance problems.  One solution may be to leave positions off create events on blocks that are in the flyout.


fuubar_auto_refresh config undefined

I'm getting a failure when using the fuubar_auto_refresh option. In spec_helper.rb I have:
RSpec.configure do |config|
  # my configuration

  config.add_formatter "Fuubar"
  config.fuubar_auto_refresh = true
end

Output when I run the test suite is:
An error occurred while loading spec_helper.
Failure/Error: config.fuubar_auto_refresh = true

NoMethodError:
  undefined method `fuubar_auto_refresh=' for #<RSpec::Core::Configuration:...........>

I'm using Ruby 3.2.0, it's a Rails 7 app running on up-to-date Arch Linux. Without this configuration option Fuubar works perfectly.

Add require 'fuubar' to the top of spec_helper.rb.

That stopped the error, but didn't cause the desired behavior of the progress bar refreshing every second. It continues to refresh with each test.

@vinnydiehl my guess is that this is a misconfiguration.  No one else is reporting this.

I'm not following how the code is currently working so I'll look into this for you.


I: Using Apktool 2.7.0 I: Smaling smali folder into classes.dex... I: Smaling smali_classes2 folder into classes2.dex... I: Smaling smali_classes3 folder into classes3.dex... I: Smaling smali_classes4 folder into classes4.dex... I: Building resources... W: Failed to generate resource table for split '' W: C:\Users\ss\OneDrive\Desktop\Apk Esay Tool\1-Decompiled APKs\com.whatsapp_<IP_ADDRESS>-230919004_minAPI21(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com_src\res\values-v31\colors.xml:27: error: Error: Resource is not public. (at 'color_7f060651' with value '@android:color/Indigo_700'). W:  brut.androlib.AndrolibException:

Information

Apktool Version (apktool -version) -
Operating System (Mac, Linux, Windows) -
APK From? (Playstore, ROM, Other) -
Java Version (java --version) -

Stacktrace/Logcat
Include stacktrace here

Steps to Reproduce

apktool

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything?
If you are trying to install a modified apk, did you resign it?
Are you using the latest apktool version?

You were probably using a private resource, which newer build tools fail during compilation. You could trick it by doing @*android:color/Indigo_700 if you want.

Thanks bro
On Fri, Apr 28, 2023, 22:09 Connor Tumbleson @.***>
wrote:

You were probably using a private resource, which newer build tools fail
during compilation. You could trick it by doing @*android:color/Indigo_700
if you want.
—
Reply to this email directly, view it on GitHub
https://github.com/iBotPeaches/Apktool/issues/3052#issuecomment-1527815687,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7OUNRSIGLHOAPECOVU423TXDPXFBANCNFSM6AAAAAAXPNRARU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

All @*android ... Apply for all ?


Cognito handlers and helpers

This is a big one, but it's very common and important for most apps.
There should be handlers for each trigger described here: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-lambda-trigger-examples.html
There should be middleware that can be used with the router.
We can return HTML pages with Aegis actually. So either work with JSON to allow a custom app to design sign up forms, etc. Or return a default simple HTML form/template. I imagine 80%+ of the time apps would make all the sign up forms, etc. However, using redirects or iframes even could be valuable, especially for speed. This raises an interesting concept -- what about HTML templates held in S3? Aegis could load those to render. So design can be customized to a good degree. Of course lengthy forms for profile updates, etc. would be something to work on later or just completely out of the equation. Aegis hosted HTML through API Gateway could simply be simple signup/login. No extra form fields about phone numbers, birthdate, etc. It's much better to use CloudFront for hosting and not S3 (assuming templates are hosted there and not bundled with the Lambda...but actually why not bundle with deploy?) through Lambda through API Gateway. Though for speed/convenience...Something to think about.
Pools have to be created outside of deploy. They can't have their attributes updated once created - so having a list of attributes in the config would be weird because they'd be a one time use. Also, it's just a lot here. It's bloating deploy. API Gateway and roles and such made sense (especially given the usage of API Gateway was opinionated), but maybe even some of that could benefit from separate commands for certain things. The first pass of Cognito in aegis could certainly require all Cognito setup to occur outside of the too. Using the web console is easy enough. Though a comprehensive CLI tool (that is likely to be quite opinionated) is a long term goal.

Initial implementation done. There is now an easy way to protect functions, or routes, etc. with Cognito.


Add binary search

I used linear_search.nim as base, so checkBinarySearch template is redundant, but could be useful in future for other implementations. I am also not sure if it is a good idea or not to check if array is sorted at the start of function; for example:
from std/algorithm import isSorted, SortOrder

func binarySearch*[T:Ordinal](arr: openArray[T], key: T): Option[Natural] {.raises: [ValueError].} =
  if not arr.isSorted(Ascending):
    raise newException(ValueError, "Array is not sorted or not in ascending order.")

I recommend adding a recursive binary search in order to provide another alternative to people who wants to learn binary search. See https://www.geeksforgeeks.org/binary-search/

Thank you for the link! I added recursive version and fixed a little inconsistency: mid.Natural->Natural(mid).

Run nimpretty to remove trailing whitespaces. You can wrap the arguments on one line by adding a line break after the parenthesis instead of the automatically inserted line break by nimpretty.
I will merge it immediately after.


Selector interpolation doesn't work properly with trailing comma.

Node: v0.10.26
Stylus: v0.49.3

Passed
$sel-multiple = '.a, .b,'
{$sel-multiple}
	display block

.a,
.b {
  display: block;
}

Failed
Case 1
$sel-multiple = '.a, .b,'
{$sel-multiple}
	span
		display block

.a span,
.b span,
span {
  display: block;
}

Case 2
$sel-multiple = '.a, .b,'
.wrapper
	{$sel-multiple}
		display block

.wrapper .a,
.wrapper .b,
.wrapper {
  display: block;
}

I'm not sure if this is a bug, because .a, .b is not a valid selector in CSS.
if Stylus doesn't want to tolerate this, throwing an exception is OK.

Considered as known issue, maybe fix in 1.0. (LearnBoost/stylus # 1801)


Communication Issue Between Processes: driverMonitoringState

Describe the bug
openpilot was unavailable during the first several minutes of my morning drive, and would not become available. The DMoji was missing as well. After restarting the car I was able to engage openpilot for the rest of my drive with no further issues.
Provide a route where the issue occurs
5c49984c8efb9c9c|2023-07-20--06-54-51--0
openpilot version
90153bb3d954364e941fdfbea21d117ff4bee13e
Additional info
No response

Duplicate of #28919


Fix usage of servicing build pools during main builds of dnceng and dnceng-shared

Currently, the main builds of dotnet/dnceng has a lot of the build jobs running in the netcore1espool-svc-internal build pool. This is incorrect, as main builds should all use the non -svc build pools.
For instance, https://dev.azure.com/dnceng/internal/_build/results?buildId=2208056&view=logs&j=d17d50ef-afac-5d4b-95a6-3014ce5cf7a4&t=8c71b5e2-ae2b-4bba-8f0a-2deef5511cc5

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

FYI @missymessa @dkurepa

at a glance it looks like all stages added by arcade templates are running in the wrong pool:

Push to BAR
SDL
Package publishing

I would start by checking what's going on there. The Arcade templates have helper variables for choosing a pool, which this repo might be holding wrong.

This is also happening for dnceng-shared: https://dev.azure.com/dnceng/internal/_build/results?buildId=2200676&view=logs&j=d17d50ef-afac-5d4b-95a6-3014ce5cf7a4&t=663a9090-1cd9-4395-97c0-61dba5b3f85d, so it's probably something silly to fix in some yaml in both repos

It looks like the arcade-services pipeline is also running these jobs in the same Svc pool. We haven't touched this part so it's probably been like this for a while now. https://dev.azure.com/dnceng/internal/_build/results?buildId=2220335&view=logs&j=7d9eef18-6720-5c1f-4d30-89d7b76728e9&t=24c68d4a-204a-42bd-9bbf-063f301b6f82

That's another dnceng-ci link, but arcade-services is indeed broken as well and needs to be fixed: https://dev.azure.com/dnceng/internal/_build/results?buildId=2219860&view=logs&j=d17d50ef-afac-5d4b-95a6-3014ce5cf7a4&t=882fd266-2d96-4296-86e0-692de4b9bd02

OOOH, I think this might be related to the fact that all of these 3 repos consume arcade from the 6.0 branch, which is a servicing branch. This might be a bug in Arcade instead?

That would make a lot of sense 😃 I had a brief look at the yaml, it doesn’t even let you chose a non svc pool. Would it make sense to add a flag for our scenario?
From: Ricardo Arenas @.>
Sent: Thursday, July 13, 2023 5:31 PM
To: dotnet/dnceng @.>
Cc: Comment @.***>
Subject: Re: [dotnet/dnceng] Fix usage of servicing build pools during main builds of dnceng and dnceng-shared (Issue #359)
OOOH, I think this might be related to the fact that all of these 3 repos consume arcade from the 6.0 branch, which is a servicing branch. This might be a bug in Arcade instead?
—
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/dnceng/issues/359#issuecomment-1634454723 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AV36J3U7UR3FRWAWU5HI5T3XQAIEXBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE3DGMBSGIZDGOJSQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHAYDCNZYGE3TANVHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Fail to read multi-image.ome.zarr from local filesystem

Napari fails to open the local file multi-image.ome.zarr  obtained from the OME NGFF prototypes with the error:
shape = image[0].shape
AttributeError: 'list' object has no attribute 'shape'

Steps to reproduce:
Download and unzip the ome-ngff prototypes from https://oc.embl.de/index.php/s/0TPPw4CUt0G6nng
conda create -y -n napari-env -c conda-forge python=3.9
conda activate napari-env
conda install -c conda-forge napari
pip install napari-ome-zarr
napari './ome-ngff-prototypes/v0.4/multi-image.ome.zarr'

However, it works over s3:
napari 'https://s3.embl.de/i2k-2020/ngff-example-data/v0.4/multi-image.ome.zarr'

So not sure if it's a napari plugin problem or a problem with the downloaded files.

@jkh1 for me, both napari https://s3.embl.de/i2k-2020/ngff-example-data/v0.4/multi-image.ome.zarr and napari ~/Downloads/v0.4/multi-image.ome.zarr work without issues with a fresh download.
I have the following environment
``
(napari) sbesson@sebastiens-mbp ~ % napari --version
napari version 0.4.16
(napari) sbesson@sebastiens-mbp ~ % pip freeze | grep zarr
napari-ome-zarr==0.5.2
ome-zarr==0.5.2
zarr @ file:///home/conda/feedstock_root/build_artifacts/zarr_1655999983354/work

Does that match your versions?

Minor version difference for napari:
~ > napari --version
napari version 0.4.14
~ > pip freeze | grep zarr
napari-ome-zarr==0.5.2
ome-zarr==0.5.2
zarr @ file:///home/conda/feedstock_root/build_artifacts/zarr_1655999983354/work

I removed the napari conda package (because conda update napari  didn't update it) and installed via pip which gave me version 0.4.16. Now napari asks me if I want to use the ome-zarr plugin and if I do it now works and if I don't I get the previous error again.
So it seems that version 0.4.14 doesn't know when to use the plugin for local files and defaults to its built-in reader whereas version 0.4.16 asks the first time which reader to use.

Closing as fixed by upgrading napari to 0.4.16


display of

<ab> is currently displayed indented towards the right.

See https://github.com/erc-dharma/tfa-pallava-epigraphy/blob/master/texts/xml/DHARMA_INSPallava00108.xml
Could it be displayed not indented as follows? (I am not clear if this would interact with other EGD uses of <ab>)

I think the ident for the <ab> element was inherit from Epidoc conventions and was kept as such so far.

Thought so too the indent was inherited from EpiDoc.
@danbalogh : do you think of any specific use of  that should not be "not indented"?

No, I agree with Manu that the contents of <ab> should not be indented. I've also noticed this before, but considered it a trivial matter that we can leave for later. If it is not too bothersome to solve, then indeed, my preference would be to display <ab> in exactly the same way as . (After all, our use of <p> is not really EpiDoc compliant - they normally just put an <ab> around the whole text of an inscription. We use both <p> and <ab> segment longer inscriptions into semantic units.)

It should be good right now.

Thanks

Yes, thanks, Axelle!


Add Inference Service API Reference doc

Can refer to https://knative.dev/docs/reference/api/serving-api/

knative doc generation script https://github.com/knative/docs/blob/mkdocs/hack/gen-api-reference-docs.sh


Add support for compressed output style

Proposed solution for #23, adding support for Sass' OutputStyle.compressed (https://github.com/sass/dart-sass/pull/217).
@luisvt @kevmoo @nshahan

Is this feature finished? Can it be released?

@luisvt @kevmoo @nshahan merge conflicts have been addressed. This should be ready to go now.

Could you also set the upper bound on the barback dependency to 0.15.2+14? This is the last release before the deprecation and it will avoid the failure on the travis analysis.

Could you also set the upper bound on the barback dependency to 0.15.2+14?

Or better
Specifically
  barback: ">=0.15.2 <0.15.2+15"

@kevmoo @nshahan @indiealexh I have restricted the upper bound of barback and improved the outputStyle experience for users as requested.
This is ready for another look!

I'm still not sure what method you are using to change the option. Do you have manual script that you are running where you construct a new SassBuilder?

@nshahan I have addressed your feedback, this should be ready for a final look.

@alademann Commit failed dart formatting compliance checks. Can you run dartfmt?

@indiealexh done.

OK if I merge? I can make a new PR with the prep to publish a new version.


Questions about reproducing results on COCO

Hello, I tried to reproduce the result on COCO, I implemented my own framework and most of my files are the same as you, I only write my new train.py.
As is introduced in your paper, I have implemented EMA with 0.999, 1cycle policy with max learing rate 2e-4, Adam optimizer with weigth_decay 1e-4, img_size = 448*448 and batchsize = 16.
But when I train my model, the loss decreases from 120 to around 90 and then it just doesn't decrease and the performance on validation date is very bad, whose mAP is around 10, at first I guess it's because I didn't spend much time training, I only trained it for an hour, but when I try to train it longer, the loss still doesn't decrease, could you please tell me what I have done wrong?
My code is avaliable at https://github.com/GhostWnd/reproducingASL, thank you for your help.

three observations to start with:
for testing convergence, use smaller resolution (224) and larger batch size (128)
i don't see any augmentations in your training code.
use RandAugment or AutoAugment at least + cutout
also, something weird with your scheduler:
   scheduler = lr_scheduler.OneCycleLR(optimizer, max_lr = 0.0002, total_steps = total_step, epochs = 25)
its hardcoded to 25 epochs, yet you loop over only 5 epochs
add these hyperparameters to arg list, and use them everywhere instead of hard-coded numbers:

three observations to start with:
for testing convergence, use smaller resolution (224) and larger batch size (128)
i don't see any augmentations in your training code.
use RandAugment or AutoAugment at least + cutout
also, something weird with your scheduler:
   scheduler = lr_scheduler.OneCycleLR(optimizer, max_lr = 0.0002, total_steps = total_step, epochs = 25)
its hardcoded to 25 epochs, yet you loop over only 5 epochs
add these hyperparameters to arg list, and use them everywhere instead of hard-coded numbers:

also for testing and prototyping, use tresnet_m

also for testing and prototyping, use tresnet_m

Thanks for your comment, I will try and report later.

Thanks for your comment, I will try and report later.

i will take a look at the code and try to run It when i have the time.
good work so far, i think with joint forces we are on our way to finally have a modern multi-label code for the community to use, that vast majority of repo that exist are way outdated.
several more corrections and suggestions and corrections:

args.do_bottleneck_head = False (not True)

one more correction is that you are using the 2017 split. while this is not a "mistake" (and your results will be a little higher), in articles people use the 2014 split.

what about mixed precision ? with modern pytorch it is a few line of code  ("with autocast():"...)

to improve speed, you don't have to update EMA every iteration. you cant update it every ~5 iterations with slightly higher decaey rate, and still ger similar results.

load a pretrained  model, run only inference, and make sure you reproduce the article results (after switching to 2014 split)

make sure, especially in validation, that you are not building enormous vectors along the training that clog the RAM memory. sometimes its better to pre-allocate memory if you need to store large vectors

Thank you for your comment, I will correct it.
And if it's possible, could you please release the loss change when you run my code?
Thank you very much.

Hi GhostWnd
i took a deeper look at the code. there are several major problems there.
make sure you understand whats the problem in each and every one of them, and apply corrections. don't skip a single one.
most of these problems can be a "deal breaker". and its also a good journey to understand what it takes to create a top repo.

currently not using randaugment (commented)

not initilizaing model (from relevant imagenet model https://github.com/Alibaba-MIIL/TResNet/blob/master/MODEL_ZOO.md)

doing "target = target.max(dim=1)[0]". remove this line

using 2017 coco split (instead 2014 coco split )

Cutout(n_holes = 1, length = 16)  ->  Cutout(n_holes = 1, args.image_size/2)

validation should be done once an epoch, no more and no less

  preds.append(output.cpu())
  targets.append(target.cpu())

  ->

preds.append(output.cpu().detach())
targets.append(target.cpu().detach())

mAP_score = validate_multi(val_loader,  model, args, ema)
->
model.eval()
mAP_score = validate_multi(val_loader, model, args, ema)
model.train()

calculate only mAP metrics. remove other metrics, they are only confusing during training

just to give you motivation, i got a good score last night when running a corrected code...

Thank you for your comment and effort, I will try to correct the code and run it.
Thank you very much.

Sorry to bother again, I know due to commercial issues you can't release your training code, but could you release the code you correct based on my train.py?
If that is not possible, could you please release the loss record of your corrected code based on my training code, so that I can compare the result myself?
Thank you very much.

Hi  GhostWnd
there were other problems in the code.
The two major ones:

sigmoid was done twice (!) - once in the direct prediction, second in the loss.
EMA was not performed correctly (its a separate model with separate validation)

anyway, this code fully reproduces  the article results:
train_asl_reproduce.zip
i will attach logs for 224 and 448 trainings later
you are welcome to test it yourself and give me feedback.
thanks for the collaboration, together we will release the first publicly available modern multi-label code
:-)

Thank you so much!  :-)

this is my log file:
mtresnet_224.txt

Thank you so much! :-)
I will upload the train file to make it publicly available as well as test it by myself and give feedback to you as soon as possible.

do you have an objection that i will add the code also to
https://github.com/Alibaba-MIIL/ASL ?
i think it will help it gain more traction. there are very few (zero) modern multi-label code-bases like this, with top results.
i will of course share credit with you, i had made a lot of changes and enhancements to the code, but you provided the base implementation.

No objection, it's my pleasure, thank you very much.

And I wonder whether you can put the mode based on tresnet_m and input size 224 into you pretrained model?
I would like to apply it to other dataset as pretrained model.
Thank you very much.

i am not sure i fully understand your question.
models in
https://github.com/Alibaba-MIIL/ASL/blob/main/MODEL_ZOO.md
are standard imagenet models for downstream tasks. these are the models you should use to initialize training on COCO.

Well, I think you make a little mistake,
models in https://github.com/Alibaba-MIIL/ASL/blob/main/MODEL_ZOO.md are models trained on MSCOCO
while models in https://github.com/Alibaba-MIIL/ASL/blob/master/MODEL_ZOO.md are standard imagenet models, right?
I just wonder whether you could upload the model you trained with tresnet_m with input size 224 into https://github.com/Alibaba-MIIL/ASL/blob/main/MODEL_ZOO.md

Or could you please share the model you trained on tresnet_m and input size 224 with me?
I would like to adjust some hyper parameters to test the influence of those hyperparameters.
And apply it to other dataset as pretrained model.
Thank you very much.

just to be clear:
tresnet_m 224 model trained on MS-COCO ?

yes, the one that produces the log file mtresnet_224.txt

added to
https://github.com/Alibaba-MIIL/ASL/blob/main/MODEL_ZOO.md

Thank you very much.

this is an example log file (notice - resolution 224, mtresnet)
mtresnet_224.txt

Can you attach logs for 448 resolution with tresnet_l using this training code? I found it's hard for me to reprodect the 86.8mAP resault in paper.

@LOOKCC
run
https://github.com/Alibaba-MIIL/ASL/blob/main/train.py


Simply twig.js in a browser

Hi,
I have spent many, many hours to try to make twig.js work in a browser. Unsuccessful :(
All I want is to be able to include the twig.js file and then render some templates.
I have many years of experience in development but it looks like this just got the better of me.
I do one rendering and it renders fine. Then when I'm doing the second rendering of the same template, data from the first rendering is used. The issue is in the .replace filter.
Also I tried this simple code and it's not working. I might be doing something wrong.

        var t="Are you {{ place }} at all?";
        Twig.twig({
            id: "posts",
            data: t,
        });
        alert(Twig.twig({ref: 'posts'}).render({place: 'where'}));

I include twig.min.js version 1.14.0 from here: https://asset-packagist.org/package/npm-asset/twig
The code I use:
Thank you, I really appreciate any help,
Daniel

As a note: One needs to be careful when including a template especially when one also has TWIG templating on the server side.
If the template is not properly added into the code then the server side TWIG engine might process it too, besides the twig.js engine.
Ex:
"Hello {{ name }} how are you."
If this would go into a view.html.twig template file then it should be:
{{' Hello {{ name }} how are you. '}}
so the php twig engine would not process it.

There might be a bug in the replace filter.
The code should display only the extension "JPG".
https://jsfiddle.net/playing_life/g96u3a4j/2/#&togetherjs=9v1FN3d6ap

Does (front):'' actually work?

Strangely the REPLACE works the first time but the second time looks like it still uses the data from the previous REPLACE call.
Ex:
'Text x'|replace('x','1')         - this one calls the replace function with parameters "x" and "1"
'Text x'|replace('x','2')         - this one calls the replace function with parameters "x" and ("1" instead of "2". always the previous value)
Might be a variable scope issue.

This is due to a deeper issue with how expressions are parsed and tokenized. For some reason the  are being resolved to static values and cached instead of being kept dynamic and evaluated on each render.

twig.js example


Support for running criterion benches as tests?

Hi all!
I'm a big fan of what this project is doing.
I noticed when trying to integrate this into https://github.com/vectordotdev/vector that it fails to run test binaries built from criterion benchmarks which don't support the same --format flag that normal test binaries support:
cargo nextest run --workspace --no-fail-fast --no-default-features --features "default metrics-benches codecs-benches language-benches remap-benches statistic-benches dnstap-benches benches"
    Finished test [unoptimized + debuginfo] target(s) in 1.31s
error: Found argument '--format' which wasn't expected, or isn't valid in this context

USAGE:
    limit-2c27c6bee8522ca1 --list

For more information try --help
Error:
   0: error building test list
   1: running ''/Users/jesse.szwedko/workspace/vector/target/debug/deps/limit-2c27c6bee8522ca1 --list --format terse'' failed
   2: command ["/Users/jesse.szwedko/workspace/vector/target/debug/deps/limit-2c27c6bee8522ca1", "--list", "--format", "terse"] exited with code 1

Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
make: *** [test] Error 1

Running --help on the test binary:
Criterion Benchmark

USAGE:
    limit-2c27c6bee8522ca1 [FLAGS] [OPTIONS] [FILTER]

FLAGS:
    -h, --help       Prints help information
        --list       List all benchmarks
    -n, --noplot     Disable plot and HTML generation.
    -v, --verbose    Print additional statistical information.

OPTIONS:
    -b, --baseline <baseline>                        Compare to a named baseline.
    -c, --color <color>
            Configure coloring of output. always = always colorize output, never = never colorize output, auto =
            colorize output if output is a tty and compiled for unix. [default: auto]  [possible values: auto, always,
            never]
        --confidence-level <confidence-level>        Changes the default confidence level for this run. [default: 0.95]
        --load-baseline <load-baseline>              Load a previous baseline instead of sampling new data.
        --measurement-time <measurement-time>        Changes the default measurement time for this run. [default: 5]
        --noise-threshold <noise-threshold>          Changes the default noise threshold for this run. [default: 0.01]
        --nresamples <nresamples>
            Changes the default number of resamples for this run. [default: 100000]

        --output-format <output-format>
            Change the CLI output format. By default, Criterion.rs will use its own format. If output format is set to
            'bencher', Criterion.rs will print output in a format that resembles the 'bencher' crate. [default:
            criterion]  [possible values: criterion, bencher]
        --plotting-backend <plotting-backend>
            Set the plotting backend. By default, Criterion.rs will use the gnuplot backend if gnuplot is available, or
            the plotters backend if it isn't. [possible values: gnuplot, plotters]
        --profile-time <profile-time>
            Iterate each benchmark for approximately the given number of seconds, doing no analysis and without storing
            the results. Useful for running the benchmarks in a profiler.
        --sample-size <sample-size>                  Changes the default size of the sample for this run. [default: 100]
    -s, --save-baseline <save-baseline>              Save results under a named baseline. [default: base]
        --significance-level <significance-level>
            Changes the default significance level for this run. [default: 0.05]

        --warm-up-time <warm-up-time>                Changes the default warm up time for this run. [default: 3]

ARGS:
    <FILTER>    Skip benchmarks whose names do not contain FILTER.

This executable is a Criterion.rs benchmark.
See https://github.com/bheisler/criterion.rs for more details.

To enable debug output, define the environment variable CRITERION_DEBUG.
Criterion.rs will output more debug information and will save the gnuplot
scripts alongside the generated plots.

To test that the benchmarks work, run `cargo test --benches`

NOTE: If you see an 'unrecognized option' error using any of the options above, see:
https://bheisler.github.io/criterion.rs/book/faq.html

I was just curious to get thoughts on handling this. Should I stick with normal cargo test --benches for that target for now and use nextest for the other targets?

Thanks for reporting this! I think the easiest thing to do would be to make criterion support the --format terse option and output lines in the format nextest accepts: https://nexte.st/book/custom-test-harnesses.html
Note that following the standard Rust benchmark library, lines ending in ": bench" are ignored. We may want to add an option to run benchmarks as tests if that's a desired use case.

Thanks for the response! That makes sense, I missed that section in the book. I'll open an issue over on criterion to see if they'd be open to adding those flags.

Note that following the standard Rust benchmark library, lines ending in ": bench" are ignored. We may want to add an option to run benchmarks as tests if that's a desired use case (is that what you want?)

Yeah, we have had cases where benches were broken accidentally so we started running them as tests in CI which seems to just run one benchmark iteration and lets us validate that no assertions failed (for criterion at least). That would be great if nextest supported them, but I can just run cargo test --benches -- --bench separately for now.

There's also https://github.com/nextest-rs/nextest/issues/38 which might be useful.

I think we can support this with a --run-benches option, similar to --run-ignored today.

I looked at this a bit more and it seems like criterion binaries built with cargo test don't appear to behave with --list:
/home/rain/dev/cargo-guppy/target/debug/deps/package_graph-4455225dc7640272 --list
WARNING: HTML report generation will become a non-default optional feature in Criterion.rs 0.4.0.
This feature is being moved to cargo-criterion (https://github.com/bheisler/cargo-criterion) and will be optional in a future version of Criterion.rs. To silence this warning, either switch to cargo-criterion or enable the 'html_reports' feature in your Cargo.toml.

Gnuplot not found, using plotters backend
Testing make_package_graph
Success

Testing depends_on
Success

Testing depends_on_cache
Success

Testing into_ids
Success

Testing resolve_package_name
Success

Testing make_package_name_hashmap
Success

Testing make_cycles
Success

I think this will need to be fixed in criterion first -- marking this "help wanted" in case someone wants to pick up the work in criterion.

Thanks for following up @sunshowers ! I agree https://github.com/bheisler/criterion.rs/issues/562 will need to be resolved first.

https://github.com/bheisler/criterion.rs/pull/602 addresses this.

Criterion 0.5, which came out a few days ago, supports nextest.


Wiki - Search bar is on top of navigation and hidden a portion of it (Safari 15+)

Please select the area your bug applies to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[X ] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Describe the bug
On Safari 15+ search bar appear on top on left menu.  Do not have the same issue on Chrome.
To Reproduce
Steps to reproduce the behavior:

Using Safari 15+, go to https://wiki.dendron.so and compare to another browser

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information)

OS: Mac OS Monterey
Browser: Safari
Version: 15

Additional context
Add any other context about the problem here.
Dendron Log file
Not Applicable
Please attach the output of > Dev:Dendron: Open Logs here

Thanks for the report. I can reproduce this in safari. We'll let you know once we get to the fix 🙏🏼

Same behaviour on Vivaldi 3.6.

This has been fixed in the latest version of the nextjs template. Please let me know if that's not the case


Compiling and execution error

When compiling I'm getting the following errors
C:\Desktop\Elevator-main\Elevator>cargo build --release
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.105
   Compiling windows_quote v0.19.0
   Compiling windows_reader v0.19.0
   Compiling memchr v2.5.0
   Compiling cfg-if v1.0.0
   Compiling cc v1.0.78
   Compiling libc v0.2.138
   Compiling windows_gen v0.19.0
   Compiling const-sha1 v0.2.0
   Compiling winapi v0.3.9
   Compiling backtrace v0.3.67
   Compiling gimli v0.27.0
   Compiling adler v1.0.2
   Compiling failure_derive v0.1.8
   Compiling unicode-xid v0.2.4
   Compiling synstructure v0.12.6
   Compiling addr2line v0.19.0
   Compiling miniz_oxide v0.6.2
   Compiling object v0.30.0
   Compiling windows_macros v0.19.0
   Compiling windows v0.19.0
   Compiling bindings v0.1.0 (C:\Desktop\Elevator-main\Elevator\bindings)
   Compiling rustc-demangle v0.1.21
   Compiling log v0.4.17
   Compiling widestring v0.4.3
   Compiling bitflags v1.3.2
   Compiling failure v0.1.8
   Compiling winproc v0.6.4
   Compiling litcrypt v0.3.0
warning: unused return value of `Box::<T>::from_raw` that must be used
   --> C:\Desktop\Elevator-main\Elevator\target\release\build\bindings-f9c61dc1923f2af4\out/windows.rs:253:33    |
253 | ...                   ::std::boxed::Box::from_raw(value.0);
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
    = note: `#[warn(unused_must_use)]` on by default

warning: unused return value of `Box::<T>::from_raw` that must be used
   --> C:\Desktop\Elevator-main\Elevator\target\release\build\bindings-f9c61dc1923f2af4\out/windows.rs:310:33    |
310 | ...                   ::std::boxed::Box::from_raw(value.0);
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`

   Compiling data v0.1.0 (C:\Desktop\Elevator-main\Elevator\data)
   Compiling dinvoke v0.1.0 (C:\Desktop\Elevator-main\Elevator\dinvoke)
   Compiling os_info v3.5.1
warning: unreachable pattern
   --> dinvoke\src\lib.rs:155:21
    |
155 |                     _ => (*(*exceptioninfo).context_record).Rip += 1
    |                     ^
    |
    = note: `#[warn(unreachable_patterns)]` on by default

warning: `bindings` (lib) generated 2 warnings
   Compiling static_vcruntime v2.0.0
   Compiling hex v0.4.3
   Compiling elevator v0.1.0 (C:\Desktop\Elevator-main\Elevator)
   Compiling manualmap v0.1.0 (C:\Desktop\Elevator-main\Elevator\manualmap)
   Compiling rpcclient v0.1.0 (C:\Desktop\Elevator-main\Elevator\rpcclient)
warning: `dinvoke` (lib) generated 1 warning
    Finished release [optimized] target(s) in 39.58s

C:\Desktop\Elevator-main\Elevator>set LITCRYPT_ENCRYPT_KEY="key"

C:\Desktop\Elevator-main\Elevator>cargo build --release
warning: unused return value of `Box::<T>::from_raw` that must be used
   --> C:\Desktop\Elevator-main\Elevator\target\release\build\bindings-f9c61dc1923f2af4\out/windows.rs:253:33    |
253 | ...                   ::std::boxed::Box::from_raw(value.0);
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
    = note: `#[warn(unused_must_use)]` on by default

warning: unused return value of `Box::<T>::from_raw` that must be used
   --> C:\Desktop\Elevator-main\Elevator\target\release\build\bindings-f9c61dc1923f2af4\out/windows.rs:310:33    |
310 | ...                   ::std::boxed::Box::from_raw(value.0);
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`

warning: `bindings` (lib) generated 2 warnings
warning: unreachable pattern
   --> dinvoke\src\lib.rs:155:21
    |
155 |                     _ => (*(*exceptioninfo).context_record).Rip += 1
    |                     ^
    |
    = note: `#[warn(unreachable_patterns)]` on by default

warning: `dinvoke` (lib) generated 1 warning
    Finished release [optimized] target(s) in 0.22s

Despite being able to create the executable anyway
and when running that executable I get the error box
Error Message Box
What can be the issue here?

Those warnings are normal and should not be the root of any execution issue.
Ill need more info in order to help you:
1.- Did this happen before the last commit?
2.- What's your OS version and build?
3.- What are the arguments that you are using to run the tool?
4.- Are you running it from the security context of an user member of the Administrator group?
5.- Did you perform any change to the project, or are you just compiling it after downloading the zip from the repository?
Maybe with this additional information Ill be able to reproduce the issue, cause atm the tool is working properly in my machine.

1 - yes, I have downloaded the repo today
2 - I was trying on a Win11 VM
3 - I have tried with cmd.exe, powershell.exe and powershell.exe -c "command"
4 - the user is member of the Administrator group
5 - just compiled with any change
6 - yes, its the same machine


Microsoft.SerialConsole/serialPorts/delete operation missing

In https://github.com/Azure/azure-rest-api-specs/blob/main/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialport.json for the operation SerialPorts_Delete you need the permission Microsoft.SerialConsole/serialPorts/delete however this operation does not exist. If I try the API without a permission of Microsoft.SerialConsole/serialPorts/* I get the error message:
{
    "error": {
        "code": "AuthorizationFailed",
        "message": "The client 'redacted' with object id 'redacted' does not have authorization to perform action 'Microsoft.SerialConsole/serialPorts/delete' over scope '/subscriptions/redacted/resourcegroups/compute/providers/Microsoft.Compute/virtualMachines/lin/providers/Microsoft.SerialConsole/serialPorts/0' or the scope is invalid. If access was recently granted, please refresh your credentials."
    }
}

Yet List Operations as documented in serialconsole.json does not return Microsoft.SerialConsole/serialPorts/delete as an operation

@tyson-trust "Microsoft.SerialConsole/serialPorts/delete" isn't an operation , its a permission similar to "Microsoft.SerialConsole/serialPorts/". By using the wildcard character "", you are granting the specified permissions to all serial ports within the "Microsoft.SerialConsole" resource provider.
For example, if you specify "Microsoft.SerialConsole/serialPorts/read" in a role definition, you are granting the specified permissions to read data from all serial ports within the "Microsoft.SerialConsole" resource provider. Similarly, if you specify "Microsoft.SerialConsole/serialPorts/write" in a role definition, you are granting the specified permissions to write data to all serial ports within the "Microsoft.SerialConsole" resource provider.
This Microsoft.SerialConsole/serialPorts/* contains below permissions
Microsoft.SerialConsole/serialPorts/write
Microsoft.SerialConsole/serialPorts/read
Microsoft.SerialConsole/serialPorts/delete

@tyson-trust Could you kindly confirm if you have had the opportunity to review my comment? If you have any questions, please don't hesitate to ask.

Hi @SwathiDhanwada-MSFT as per the other issue the problem is I cannot just add the permission of Microsoft.SerialConsole/serialPorts/delete as per the attached screenshot

@tyson-trust As both are related issues, I understand you need all the least privilege permissions. I will post the updates on the other thread and close this thread. Thanks.


Questions about D4RL dataset loading for DT

First of all, thank you for the repository. It is really helpful for learning about and developing offline RL algorithms.
While going through the DT code I had two questions.
In the function where the d4rl trajectories are loaded, I think the episode step counting will be off by one for the first episode. The episode_step += 1 should appear before the if condition. With the current implementation, if the first episode was of length 5, then episode_step would only be 4 when entering the if condition.
Also, this function would throw away the last episode in the dataset if the done/timeout flag for the last sample in the dataset is False. Is this expected behavior? And there are datasets where the last sample has both done and timeout to be False, for example in the hopper-random-v2 dataset of the D4RL benchmark. In this dataset, the last episode of 4 samples is discarded and isn't added to traj.
https://github.com/tinkoff-ai/CORL/blob/b62fa28e44a6cd1bd258ec91c09592fb7fe1200d/algorithms/dt.py#L137-L155

Hi! Indeed, I think that counting is not correct currently! You can do a PR with correction if you want or we will fix it ourselves. I think adding an assert on episode_step == some array len  from episode_data would be also a good idea (or even add len of array as episode_step instead of counting like now)!

Also, this function would throw away the last episode in the dataset if the done/timeout flag for the last sample in the dataset is False. Is this expected behavior?

Yes, this is expected behavior. If trajectory does not have True done or timeout, then this trajectory is not ended in any way during data generation. We decided it was better to skip such trajectories, given how many bugs there are in D4RL dataset generation 🥲.

Yes I can open a PR for this. Yeah I have an assert condition on the length in my version of the code which is when I realized this issue.


feat: upgrade to prettier 3 and prettier-plugin-svelte 3

This will give users the new versions via create-svelte. The rest of the change is internal
closes #10751
closes https://github.com/sveltejs/kit/issues/10716

Shouldn't the template .prettierrc file here also be changed? pluginSearchDirs has been completely removed from the API in Prettier 3.

Okay. Seems this is blocked by https://github.com/prettier/prettier/issues/15079. There's a PR for it, so hopefully we don't have to wait too long: https://github.com/prettier/prettier/pull/15155

https://github.com/prettier/prettier/pull/15433 was merged with the fix. It's not been released yet though. It looks like it will be included in prettier 3.1

Prettier 3.1 has been released with the fix 🚀

Finally! A migration guide would be nice for existing projects.
# jsconfig.json, tsconfig.json
+ "moduleResolution": "bundler"

# package.json
- "lint": "prettier --plugin-search-dir . --check . && eslint .",
- "format": "prettier --plugin-search-dir . --write ."
+ "lint": "prettier --check . && eslint .",
+ "format": "prettier --write ."

# package.json
- "prettier": "^2.8.8",
- "prettier-plugin-svelte": "^2.10.1",
+ "prettier": "^3.1.0",
+ "prettier-plugin-svelte": "^3.1.0",

# .prettierrc
- "pluginSearchDirs": ["."],

The comment can work as a guide, but it should be added to the documentation.
Similar case: migration to eslint-plugin-svelte docs links to a GitHub comment.

I do wish there was an official guide to bumping packages' major versions.
If the user started with<EMAIL_ADDRESS>these packages are outdated.

Package
Current
Latest
Migration

@typescript-eslint/eslint-plugin (dev)
5.62.0
6.11.0
None

@typescript-eslint/parser (dev)
5.62.0
6.11.0
None

eslint-config-prettier (dev)
8.10.0
9.0.0
None - PR in process

prettier (dev)
2.8.8
3.1.0
pacakge.json scripts, .prettierrc

prettier-plugin-svelte (dev)
2.10.1
3.1.0
pacakge.json scripts, .prettierrc

svelte (dev)
3.59.2
4.2.3
Reference Svelte docs

typescript (dev)
4.9.5
5.2.2
Mention moduleResolution: bundler

eslint-plugin-svelte3
4.0.0
-
Should be uninstalled

eslint-plugin-svelte
-
2.35.0
Should be installed, migration

This will allows users to update their dependencies with confidence.

The place to add that documentation would be the prettier-plugin-svelte repository. It already contains a small section at the bottom of the readme. Happy to accept a PR with more migration instructions.


some monster stats can not be entered in the sheet

What I found out while entering the stats for a Giant Centipede:
They have less than 1HD. I can enter 0.5. The sheet correctly calculates the avergage HP as 2. But my browser (Chrome) keeps telling me to enter a valid value. Also, the sheet does not automatically calculate the saves in this case.
They deal no damage. I entered a "0" in the damage field. Minimum damage is still 1, though. When I try to leave it empty, it gets replaced by 1d6+1. When I enter a text, then I can no longer roll the attack.
Entering the Saves by hand seems to work at first. When closing and re-opening the Centipede's sheet, the get resetted to 0, though.
UPDATE: The Saves keep resetting to 0, even when I enter a "1" as the HD.
UPDATE 2: The monster's encounter speed is not a value that can be referenced by a token - only the exploration speed is. Having the encounter speed on a token might come in handy sometimes.
UPDATE 3: When I to enter "Fighter" as a class on the character tab, then I get automagically filled Saves on the monster tab. This is kinda confusing. They ignore the monster's HD, tho.

Issues Found:

[x] Monster's encounter speed is unavailable to tokens
[x] Giant Centipedes deal no damage according to stat block, does minimum damage still happen?
[ ] Chrome error with HD of 0.5?

Saving Throw issues moved to #10

They have less than 1HD. I can enter 0.5. The sheet correctly calculates the avergage HP as 2. But my browser (Chrome) keeps telling me to enter a valid value.

I'll take a look, sounds like a case I didn't account for.

Also, the sheet does not automatically calculate the saves in this case.
Entering the Saves by hand seems to work at first. When closing and re-opening the Centipede's sheet, the get resetted to 0, though.

The saves reseting is due to what I put into automatically calculate certain values for characters. It sounds like I need to separate a monster's saves from the character's saves.
It looks like monsters have their own saving throw table as well as using saves from various classes at certain levels. Here's what I'm thinking:

Create a select/dropdown for "Saves as" and fill it with Monster plus the seven classes in the base book plus Custom
It'll use the correct saves, both from the endpapers and from the classic fantasy book
If you select Custom, nothing will be automatically calculated
If you select one of the seven classes, I'll show another input that allows you to set the level of the class (e.g. saves as Fighter 3)

That'll take a bit of time for me, but how does that sound?

Sounds great!
Oh, and btw: at least in the version currently on Roll20, the character name and the monster name aren't linked. I still have to enter a monster's name in the character tab- Otherwise, I don't see the monster's name in the Journal.

I still have to enter a monster's name in the character tab- Otherwise, I don't see the monster's name in the Journal.

Yeah, they merged it yesterday and the fixes typically hit on Tuesday, but I have no idea (or control over) when that happens.

* Create a select/dropdown for "Saves as" and fill it with Monster plus the seven classes in the base book _plus_ Custom

I just noticed, that most monsters with ½HD use the "Normal Human" saving throws. So do most NPCs. You may want to add those as an 8th class.

The sheet correctly calculates the avergage HP as 2. But my browser (Chrome) keeps telling me to enter a valid value.

Can you show me a screenshot of what you're talking about? When I enter 0.5 as the HD, I see the Average HP calculated correctly, but I don't see any error in Chrome. I do notice that you can't calculate the HP by clicking the HD button. I can fix that, but it'd be a big fix for a small and infrequent problem.

They deal no damage. I entered a "0" in the damage field. Minimum damage is still 1, though. When I try to leave it empty, it gets replaced by 1d6+1. When I enter a text, then I can no longer roll the attack.

You need a value in there. The 1d6+1 is a placeholder, but the value isn't actually there. If those placeholders are confusing I could remove them. Instead, just put the value 0 in that space, or 1 since that's the minimum anyways. And maybe I'm wrong here, but I'm working off the assumption that both players and monsters have a minimum damage of 1 per the rules:

Minimum damage: An attack which hits always deals at least one point of damage, even when damage modifiers reduce the number rolled to 0 or less.

Is that not the case for monsters?

PC attacks: Inflict 1d6 damage. Damage
of melee attacks is modified by STR.

Monster attacks: Deal the damage indicated
in the monster’s description.

Minimum damage: An attack which hits
always deals at least one point of damage,
even when damage modifiers reduce the
number rolled to 0 or less.

That's from the rules. But the Giant Centipede lists this as attack:

Att 1 × bite (poison)

I am not sure what to make of this. The rules sound like they might be doing one point of damage, even tho there isn't even a damage die. Then again, the rules talk about a rolled number that can't be reduced to 0 or less.

Then again, the rules talk about a rolled number that can't be reduced to 0 or less. And the centipede doesn't roll.

That's a good point. Here's my plan:

Attacks from Characters will still have a minimum of 1 damage
Attacks from Monsters will not have that minimum, so entering 0 will result in no damage, but it will show it, which I think is still valuable

I looked them up in the old B/X book and their entry explicitly states that their attacks don't deal any damage. So by freak accident the first monster I tried to use with the new character sheet is one that breaks the rules. :)

Which is great! Find more rule breakers so we can keep improving the sheet.

I just saw that an attack's description is only printed for characters, not for monsters. Would be great to get that for monsters as well. AT least as an option.

Would be great to get that for monsters as well. AT least as an option.

That should be there...I'll add it in.

@Pusikas any further debugging on the Chrome error or do you have a screenshot of it? I can't reproduce it.

Related: when I try to roll HP for a creature of 1/2 HD, it just displays 0.5 (the value I have for the HD). It doesn't display the average HP as anything but 0 when I enter this.

Related: when I try to roll HP for a creature of 1/2 HD, it just displays 0.5 (the value I have for the HD). It doesn't display the average HP as anything but 0 when I enter this.

That makes sense as it takes the value you put into the HD and rolls Xd8 and I doubt Roll20 knows what to do with 0.5d8. I can look into it at some point, but my recommendation would be to manually put in the HP values for now.


Continuous integration testing of strong mode against flutter

We'd like to get continuous (or nightly) testing of strong mode analysis on flutter running, perhaps on travis.  This is intended not as a presubmit (keep it green), but rather as a canary to give more runway to the flutter rolls, and for the analyzer team to get early visibility into the impact of breaking changes.
We could probably fairly easily just add this to the dev compiler travis bots:
https://github.com/dart-lang/sdk/blob/master/pkg/dev_compiler/.travis.yml
It's not really a dev compiler issue though, so might make more sense to have a different instance.
@kevmoo @sethladd @pq thoughts?

Assigning to @pq for now, feel free to lob it back as appropriate.

Really cool idea.
On Fri, Sep 2, 2016 at 12:58 Leaf Petersen<EMAIL_ADDRESS>wrote:

Assigning to @pq https://github.com/pq for now, feel free to lob it
back as appropriate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/27230#issuecomment-244473373,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAVZzb7VwyqhygdW5-t23DxJqflPpWAks5qmH_MgaJpZM4J0Cbx
.


[feature suggestion] Display times to finish downloads, also their average

Please include for each download the estimated time to completion ('time remaining') in the statusbar. This is information that one wants to see at a quick glance. Also: the duration in the popup at "Status:" should state that it is the remaining time, so it cannot be misunderstood das the time passed.
A display of the average (=mean) time to completion in the statusbar would be very useful. Downloads usually share one ISP connection, and (except for the -- nowadays very rare! -- case that the server only sends with a low data rate), once one download is finished, the others speed up. The mean of all estimated remaining times is in almost all cases close to the completion time of the last download. And this is a very useful information ("When can I come back and work with these downloads?").

I second this. @jwensley2 Please implement this very useful feature. Also, allow us to open the files directly on single click.


Harden Input Validation

llama-pack relies on user input in many places. Catching errors at the moment the user is inputing data will make it easier to recover from errors and generate better error messages

This has been closed by #86


bETH vs BETH

I sent 5.547 bETH (anchor bonded ethereum) to binance address using terra bridge as i saw BETH symbol was show in the exchange. Unfortunately i noticed later binance supports BETH ( binance ethereum) same simbol different coin. How can I retrieve funds? Here all the details of the transaction
terra tx id:
47A0697769F4605BB13C8DC1F87F2BA278B2F03A058807BFBD3D84E0A085FB9D
in etherscan if i put my binance wallet address i see the bETH there :(
0x25833494fbbde6c23ba1fc7d0498be07c1ec3d9c
Thanks for your help.

Hello @bozzosky , Talk to a Anchor Protocol Dev on the Live support page. So that your transaction can be looked into. Thank you. CLICK HERE

Hello @bozzosky  , You should talk to a Terra money Dev on the Live support page. So that your transaction can be looked into. Thank you. CLICK HERE

@bozzosky The message above was from a scammer, sorry we only just noticed it now.
In any case we cannot help you, please contact the Binance support, they should be able to recover the funds


Stateful delta insert/delete

As explained in #136, the main goal of Insert and Delete for InternalNode and LeafNode is to be used for the conversion.
There is still a need for a version of these methods that does delta insertion/deletion, so that the whole commitment is not needed. This should speedup the stateful block executions. Moist of the code is already present in #219, it just needs to be reworked a bit.

done with the CoW stuff, closing


Update CESM2-WACCM registration to include ALL activity_id entries

@strandwg it appears that CESM2-WACCM has published RFMIP data on ESGF, but this is not listed in the activity participation field of the model registration.
Are there any other missing *MIPs/activity_id entries that we should also add? Or any other details that require amendment whilst this correction is implemented?
ping @jflamarque @MartinaSt
Ref https://github.com/WCRP-CMIP/CMIP6_CVs/issues/923

Please add RFMIP to activity_ids for CESM2-WACCM.

@strandwg thanks for this, the update is complete. Please take a look at CMIP6_source_id.html and let me know of any other tweaks required

Thanks, Paul. All looks good!
On Tue, May 5, 2020 at 12:10 PM Paul J. Durack<EMAIL_ADDRESS>wrote:

@strandwg https://github.com/strandwg thanks for this, the update is
complete. Please take a look at CMIP6_source_id.html
https://wcrp-cmip.github.io/CMIP6_CVs/docs/CMIP6_source_id.html and let
me know of any other tweaks required
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/925#issuecomment-624218967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVK36JUHWO3422TIWYQUZTRQBI7XANCNFSM4MZVSUBA
.

--
Gary Strand, CESM Data Manager
ORCID 0000-0001-9740-0104<EMAIL_ADDRESS>


Add support for the R language

I'm thinking of making a PR to add support for .R files. They syntax in R for comments is just # <comment> and no multiline comment support so I'm thinking that coffeeParser will work well.
From looking at the library it seems like I need to do the following:

[ ] Add a '.R' property to the parsersDb in src/lib/parsers.ts
[ ] Add a test file to tests/fixtures/
[ ] Add a test to tests/parser-spec.ts
[ ] Add an entry to media/supported-languages.md

It would be great if you could let me know if I'm missing anything else that would need to be done. Are there any contribution guidelines anywhere? I had a look but I couldn't see anything, but I could be missing something 😅

Here is my PR: https://github.com/pgilad/leasot/pull/323
Let me know if I've missed anything 😁

Looks good thanks!


[openHAB] How to sett groups is unlear

Driven from https://github.com/corb555/iot_bridge/issues/5, I like to test setting a group.
Someone recommended to take a look at OpenHAB demo installation, so found the instruction to install demo where the zip file location is not valid.
Downloaded from openhab/target/.

The demo package consists of example configuration files and samples of add-ons and UIs. In order to install the demo, you must edit the file ‘conf/services/addons.cfg’. Uncomment the line package= and set it to demo as shown below

$ locate addons.cfg
/etc/openhab2/services/addons.cfg
/home/pi/Downloads/conf/services/addons.cfg
/var/lib/openhab2/etc/org.openhab.addons.cfg

So instead of launching a new instance of OpenHAB on my tiny RPI, I just modify /etc/openhab2/services/addons.cfg after making a backup. Then,
pi@pi-desktop:/etc/openhab2/services$ sudo /etc/init.d/openhab2 restart

This seems to mix up my setting AND the demos. Right now I don't care but maybe in the near future I'll have to clean up.
I now see in the result of http://130s-rpi2:8080/rest/items/ members: and type: Group as following:
36
  members
  link	"http://130s-rpi2:8080/rest/items/Weather"
  state	"UNDEF"
  type	"Group"
  name	"Weather"
  label	"Weather"
  category	"sun"

But then I don't find my own setting in the same output, nor in the same /etc dir.
Instead found here /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json.
Anyways, what I'm curious is how to include my own setting in the rest output.
Ooh, beginner.tutorials says the following. Ok, need to write a file for defining items.:

Note that you still need to define your items, sitemaps, persistence configurations and rules in the according configuration files (as done in openHAB 1). Such functionality will be added bit by bit to the Paper UI only.

After some point some Things started being "Uninitialized" incl. those with Chromecast and Network bindings. Maybe after having installed demo? For now I'll ignore them.

People are talking that groups can be set from PaperUI (e.g. this, this) but I don't see that Parent Group option at all on my PaperUI.

Figured out how items can be configured on PaperUI.

Had to disable automatic item linking at http://130s-rpi2:8080/paperui/index.html#/configuration/system. This will show Items under Configuration in the pane on left.

Now in REST api resutl, ROS item is returned.
91
members
link	"http://130s-rpi2:8080/rest/items/ROS"
state	"NULL"
type	"Group"
name	"ROS"
label	"label_ros"
category	"category_ros"
tags
groupNames

I'll keep this open until I find a documentation in the upstream to improve for this.

I'll keep this open until I find a documentation in the upstream to improve for this.

Well this can be known by Googling, and I'm not sure where is the right place to add this info.