Upgrade raster/source.py

Another user added another Source. However when they ran the check, they created a Raster for the entire state of Virginia at zoom=20! I tried this and ran out of memory. Now, a basic check for Source doesn't involve Raster:
    assert Source['New Brunswick, New Jersey'] == NewJersey
    assert Source['New York City'] == NewYorkCity
    assert Source['New York'] in (NewYorkCity, NewYork)
    assert Source['Massachusetts'] == Massachusetts
    assert Source['King County, Washington'] == KingCountyWashington

Now any pull request made will also run a test that the Source is actually returned when geocoded:

Cache Source metadata locally
We cache the metadata for all the Sources to disk so we needn't query the servers every time we test our code.

Improve Source reliability
First we georeference whatever the user passed.
If there's no matches, we georeference a new address and then use the polygon from that.
If still no matches, no Source found.
If there's discrepancies, we exclude the Sources that don't have a matching keyword.
If there's still discrepancies, we choose the Source whose geometry has the greatest IOU with the georeferenced bounding box.

Fix Virginia coverage
When I was testing the new Source added by a user, it was returning correctly when queried by name but not when queried by bounds. The metadata for the Virginia tiles seems to be incorrect. We retrieve the coverage of the dataset with the bounds specified in "fullExtent". If you parse this, you will have the following metadata:

bounds = {
    "xmin": -2.0037507842788246E7,
    "ymin": -3.024097145838615E7,
    "xmax": 2.0037507842788246E7,
    "ymax": 3.024097145838615E7
}

Once you convert this to 4326 it is a full view of the globe. I have hard-coded the coverage for now.

Implement more in-depth automatic testing for Source classes
Another user added another Source. However when they ran the check, they created a Raster for the entire state of Virginia at zoom=20! I tried this and ran out of memory. Now, a basic check for Source doesn't involve Raster:

    assert Source['New Brunswick, New Jersey'] == NewJersey
    assert Source['New York City'] == NewYorkCity
    assert Source['New York'] in (NewYorkCity, NewYork)
    assert Source['Massachusetts'] == Massachusetts
    assert Source['King County, Washington'] == KingCountyWashington

This also highlights the fact that our testing for the Source class is deficient. Now I have automatic testing for any Source class defined:
    for key in dir(tile2net.raster.source):
        cls = getattr(tile2net.raster.source, key)
        if (
                not isinstance(cls, type)
                or not issubclass(cls, Source)
                or abc.ABC in cls.__bases__
        ):
            continue
        # assert querying by the polygon returns the same source
        assert Source[cls.coverage.unary_union] == cls
        # assert querying by the keyword returns the same source
        if isinstance(cls.keyword, str):
            assert Source[cls.keyword] == cls
        else:
            assert any(
                Source[keyword] == cls
                for keyword in cls.keyword
            )
        # assert querying by the name returns the same source
        assert Source[cls.name] == cls

We also have bespoke tests to assure we're getting what we expect when we pass other things:
    assert Source['40.72663613847755, -73.99494276578649'] == source.NewYorkCity
    assert Source['38.90277706745021, -77.03617656372798'] == source.WashingtonDC
    assert Source['43.05052202494481, -76.19505424681927'] == source.NewYork
    item = '33.97576931943177, -118.19841961122856, 34.116579445776445, -117.97154942950205'
    assert Source[item] == source.LosAngeles
    item = '40.496044, -74.443672, 40.561051, -74.332089'
    assert Source[item] == source.NewJersey

    assert Source[40.72663613847755, -73.99494276578649] == source.NewYorkCity
    assert Source[38.90277706745021, -77.03617656372798] == source.WashingtonDC
    assert Source[43.05052202494481, -76.19505424681927] == source.NewYork
    item = 33.97576931943177, -118.19841961122856, 34.116579445776445, -117.97154942950205
    assert Source[item] == source.LosAngeles
    item = 40.496044, -74.443672, 40.561051, -74.332089
    assert Source[item] == source.NewJersey

    assert Source['nyc'] == source.NewYorkCity
    assert Source['ny'] == source.NewYork
    assert Source['nj'] == source.NewJersey
    assert Source['new jersey'] == source.NewJersey
    assert Source['la'] == source.LosAngeles
    # just Spring Hill returns Spring Hill, Virgnia
    assert Source['Spring Hill, Tennessee'] == source.SpringHillTN
    assert Source['va'] == source.Virginia

All of the tests passed.

We encountered some problems after updating the dependencies, so as of this pull request we will be using specific versions from pip freeze until a future version of tile2net allows us to maintain it with less effort.
Specifically, the newer version argh removes argh.expects_obj, and there is an issue with the tensorboard in use from runx as well as well.


#98964: Fixed the restart frame icon

This PR fixes #98964 : Fixed the restart frame icon disappearance
It adds a class to the labelDiv, it activates when we hover over it and the size is going out of bounds. That class' css has been also added. The class gets removed when the mouse leaves that labelDiv. The class name is threshold-label-view.

@keshav-bohr thank you for your PR!
Even though this might fix the issue the solution imho is a bit too complex and very specific to the problem. Thus it might not work well over time.
This is just a bird's eye review, I plan to review it in more detail in the future.

@keshav-bohr thank you for your PR!
Even though this might fix the issue the solution imho is a bit too complex and very specific to the problem. Thus it might not work well over time.
This is just a bird's eye review, I plan to review it in more detail in the future.

Yes @isidorn . This is very much specific.
But we can use that threshold value for any other such UI resize challenges.

@keshav-bohr thank you for your PR!
Even though this might fix the issue the solution imho is a bit too complex and very specific to the problem. Thus it might not work well over time.
This is just a bird's eye review, I plan to review it in more detail in the future.

@isidorn
Also let me know if you require any changes in the solution. Or some different approach.

Closing due to my comment from above.

@isidorn
I would suggest you to take a look at that piece of code once. It would be really helpful for all the threshold value for that particular scenario. If you require any specific change, please let me know.


New project files & small modifications for UWP64 support

Hi @dmandreev, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;


running multiple alerts from a single file

I have configured multiple alerts using elastalert. I have as many files as alerts. And I run each file using elasalert. Now I am using screen to keep it running. But soon will move to supervisor OR use systemctl for it.
My question is that as many files are there, as many processes will be run. So, If I am to configure 20 alerts, means 20 files will be there and 20 processes.
Is there any way I can make all alerts in a single file(considering that alerts are on different indices), and each alert has different message and different aggregation ?

Why do you want multiple processes? You just put them all in a folder and elastalert runs them all. Are you running individual rules with elastalert --rule ... 20 times?

You just put them all in a folder and elastalert runs them all.

How do we do that ? I do not know this. I have been running files individually.

Please read http://elastalert.readthedocs.io/en/latest/running_elastalert.html
rules_folder is where ElastAlert will load rule configuration files from. It will attempt to load every .yaml file in the folder.

You literally just put multiple files into that folder and they all get run.


Can't install with shrinkwrap resolved urls

I use npm enterprise to resolve dependencies and sit behind a proxy so when I do an npm install -g ionic I get getaddrinfo ENOTFOUND when resolving and installing dependencies. This seems to occur because of npm-shrinkwrap.json's hard coded resolved urls. This issue on npm seems to address the root cause. In the meantime, could we remove the resolved urls or something like that?
The only workaround I have right now is to run npm install -g --no-shrinkwrap<EMAIL_ADDRESS>

Greetings @johnrc!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Did you change anything?

After 0.8 I have issues downloading to an encrypted share. The archive gets corrupted and I have to download to a non encrypted drive and copy to the encrypted share by hand. This started with the 0.9 update. To be honest I haven't tried any other torrent client (why would I now that I use the best?:)). But just wondering if anything has changed so I have to change :(
Props on the work, really love the work!

Hi, the only thing changed with regards to file writing is that we updated Rasterbar-libtorrent (which is the library we use for the BitTorrent parts). Can you reliably reproduce this error?

How do you mean reproduce? It happends every download since after 0.8 when I download directly to my encrypted share.

I see. Is it a BitLocker encrypted drive?

Its an AES encrypted NAS share (Synology DS415+)

I just tried another torrent client and I got the same problem there, sonology must have done something in an update to my NAS. I think you can close this one.


Database project - security roles

Issue Type: Bug
When creating a Database project from Synapse, using a schema/object type structure, the database roles memberships are scripted individualy in files like "_unamed__X.SQL" where X is a some sequential numbering.
I guess here we should have files by role name, with all role members inside, instead of singles files. and the filename should be the name of the role
Azure Data Studio version: azuredatastudio 1.24.0 (eb3c0f5d9df86b9490606aab7fffaa253b0aca4d, 2020-11-10T23:38:09.705Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.80GB (4.96GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

newdatabase
kev
1.0.0

mssql-db-insights
mat
0.2.2

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

agent
Mic
0.48.0

arc
Mic
0.6.2

asde-deployment
Mic
0.3.0

azdata
Mic
0.4.0

azuredatastudio-postgresql
Mic
0.2.7

cms
Mic
0.8.0

dacpac
Mic
1.6.0

datavirtualization
Mic
1.10.0

import
Mic
1.1.0

kusto
Mic
0.3.2

powershell
ms-
2020.4.0

profiler
Mic
0.11.0

query-history
Mic
0.1.0

schema-compare
Mic
1.7.0

server-report
Mic
0.2.2

sql-assessment
Mic
0.4.0

sql-database-projects
Mic
0.4.1

sql-dw
Mic
0.0.1

azdata-sanddance
msr
3.1.0

sqlops-spexecutesql-to-sql
pej
1.0.1

db-snapshot-creator
sea
0.1.0

plan-explorer
Sen
0.9.8

vscodeintellicode
Vis
1.2.1

(1 theme extensions excluded)

can you try doing this in SSDT and see if this also happens?

@kisantia from last time I checked, no it doesn't but will check again

Just checked and here it's:

Doesn't happen, but also don't agree the way is organized and generated.
It would much better to have subfolders for logins, roles, etc like the typical object explorer. and for roles, one file per role.
Much easier to manage and troubleshoot in my humble point of view :)

thanks for checking the SSDT behavior. We're generating the project files differently in ADS than in SSDT, so this is something we'll have to investigate a bit more to see why this is happening and try to have the same behavior as SSDT, at least to start with before doing any enhancements :)

Nice, if I can help in any way I'll be glad
A terça, 8 de dez de 2020, 22:43, Kim Santiago<EMAIL_ADDRESS>escreveu:

thanks for checking the SSDT behavior. We're generating the project files
differently in ADS than in SSDT, so this is something we'll have to
investigate a bit more to see why this is happening and try to have the
same behavior as SSDT, at least to start with before doing any enhancements
:)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azuredatastudio/issues/13559#issuecomment-741159124,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6OPV46QFZNGN4SXJQYMO3ST2TZ7ANCNFSM4UDU6PRA
.

needs to be fixed in DacFx

This is fixed with newer versions. Please reactive if you still run into this issue.


Console Logger Settings should not have to respect Enum case

See https://github.com/aspnet/Logging/issues/381

Add a test.

@ORuban, please can you add a test, that this PR can merged?
/cc @davidfowl

@BrennanConroy Can you add a test before merging?

@BrennanConroy Could you add the test from https://github.com/aspnet/Logging/pull/460 to this one?

Thank you @ORuban and @Yves57 23c2930b90754871521fa536ebcf3c6abc90049e 9a35b4a5581e940100dca944ae3afd6f70b37614


Error info when clicking add projectile button

Could you help me to solve this?

Need more context. Give reproducible steps on how to get the error. Describe what you were doing before the error came up.

https://usask.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=0cd2717a-6950-4458-bade-b1350013b13e
please check the 30 seconds video. This is what I get the error.

After recreating the error log, I can see this error does not crash the system.
Here is the problem in more detail: https://stackoverflow.com/questions/37427508/react-changing-an-uncontrolled-input
In summary, its due an input element that transitions from being uncontrolled to controlled (it should stay in one state throughout its whole lifecycle).
The error message links to both SiteModal and RegionModal, so it might be worth it to look more closely in those files

This issue is a little dated, as there had been refactoring within the outlined modals. Is this issue still applicable to the current system?

ok. It's time to close it because our system already updated.


Daint CI: 12 parallel jobs

bors try

bors try

Setup on daint-ci is quite slow:

~6min building the container
~5min setting up the tox environment

bors try

We risk getting failures on gpu tests because device might be busy. Let's run a few times with n=12 and see if we trigger it.

bors try

Merging without review...


[SIL] support undef cases in switch_value instructions

This change adds support for undefined cases in the switch_value
instruction. Fixes SR-210.

Nadav, it doesn't look like manman has a github account, can you please talk to her?

@lattner Will do.
@ezephir Thanks for working on this. We'll have someone review your pull request as soon as possible.

Fixed. Thanks!

Updated again to run the output through 'sil-opt' twice instead of invoking the swift front-end.

Thanks for working on this. Looking at the patch now.

Okay. So I've:

converted from hard tabs to soft (2 spaces per)
added checks for the function case
rebased this change against master

The pull request is up-to-date with fixes for all the feedback given so far. Thanks!


Transport Return Route

describes how a message over a transport would signal that the connection serves as an acceptable return route. This helps client only agents, including mobile apps.

Sam, this doc feels like a very promising one to me, and I'm glad it's in process. I think it should replace the ~please_duplex HIPE that I wrote several months ago (https://github.com/hyperledger/indy-hipe/blob/08927ab49754698de671862a2742ff486d8b2d06/text/please-duplex/README.md), because this is far simpler. However, there are several concepts from that HIPE draft that need to be discussed here. For example, what happens if someone doesn't want to honor the request for a return route? Is it illegal to use a different channel? Should an error or a warning be returned, and should it flow back on the channel over which the decorator arrived? What happens if the route is complex (flows through mediators and relays; maybe uses more than one transport) rather than simple--can we decorate forward messages with the decorator to ask intermediaries to support the routing, or is that out of scope? How can the sender of this decorator express the relative importance of the request, from their perspective?

What happens if the route is complex (flows through mediators and relays; maybe uses more than one transport) rather than simple--can we decorate forward messages with the decorator to ask intermediaries to support the routing, or is that out of scope?

This question is interesting. As the ~transport decorator is the first decorator not related to the specific message, this is new territory. As the transport between a mediator and the next hop is unknown to the original sender, I think this decorator should only be used on the outermost message, as that is the only transport that the original sender is aware of.

 The implication this HIPE has is that all agents, if they have a message to send another agent and fail to find an endpoint in which to dispatch the message (or the message fails to transmit with the provided endpoint), it then must put in a que for that agent? If that is the case I think we need to have a broader discussion about this behavior before this progresses?

@TelegramSam - I think this needs more about the use case.  I think I get it, but it's really fuzzy.  A detailed example of how it would be used for a mobile and cloud agent to message back and forth would be a big help.

superseded by https://github.com/hyperledger/aries-rfcs/tree/master/features/0092-transport-return-route


Druid Jetty Exception

#java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms
#Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.ini
tial
#org.eclipse.jetty.http.BadMessageException: 500: No version

1.hadoop2.6.0-cdh5.15;
2.all web-ui is 500;

The connection failed because the common configuration file changed the host incorrectly. Sorry；
Use 0.15.1

请教下the common configuration file changed the host incorrectly是什么问题，碰到相同问题

The connection failed because the common configuration file changed the host incorrectly. Sorry；
Use 0.15.1

请教下the common configuration file changed the host incorrectly是什么问题，碰到相同问题


Improve the readability of example payloads

Summary
This pull request improves the readability of the payload examples in README. Also, I've renamed the example directory names (again) to better align with README.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Perhaps, merging this PR will cause conflicts with other PRs from the community. I'm fine to hold off this one until we merge the others that came before this PR.

Probably okay to revisit this PR now


popups not centered in kiosk mode

popup windows appear off-center in kiosk mode. all work fine in normal mode.
is there a way to solve this problem?
Thank you

You need to give significantly more info.
I'm running kiosk mode in Fully Kiosk Browser and with header and side bar disabled and all is fine.

Just update kiosk mode, this is a known issue that is now fixed.

hi,
this is an example of a popup in  normal mode on my pc

and how it appears on a wall-mount monitor in kiosk mode

any idea?
ps. kiosk mode is  already updated to 6.0.1

Have you cleared the cache of the app that is running on your tablet?

I cleared the chrome cache and now it works. you are my new idol.
Thank you

You're welcome! 😁


Whitespace bug in edge formatting for route name

I'm attempting to format the .edge file that contains route helper, which will introduce a space between route(" and name. This will throw a route not found error.
See an example of this is shown below:
Before:
Users

After:
Users

Package version
AdonisJS Extension v0.9.1
Node.js and npm version
Node v18.14.0
NPM 8.19.4

Released in 0.9.2


How to verify if the model overfits (I'm using the PV-RCNN on kitti) ?

Hello,
From what I understood is that the training file of kitti is used to train the model, and the test is done by validation (val split), but how do we verify if the model fits ( and what purcentage is used in the validation that is used while training), I'm a bit confused
Thanks in advance

You can submit to KITTI test leaderboard.


Feature/venue paragraph

Paragraph for Venue.
This paragraph can be used to add a venues details to an event.

@cathybaptista can you please rebase your branch and fix the conflicts please? When it comes time to fix composer.lock, checkout the composer files from develop, then just replay your paragraphs require:
git fetch && get rebase -i origin/develop
git checkout origin/develop -- composer.*
./composer.sh require drupal/paragraphs Note that you did not include an entry in composer.log because you must have just ran lando composer or composer instead of ./composer.sh.


Improve build script to work from arbitrary location

Fixes cargo package
Includes template via package.include
Rename template/Cargo.toml since otherwise we can't include any files from that directory

r? @Xaeroxe


Encounter Error: `dup': can't dup NilClass (TypeError)

Hi,
I am encountering the following error when generating the site:
> jekyll serve --trace
Configuration file: /Users/yulu/Documents/WebProject/src/_config.yml
            Source: /Users/yulu/Documents/WebProject/src
       Destination: /Users/yulu/Documents/WebProject/src/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
Building site for default language: "en" to: /Users/yulu/Documents/WebProject/src/_site
Loading translation from file /Users/yulu/Documents/WebProject/src/_i18n/en.yml
Building site for language: "cn" to: /Users/yulu/Documents/WebProject/src/_site/cn
Loading translation from file /Users/yulu/Documents/WebProject/src/_i18n/cn.yml
/Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:37:in `dup': can't dup NilClass (TypeError)
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:37:in `block (2 levels) in <module:Jekyll>'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:34:in `delete_if'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:34:in `block in <module:Jekyll>'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:97:in `block in trigger'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:96:in `each'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:96:in `trigger'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/site.rb:184:in `render'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/site.rb:59:in `process'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:125:in `block in process'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:116:in `each'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-multiple-languages-plugin-1.5.1/lib/jekyll-multiple-languages-plugin.rb:116:in `process'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/command.rb:26:in `process_site'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/commands/build.rb:60:in `build'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/commands/build.rb:33:in `process'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/lib/jekyll/commands/serve.rb:34:in `block (2 levels) in init_with_program'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/gems/jekyll-3.1.1/bin/jekyll:13:in `<top (required)>'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/bin/jekyll:23:in `load'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/bin/jekyll:23:in `<main>'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/yulu/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

It looks like that some static file path is nil. After add the following checking in the plugin, it works:
 33     if default_lang != current_lang
 34       static_files.delete_if do |static_file|
 35
 36         if static_file.instance_variable_get(:@relative_path).nil?
 37
 38           # Remove "/" from beginning of static file relative path
 39           static_file_r_path    = static_file.instance_variable_get(:@relative_path).dup
 40           static_file_r_path[0] = ''
 41
 42           exclude_paths.any? do |exclude_path|
 43             Pathname.new(static_file_r_path).descend do |static_file_path|
 44               break(true) if (Pathname.new(exclude_path) <=> static_file_path) == 0
 45           end
 46         end
 47       end
 48     end

I am wondering why this happens only to my site.

I get the same message  "can't dup NilClass (TypeError)". I am using Ruby 2.3.0, selenium, selenium (0.2.11)
selenium-webdriver (3.3.0, 2.53.4), win 7 , 64 bit. Firefox 50. Geckodriver v0.16. The problem is only whwn I use firefox. Any Idea how to solve the problem?

@ranj123 see if you can get it work by modifying the plugin following the code snippet I pasted above?

Thank you
I can't see the code snippet you mention in your reply. Can you sen it?
Regards
Ranj
On Mon, May 29, 2017 at 4:18 AM, yulu<EMAIL_ADDRESS>wrote:

@ranj123 https://github.com/ranj123 see if you can get it work by
modifying the plugin following the code snippet I pasted above?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Anthony-Gaudino/jekyll-multiple-languages-plugin/issues/85#issuecomment-304558752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADT3O4aXIW8NIqK2tp1hWxHm0Kj7vaaeks5r-isNgaJpZM4LUfQN
.

@ranj123
 33     if default_lang != current_lang
 34       static_files.delete_if do |static_file|
 35
 36         if static_file.instance_variable_get(:@relative_path).nil?
 37
 38           # Remove "/" from beginning of static file relative path
 39           static_file_r_path    = static_file.instance_variable_get(:@relative_path).dup
 40           static_file_r_path[0] = ''
 41
 42           exclude_paths.any? do |exclude_path|
 43             Pathname.new(static_file_r_path).descend do |static_file_path|
 44               break(true) if (Pathname.new(exclude_path) <=> static_file_path) == 0
 45           end
 46         end
 47       end
 48     end


⚠ Pihole-KA has degraded performance

In fa86504, Pihole-KA ($URL_PIHOLE_MERZ_NIMBUS) experienced degraded performance:

HTTP code: 200
Response time: 10235 ms

Resolved: Pihole-KA performance has improved in 4fd9a99.


mejs__container receives no visible focus, violates WCAG SC 2.4.7: Focus Visible (Level A)

When one tabs to the .mejs__container, it receives no visible focus and therefore violates WCAG SC 2.4.7: Focus Visible (Level A).

This is already merged.


UnionExec array and nested array support

Resolves #1459
Depends on https://github.com/rapidsai/cudf/pull/9130 for unionByName list of struct support. Approved but not merged yet.
Adds type support for arrays and nested arrays for union, unionAll, unionByName. Also includes better UnionExec testing for nested types.

build

Curious, this depends on a cudf feature that hasn't been merged but the tests pass.  This makes me think the tests aren't sufficiently exercising the code, otherwise a test should have failed without the requisite cudf feature.

Curious, this depends on a cudf feature that hasn't been merged but the tests pass. This makes me think the tests aren't sufficiently exercising the code, otherwise a test should have failed without the requisite cudf feature.

This, this looks dangerous to me too :smiley:

Converting this to a draft so this doesn't get accidentally merged by a passerby until this mystery is solved.

build

I turn this test error on and off with a very clear change within cudf, but for whatever reason the followup build still passed. The followup build was started before the PR was merged, but it was pretty close timing. If the blossom CI was delayed pulling the snapshot it may have picked up a cudf snapshot with the fix in it. Looking into it tomorrow, but with locally tests demonstrating cause and effect I think this is good to reopen/merge...

Confirmed while testing with different versions of the snapshot jars, the new test correctly hits the dependent interleave column functionality.

Approve the plugin side changes assuming it has been verified that this patch fails with older versions of cudf

Verified offline with different snapshot builds. Fails with cudf-21.10.0-20210902.122036-35-cuda11.jar and cudf-21.10.0-20210902.063732-34-cuda11.jar, but passes with cudf-21.10.0-20210903.122002-36-cuda11.jar


Upgrade 3D Visuals in Backgrounds

remove earth and sun models
add 8 NASA planet models
create star from isosphere with emissiveness
enable bloom on cameras
and RunEndEvent that is sent when a run is ended
create "star explosion effect" when game is lost due to defense depletion
added 84 DALLE generated space backgrounds
add procedural generation for background scenes (random planet, background, star color, and star position)
add new backgrounds resource for configuring background generation parameters
resolve some warnings for unused variables
remove commented code
added script for pulling free or premium assets from s3 bucket

Example with procedurally generated background scene

Star explosion effect on game over from defense depletion

generally looks good. Ill pull it and play once today before merging.

Star death effect appears to not work on linux. @varoonp123 here is a screen shot of my logs of playing the game and losing from defense.

@cdsupina star death effect doesnt work on linux of wasm. Idk about macos. Also the 3d model flickers in wasm.


Add approved review count to metadata

The resource currently allows a change in approved_review_count to generate a new version.
It might be useful to have this count available to the rest of the pipeline, in case we want to take some action based on its value.

Ah, I didn't realise we dumped version.json which could be read in a load_var step. That should make this PR unnecessary!

Ah, I didn't realise we dumped version.json which could be read in a load_var step. That should make this PR unnecessary!


Wrong compiler optimisation

The code below uses inline asm to expose the latency of reading the clocks. However, the kernel clockLatency1 gives wrong results when compiling with -O2 or above. Rewriting the code as shown in clockLatency2 gives the correct results.
#include <iostream>
#include <hip/hip_runtime.h>
#include <cstdint>

/*
 *
 * ROCm 3.9
 *
 * --amdgpu-target=gfx906
 */

__global__ void clockLatency1(uint64_t *c)
{
    /* This does not work with -O2 and above */
    asm volatile ("s_memtime %[a];\n\t"
                  "s_waitcnt lgkmcnt(0);\n\t"
                  "s_memtime %[b];\n\t"
                  "s_waitcnt lgkmcnt(0);\n\t"
                  :[a]"=r"(c[0]), [b]"=r"(c[1]) :: "memory");
}

__global__ void clockLatency2(uint64_t *c)
{
    /* This works */
    uint64_t c0, c1;
    asm volatile ("s_memtime %[a];\n\t"
                  "s_waitcnt lgkmcnt(0);\n\t"
                  "s_memtime %[b];\n\t"
                  "s_waitcnt lgkmcnt(0);\n\t"
                  "s_mov_b64 %[c] %[a];\n\t"
                  "s_mov_b64 %[d] %[b];\n\t"
                  "s_waitcnt lgkmcnt(0);\n\t"
                  : [a]"=s"(c0), [b]"=s"(c1), [c]"=r"(c[0]), [d]"=r"(c[1]) :: "memory");
}

int main()
{
  uint64_t c[2];
  uint64_t *c_d;
  hipMalloc((void**)&c_d, sizeof(uint64_t)*2);

  // Wrong clock latency
  clockLatency1<<<1,1>>>(c_d);
  hipDeviceSynchronize();
  hipMemcpyDtoH(c, c_d, sizeof(uint64_t)*2);
  std::cout << "Clocks (wrong) " << (c[1]-c[0]) << std::endl;

  // Right clock latency
  clockLatency2<<<1,1>>>(c_d);
  hipDeviceSynchronize();
  hipMemcpyDtoH(c, c_d, sizeof(uint64_t)*2);
  std::cout << "Clocks (right) " << (c[1]-c[0]) << std::endl;

  hipFree(c_d);
  return 0;
}

Inspecting the ISA code from clockLatency1(with -O3) we can see that s_waitcnt lgkmcng(0) is misplaced ahead of v_mov_b32_e32 v3, s7. However, the kernel clockLatency2 enforces the right ordering, which is why it gives the correct results.
0000000000001000 <_Z12clockLatencyPm$local>:
        s_load_dwordx2 s[0:1], s[4:5], 0x0                         //<PHONE_NUMBER>00: C0060002 00000000
        s_memtime s[2:3]                                           //<PHONE_NUMBER>08: C0900080 00000000
        s_waitcnt lgkmcnt(0)                                       //<PHONE_NUMBER>10: BF8CC07F
        s_memtime s[6:7]                                           //<PHONE_NUMBER>14: C0900180 00000000
        s_waitcnt lgkmcnt(0)                                       //<PHONE_NUMBER>1C: BF8CC07F
        v_mov_b32_e32 v0, s2                                       //<PHONE_NUMBER>20: 7E000202
        v_mov_b32_e32 v1, s3                                       //<PHONE_NUMBER>24: 7E020203
        v_mov_b32_e32 v2, s6                                       //<PHONE_NUMBER>28: 7E040206
        s_waitcnt lgkmcnt(0)                                       //<PHONE_NUMBER>2C: BF8CC07F
        v_mov_b32_e32 v5, s1                                       //<PHONE_NUMBER>30: 7E0A0201
        v_mov_b32_e32 v3, s7                                       //<PHONE_NUMBER>34: 7E060207
        v_mov_b32_e32 v4, s0                                       //<PHONE_NUMBER>38: 7E080200
        global_store_dwordx4 v[4:5], v[0:3], off                   //<PHONE_NUMBER>3C: DC7C8000 007F0004
        s_endpgm

The ISA above looks like the ISA for the Latency1 variant.
The first waitcnt makes s[0:1] and s[2:3] ready, and the second waitcnt makes s[6:7] ready.  The 3rd waitcnt is introduced by the compiler to make s[0:1] ready, because it does not look in the inline asm instruction template and doesn't "know" that waitcnts are present there.  The only information the compiler has is provided by the inline asm constraints.
I don't see anything wrong with the Latency1 ISA.  What is your program printing?

The program prints the following
Clocks (wrong) 3024
Clocks (right) 40

where the output from Clocks (wrong) changes every time.

@jjotero I think you are making incorrect assumptions.  If you look carefully at the ISA for Latency2, you will see there there are no scalar memory operations before the first s_memtime.  As I mentioned earlier, the first waitcnt in the Latency1 code is waiting for an s_load_dwordx2 in addition to the s_memtime.  Those two operations can complete out of order,  The s_memtime completes quickly, but if the load misses, it will take a long time and the first waitcnt waits for it to complete.
There is no compiler issue here.  And these complexities are just one reason why we strongly encourage developers to use inline asm only as a last option when absolutely necessary.

@jjotero I meant to thank you earlier for the lovely short example code.  That really helped speed up reaching a conclusion!

@b-sumner I'd appreciate if you could expand on those incorrect assumptions you say I'm making. I do share with you that developers should avoid asm as much as possible, but I'm just trying to expose the latency of s_memtime and inline asm is the only way to do so.
What I don't understand with the ISA shown above is why the v_mov_b32_e32 v3, s7 is after the last s_waitcnt. Shouldn't that be in between v_mov_b32_e32 v2, s6 and that last s_waitcnt? Both s6 and s7 have the result from the last s_memtime, so I see no reason why there would be a s_waitcnt in between. But even if that isn't the issue, why does the Latency1 gives wrong results? I'd just like to know which would be the right way to write such code.

@jjotero why are you concerned about the position of the mov of s7 to v3?  It is correct to place there is it not?
Also, what makes you believe that Latency1 is giving the wrong answer?  I already explained that is including the time of the first load which could be very expensive.


Add a dagger function

Add a dagger function and figure out how to do it for sympy as well

Wait for 0.0.13 release to check performance

<IP_ADDRESS> check performance / passed!

<IP_ADDRESS> check performance / passed!


Replace useComposeRefs with useCombinedRefs

Context

Summary
These two hooks seem to duplicate the same functionality. Remove useComposeRefs
Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #10093

@spacedmonkey just noticed this with useCombineRefs implementation, but it will create a callback ref on every render because a rest parameter returns a new array instance every time it is called. Made a little codesandbox to visualize:
https://codesandbox.io/s/patient-grass-b66b8?file=/src/index.js
I believe the useComposeRefs implementation avoided this while maintaining the same functionality. Sorry for not catching this earlier.
Probably doesn't have too many implications, but probably good just for code quality sake

@littlemilkstudio could you perhaps create quick follow-up PR?

follow-up here:
https://github.com/google/web-stories-wp/pull/10183


Application Settings for Agent-based monitoring

In the documentation there is the line "For example, to change the initial sampling percentage, you can create an Application setting of: MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_InitialSamplingPercentage and a value of 100." This provides no actual information on where this comes from and a full option list would be much more useful.
I think the 2 options here are to:

Explain how this app setting is build and add a way to test that it works,
Add a link to a list of possible app settings with details.

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

ID: 098ffe3a-2cbd-1038-30f2-dd2f528984a3
Version Independent ID: 65da3e70-2ac2-8f6e-51a5-e759bcc8253f
Content: Monitor Azure app services performance - Azure Monitor
Content Source: articles/azure-monitor/app/azure-web-apps.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

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

Hi @blockingHD, sorry for the delay.
Supported settings for auto-instrumentation include:

MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_InitialSamplingPercentage
MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_MinSamplingPercentage
MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_EvaluationInterval
MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_MaxTelemetryItemsPerSecond

To disable sampling, set MicrosoftAppInsights_AdaptiveSamplingTelemetryProcessor_MinSamplingPercentage to a value of 100.
To learn more about sampling and the definitions, visit our sampling documentation.
I created a PR to add more information on supported settings and it should go live early next week.
Thank you.
#please-close


Compilation problem with angular 13

Hi
I update my project to angular 13 and I have the following error :
Error: Module not found: Error: Can't resolve 'cdk-table-exporter/lib/services/sheetjs-helper.service'
I do something like that in my code :
import {SheetjsHelperService} from 'cdk-table-exporter/lib/services/sheetjs-helper.service';
exporter.exporter = new CustomXlsExporter(new SheetjsHelperService(true));
with
export class CustomXlsExporter extends XlsExporterService {     public createContent (rows : Array<any>, options? : ExcelOptions) : any     {         return super.createContent(filterRows(rows), options);     } }
any idea ?
Thanks !

I found a workaround
If I change the import :
import {SheetjsHelperService} from 'cdk-table-exporter/lib/services/sheetjs-helper.service';
to :
import {ɵa} from 'mat-table-exporter';
all is working fine


Update build files

Update build files so that cmake .. doesn't generate errors.

Sorry - for some reason this has teken the wrong commits. Please ignore.


ExtendedTools - incorrect read GPU details.

ExtendedTools - incorrect read GPU details.
If user press System Info - GPu - Details button then:

value read is partial (tested Windows 7 SP11 x64 and Windows 10 LTSC)

Win7 SP1

Win10
2) if user try click "Value" or "Property" column name value is read also partial and needed >= 3 refresh for read all value;

value is contains incorrect data:

Win7 SP1

Win10

Possibe in to function EtpGpuDetailsAddListViewItemGroups() on .\plugins\ExtendedTools\gpudetails.c
VOID EtpGpuDetailsAddListViewItemGroups(
    _In_ HWND ListViewHandle,
    _In_ INT DiskGroupId)
{
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_PHYSICALLOCTION, L"Physical Location", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_DRIVERDATE, L"Driver Date", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_DRIVERVERSION, L"Driver Version", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_WDDMVERSION, L"WDDM Version", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_VENDORID, L"Vendor ID", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_DEVICEID, L"Device ID", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_TOTALMEMORY, L"Total Memory", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_RESERVEDMEMORY, L"Reserved Memory", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_MEMORYFREQUENCY, L"Memory Frequency", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_MEMORYBANDWIDTH, L"Memory Bandwidth", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_PCIEBANDWIDTH, L"PCIE Bandwidth", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_FANRPM, L"Fan RPM", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_POWERUSAGE, L"Power Usage", NULL);
    PhAddListViewGroupItem(ListViewHandle, DiskGroupId, GPUADAPTER_DETAILS_INDEX_TEMPERATURE, L"Temperature", NULL);
}

after returned PhAddListViewGroupItem() (declared in to .\phlib\include\guisup.h as:
NTAPI PhAddListViewGroupItem(
    _In_ HWND ListViewHandle,
    _In_ INT GroupId,
    _In_ INT Index,
    _In_ PWSTR Text,
    _In_opt_ PVOID Param
    );

and in to .\phlib\include\guisup.c declared as:
INT PhAddListViewGroupItem(
   _In_ HWND ListViewHandle,
   _In_ INT GroupId,
   _In_ INT Index,
   _In_ PWSTR Text,
   _In_opt_ PVOID Param
    )

??? ) used random GPUADAPTER_DETAILS_INDEX_* hendles then user press sorting on column name and not all value read before redraw GPU Details window ?
I test on v3.0.7137.2610 Git-5e52c489 - phenomena is exists,
P.S.
also exist another phenomena, but  this required analyses before public...


[move-prover][doc] update spec lang doc on old(..) in inline specs

The support for old(..) expressions in assert and assume
statements is landed. So update the doc for consistency.
Preview of the new doc
Motivation
update doc for consistency
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
eyes

/land


LockedAxes is not a component anymore?

Can't add LockedAxes to entity. It's written on docs too that I can add it as component. Compiler output just in case and LockedAxes struct location :
pc.insert(LockedAxes::ROTATION_LOCKED_Z);
|        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `bevy::prelude::Component` is not implemented for `bevy_rapier2d::rapier2d::dynamics::LockedAxes`

Well, my bad. I was importing it from rapier prelude, not bevy_rapier2d prelude... Closing this.


1.9million parameters, 470K parameters Caduceus model query

In the paper, you conducted benchmark test on GenomicBenchmarks and Nucleotide Transformer  dataset with the Caduceus model using the 470K and 1.9M parameter size model. However in the huggingface  it only show the 7M parameter model. I wanted to ask how you got the 470K and 1.9M parameter size model and is this model readily available?
Thanks

Hi @MarcAmil30, we only released the biggest models that we trained, i.e. the 7.7M param one, which was trained for 50k steps.
The two other ones that you mention have the following configurations:

470k:

d_model = 118
n_layer = 4

1.9M:

d_model = 256
n_layer = 4

Since these models are smaller and were trained for only 10k steps, we didn't make them public. For reference, when training on a node with 8 (A5000) GPUs these training runs took around 70 minutes for the 470k model and 200 minutes for the 1.9M model. If you are struggling to re-train these, please let me know and we can perhaps coordinate sharing the weights.


Memory leaks in SpatialObject's

https://open.cdash.org/viewDynamicAnalysis.php?buildid=5878397

I have narrows down on cause of leaks. The itk::PointBasedSpatialObject::m_Points member contains a list of spacial objects (template parameter defaulting to SpatialObjectPoint) which hold a smart pointer reference to the owning PointBasedSpatialObject class. Thus a circular dependency cause some leaks.

@aylward As noted above there is a smart pointer circular dependency between itk::PointBasedSpatialObject::m_Points of SpatialObjectPoint back to the owing class PointBasedSpatialObject. I'm haven't looked at the architecture of the spacial objects closely. Do have an idea on how to prevent this circular dependency?

Hi,
I cannot think of a way to eliminate it.   The PointBasedSpaitalObjects
maintain a list of SpaitalObjectPoints, and each point needs to know the
object it comes from so that it can compute its position in world space
(using the PointBasedSpatialObject's objectToWorldtransform).   We could
try to embed the SpatialObjectPoints' API in the pointbasedspaitlaObject,
but that is an ugly many to one mapping problem.   We could also create
helper functions in the PointBasedSpaitlaObject to covert a passeed
SpatialObjectPoint into a WorldSpatialObjectPoint, but that seems to add
quite a bit of redundancy and potential for error.
I think we should instead track down and kill the memory leaks.
s
On Fri, May 3, 2019 at 9:30 AM Bradley Lowekamp<EMAIL_ADDRESS>wrote:

@aylward https://github.com/aylward As noted above there is a smart
pointer circular dependency between itk::PointBasedSpatialObject::m_Points
of SpatialObjectPoint back to the owing class PointBasedSpatialObject.
I'm haven't looked at the architecture of the spacial objects closely. Do
have an idea on how to prevent this circular dependency?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/InsightSoftwareConsortium/ITK/issues/777#issuecomment-489095724,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEJLZ4X3QOZ43UKTORFETPTQ467ANCNFSM4HIWOIIA
.

--
Stephen R. Aylward, Ph.D.
Senior Director of Strategic Initiatives, Kitware, Inc., North Carolina
Kitware: Advancing the frontiers of understanding
by developing innovative open-source software platforms
and integrating them into research, processes, and products.

hi,
The smart pointer circular dependency is the cause of the memory leaks :) As the objects will always reference each other, and the count will not be zero.
Perhaps the array itk::PointBasedSpatialObject::m_Points could be changed from smart pointers to WeakPointers?

On second glance it looks like I may have confused "Point" and "Pointers" for m_Points. I still believe that a circular dependency is the likely cause of the leak.

Not certain - I would have investigated making the pointbasedspatialobject
within each point a weak pointer.
Not really happy with either solution.  Maybe the helper function is best:
PointBasedSpatialObject will have a function:
void TransformPointPositionToWorldPosition( SpatialObjectPoint * pnt,
itkPoint & pnt)
Void SetPointPositionFromWorldPosition( itkPoint & pnt, SpatialObjectPoint

pn )

For TubeSpatialObjct there will be member functions
void TransformPointRadiusToWorldRadius( SpatialObjectPoint, * pnt, double &
radius )
etc
These helper function will apply the pointbasedsptialobjects
ObjectToWorldTransform as needed to do the conversion of a passed point to
the desired world measure.
I don't like the fact that the word "object" doesn't appear in these
function calls, so maybe
void TransformPointObjectSpacePositionToWorldPosition(...)
Whatcha think?
s
On Fri, May 3, 2019 at 4:20 PM Bradley Lowekamp<EMAIL_ADDRESS>wrote:

hi,
The smart pointer circular dependency is the cause of the memory leaks :)
As the objects will always reference each other, and the count will not be
zero.
Perhaps the array itk::PointBasedSpatialObject::m_Points could be changed
from smart pointers to WeakPointers?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/InsightSoftwareConsortium/ITK/issues/777#issuecomment-489227314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEJLYDX2AT6A2A26BRFLLPTSNAHANCNFSM4HIWOIIA
.

--
Stephen R. Aylward, Ph.D.
Senior Director of Strategic Initiatives, Kitware, Inc., North Carolina
Kitware: Advancing the frontiers of understanding
by developing innovative open-source software platforms
and integrating them into research, processes, and products.

Here is changing the pointer to a weaker pointer: #831 It addressed 40/43 for the defects with -R SpatialObjects. So this is certainly the right track.

@aylward Should I pursue understanding the usage of this class, and refactoring the interface along the lines of your suggestion above?

If weak pointer solves the problem - we're good to go.   I misunderstood
want you initially suggested.  You commit seems very compact, clean, and
sufficient.
Thanks,
On Tue, May 7, 2019 at 10:43 AM Bradley Lowekamp<EMAIL_ADDRESS>wrote:

@aylward https://github.com/aylward Should I pursue understanding the
usage of this class, and refactoring the interface along the lines of your
suggestion above?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/InsightSoftwareConsortium/ITK/issues/777#issuecomment-490110039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACEJLZWOOMP5LZMJXZVM73PUGIQ3ANCNFSM4HIWOIIA
.

--
Stephen R. Aylward, Ph.D.
Senior Director of Strategic Initiatives, Kitware, Inc., North Carolina
Kitware: Advancing the frontiers of understanding
by developing innovative open-source software platforms
and integrating them into research, processes, and products.


Crash when switching away from app on iOS

Bug report
Summary
<MapView> crashes on iOS if you switch away from the app to another app, with EXC_BAD_ACCESS (code=EXC_I386_GPFLT). This happens only if you use maptype="standard" with the default provider (Apple Maps), and is consistently reproducible if you use flex:1 (though it also reproduces intermittently if you specify exact dimensions [width/height]).
Environment info
Using standard out-of-the-box Apple Maps.
react-native info output:
System:
    OS: macOS 11.5.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 19.07 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.22.5 - ~/.nvm/versions/node/v12.22.5/bin/node
    Yarn: 1.22.11 - /usr/local/bin/yarn
    npm: 7.23.0 - ~/.nvm/versions/node/v12.22.5/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.3 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.1 => 0.65.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

  "dependencies": {
    "react": "17.0.2",
    "react-native": "0.65.1",
    "react-native-maps": "^0.29.3"
  },

Steps to reproduce

npx react-native init MyApp --template react-native-template-typescript
yarn add react-native-maps
yarn && cd ios && pod install
Set up your App in App.tsx to use MapView (shown below). To get a consistent repro, start with flex:1.
Open MyApp/ios/MyApp.xcworkspace in XCode.
Build and run in simulator (e.g. iPhone 8 Plus). Though it reproduces on real devices as well.
Once app is launched and in foreground, switch apps. Either double-tap the home button and choose a different app, or double-tap home and tap anywhere outside the app (to get to your iPhone's main screen).

const App = () => {
  return <MapView style={{flex: 1}} />;
};

Describe what you expected to happen:

Successful switching out of MyApp with no issues

Describe what you actually happens:

EXC_BAD_ACCESS (code=EXC_I386_GPFLT) crash, shown in XCode debugger.

Reproducible sample code
https://gist.github.com/fivecar/5aaca5b99d37a011a5793be21b502c7d. The cleanest way to set this up is to follow the repro instructions above.
NOTE: It took me some time to figure this out, but there are three important caveats:

It reproduces consistently with flex:1 but inconsistently with specifying a defined width/height (e.g. width: 400, height: 400). So if you insist on setting a width/height, you'll need to fiddle a few times, recompiling things, re-running it, to get the repro. I find that running once with flex:1 and then setting explicit width/height is pretty consistent. But 100% reliable is simply sticking with flex:1. (#3650 claims that width/height fixes it, but I've done some pretty thorough testing that suggests it's simply less reliable to repro with width/height).
This does not reproduce, ever, if you set mapType to anything but standard. If you set it to satellite or hybrid, etc, it won't reproduce. So either set it to standard, or don't set mapType at all.
This goes away if you use provider={PROVIDER_GOOGLE}

It took a long time, some git bisect, and a bunch of style fiddling to figure out the minimum repro on this. But I'm surprised others haven't reported this, given how reliable it reproduces (and how consequential the aftermath). I'm happy to help fix this if someone points me the right direction, but I've never looked into the codebase and would largely be stabbing in the dark.

I'm not a maintainer/contributor of this package (yet... ;)), but my company do however use it in production, so I was compelled to look into this.
First of all, could you please confirm that you are only experiencing this when running through Xcode? Are you able to relaunch/refocus your app after opening the multitasking window running through react-native run-ios?
I suspect that this is the reason why this issue isn't reported more widely.
If you are able to confirm the above, please try to edit your scheme to disable Metal Api Validation.
Click your scheme name (likely your project name) to the left of your target device, press Edit Scheme... then go to the Diagnostics tab and disable the API Validation option under Metal.
Re-run your app through Xcode. This should "fix" the crash. Do you observe this as well?
If so, your error is caused by Xcode running a Metal debugger when running through Xcode. I don't think this is caused by react-native-maps as the error can be reproduced by running a barebone Xcode iOS project with nothing but a MKMapView in the main storyboard. As this doens't affect production builds, I don't have the time to look into why this is happening, but Google seems to suggest that this is a widespread error.
The crash shouldn't affect your production builds what so ever. Feel free to get back to me if the above doesn't match your experience.

@Simon-TechForm : Thanks for your really helpful and detailed answer. You're absolutely right — running outside the debugger, or turning off Metal API Validation, both make the issue go away. I've just verified both things as suggested.
Closing the issue!

Created https://github.com/react-native-maps/react-native-maps/pull/3961 to add this to the Troubleshooting section of the readme.

Hello , i got the same issue, however on unchecking api validation the error doesn't go while running in debug mode. For production mode , i archieved it with release mode still it is crashing.

I'm not a maintainer/contributor of this package (yet... ;)), but my company do however use it in production, so I was compelled to look into this.
First of all, could you please confirm that you are only experiencing this when running through Xcode? Are you able to relaunch/refocus your app after opening the multitasking window running through react-native run-ios?
I suspect that this is the reason why this issue isn't reported more widely.
If you are able to confirm the above, please try to edit your scheme to disable Metal Api Validation.
Click your scheme name (likely your project name) to the left of your target device, press Edit Scheme... then go to the Diagnostics tab and disable the API Validation option under Metal.
Re-run your app through Xcode. This should "fix" the crash. Do you observe this as well?
If so, your crash is caused by Xcode running a Metal debugger when running through Xcode. I don't think this is caused by react-native-maps as the crash can be reproduced by running a barebone Xcode iOS project with nothing but a MKMapView in the main storyboard. As this doens't affect production builds, I don't have the time to look into why this is happening, but Google seems to suggest that this is a widespread error.
Hello , i got the same issue, however on unchecking api validation the error doesn't go while running in debug mode. For production mode , i archieved it with release mode still it is crashing. Please let me know other steps.


Fixed localization and added zh_cn locale

I forgot to change the version name in the main class and mcmod.info, make sure to change these.

I forgot to change the version name in the main class and mcmod.info, make sure to change these.

Is it working? I've done the exact same thing. xD

Is it working? I've done the exact same thing. xD

It works like a charm, I don't know why it doesn't work for you

It works like a charm, I don't know why it doesn't work for you

Well, thank you!!! I'll merge it.

Well, thank you!!! I'll merge it.


keep getting unknown page encountered after start

Followed the instructions and opened the checkout page and confirmed it is a compatible page, but every time I run the script, after a few seconds the Unknown Page Encountered error pops up.

same here

Hi @bluerainsky. thanks for your message. Would you mind downloading the latest version of the code and reading the updated instructions(including the compatibility section). Then try to run it and let me know if you still have this issue. If you do, we'll resolve it together

Just checked, turns out that my checkout page is one with the delivery type option (one of the incompatible one). Thanks for checking, hope to get the compatible update soon.

@bluerainsky thanks for the update!! Glad we figured it out. At the moment I have to focus on my job search so I don't have much time to expand the region compatibility. But I may have time in the future, or others might contribute lend a hand. You can subscribe to notifications for  issue #12 to keep track of any progression this.


why ExtractVolumePatches uses different implements for ThreadPoolDevice and GPUDevice.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu 20.04
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):2.5
Python version:3.6
Bazel version (if compiling from source):3.7.1
GCC/Compiler version (if compiling from source):7.5.0
CUDA/cuDNN version:10.1
GPU model and memory:7.0GB

Describe the current behavior
in tensorflow/core/kernels/eigen_volume_patch.h
650 OVERRIDE_EVALUATOR(Eigen::ThreadPoolDevice);
651 OVERRIDE_EVALUATOR(Eigen::DefaultDevice);

Overrides the TensorExecutor to modify the PADDING_SAME to
  131         case PADDING_SAME: {
  132           m_outputPlanes = Eigen::divup(m_input_planes_eff, m_plane_strides);
  133           m_outputRows = Eigen::divup(m_input_rows_eff, m_row_strides);
  134           m_outputCols = Eigen::divup(m_input_cols_eff, m_col_strides);
  135           const Index dz = numext::maxi<DenseIndex>(
  136               0, (m_outputPlanes - 1) * m_plane_strides + m_patch_planes_eff -
  137                      m_input_planes_eff);
  138           const Index dy = numext::maxi<DenseIndex>(
  139               0, (m_outputRows - 1) * m_row_strides + m_patch_rows_eff -
  140                      m_input_rows_eff);
  141           const Index dx = numext::maxi<DenseIndex>(
  142               0, (m_outputCols - 1) * m_col_strides + m_patch_cols_eff -
  143                      m_input_cols_eff);
  144           m_planePaddingTop = dz / 2;
  145           m_rowPaddingTop = dy / 2;
  146           m_colPaddingLeft = dx / 2;
  147           break;
  148         }

but for GPUDevice, we don't do this override. We use default eigen implement:
  257         case PADDING_SAME: {
  258           m_outputPlanes = numext::ceil(m_input_planes_eff / static_cast<float>(m_plane_strides));
  259           m_outputRows = numext::ceil(m_input_rows_eff / static_cast<float>(m_row_strides));
  260           m_outputCols = numext::ceil(m_input_cols_eff / static_cast<float>(m_col_strides));
  261           const Index dz = m_outputPlanes * m_plane_strides + m_patch_planes_eff - 1 - m_input_planes_eff;
  262           const Index dy = m_outputRows * m_row_strides + m_patch_rows_eff - 1 - m_input_rows_eff;
  263           const Index dx = m_outputCols * m_col_strides + m_patch_cols_eff - 1 - m_input_cols_eff;
  264           m_planePaddingTop = dz - dz / 2;
  265           m_rowPaddingTop = dy - dy / 2;
  266           m_colPaddingLeft = dx - dx / 2;
  267           break;
  268         }

The question is: Why do we use different implements for CPU/GPU devices?
Describe the expected behavior
Different devices should produce same results.

@quintinwang5, just so I understand are you saying that TF produces substantially different results on CPU vs GPU?  If yes, can you demonstrate this using a Python snippet?

@quintinwang5, just so I understand are you saying that TF produces substantially different results on CPU vs GPU?  If yes, can you demonstrate this using a Python snippet?

@sanjoy The code is here. If we use padding="SAME". The result will be different. And padding="VALID" works well.
#!/usr/bin/env python
# coding=utf-8
import tensorflow as tf
import numpy as np
tf.compat.v1.disable_eager_execution() # need to disable eager in TF2.x
with tf.device("/CPU:0"):
    a = tf.random.normal(shape=[6, 9, 7, 8, 4], seed=1)
    b = tf.random.normal(shape=[6, 9, 7, 8, 4], seed=1)
    c = tf.extract_volume_patches(a, ksizes=[1, 1, 1, 1, 1], strides=[1, 2, 3, 4, 1], padding="SAME")
with tf.device("/GPU:0"):
    d = tf.extract_volume_patches(b, ksizes=[1, 1, 1, 1, 1], strides=[1, 2, 3, 4, 1], padding="SAME")

sess = tf.compat.v1.Session(config=tf.compat.v1.ConfigProto(allow_soft_placement=False, log_device_placement=True))

print(sess.run(tf.reduce_all(tf.equal(c, d))))

@sanjoy The code is here. If we use padding="SAME". The result will be different. And padding="VALID" works well.
#!/usr/bin/env python
# coding=utf-8
import tensorflow as tf
import numpy as np
tf.compat.v1.disable_eager_execution() # need to disable eager in TF2.x
with tf.device("/CPU:0"):
    a = tf.random.normal(shape=[6, 9, 7, 8, 4], seed=1)
    b = tf.random.normal(shape=[6, 9, 7, 8, 4], seed=1)
    c = tf.extract_volume_patches(a, ksizes=[1, 1, 1, 1, 1], strides=[1, 2, 3, 4, 1], padding="SAME")
with tf.device("/GPU:0"):
    d = tf.extract_volume_patches(b, ksizes=[1, 1, 1, 1, 1], strides=[1, 2, 3, 4, 1], padding="SAME")

sess = tf.compat.v1.Session(config=tf.compat.v1.ConfigProto(allow_soft_placement=False, log_device_placement=True))

print(sess.run(tf.reduce_all(tf.equal(c, d))))

I don't have enough context here, but it looks like @mjanusz added the override.  Michal any ideas?  Does the GPU kernel need some changes?

I don't have enough context here, but it looks like @mjanusz added the override.  Michal any ideas?  Does the GPU kernel need some changes?

@quintinwang5,
I tried to execute the mentioned code on tensorflow v2.15 and it was executed without any issue/error and also observed that with both padding='SAME' and 'VALID' the output is also similar. Kindly find the gist of it here. Thank you!


Encryption password.

In case of encrypted password: if I click on level 2 > Share recovery key 1, app get stuck and no modal is opening there. so I have to kill the app.
In case of encrypted password: App is crashing on confirm password.

Verified this issue on dev app v2.0.01(374)


I hope support KZLinkedConsole

https://github.com/krzysztofzablocki/KZLinkedConsole

Yes, XCGLogger "just works" with KZLinkedConsole, no additional configuration is required.


V2.6.x develop

Codecov Report

Merging #72 (acbb136) into master (457c670) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   51.31%   51.31%   -0.01%
==========================================
  Files         692      692
  Lines       36549    36553       +4
==========================================
+ Hits        18755    18756       +1
- Misses      17794    17797       +3

Impacted Files
Coverage Δ

itsm/component/constants/iam.py
100.00% <ø> (ø)

itsm/project/views.py
45.90% <25.00%> (-1.47%)
:arrow_down:

Continue to review full report at Codecov.

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


Pipenv recursively spawns subcommands, eventually sucks all memory

Issue description
When executing pipenv in a WSL Ubuntu shell, the commands which result in the creation of a virtualenv (e.g. pipenv --python 3.6), the command never finishes.
Expected result
I expect to get a new pipenv.
Actual result
Pipenv spawns hundreds of subcommands. Here's a screenshot of my htop:

Steps to replicate
This is how I installed pipenv and python:
curl https://pyenv.run | bash

sudo apt-get install -y libbz2-dev zlib1g-dev libssl-dev libssl-dev libreadline-dev libsqlite3-dev

# add to path in this shell to avoid full paths in subsequent commands
"$HOME"/.pyenv/bin/pyenv doctor
prepend_path "${HOME}/.pyenv/bin"
prepend_path "$(pyenv root)/shims"

# install some python versions
pyenv install 3.6.8
pyenv install 2.7.15
pyenv global 3.6.8
pyenv rehash

# install packages
python -m pip install --upgrade pip
pip install pipenv
pyenv rehash

# now run pipenv
pipenv --help  # this works
pipenv --support  # this doesn't complete
pipenv --python 3.6  # this doesn't complete
pipenv install  # in dir with Pipfile, doesn't complete

Not even pipenv --support works! I give you some info by hand:

pipenv, version 2018.11.26
Linux MDEMUCA35338 4.4.0-17763-Microsoft #1217-Microsoft Mon May 05 16:09:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux

I found the solution myself. I still had my Windows system .pyenv/bin and .pyenv/shims in my path, so the WSL would take the windows pipenv executable and get stuck!


web3 conflict with tronapi

#8 30.12 The conflict is caused by:
#8 30.12     tronapi 3.1.4 depends on eth-account<0.4.0 and >=0.2.1
#8 30.12     web3 5.20.0 depends on eth-account<0.6.0 and >=0.5.3

i am using web3 5.0.2 instead of 5.20.0 and that's fine


Add linux-arm64 binary

We provides only 32 bit binary for Arm and it doesn't work well on 64 bit Linux.
This commit provides the linux-arm64 binary as well as updates on the installer script.
Close #108

This action looks great to test Arm architecture. https://github.com/marketplace/actions/run-on-architecture


add a music player

Title and Issue number
@pranjay-poddar
Adds a music player in the frontend project
solve #1498
Close #1498

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

HEY @pranjay-poddar pls look into this PR.

HEY @pranjay-poddar pls look into this design and the code that i updated.
Thank you for your time


update installation docs to make it clear where the user should install Meltano

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/567
Originally created by @dmor on 2019-04-08 16:59:44

And add a note about the multi-projects paradigm

View 7 previous comments from the original issue on GitLab


type 'int' is not a subtype of type 'double?'

This usually happens when an API response or data processing step returns an int value, but my model or function is expecting a double?.
When a double variable is assigned an int value, implicit conversion from int to double is possible. However, the mentioned error occurs in this case.

I'm experiencing the same problem. Can you suggest a solution?

Dart[^1] does not implicitly coerce int to double (or vice versa), because (among other reasons) such conversions are not loss-less. You have to explicitly convert using num.toDouble() or num.toInt().
[^1]: With the exception of JavaScript backend (dart2js) which uses JavaScript numbers to represent both int and double.


Treat MSVC warnings as errors

This PR is a follow up to #2924 and treats all MSVC warnings as errors.

Coverage remained the same at 100.0% when pulling e65db8344815eb1fbdd05b3d4449ed6f53348952 on msvc_warnings_as_error into 910fabf8f0ee26c0d24691e84be830fbf5d91644 on develop.


Textarea and select value isn't preserved when going back/forward

Have a page with textarea and/or select element
Manualy change the value
Go back and forward (using PJAX)
As the content is loaded from PJAX cache, the manual changes are lost.

Input element works correctly, probably because its value doesn't depend on other DOM nodes.
The solution I found is to set each textarea value as its contents before cloning.
For select it's similar, just with the 'selected' attribute.
function cloneContents(container) {
  // Preserve textarea values
  var textarea = findAll(container, "textarea");
  textarea.text(function(i, text){return textarea[i].value});

  // Preserve select values
  findAll(container, "select").each(function(i, elem){
    elem = $(elem);
    var values = $(elem).val();
    elem.find('option[selected]').attr('selected', false);
    elem.find('option').filter(function(){
      return ($.inArray(this.value, values) !== -1);
    }).attr('selected', true);
  });

  var cloned = container.clone()
  //...

:+1: thanks for the answer. This should be documented more in the README. That some elements' states are not preserved such as <select>(s)

+1


uniform error responses

closes #33

Codecov Report

Merging #35 into master will decrease coverage by 0.25%.
The diff coverage is 53.33%.

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
- Coverage   42.43%   42.18%   -0.26%
==========================================
  Files           5        5
  Lines         205      211       +6
==========================================
+ Hits           87       89       +2
- Misses        111      114       +3
- Partials        7        8       +1

Impacted Files
Coverage Δ

database/datastore.go
56.36% <33.33%> (-4.43%)
:arrow_down:

service/job.go
74.35% <66.66%> (+1.38%)
:arrow_up:

Continue to review full report at Codecov.

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


[Snyk] Upgrade npmconf from 0.0.24 to 2.1.3

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade npmconf from 0.0.24 to 2.1.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

⚠ Warning: This PR contains major version upgrade(s), and may be a breaking change.

The recommended version is 49 versions ahead of your current version.

The recommended version was released on 6 years ago.

Issues fixed by the recommended upgrade:

Issue
Score
Exploit Maturity

Prototype PollutionSNYK-JS-INI-1048974
151
Proof of Concept

Prototype PollutionSNYK-JS-INI-1048974
151
Proof of Concept

Uninitialized Memory Exposurenpm:npmconf:20180512
151
Mature

Regular Expression Denial of Service (ReDoS)npm:semver:20150403
151
No Known Exploit

Release notes

Package name: npmconf

2.1.3 - 2018-05-11

2.1.2 - 2015-05-19v2.1.2

2.1.1 - 2014-10-07v2.1.1

2.1.0 - 2014-09-182.1.0

2.0.9 - 2014-09-11v2.0.9

2.0.8 - 2014-09-022.0.8

2.0.7 - 2014-08-30v2.0.7

2.0.6 - 2014-08-25

2.0.5 - 2014-07-31

2.0.4 - 2014-07-25

2.0.3 - 2014-07-19

2.0.2 - 2014-07-15

2.0.1 - 2014-07-02

2.0.0 - 2014-07-01

1.1.9 - 2014-10-07v1.1.9

1.1.8 - 2014-09-051.1.8

1.1.7 - 2014-09-051.1.7

1.1.6 - 2014-09-041.1.6

1.1.5 - 2014-07-31

1.1.4 - 2014-07-01

1.1.3 - 2014-07-01

1.1.2 - 2014-06-27

1.1.1 - 2014-06-26

1.1.0 - 2014-06-19

1.0.6 - 2014-06-18

1.0.5 - 2014-06-13

1.0.4 - 2014-06-12

1.0.3 - 2014-06-10

1.0.2 - 2014-06-07

1.0.1 - 2014-05-19

1.0.0 - 2014-05-14

0.2.0 - 2014-05-07

0.1.16 - 2014-05-07

0.1.15 - 2014-04-23

0.1.14 - 2014-04-10

0.1.13 - 2014-02-20

0.1.12 - 2014-01-11

0.1.11 - 2014-01-11

0.1.9 - 2013-12-16

0.1.8 - 2013-12-16

0.1.7 - 2013-12-09

0.1.6 - 2013-11-19

0.1.5 - 2013-10-24

0.1.4 - 2013-10-24

0.1.3 - 2013-08-26

0.1.2 - 2013-07-24

0.1.1 - 2013-06-20

0.1.0 - 2013-06-07

0.0.25 - 2013-05-30

0.0.24 - 2013-04-12

    from npmconf GitHub release notes

[!IMPORTANT]

Warning: This PR contains a major version upgrade, and may be a breaking change.
Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.
Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

🎉 Snyk hasn't found any issues so far.
✅ security/snyk check is completed. No issues were found. (View Details)


Re-land Luci Support for Gold

Description
This will re-land Luci support for Gold, which was reverted after it broke the dart build bot. The bot was running flutter framework tests on luci, so the change to re-land just factors in whether goldctl is available to restrict the golden test execution.
Tests
Updated luci tests.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

fyi @cyanglaz @blasten @kjlubick

:shipit:


Fix launcher crash when trying to use Wallet-Connect or Metamask-Mobile login options

Several users reported having a launcher crash a couple of seconds after clicking on the Wallet-Connect or Metamask-Mobile login options.
It doesn't happen to all users, in our case this is not happening, we should debug further, but for the affected users they are effectively unable to use the desktop client.

Fixed at https://github.com/decentraland/explorer-desktop-launcher/pull/79


fix logging dependencies setup

We declare slf4j-api as a regular dependency, since most logging
libraries have an implementation for it, and it is considered
a lowest common denominator for logging.
We choose log4j as the logging provider for this build, i.e. for tests
and sbt stage. Optional means "not transitive", but still included
in "stage/lib". I.e. downstream builds do not inherit it and can/must
make their own choices.


[feature] Provide Qt: Deploy executable in Command Palette.

Problem to solve

For example, after building an executable depended upon Qt on Windows, here is a problem I usually face.
If I don't put the bin directory of Qt Kits into PATH environment variable, the system will pop up the error of "lack-of-dll". The solution of it is to copy those dll files that it need into the directory of executables generaeted by us. But it is quite complex for Qt, so we can use windeployqt tool to do so.
Proposal

I suggest that qttools provide a command called Qt: Deploy executable in Command Palette.
And set the configuration of deployment arguments in settings.json.
Further details
The configuration of deployment arguments in settings.json could be like:
{
  "qttools.deployqtArgs": {
    "executablePath": "${command:cmake.launchTargetPath}"
    "windeployqt": [
      "--verbose 1"
      "--no-translation",
      "--no-opengl-sw"
    ],
    "macdeployqt": [],
    "androiddeployqt": []
  }
}

@hwhsu1231 Do you would use it for deploy the application or for the development process? For dev scenario it would be better to inject the PATH variable automatically into launch.json. There is a dedicated variable name environment for that. That way it would be automatically done for you without any copy of files.


error connecting

hi, i tryed to run client and server on localhost, but it's not work because agent.exe triing to connect to <IP_ADDRESS>, why?
process agent.exe don't listen 43210 port, only Renderer_Win.exe listen 43210 port, veru strange...

Renderer_Win.exe results:

when i tryed to make ./juicify nvidia-smi:

I have the same darn issue GPU Null coming back and have been working on this for two days. I wish when commands are changed and update - SO ARE THE DOCS. Used 20 different versions of pytorch with cuda versions....I think I've come to a working setup but I see the exact same logs on the Windows 10 system (GPU server). GTX 970 latest drivers installed. What can we do to troubleshoot this? Any help is appreciated as much time has been spent on this project. GREAT IDEA - needs better documentation (and info on how to install on Red Hat Linux/Fedora/CentOS would be helpful for many as not everyone uses Ubuntu).

Hey it's a bug with the latest version of the server or client. When I noticed the client version @onlineapps-cloud was the same as mine....I wondered if something broke with the changes.  Anyways It has a different issue but at least I see stuff scrolling through and happening. I will update later but anyone having this GPU Null issue - try the previous server and client (you must use matching versions as newer client has same error on older server). @onlineapps-cloud FYI

Looks like I can't either. Despite running it on older versions - I see activity but it doesn't seem to run anything...I've tried localhost windows client and server (graphics) + linux client (remote) to windows server (compute). Nothing works regardless of the versions of juice or pytorch that I've tried. Very bummed tbh - this sounds like an awesome project. No updates in almost a year - hope it's not dead.


Adding make-style multivalue assignments

This PR adds support for one of the iconic features of Makefiles: multivalued assignments, where a single variable holds a list of values separated by whitespace.
The trick is to make key := value a special case of key := value1 value2 ..., which is the easiest way out.
This PR hopefully enables new use cases for Just.
EDIT:
Broken tests are now passing.
A follow-up PR will enable Just functions to operate on multivalued variables and add more Just functions that work on multivalued variables. Another one will make variables modifiable with += syntax (or something similar).
Closes #1889

Thanks for the PR! I might be missing something, but I don't think that this buys us very much. It's essentially a shortcut for creating space-separated variables. As is, I don't think it's very useful, and would much prefer using #11 to do that.

I guess I misunderstood some things. I can't find the branch you referenced in #11, tho. Also, I'll shift my focus to porting some convenience functions from make, then. Furthermore, I'll probably look into #11 later on.

The main issue is that if we add:
foo := bar baz

But all it's really doing is:
foo := bar + " " + baz

Then it's not very useful.
My point about formatting strings is that if the user wants a space-separated list, they could do:
foo := f'{bar} {baz}'

Which seems nicer than extending the grammar.
I think that when people want lists of things, the thing that makes them useful is the ability to access elements of the list, modify the list, and perform other operations on the list:
foo := ["a", "b"]
bar := foo[0]
baz := foo[1]
all := join(foo, " ")

The issue with that, however, is that in order to figure out if foo[0] is allowed, just would need to know whether foo is a string or a list of strings. This would require a more advanced type system than just currently has. Currently, just has a static type system, in the sense that it knows which variables exist, but all variables have type string, so this would require extending just to allow multiple types of variables, and to allow both strings and lists of string. This is desirable, but it's a much bigger change.
#11 is an issue for allowing interpolation inside of strings, so you could do something like f'{foo} and {bar}', so you could interpolate inside of strings instead of having to do foo + " and " + bar, which is longer and more annoying.

Of course! If there's something you want to add, open an issue first to discuss the feature and design, so we can make sure it's something that'll get merged.


Use a partial to render social profile links

Instead of multiple if statements, use a standardized partial to render the social profile links. This should be compatible with any service with an icon in the fontawesome icon library.
The .personalize.toml config now requires all social profile links be TOML table entries with name and url keys. This is a breaking change, but it is more adaptable to additional social media profile links.
Example:
[[profiles]]
name = "GitHub"
url = ""

[[profiles]]
name = "Twitter"
url = ""

Oh yes, this is a better approach.
Thanks @verkaufer for the PR.
Merging!

Also, do let me know if you liked the theme and using it. 😉


Carthage compatibility.

Carthage support not working on xcode 8 beta 3. Please fix it. The log is here:
*** Fetching card.io-iOS-source
*** Checking out card.io-iOS-source at "iOS_5.3.2"
A shell task (/usr/bin/env git clone --quiet git@github.com:card-io/card.io-dmz.git%

Help please?

@Dershowitz011 As noted in https://github.com/paypal/PayPal-iOS-SDK/issues/438 , please try adding a SSH key to your GitHub account.

I will try and get back. Kindly hold on.

Seems you are able to checkout and build successfully in paypal/PayPal-iOS-SDK#438 so closing this issue.


RHIROS-781 optimize /is_configured db queries

@r14chandra  - instead of optimization I see these changes are more specific to code refactoring & query fixing.

@r14chandra - instead of optimization I see these changes are more specific to code refactoring & query fixing.

But I have removed join which is expensive and used filters instead. Isn't it considered as optimization?

@r14chandra - instead of optimization I see these changes are more specific to code refactoring & query fixing.

But I have removed join which is expensive and used filters instead. Isn't it considered as optimization?

@r14chandra  - You have made use of subqueries instead of join. Could you share comparative result i.e time taken using existing join vs subqueries?

@r14chandra  Sorry for the delay in posting observations. PR looks good to me. It is observed that the performance has been improved in API calls (~12% improvement)


Adapt for compatibility with 2024.3 IDEs

The current release version of the MicroPython plugin is not listed as compatible with the newly-released 2024.3 IDEs.

I see that this is being addressed in other issues, so closing.

Probably a bit too early, since that NOVA is not released yet.


android: add SUPPORTS_PTHREAD_GETNAME_NP definition

Mirroring the PR: https://github.com/envoyproxy/envoy/pull/11863
pthread_getname_np is introduced in Android API 26
Introduced here: https://github.com/envoyproxy/envoy/pull/11440
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: android: add SUPPORTS_PTHREAD_GETNAME_NP definition
Additional Description:
Risk Level: low
Testing: ci
Docs Changes: n/a
Release Notes: n/a
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

@jmarantz think you made the original change, if you don't mind taking a look.

@jmarantz Thanks for reviewing! I updated the PR with your feedback

/azp run

/azp run

/azp run

/azp run

@jmarantz Thank you for the approval again!

The build is failing for known issues outside of this PR: https://github.com/envoyproxy/envoy/pull/12067 and https://github.com/envoyproxy/envoy/pull/12071. I'll merge this

thank you @junr03 @mattklein123 !


Repeated I2C_SLAVE ioctls before every RD/WR fail on Android Things

According to the I2C spec, if you are using the SMBus method to RD/WR you need do the I2C_SLAVE ioctl only once and then proceed with multiple read/write calls.
See here: https://www.kernel.org/doc/Documentation/i2c/dev-interface
"_When you have opened the device, you must specify with what device
address you want to communicate:
int addr = 0x40; /* The I2C address */
if (ioctl(file, I2C_SLAVE, addr) < 0) {
/* ERROR HANDLING; you can check errno to see what went wrong */
exit(1);
}
Well, you are all set up now. You can now use SMBus commands or plain
I2C to communicate with your device._"
Android Things and MRAA both use the SMBus method to RD/WR. But some drivers like LSM303 do not follow this spec and repeatedly set the address before every RD/WR. In fact there are 6 of them: ds1307, itg3200, lsm303dlh, pn532 and adxl345.
Why is the address set repeatedly in these drivers and not the other I2C based ones? Is it due to the “repeated start condition” in I2C? It would explain why the address is set before every RD/WR. This condition doesn't apply to SMBus RD/WR method according to the spec. It is needed in case ioctl I2C_RDWR is used for reading and writing the slave device. None of the said drivers use this method  (although it is supported in MRAA).
Can we get rid of the repeated calls?
Here is an example:

https://github.com/intel-iot-devkit/upm/blob/master/src/lsm303dlh/lsm303dlh.cxx#L119
https://github.com/intel-iot-devkit/upm/blob/master/src/lsm303dlh/lsm303dlh.cxx#L121

Please post the patch so that the maintainer can accept/reject/comment.

Hi,
These were early drivers, where the authors (myself included) ASSUMED that since each I2C transaction (at the hardware bus level) starts with the device address, then the mraa_i2c_address() call must be called before every transaction.  This was due to a misunderstanding of exactly what the mraa_i2c_address() call actually did under the hood.
As you notice, this is not required except in very specific circumstances.  The mraa_i2c_address() function (or C++ .address() method) caches the address specified in the I2c context, which is then used when issuing "real" I2C transactions.  Calling it repeatedly as you notice is not necessary, but also does not affect the I2C transaction on the hardware level either.  As you point out, newer drivers do not do this.
The only place where this is actually needed is when you are using a single mraa I2C context to talk to multiple devices on the same bus (which of course will have different addresses).  This is in fact what is happening on the LSM303DLH, as it is talking to two separate devices (magnetometer and accelerometer).
However, the .address() call on line 121 is superfluous and could be removed.  The same goes for line 162.  The others should probably stay.  This is old code, so when it was recently renamed to lsm303dlh (from lsm303) no functionality changes or "fixes" like this were made.  If it wasn't an obsolete chip, we would probably want to rewrite it from scratch along the lines of the LSM303D driver.
But, in the case of the DS1307, the extra calls (all of the ones NOT in the ctor) are superfluous and can be removed.  We are only talking to a single device there, and only one .address() call is necessary.
Hopefully that helps explain some things.


Minutor crashes with every version newer than 1.13

Hey
I've got the problem, that even after installing your latest commit (29. April) Minutor keeps crashing when loading a world newer than Version 1.13.
Is there already a fix? I only red that some people are talking about a version 2.3.0 ?

installing and latest commit does not fit from a perspective of wording:
You either have installed the latest release (very very old)
or you just use a self compiled version or a nightly build
I can verify that even the development versions for 1.16 are working.
If just "crashing" is your problem, try to create a new test world. Or provide a world download for debugging. In that case I will try to fix it.

Oh okey, never noticed these nightly builds... Thank you very much for your help!
No I have to see how to repair all the broken regions :D


BuildScans should accept license agreement command line option

Currently there are two ways of using build scans plugin:

--scan command line option
install de plugin

The second one allows to configure in your buildscript the license agreement acceptance
buildScan {
    termsOfServiceUrl = 'https://gradle.com/terms-of-service'
    termsOfServiceAgree = 'yes'
}

with the command line option, this is not possible.
Expected Behavior
A command line option for --scan to also accept the license terms
Current Behavior
You need to install the plugin and add the closure to your build script
Context
Nebula plugins used to provide build scan plugin as part of it for all other nebula plugins, this way it would be possible for us to publish build scans without applying the plugin and reducing the boilerplate across repositories.
However, with Gradle 5.x+, engineers would have to use build scans 2.x which does not work on gradle 4.10 or older. More info here -> https://github.com/nebula-plugins/nebula-plugin-plugin/pull/49. This is a breaking change for our consumers.

@rpalcolea thanks for the report. I'll look into it. It will be simple enough to do, but we need to verify it meets the legal requirements.

It's kinda sad that it is not fixed and just closed without any explanation.


Typing issue with WindLayer

For the following code
import { WindLayer } from "@maptiler/weather";

const weatherLayer = new WindLayer();
weatherLayer.on("tick", () => console.log("animating"));

Typescript compiler complains that: Property 'on' does not exist on type 'WindLayer'. , but it works on run time.
I know that WindLayer is from the @maptiler/weather repository, but since that repository is likely private, I am posting here.

Hello @eugbyte ,
in some cases, this happens due to Maplibre being a commonJS bundle. Can you try one of the two approach listed here https://github.com/maptiler/maptiler-sdk-js?tab=readme-ov-file#typescript ?


check to see if account has token approval before trying to swap

added checkSetApprovalAmount to check to make sure users have token allowance before making a swap

Will the check prompt the user to sign a transaction if they need to have approval?
If so is the user warned?


Squidpy: NameError 'typing' is not defined

Hi,
First, congratulations for the great tool and manuscript.
I do have a question. I updated Squidpy to its latest version and since then I am unable to start it in my base Python.
I get the following error:
import squidpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/dbdimitrov/anaconda3/lib/python3.8/site-packages/squidpy/__init__.py", line 10, in <module>
    from squidpy import datasets
  File "/home/dbdimitrov/anaconda3/lib/python3.8/site-packages/squidpy/datasets/__init__.py", line 1, in <module>
    from squidpy.datasets._image import *  # noqa: F403
  File "/home/dbdimitrov/anaconda3/lib/python3.8/site-packages/squidpy/datasets/_image.py", line 31, in <module>
    var._create_function(name, glob_ns=globals())
  File "/home/dbdimitrov/anaconda3/lib/python3.8/site-packages/squidpy/datasets/_utils.py", line 57, in _create_function
    exec(
  File "<string>", line 1, in <module>
NameError: name 'typing' is not defined

Yet, it works perfectly fine in iPython (i.e. Jupyter) on the same environment, same Python version, same path. Any ideas?
Thanks in advance!

hi @dbdimitrov
thanks for trying it out! I think you were one who had early access right? How did youinstall it?
if you did from cloning this repo, I would suggest you to remove and reclone it and install it from a fresh clone. Alternatively, try to install with pip, possibly in a fresh conda environemnt.
Let me know how that goes!

Hi @giovp,
Yes, I had early access - thanks a lot for that. Also, thanks for the promptness of your response.
Indeed, it worked just fine in a new environment :)
Thanks.

Thank you!,I'll close this for now, feel free to reopen!