Added Compound Map Tools to repo

Added _pro.tbx and _arcmap.tbx to repo and updated README.MD.
Fix for #519
Description

Added Compound Map Tools_arcmap.tbx and Compound Map Tools.pro.tbx to clearing_operations folder.
Made updates to README.MD identifying which toolboxes are included and link to the solutions page.

Related Issue
#519
Motivation and Context
Now tracking changes to Compound Map in this repo.
Eventually we will probably want to rename the folder from clearing_operations to something like clearing_ops_and_compound_map.
How Has This Been Tested?
Manual tested.
Automated tests to be added in later with a new Issue: #539
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.

@mfunk @BobBooth @adgiles I have a fear that the updates that @adgiles and myself did are not the same that are in this pull request. I was under the impression that we were going to update our changes after this body of work. I understand how this can be wrong, but I think we should hold off on this to make sure @adgiles and my changes are also captured.

@mfunk @BobBooth @adgiles @topowright - I'm with Lyle on this. Lyle and I both did a lot of tweaking of the toolbox for Pro to get it to package. Gigzy changed the Py scripts for symbology. Want to make sure wa have the latest and greatest.

@topowright @BobBooth @adgiles
We need to get those changes into the repo. If we are making changes in the templates and the download page is the only way we are maintaining changes to toolboxes...

@topowright @BobBooth @adgiles
Actually this is the perfect time to do it since the "latest and greatest" lives somewhere else (?!?) and not in the repo this is the perfect time to get those changes into the repo.

@topowright @BobBooth @adgiles @mfunk
OK, prepping Pro version for you. Note, will have to add a "commondata\userdata" folder to the repo to store the NumberedStructures.lyrx file, and take the "NumberFeatures.py" and "Utilities.py" scripts out of the scripts folder and put them at the same level as the toolbox -- that's just how it has to be in order to work in the Pro project template package/unpackage process.

@BobBooth
Closing this PR. Please make changes in a new one.
@topowright @adgiles


bash: nested variables only partially highlighted

In a bash script, you may have a variable WURST und refer to it via $WURST or ${WURST}.
You can supply a default value ${WURST:-salami} and that default value may itself be a variable
${WURST:-${CARNE}}. And this is where there's a bug in highlight.js:
In the last example, of the two closing curly braces at the end only the first one gets color, the latter one doesn't -- although it should because it is the closing brace to the very first opening curly brace.

This is because we don't currently support deep nesting like that in the grammar.

Closing this as a dup of #2099.


gado doesn't run when installed by pip

for some reason, gado isn't able to run when installed by pip. manual installation seems to work fine.

looks like it has to do with the folder in which gado is installed by pip not being on PATH. adding the pip folder to the PATH seems to solve it. (runs fine with sudo)


Is it possible to share the overlay layer?

Hi,
Thanks for sharing such an interesting project. I have confirmed that your prebuild image works on my FZ3B board but only with 2GB memory.
However, I found that FZ3B owns 4GB DRAM on the PS side. I would like to support PYNQ on FZ3B.
Can you share the overlay layer source codes, which can be compiled to bitstream for FZ3A?
I would like to improve the source codes to support FZ3B. Thanks a lot!

I do not know what "overlay layer source code" refers to.
I think, to port to FZ3B with larger DRAM, you just need to rebuild a BSP file (including the corresponding board design)?


⚠ Syncthing-KA-BI has degraded performance

In cb01b1c, Syncthing-KA-BI ($URL_SYNCTHING_MERZ_NIMBUS_BI) experienced degraded performance:

HTTP code: 200
Response time: 15376 ms

Resolved: Syncthing-KA-BI performance has improved in 4cfd15a after 11 minutes.


Add files via upload

Assembly review request

ToLID:
Species:
Project:
Affiliation:

no

yes

yes

yes

yes


Some problems in matrix vector product code.

I am trying to make slang compatible with older devices.
First, use Slang to generate SPIR-V, then use spirv-cross to generate a lower version of GL or GLES code.
But there is a problem with the mat4 constructed from 4 vec4s, which similar to the issue #4316 .
In older devices, we prefer to obtain mat4s rather than an array of vec4s.

Another option is to use __intrinsic_asm to generate uniforms without packing, but this compromises cross-platform capability. This can be particularly inconvenient when generating SPIR-V.

GLES is not currently a supported target. Translating mat4 into an array of vec4 is a way to work around many restrictions in SPIR-V and we don't currently see an easy way to remove this work around. Will revisit if GLES becomes a supported target.


fix for single speaker case

In most cases, the first eigenvalue is a constant (zero).
However, leaving this eigenvalue out will make the number of speakers not less than 2.

@nauman-daw, could you please check it?

Hi @xx205 ,
Thanks for the PR.
Actually, we have tried this earlier. If I remember it correctly, in our experiments with AMI datasets, we observe that sometimes the eigen gap between the first (nearly 0 eigenvalue) and the second eigenvalue exceeds other eigen gaps, leading to collapsing in one cluster. Hence to fix this, we remove the first eigenvalue and kept speaker diarization for two or more speakers. Hope I was clear in my explanation.
Please let me know if you work on any other dataset with 1 speaker and if you found this change to work well in your case. We would be happy to take this forward for your dataset.

In this case, would it make sense to add an argument to allow an estimate of 1 speaker? We'd keep the two or more speakers estimate as the default. Could we even make it a tunable extra threshold / ratio parameter for the first eigen gap (so the first eigen gap has to be x-amount / x-times larger than all others to accept the estimate of just having one speaker)?


Theme Ideas

Round 1
Road trip
Folklore
Out of order
Echoes
Infestation
Become the enemy
Read the manual
Shelter
Outnumbered
One tool, many purposes
Clockwork
Make connections
Parasite
Different every time
Garden
Mirror
Out of bounds


Mirror the ERROR form used by just

Error messages our of justprep should use the same look and feel as those from just.

did it


Scripts behaves strange when window is minimized.

I see this in log
Doing 'field' work for "Daedalus" until 462,491 rep. Currently at 147,898, earning 11.500 rep/sec. (ETA: 7h 35m 56s)
WARNING: work-for-factions.js caught an unhandled error in its main loop. Trying again in 5 seconds...
The faction "Daedalus" does not support any of the known work types. Cannot work for this faction!
INFO: Starting main work loop with scope: 0...
Donations already unlocked for "Netburners". You should buy access to augs. Skipping working for faction...
Donations already unlocked for "Tian Di Hui". You should buy access to augs. Skipping working for faction...
Faction "Daedalus" Highest Aug Req: 2,500,000, Current Favor (0.00/150.00) Req: 462,491
INFO: Detected that "hacking" gives more rep than previous work "field". Switching...
Doing 'hacking' work for "Daedalus" until 462,491 rep. Currently at 148,666, earning 61.822 rep/sec. (ETA: 1h 24m 36s)
Doing 'hacking' work for "Daedalus" until 462,491 rep. Currently at 152,452, earning 0.000 rep/sec. (ETA: forever (Infinity))
Doing 'hacking' work for "Daedalus" until 462,491 rep. Currently at 156,210, earning 0.000 rep/sec. (ETA: forever (Infinity))
Doing 'hacking' work for "Daedalus" until 462,491 rep. Currently at 160,007, earning 62.113 rep/sec. (ETA: 1h 21m 10s)

I'm going to chop this up to the browser window getting throttled when minimized, which is a common issue with browser-based games. Nothing breaks per se, but timers don't fire so timing-related code (such as calculating rep/second) and progress generally behaves unpredictably.

Even on steam version?

Yes, the steam version runs in a program called "electron" which is essentially just google chrome skinned to look like a standalone application.


SW-1561 Honor search scopes on all tables

/api/v1/seedbank/values/all has a concept of a "search scope" where we limit
results to the ones relevant to a particular organization or facility. The scope
was being honored for searches on the accessions table, but not for searches on
other tables. So if you asked for, e.g., all the values of bags_number for a
given facility ID, you'd actually get all the bag numbers across all the
facilities you had access to.
Eventually we're going to want to revamp how that endpoint works (SW-552) but
in the meantime, the API ought to work as advertised.

Current dependencies on/for this PR:

main

PR #590   👈

This comment was auto-generated by Graphite.

Build failure looks like a GitHub Actions glitch; retrying.


Aws version requirements

Contact Details (optional)
No response
Summary
The current version of aws provider is 4.25.0
Please, upgrade (or remove) aws requirements < 4.0
Motivation
Allow install it with moders aws provider version
Alternatives
No response
Additional Context
No response
Code of Conduct

[x] I agree to follow this project's Code of Conduct

https://github.com/DNXLabs/terraform-aws-eks-metrics-server/pull/6

Fixed on #8


504 error logging in with twitter

looks like this is due to twitter API call timing going more than 10 seconds which is the vercel serverless time limit.
https://vercel.com/docs/concepts/limits/overview#serverless-function-execution-timeout
START timing twitter API call:  2023-01-03T23:33:55.039Z
END timing twitter API call:  2023-01-03T23:34:14.445Z

moved vercel to pro plan to get around execution limit of 10 seconds.
support this voluntary project: https://getalby.com/p/nostrdirectory


Cannot start integrated terminal in desired directory

Issue Type: Bug
Issue:
I want the integrated terminal to start in ~/my-dir/my-site. When I try to open it, I get the error below.
Steps to Reproduce:

Open VSCode
Click View, Terminal. I get the message, "The terminal process failed to launch: Starting directory (cwd) "~/my-dir/my-site/~/my-dir/my-site" does not exist."

These are the contents of my workspace file:
{
	"folders": [
		{
			"path": "my-site"
		}
	],
	"settings": {
		"git.ignoreLimitWarning": true,
		"terminal.integrated.cwd": "~/my-dir/my-site",
		"terminal.integrated.enablePersistentSessions": false
	}
}

This was working fine until I rebooted today. I've updated VSCode twice since I had to last open the integrated terminal. So I'm not sure which update broke it. I tried:

Removing the "terminal.integrated.cwd" setting completely
Closing VSCode
Re-opening VSCode
Opening the integrated terminal

When I do this, it starts ok, but in the ~/my-dir directory.
I also tried:

Changing "terminal.integrated.cwd" to "my-site". I then get, "The terminal process failed to launch: Starting directory (cwd) "~/my-dir/my-site/my-site" does not exist."
Changing "terminal.integrated.cwd" to "/my-site". I then get, "The terminal process failed to launch: Starting directory (cwd) "/my-site" does not exist."

Does this issue occur when you try this with all extensions disabled?: Yes
VS Code version: Code 1.65.2 (Universal) (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:49.188Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (0.19GB free)

Process Argv
--crash-reporter-id a8e4ad55-9a1a-4496-b72c-745ed0f3d1fb

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

gitlens
eam
12.0.5

vscode-search-open-all-results
fab
1.0.3

git-graph
mhu
1.30.0

php-debug
xde
1.25.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmc:30438804
cppdebug:30451566
pynewfile477cf:30450039

~ is a shell concept, you can't use it there. Try replacing it with ${env:HOME} as per https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables

I used: "terminal.integrated.cwd": "${env:HOME}/mydir/mysite" and the terminal started in the ${env:HOME}/mydir directory.

Disabled all my extensions again and reloaded. Still doesn't work.
"terminal.integrated.cwd": "${env:HOME}" starts in the ${env:HOME}/mydir directory.
"terminal.integrated.cwd": "/" starts in the ${env:HOME}/mydir directory.
It seems like it:

starts from ${env:HOME}/mydir/mysite
tries whatever terminal.integrated.cwd is set to
ignores what terminal.integrated.cwd is set to(except to throw an error, understandably, if the directory does not exist)
goes to ${env:HOME}/mydir


Add some error messages to viz.plot_topomap

The pos parameter of the viz.plot_topomap function expects a matrix
with shape (#nchannels, 2). It used to silently accept other dimensions
as well by selecting pos[:, 2]. This means 3D coordinates, such as the
ones provided by Montage objects are accepted and lead to strange
results. See issue #2389.
This PR adds error messages when a matrix with invalid dimensions is
specified as pos argument. To keep backwards compatibility, matrices
with shape (#nchannels, 4) are allowed, meaning a user can still pass a
layout.pos matrix, even though layout.pos[:, 2] would be more
explicit and thus preferred.

Otherwise LGTM


Platform Whitepaper Chinese Translation

fix https://github.com/cncf/tag-app-delivery/issues/507

Hi @mengjiao-liu  @windsonsea Cloud you please help to review this PR ?  😄

Hi @rootsongjc could you resolve the conflict here? Are we ready to merge this? Thank you!

I have resolved all the conflicts, and it's ready to merge. I apologize for being busy recently and not getting to this issue earlier.

Thank you @rootsongjc @node @windsonsea for your contributions!


SnapshotConnector for generating Ebook?

Can you please include the SnapshotConnector module needed to generate the Ebook? I'd like to generate the MOBI format with greyscale images compressed under 64kb (not sure if this is possible yet). Thanks!

I haven't really done a good job at keeping this repo up to date. I'll see about pushing the latest code in the next couple of days. Then we'll see where mobi fits into it.

Here is the latest code that handles ebook generation: https://github.com/anqxyr/pyscp_ebooks
Specifically, if you want it to generate something other than .epub, you should replace the book attribute of the ebook builder, here:
https://github.com/anqxyr/pyscp_ebooks/blob/master/pyscp_ebooks/builder.py#L34
With something with the same api as the ebook module, here:
https://github.com/anqxyr/pyscp_ebooks/blob/master/pyscp_ebooks/epub.py
I hope this answers your question.

Awesome, thanks for the push! I'm looking into a strange issue that occurs ~5min into creating a snapshot (also happened with old version of the code). Running this in python 3.4 on OS X (El Capitan). Please let me know if I'm missing something obvious. Thanks!
take-snapshot.py (executed via python3.4 take-snapshot.py):
import pyscp

wiki = pyscp.wikidot.Wiki('www.scp-wiki.net')

creator = pyscp.snapshot.SnapshotCreator('snapshot_file_4.db')
creator.take_snapshot(wiki, forums=False)

Stack trace:
Traceback (most recent call last):
  File "take-snapshot.py", line 6, in <module>
    creator.take_snapshot(wiki, False)#forums=False)
  File "/Users/John/Desktop/pyscp/pyscp/snapshot.py", line 234, in take_snapshot
    self._save_all_pages()
  File "/Users/John/Desktop/pyscp/pyscp/snapshot.py", line 254, in _save_all_pages
    for _ in self.pool.map(self._save_page, self.wiki.list_pages()):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/_base.py", line 549, in result_iterator
    yield future.result()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/_base.py", line 395, in result
    return self.__get_result()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
    raise self._exception
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/John/Desktop/pyscp/pyscp/utils.py", line 50, in wrapper
    return deco(call, *dargs, **dkwargs)
  File "/Users/John/Desktop/pyscp/pyscp/utils.py", line 73, in ignore
    return call()
  File "/Users/John/Desktop/pyscp/pyscp/utils.py", line 31, in __call__
    return self.func(*self.args, **self.kwargs)
  File "/Users/John/Desktop/pyscp/pyscp/snapshot.py", line 272, in _save_page
    dict(i, page=page._id) for i in data)
  File "/Users/John/Desktop/pyscp/pyscp/orm.py", line 52, in insert_many
    chunk = list(islice(data_iter, 500))
  File "/Users/John/Desktop/pyscp/pyscp/snapshot.py", line 272, in <genexpr>
    dict(i, page=page._id) for i in data)
  File "/Users/John/Desktop/pyscp/pyscp/orm.py", line 61, in convert_to_id
    for row in data:
TypeError: vars() argument must have __dict__ attribute

From the traceback, it looks like either .history or .votes for some page has some weird stuff in it that shouldn't be in there. I can't really think of anything that may have caused it.
Try running the following code and see what ends up in the log:
import pyscp
import logging
import requests

log = logging.getLogger(__name__)

class SnapshotCreator(pyscp.snapshot.SnapshotCreator):

    @pyscp.utils.ignore(requests.HTTPError)
    def _save_page(self, page):
        for i in page.history + page.votes:
            try:
                vars(i)
            except TypeError:
                log.error(page)
                log.error(i)
        super()._save_page(page)

pyscp.utils.default_logging(debug=False)

wiki = pyscp.wikidot.Wiki('www.scp-wiki.net')

creator = SnapshotCreator('snapshot_file_4.db')
creator.take_snapshot(wiki, forums=False)

The log should appear in a pyscp.log file in the directory from which you run the script.

Ah thanks! I traced the error back to the map function (in this case map(vars, images)). I'm able to consistently replicate the error in _save_meta() by iterating through images. The objects are missing __dict__ for some reason. Please see below...
Modified snapshot.py (jump straight to _save_meta):
    def take_snapshot(self, wiki, forums=False):
        """Take new snapshot."""
        self.wiki = wiki
        #self._save_all_pages()
        #if forums:
        #    self._save_forums()
        if 'scp-wiki' in self.wiki.site:
            self._save_meta()
        orm.queue.join()
        self._save_cache()
        orm.queue.join()
        log.info('Snapshot succesfully taken.')

    def _save_meta(self):
        orm.create_tables(
            'Image', 'ImageStatus', 'Override', 'OverrideType')
        licenses = {
            'PERMISSION GRANTED', 'BY-NC-SA CC', 'BY-SA CC', 'PUBLIC DOMAIN'}
        images = [i for i in self.wiki.list_images() if i.status in licenses]
        self.ibar = utils.ProgressBar(
            'SAVING IMAGES'.ljust(20), len(images))
        self.ibar.start()
        data = list(self.pool.map(self._save_image, images))
        self.ibar.stop()
        images = orm.ImageStatus.convert_to_id(
            map(vars, images), key='status')

        # For some reason __dict__ is undefined
        #print(images[0].__dict__)

        # Which causes this to fail (TypeError: vars() argument must have __dict__ attribute)
        for x in images:
            print(x)

        orm.Image.insert_many(
            dict(i, data=d) for i, d in zip(images, data) if d)
        overs = orm.User.convert_to_id(
            map(vars, self.wiki.list_overrides()))
        overs = orm.OverrideType.convert_to_id(overs, key='type')
        orm.Override.insert_many(overs)

I think this is the cause of the error: https://stackoverflow.com/questions/34166469/did-something-about-namedtuple-change-in-3-5-1
I'll try to make the necessary changes over the weekend.

Nice find! I replaced occurences of map(vars, with map(lambda x: x._asdict() if x.has_key('_asdict') else vars(x), in snapshot.py seems to have resolved the issue.

The repo's code has been updated with a permanent fix for the issue.


Expose physics RID

It's quite useful when you need to interact with the terrain from PhysicsDirectSpaceState3D.

Thanks for the change. I have updated this for you so we can merge it in.
You made your change on the main branch instead of another as instructed in the Godot pull request workflow. I had to force push into your main branch, which has probably broken it on your system. That means you might not be able to pull changes. If so, you'll have to delete your local main branch and download it again, or do another clone. In the future, always make another branch to make changes in.


css-pseudo.idl not updated after spec change

The change in https://github.com/w3c/csswg-drafts/pull/2573 is now visible at https://drafts.csswg.org/css-pseudo-4/#CSSPseudoElement-interface, but https://github.com/tidoust/reffy-reports/blob/master/w3c/idl/css-pseudo.idl has not been updated.
@dontcallmedom are the logs from each reffy run published somewhere, is there a list of specs that weren't successfully scraped that you have to keep on top of?

@tidoust could you take a look at this? It seems like some other specs aren't updating either, these PRs haven't reached reffy-reports:
https://github.com/w3c/ServiceWorker/pull/1309
https://github.com/w3c/pointerevents/pull/275
https://github.com/w3c/touch-events/pull/103

Main issue should now have been fixed and IDL extracts mentioned above have now all been updated. Closing this issue as a result.
I note Reffy's instance on W3C server still fails to crawl the HTML spec though (tracked in #145). I'm still planning to have Reffy run as a Travis CI job (see #146) so that we can detect failures more easily and have access to logs.


Chunky turtle will crash server if placed.

Descripe
If there is a turtle placed in world with Chunky upgrade placed on it server will crash.
Steps to reproduce
Start server.
Place chunky turtle.
Crashloop.
Attached 2 crash reports.
First was generated when i placed turtle.
crash-2021-08-29_18.20.18-server.txt
Second is on each crash loop.
crash-2021-08-29_18.25.13-server.txt
Multiplayer?
Yes
Version
0.7.1r (Latest)
Minecraft, Forge and maybe other related mods versions
Minecraft Version: 1.17.1, forge-1.17.1-37.0.45-universal
Screenshots or Videos
No response
Crashlog/log
No response

Which CC:T Version do you use?

cc-tweaked-1.17.1-1.98.2.jar

I recommend to downgrade CC:T until it works
We will fix that

typo?

Not a typo, 1.98.2 removed events.
btw, this is fixed in 0.7.1r for 1.17

is that a valid datatype? it's been a while since I did something java related

Was valid, this is internal class.

public class X1{
    public static class X2 {
    }
}


[RFC] Define custom Irmin_pack.Schema module type

CC @ngoguey42, here's a draft of the change you were considering here. I recommend hiding whitespace changes when viewing the diff.
I think this is slightly worse overall for two reasons:

need to be generic over Version / Config specifically in a few places;
no longer subtyping the the core Irmin store constructors.

My take-away from this is that the Schema.S abstraction works well for customisable types that propogate through to the Irmin.S API, but doesn't compose well with general backend configuration. Happy to hear arguments in favour / suggestions for improvements.

Closing as a failed experiment (:

I see the problem, thank you for exploring that solution :)


Update milvus image version to 2.0.0-pre-ga

Signed-off-by: shaoyue.chen<EMAIL_ADDRESS>/cc @zwd1208

/lgtm


Support rack2.0

I want to use turnout on Rails 5.0
I think it's okay beacause pass the test.
Pointed it me and if there is a problem. I will fix it.

Thanks. This looks good. It's been hard to find any simple documentation on what actually changed in Rack 2.0. Maybe I just need to look through the code. I don't imagine it would change much for this gem though.
I'll push out a new gem version soon.

Any idea when that version will be out?

This won't work though , because RUBY_VERSION is evaluated when building the gem, and not at runtime.
So would be better to keep in gemspec this line
 s.add_dependency('rack', '>= 1.3', '< 3')

and add in your own application Gemfile the version of rack you need to use .

@adamcrown , have you checked my comment?  Please revert this pull request.

Oh... sorry! Please revert this PR @adamcrown

I think you're right. Best to just keep it simple with s.add_dependency('rack', '>= 1.3', '< 3'). I'll make the change now.

Thank you very much :)


Assign SLES12 box to the test team

SInce https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/256 is complete we should now have a reasonable chance of being able to add SLES12 to the list of distributions we can support. I have a spare Linux/s390x system which hasn't been live in jenkins for a while and have just brought it online, removing the build tag and replacing it with test.
I have raised https://github.com/AdoptOpenJDK/openjdk-tests/issues/711 to cover starting testing on this platform.
While the initial transfer of the machine is now done, I intend to keep this open until we are confident that the machine setup is good enough for tesing (right now I suspect it isn't...)

Need to install the test prereq Perl modules, Text/CSV.pm & JSON

Hasn't had ansible playbook run on it for a while as it wasn't in the inventory - that should resolve it. Will aim to run it once https://github.com/AdoptOpenJDK/openjdk-infrastructure/pull/608 is merged and will aim to run the grinder configuration myself until it does something useful ;-)

Thanks Stewart!  I suggest to either rebuild Grinder 480 job, or provide the hostname as the LABEL=build-marist-s390x-sles-12 if running a new Grinder.
I have not added the other labels to this machine used by test scripts, so that it won't get auto-picked up by our regular testing, so you need to use hostname for now as label.

FYI I have renamed the box in jenkins to have a test- prefix but the machine itself (at the request of Marist) still has the original name. Hopefully this won't cause too much confusion ...

Thanks - happy to work on adding prereqs until I can make that grinder configuration pass ;-)
Will start by running the currnt playbook on the machine since that should sort out a few of them.

Had to adjust the /home/jenkins -> /data/jenkins symlink which was in place when it was used as a build machine as things like the ccache directory was chewing up too much space on the filesystem. The playbooks were objecting to the home directory being a symlink so I've cleaned it up and moved it back (/data/jenkins/workspace is still where the jobs will be executed)

Memo to self: playbook failed to install downloaded junit rpm. I manually went onto the box and ran "rpm -i on the junit rpm and it worked (albeit with the following warning):
warning: junit-3.8.2-8.1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 3dbdc284: NOKEY

Will need to resolve this for the future. Here is the failure when run via ansible:
TASK [Ant-Contrib : Install junit from rpm - SLES] *****************************
22:02:24
fatal: [build-marist-sles12-s390x-1]: FAILED! => {"changed": false, "failed": true, "msg": "python2 yum module is needed for this  module"}

Had to force install the CPAN JSON module as it failed 2 of its tests:
Test Summary Report
-------------------
t/x02_error.t                       (Wstat: 256 Tests: 31 Failed: 1)
  Failed test:  10
  Non-zero exit status: 1
t/xe20_croak_message.t              (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=60, Tests=3715,  2 wallclock secs ( 0.21 usr  0.04 sys +  2.12 cusr  0.18

build-marist-sles12-s390x-1:~ # cpanm --with-recommends JSON --force--> Working on JSON
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz ... OK
Configuring JSON-2.97001 ... OK
Building and testing JSON-2.97001 ... FAIL
! Testing JSON-2.97001 failed but installing it anyway.
Successfully installed JSON-2.97001
1 distribution installed

Playbook has installed a non-SSL enabled verison of git under /usr/local/bin which therefore cannot clone https URLs

@smlambert can you check out https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/490/console for me please? It seems to have failed to locate jtreg:
18:58:24 Error: Unable to access jarfile /data/jenkins/workspace/Grinder/openjdk-tests/TestConfig/scripts/testKitGen/../../../../jvmtest/openjdk_regression/jtreg/lib/jtreg.jar

I reran the grinder job, needed BUILD_LIST=openjdk_regression (the directory you wish to build) instead of openjdk, and looks good https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/491/testReport/

Ran system test grinder also, as they have slightly different requirements than other tests:
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/492/


Keyboard shortcuts randomly stop working

Issue Type: Bug
The problem is random, so there are no steps to reproduce the problem.
I still regularly have problems with shortcuts I've created that include use of Alt and a vowel.  For instance, I use Ctrl + Alt + e to move to the end of the current line.  Most of the time this results in the character é rather than the execution of the shortcut.  This has gotten much much worse since my work machine was switched to Windows 10 from Windows 7.  So far there are no Windows settings I can find that might affect this, not to mention that there's no change in my Windows setup between when it works as expected and when it doesn't.  I have VSCode open most of the time and without shutting it down and reopening it it'll just occasionally switch back and forth between executing the shortcut and inserting the character.
Until today I was just accepting this as an insurmountable bug in the VS Code software (since it doesn't happen in any other software which uses Alt and a vowel in a shortcut).  However, now other shortcuts have decided to stop working.  The one I noticed (I haven't the time to test every possible shortcut) is Ctrl + Alt + Arrow.  This is supposed to do column select, but now it does nothing.  Alt is simply turning on the accelerators in the app menu.
Why is it that VS Code is unable to interact consistently with a keyboard?
 See https://en.wikipedia.org/wiki/AltGr_key#Control_+_Alt_as_a_substitute
This can be improved if switching to a keyboard layout like Standard US English which produces no accented characters even with AltGr.
As for the Ctrl + Alt + arrow, I think you have installed new software on the machine (very likely a certain Intel Display driver) which steals the ctrl + alt + arrow key combinations (very likely to rotate the screen).
I also notice you are using a high number of extensions (and extensions can customize built-in keybindings). Did you try to reproduce the ctrl + alt + arrow issue with disabling all extensions first?

Yes, I know the tired old excuse that it's somehow my fault.  Unfortunately since the information I gave shows that it's certainly not related to changing keyboard layouts - it's not like I'm sitting at my machine and changing my keyboard layout regularly - it's pretty weird that that's been used in the attempt to blame me.
As for the "I think you've installed..."  notion, unless I'm randomly installing and uninstalling my video drivers, I'd have to say that's not even clutching at straws.  And perhaps I'd have said something like "and now the screen rotates instead of selecting a column" instead of, you know, pointing out that it's doing nothing other than activating the accelerators in the menu.
For the extensions, how exactly would the keyboard interaction be changing randomly?  Are there extension authors who're creating their extensions to randomly capture and release keybindings?  Since that's what you're claiming is the case, perhaps there ought to be a hint to extension authors to capture keybindings or not capture them, but not randomly capture and release?
Unfortunately, since I'm not sitting here randomly switching keyboard layouts and installing/uninstalling drivers or extensions, it seems that this is still just an insurmountable VS Code bug.

@Gooseman Do these shortcuts work in any other software on your machine? In other words, do these shortcuts reach applications installed on your machine?
What does VS Code detect when you press the desired key combination?

As far as I remember, when I've tried that previously the recorded key strokes always changed to the accented character when the shortcut wasn't working and stayed as the individual keys when the shortcut was working.
v1.37.0 has installed and the problem has disappeared for now - I've had a few days without the problem returning.  This has happened previously - the problem occurs most of the time with intermittent periods of the key strokes working as set, followed by an update installing and the problem going away for a while - so I expect it'll return again with a future update.  When it starts happening again I'll check what keys are recorded.


Write a Perl program to convert days to weeks

Description
Write a Perl program to convert days to weeks
1 week = 7 days
Input  : 35
Output : 5

How to contribute

Save the solution in program/convert_days_to_weeks.pl file
Add convert_days_to_weeks.pl file in convert-days-to-weeks folder

!assign


Convert doc source from markdown to asciidoc

To provide a better user experience and give authors the flexibility to add more sophisticated formatting for tables and lists, convert the documentation to asciidoc.

@rstento @pvlugter I tried to build https://github.com/cloudstateio/cloudstate/pull/368 and all went well using Antora the first time and building and viewing it.
With the next milestone for the Go support, I have planned to re-write its documentation by larger parts. What do you think, should I start doing this already with Antora and therefore asciidoc or should I stick with paradox?

Hi @marcellanz, asciidoc please. https://docs.antora.org/antora/2.3/organize-content-files/ describes the organization of the doc tree if you are not familiar with Antora. Thanks!

At the contributors call today (2020-06-30) we discussed shortly how I should go forward with Antora or Paradox for the Go Support to be documented. As not everything is clear right now, as I understood, I'll go forward with Paradox and when ready, port it to Antora.

PR to make sure that everyone has jsdoc and that the required node dependancies are installed: https://github.com/cloudstateio/cloudstate/pull/421

All the docs are converted now: https://cloudstate.io/docs/


[feature] need ilike

SR has the function like but it is only case-sensitive function.
To support more scenario, we need another function named ilike, which is similar to like but is case-insensitive.
To be more specific:

what we have now:

mysql> select like("star","star");
+----------------------+
| like('star', 'star') |
+----------------------+
|                    1 |
+----------------------+

MySQL [(none)]> select ilike('star','STAr');
+----------------------+
| like('star', 'STAr') |
+----------------------+
|                    0 |
+----------------------+
1 row in set (0.00 sec)

what the like will perform:
mysql> select ilike("star","star");
+----------------------+
| like('star', 'star') |
+----------------------+
|                    1 |
+----------------------+

MySQL [(none)]> select ilike('star','STAr');
+----------------------+
| like('star', 'STAr') |
+----------------------+
|                    1 |
+----------------------+
1 row in set (0.00 sec)

#14439

That's great，thanks


Update remote node control

Support ping, stop, reboot(linux), shutdown(linux)
if retain_periodically is running, waits for the retain_flag to turn false.

#295

Codecov Report
Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (2f4496b) 49.39% compared to head (a9d84c4) 49.25%.

Files
Patch %
Lines

src/graphql/status.rs
0.00%
23 Missing :warning:

src/main.rs
0.00%
10 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #678      +/-   ##
==========================================
- Coverage   49.39%   49.25%   -0.15%
==========================================
  Files          29       29
  Lines        8324     8352      +28
==========================================
+ Hits         4112     4114       +2
- Misses       4212     4238      +26

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

conflict 해결 부탁드립니다.

@sehkone assignee 를 변경하였습니다. 확인부탁드립니다.

@sehkone PR 머지 해도 괜찮을까요? 확인 부탁드립니다.


Add format to "List Unique Values" aggregator

Hello, I tried to add a number format the "List Unique Values" aggregator but it seems to ignore it.
If I do this with "Count Unique Values" then it's showing the desired format. Could you guide how to perform number format to the "List Unique Values" aggregator.
I tried this
   frFmt = nf({       thousandsSep: ".",       decimalSep: ","     });
and
    aggregators: {	// call all aggregators with one appended whitespace char for nice output on c3 diagramms         "Anzahl ": tpl.count(frFmtInt),         "Anzahl eindeutiger Werte ": tpl.countUnique(frFmtInt),         "Liste eindeutiger Werte ": tpl.listUnique(", ", frFmt),
but without success.
Thank you in advance!

The basic reason this isn't working the way you might expect is that a list of unique values isn't a number, so it can't be formatted as a number. If you want to format the numbers within the string "1, 2, 3" you'll have to write a custom number formatter that splits the string on ", ", formats the individual pieces, and then joins them back together with that delimiter :)

Thank you for the fast response and also for your great plugin!!!
Ok, I found a way to fulfill what you mentioned - kind of a hack but uses the addSeparators() function in pivot.js and is more or less a one-liner, fair enough for me.
Another formatting issue for me is the fixed formats eg usFmt
defaults = {         digitsAfterDecimal: 2,         scaler: 1,         thousandsSep: ",",         decimalSep: ".",         prefix: "",         suffix: ""  };
Since the application I'm working on is very dynamic I wanted to take decimals as they come from the server and I created an "open" format in regard to digitsAfterDecimal, very simple like this
frFmtRaw = nf({   digitsAfterDecimal: -1,	// use toString rather than toFixed   thousandsSep: ".",   decimalSep: "," });
and in pivot.js
numberFormat = function(opts) {   var defaults;   defaults = {     digitsAfterDecimal: 2,     scaler: 1,     thousandsSep: ",",     decimalSep: ".",     prefix: "",     suffix: ""   };   opts = $.extend({}, defaults, opts);   return function(x) {     var result;     if (isNaN(x) || !isFinite(x)) {       return "";     } 	if (opts.digitsAfterDecimal < 0) result = addSeparators((opts.scaler * x).toString(), opts.thousandsSep, opts.decimalSep); 	else result = addSeparators((opts.scaler * x).toFixed(opts.digitsAfterDecimal), opts.thousandsSep, opts.decimalSep);     return "" + opts.prefix + result + opts.suffix;   }; };
Here the if (opts.digitsAfterDecimal < 0) decides if a fixed format or no format in regard to digitsAfterDecimal should be used, just the thousands and decimals seperators should be set. It works but one problem apears here with the totals - if the values are integers everything is fine but on some tables there are decimals with 6 digits after the decimal. Here I get ugly results in the totals row/columns with many digits after the decimal, like 0,7576189999999999 instead of 0,757619.
Since I'm aware of the problems which appears in Javascript on decimals I am search WHERE the totals are created in pivot.js to implement a solution for this but maybe due to the lack of knowledge I'm unable to find the line where the sum is created.
Maybe you could lead me to the right line ...
Thanks in advance !

Hi having similar DP flaot issue here too https://github.com/nicolaskruchten/pivottable/issues/1189#issue-584289957


Add PHP Unit workflow

Actually we can close this and archive the repository as we are now depending on the upstream source for this fork.


fix: do not exit when only unref'd timer is present in test code

In the timeout-handling code in Runnable#resetTimeout, if _enableTimeouts was false, Mocha would completely avoid setting a timer, even if the timeout was set to 0.
This PR changes the behavior so that a timer is always set, regardless of _enableTimeouts.  If the test timeout value is 0, we set it to the maximum delay value (docs).  Even if you happen to leave Mocha running in your debugger for longer than 24.8 days, the timer will just reset itself instead of throw a timeout error.  Talk about corner cases...
UPDATE: Resetting the timeout is problematic if timeouts are disabled after the timeout is reset.  We don't really need this behavior anyway.
Fixes #3817.

@rolfl, can you give this code a try?

I note that _enableTimeouts is essentially a useless, internal flag that could be removed (across several different files) if we assume a timeout value of 0 is false and anything else is true.

@boneskull - I pulled your branch in to my local copy of mocha, I then npm link'd it in to my own project's npm repo, and ran the tests that initially caused my failues, in both normal, and debug mode, using webstorm to do it. (i.e. the worst case scenario). I also ran individual tests as selected from the WebStorm UI that uses the --grep functionality to run individual tests only.
I can (happily) report a success. It ran all tests and skipped none (and these things were failing before).

How/when is the timeout cleared?

@juergba - when the task completes: https://github.com/mochajs/mocha/blob/603da4464f34b58fb7bc96707680976b0f76cbe3/lib/runnable.js#L330

Unfortunately there's more to be done here.  My guess is there's a problem with --no-exit / --exit behavior, as the builds seem to hang.

@boneskull - I ran in to the unit tests here hanging with --timeout 0 - as I mentioned in #3817. It may help you narrow down the issue... maybe. https://github.com/mochajs/mocha/blob/master/test/unit/mocha.spec.js#L281

what I'm seeing is a hang in the Runnable unit tests around some edge-case stuff

alright, think I fixed that problem.

Coverage decreased (-0.009%) to 91.62% when pulling 399f81323d68f35740858c96ccf7741e25b42c26 on boneskull/issue/3817 into a3089ad7215306bc7fb6db5043f404d6cfbb20bf on master.

I'm going to sit on this until I get at least one review

out of topic: when debugging with VSCode, the CL input looks like this:
node.exe --inspect-brk=19942 bin\_mocha D:/mocha3291/unref.js
This way the --inspect-brk is consumed directly by node and is not piped through Mocha first. Therefore timeout=0 has to be set manually while debugging in order to avoid a timeout error.

When I run
'use strict';

it('just kind of stops', function(done) {
  setTimeout(done, 10).unref();
});

it('just kind of stops', function(done) {
    setTimeout(done, 10).unref();
});

the output is:
√ just kind of stops
√ just kind of stops

2 passing (31ms)

while debugging the same code, the output contains additional duration information:
√ just kind of stops (9410ms)
√ just kind of stops (5798ms)
2 passing (15s)

This solution sets a timer for each individual test. Just as if user would call --timeout 999999 by himself or Mocha translates --timeout 0 into --timeout 999999 for convenience.
I would prefer a root timer, similar to the one proposed by @rolfl.
In "Mocha.prototype.run":
var runner = new exports.Runner(suite, options.delay);
  var setTimeout = global.setTimeout;
  if (suite._timeout === 0) {
    runner.rootTimer = setTimeout(function() {}, 999999);
  }

rootTimer has to be cleared on the EVENT_RUN_END event.
This works and "npm test" terminates successfully. Yes, there is this issue with the global timers.

I would prefer a root timer, similar to the one proposed by @rolfl.

I'd have to see this working to be convinced it's the right choice.

√ just kind of stops (9410ms)
√ just kind of stops (5798ms)
2 passing (15s)

This is "slow" output.  People using --timeout 0 or --timeout 99999999 don't usually bother setting --slow 0 or --slow<PHONE_NUMBER>9 anyway; this is how you'd suppress it.
I wouldn't be opposed to updating the default value of slow to be a function of the value of timeout (I've mentioned this before) but it doesn't belong in this PR.

This way the --inspect-brk is consumed directly by node and is not piped through Mocha first. Therefore timeout=0 has to be set manually while debugging in order to avoid a timeout error.

This is why the debuggers which, when creating a "Mocha" debug profile, use node bin/_mocha --inspect-brk --timeout <value>.
The documentation is technically correct, but it might be worth mentioning that this only applies when executing bin/mocha.  Please create an issue?

@boneskull - re:

I would prefer a root timer, similar to the one proposed by @rolfl.

I'd have to see this working to be convinced it's the right choice.

In all my testing with the solution I proposed (using an interval instead of a timeout to avoid the 24-day limit) it works really well except for in the base mocha.#run() test case, where it appears sinon is interfering with either the setInterval or the clearInterval. I can investigate further, but the basic logic is similar to the logic you propose, except I put it out her for the overall run, wheras your change above puts it there for the individual suites. I put a ref() interval on the event loop that prevents node exit... and clear it when the mocha.run completes (on end event or done(...) call.

@rolfl I can't see what you did, but you can't just use setTimeout or setInterval without dereferencing it, e.g. var setInterval = global.setInterval, because Sinon (or Unexpected, or any other test helper) could monkey with it.  you may have gotten an ESLint error if this was the case.

@juergba Would like to know if you are insistent on a "global" timer?

BTW just noted, there is a very old branch about that issue: https://github.com/mochajs/mocha/commit/ead35769eea3e4576b53e8fe7cfdfa441c505b1c

Released in<EMAIL_ADDRESS>We did it! 🚀
s/o @boneskull for setting up this change over five years ago.


Move file operations out of the :core

@bot-gradle test on linux without pts

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

Pull Request Feedback (Trigger)(Linux) (Check)


Grapher: Sparse datasets fade out

When looking at a sparse dataset (see e.g. dataset/Jim/AliceBobRes/Cooldown151230/160103/00003/), the data points have different intensities, so for some rows the data is bright while for others it is almost impossible to see. With the old Delphi grapher, each datum had the same intensity. Note this is a problem with both version 1.0.0-M3 (on trench) and with the version on matrix-reloaded.

@jwenner, please take a look now. I've added different drawing modes for 2D plots. It'll do dots and "rectfill", like the delphi grapher, as well as the new "vargrid" mode, which doesn't work for the data set you referenced, but works nicely as long all data points are drawn from a fixed set of x or y values.

The different modes definitely helps, so thanks! However, even rectfill can give data which is faded out (see e.g. dataset/Jim/AliceBobRes/Cooldown151230/160208/00019/). So, I guess it's a case where you pick which one is better for a particular dataset.

@jwenner, that latter dataset renders nicely in vargrid mode, so it really depends on how you take the data.

Agreed. I'd say this can be closed once this fix is merged into master.

once this fix is merged into master.

That may be a while, but we'll get to it :-)

@maffoo, is the version on matrix-reloaded on master branch? If so, as this is fixed on matrix-reloaded, I'd say that this issue can be closed. Thanks.

@jwenner, yes, matrix-reloaded is now running 1.0.1 from master. I verified that the different 2D plotting modes work on the datasets you cited. Closing.


[1.6.6] Breaks chart marker drag and hiding of persistent markers

Starting from com.patrykandpatrick.vico:compose-m3:1.6.6 you can no longer drag the marker when chartScrollSpec = rememberChartScrollSpec(isScrollEnabled = false) . Also persistent markers cannot be hidden by tapping again on the marker.

In version 1.6.5 I used to be able to hold and drag the marker on the line chart which was in one of the pages of HorizontalPager. Now it seems that the drag gets consumed by the pager instead of the chart.

Also hiding marker when tapping again seems to be also broken. I used to save the shown marker like this:
var persistentMarkers by remember { mutableStateOf(emptyMap<Float, Marker>()) }

 markerVisibilityChangeListener = object : MarkerVisibilityChangeListener {
                override fun onMarkerMoved(
                    marker: Marker,
                    markerEntryModels: List<Marker.EntryModel>
                ) {
                    persistentMarkers = mapOf(markerEntryModels.first().entry.x to marker)
                }

                override fun onMarkerShown(
                    marker: Marker,
                    markerEntryModels: List<Marker.EntryModel>
                ) {
                    val markerXValue = markerEntryModels.first().entry.x

                    persistentMarkers =
                        if (persistentMarkers.containsKey(markerXValue)) emptyMap() else
                            mapOf(markerXValue to marker)
                }
            }

lineChart(
...
persistentMarkers = persistentMarkers,
...

It worked perfectly on 1.6.5. You could tap again on the marker and it would hide it and also worked with dragged gesture to change the marker position on drag. I think the previous version had more natural implementation of the gestures. Hope it will be marked as a bug and not a feature and fixed in later updates! Cheers.

Hello @mak1nt0sh, thank you for your bug report. We were able to reproduce the bug with persistent markers and resolve it.
Regarding drag gestures, in version 1.6.6 we’ve updated Modifiers related to touch gestures which resolved #241 and #246. Unfortunately, the feature you’ve mentioned has been broken in result due to the way Modifier.scrollable works. Since we don’t want to rewrite the Modifier, as it is a massive piece of code, and we won’t be fixing it now.

Forking is the only way to go for now.

Hello! Vico 1.8.0 improves how gestures are handled. Charts should now behave better in pagers. There is, however, an issue where, when you swipe to switch pages, a marker appears and moves as if a drag gesture were occurring relative to the chart. We’ll continue to work on this.


new good Baseline test

https://github.com/graalvm/graaljs/issues/360

we should run that with our stealify/typescript test as both use the JS AST Utils and FS both will evolve similar.


Can't generate paperkey non-interactively

$  yes | keybase paperkey
Generating a new paper key.
Also revoke existing paper key "kiss badge..." ? [y/N]

And it stucks, there is no parameter to specify the option.
$  keybase --version
keybase version 4.4.1-20190909184517+b5f8897c2a

Do keybase log send. Was there maybe a pinentry window you didn't see?
CC @pzduniak who can ask follow-on questions

Hey, I've created a ticket for this feature, we're working on better bot automation so this will be handled really soon.


Fix build for #7

PR builds are failing. This is an attempt to make them work again.
Extracted from #8

The builds will keep failing until we have Jenkins file changes in master, so this is useless


Make SASS changes hot reloadable

Right now hot reloading is not working with SASS. HMR detects changes but says the app is up to date,

#19


high and low SWE gifs

Make a component that shows the relationships between snow/swe and discharge through a water year

[ ] use gridded SWE and/or runoff data from upper colorado study area
[ ] make raster gifs for high and low snow years of SWE and runoff, 2011and 2012
[ ] draw hydrographs for gages within  the region
[ ] experiment with combinations of raster vs hydrograph variables to curate animation

Ultimately we opted for a different angle in this section because two simultaneous animated gifs are hard to visually digest.


Cherry-pick animation fixes for 4.2

Cherry-pick some animation fixes:

https://github.com/godotengine/godot/pull/92636
https://github.com/godotengine/godot/pull/90960
https://github.com/godotengine/godot/pull/91242
https://github.com/godotengine/godot/pull/91495

Closes https://github.com/godotengine/godot/issues/93924

Thanks!


ERROR: Cannot copy param 0 weights from layer 'fc6'; shape mismatch

I am trying to train a segmentation model from semantic-segmentation example on DIGITS. Training a Custom Network with the prototxt  and FCN_Alexnet returns the following error:
ERROR: Cannot copy param 0 weights from layer 'fc6'; shape mismatch. Source param shape is 1 1 4096 9216 (37748736); target param shape is 4096 256 6 6 (37748736). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
norm1 needs backward computation.
pool1 needs backward computation.
relu1 needs backward computation.
conv1 needs backward computation.
shift does not need backward computation.
label_label_0_split does not need backward computation.
label does not need backward computation.
data_data_0_split does not need backward computation.
data does not need backward computation.
This network produces output accuracy
This network produces output loss
Network initialization done.
Solver scaffolding done.
Finetuning from /home/xhuv/DIGITS-5.0.0/fcn_alexnet.caffemodel
Attempting to upgrade input file specified using deprecated transformation parameters: /home/xhuv/DIGITS-5.0.0/fcn_alexnet.caffemodel
Successfully upgraded file specified using deprecated data transformation parameters.
Note that future Caffe releases will only support transform_param messages for transformation fields.
Attempting to upgrade input file specified using deprecated V1LayerParameter: /home/xhuv/DIGITS-5.0.0/fcn_alexnet.caffemodel
Successfully upgraded file specified using deprecated V1LayerParameter
Cannot copy param 0 weights from layer 'fc6'; shape mismatch.  Source param shape is 1 1 4096 9216 (37748736); target param shape is 4096 256 6 6 (37748736). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.

Should I change the prototxt with modifications on the layers?

You'll want to change the name of the layer. I'm not sure we've documented this anywhere (it's really a Caffe thing, not a DIGITS thing), but I answered a similar SO post here: http://stackoverflow.com/a/39837047/2404152.

Thanks. Renaming the layer works good !

您好，你是怎么重命名图层的谢谢


init: support target directory argument

I started using devenv and intuitively used devenv init myproject, thinking it would create a new directory. It creates the files in my current directory.
This PR should add such support:
$ devenv init myproject
$ cd myproject

I have not done full argument parsing/validation, as I wasn't sure you wanted to bother with that yet.

Nice! line 174 should also list the new optional TARGET parameter :)


When do you plan to provide the .NET SDK？

Please。

We have no plan to provide .NET SDK client.
In the case TuGraph has rest API, it's easy to implement a simple client of any language.

此Issue已保持5个月不活跃状态，先关闭，如有问题可以再次开启。


training errors

I get the following errors when i try to run the training script:
/usr/local/lib/python3.9/site-packages/torch/distributed/launch.py:183: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use-env is set by default in torchrun.
If your script expects --local-rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
[2024-03-27 23:53:06,101] torch.distributed.run: [WARNING]
[2024-03-27 23:53:06,101] torch.distributed.run: [WARNING] *****************************************
[2024-03-27 23:53:06,101] torch.distributed.run: [WARNING] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
[2024-03-27 23:53:06,101] torch.distributed.run: [WARNING] *****************************************
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}] [--auto_resume] [--debug]
[--local_rank LOCAL_RANK] [--force_yml FORCE_YML [FORCE_YML ...]]
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}] [--auto_resume] [--debug]
[--local_rank LOCAL_RANK] [--force_yml FORCE_YML [FORCE_YML ...]]
train.py: error: unrecognized arguments: --local-rank=2
train.py: error: unrecognized arguments: --local-rank=0
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}] [--auto_resume] [--debug]
[--local_rank LOCAL_RANK] [--force_yml FORCE_YML [FORCE_YML ...]]
train.py: error: unrecognized arguments: --local-rank=3
usage: train.py [-h] -opt OPT [--launcher {none,pytorch,slurm}] [--auto_resume] [--debug]
[--local_rank LOCAL_RANK] [--force_yml FORCE_YML [FORCE_YML ...]]
train.py: error: unrecognized arguments: --local-rank=1
[2024-03-27 23:53:31,246] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 2) local_rank: 0 (pid: 56905) of binary: /usr/local/bin/python3
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/site-packages/torch/distributed/launch.py", line 198, in
main()
File "/usr/local/lib/python3.9/site-packages/torch/distributed/launch.py", line 194, in main
launch(args)
File "/usr/local/lib/python3.9/site-packages/torch/distributed/launch.py", line 179, in launch
run(args)
File "/usr/local/lib/python3.9/site-packages/torch/distributed/run.py", line 803, in run
elastic_launch(
File "/usr/local/lib/python3.9/site-packages/torch/distributed/launcher/api.py", line 135, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.9/site-packages/torch/distributed/launcher/api.py", line 268, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
basicsr/train.py FAILED
Failures:
[1]:
time      : 2024-03-27_23:53:31
host      : 7b4bdae11b42
rank      : 1 (local_rank: 1)
exitcode  : 2 (pid: 56906)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
time      : 2024-03-27_23:53:31
host      : 7b4bdae11b42
rank      : 2 (local_rank: 2)
exitcode  : 2 (pid: 56907)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
time      : 2024-03-27_23:53:31
host      : 7b4bdae11b42
rank      : 3 (local_rank: 3)
exitcode  : 2 (pid: 56908)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Root Cause (first observed failure):
[0]:
time      : 2024-03-27_23:53:31
host      : 7b4bdae11b42
rank      : 0 (local_rank: 0)
exitcode  : 2 (pid: 56905)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

It appears that the issue was due to the local-rank parameter not being correctly parsed, which has been fixed in commit https://github.com/piddnad/DDColor/commit/74293b6bf1ad34537fe068178d08a7757729fe74. Will close this issue.


Updated conditions not met CA mailer

Context
Updated the conditions not met mailer to make sense for CA.
Changes proposed in this pull request
Update content to make sense for continuous applications
Link to Trello card
http://trello.com/123-example-card -->](https://trello.com/c/wtCKaqfI/478-edit-content-on-email-about-conditions-of-an-offer)
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault

 Edit content on email about conditions of an offer


custom training logic in subclassing model not saved

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): Google Colab (Windows/Linux as well)
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): TensorFlow 2.2.0RC2
Python version: 3.7

Describe the current behavior
Hi all,
I'm using the 2.2 new feature: custom training logic with Model.fit by overriding Model.train_step. It's working well so far. I have the following issue (maybe it's not a feature, you'll tell me):
When I save my model (Model.save) with the custom training logic and then I want to load it, the custom training loop is not saved and when I apply a Model.fit for my loaded model, it comes back to the default one.
Describe the expected behavior
I'd expect to save as well the model.train_step (and also test_step and predict_step).
Standalone code to reproduce the issue
Gist
Others
Can we expect in the future that the whole class will be saved? (Even variables declared in the __init__ for instance).
Thank you in advance :-)

@quetil
I have executed the code shared by you and get different error please refer to this gist.
with respect to the error faced there is a similar resolved issue please refer to this comment  and let us know if it helps.
#27949 link1 link2

Hi @Saduf2019, thanks for the quick reply.
Please refer to this new gist. I used the last tf-nigthly. The train_step is not saved and once loaded, it's using the default train_step.
Thanks

i have replicated the issue reported as per gist shared above, please find the gist here

please find the gist here

Any news about such feature?
Planned in TF 2.4 ? :-)

Currently we do not plan to add this, if you want to retain the train_step function, decorate it with @tf.function(input_signature=...)

@k-w-w Decorating with @tf.function(input_signature=...) presents its own problems:
import tensorflow as tf
from tensorflow.keras import layers
from tensorflow.python.eager import backprop

class TestModel(tf.keras.models.Model):

    def __init__(self):
        super().__init__()
        self.x = layers.Input((10,))
        self.output_ = layers.Dense(1)

    def call(self, inputs):
        return self.output_(inputs)

    @tf.function(
        input_signature=[(tf.TensorSpec(shape=(None, 10), dtype=tf.float32),
                          tf.TensorSpec(shape=(None, 1), dtype=tf.int64))])
    def train_step(self, data):
        tf.print('Flag')
        x, y = data
        with backprop.GradientTape() as tape:
            y_pred = self(x, training=True)
            loss = self.compiled_loss(
                y, y_pred, regularization_losses=self.losses)
        self.optimizer.minimize(loss, self.trainable_variables, tape=tape)
        self.compiled_metrics.update_state(y, y_pred)
        return {m.name: m.result() for m in self.metrics}

    def get_config(self):
        config = super().get_config()
        config.update({'train_step': self.train_step})
        return config

original_model = TestModel()
original_model.compile(loss='mse', optimizer='sgd')

for i in range(3):
    original_model.train_on_batch(np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (original model)')

save_path = 'tmp'
original_model.save(save_path)

loaded_model = tf.keras.models.load_model(save_path)

for i in range(3):
    loaded_model.train_on_batch(np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (loaded model)')```

Gives:

```import numpy as np
import tensorflow as tf
from tensorflow.keras import layers
from tensorflow.python.eager import backprop

class TestModel(tf.keras.models.Model):

    def __init__(self):
        super().__init__()
        self.x = layers.Input((10,))
        self.output_ = layers.Dense(1)

    def call(self, inputs):
        return self.output_(inputs)

    @tf.function(
        input_signature=[(tf.TensorSpec(shape=(None, 10), dtype=tf.float32),
                          tf.TensorSpec(shape=(None, 1), dtype=tf.int64))])
    def train_step(self, data):
        tf.print('Flag')
        x, y = data
        with backprop.GradientTape() as tape:
            y_pred = self(x, training=True)
            loss = self.compiled_loss(
                y, y_pred, regularization_losses=self.losses)
        self.optimizer.minimize(loss, self.trainable_variables, tape=tape)
        self.compiled_metrics.update_state(y, y_pred)
        return {m.name: m.result() for m in self.metrics}

    def get_config(self):
        config = super().get_config()
        config.update({'train_step': self.train_step})
        return config

original_model = TestModel()
original_model.compile(loss='mse', optimizer='sgd')

for i in range(3):
    original_model.train_on_batch(np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (original model)')

save_path = 'tmp'
original_model.save(save_path)

loaded_model = tf.keras.models.load_model(save_path)

for i in range(3):
    loaded_model.train_on_batch(np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (loaded model)')```

If you take out the second part of the signature:

``` @tf.function(
        input_signature=[(tf.TensorSpec(shape=(None, 10), dtype=tf.float32),
                          tf.TensorSpec(shape=(None, 1), dtype=tf.int64))])```

to

``` @tf.function(
        input_signature=[tf.TensorSpec(shape=(None, 10), dtype=tf.float32),
                         tf.TensorSpec(shape=(None, 1), dtype=tf.int64)])```

(get rid of a pair of parenthesis), we get:

TypeError: tf__train_step() takes 2 positional arguments but 3 were given

If we only pass the shape of the inputs (x) values:

@tf.function(
input_signature=[
tf.TensorSpec(shape=(None, 10), dtype=tf.float32)])

we get

TypeError: tf__train_step() missing 1 required positional argument: 'data'

And if we do not decorate, ```train_step``` is not serialised and so loaded models revert to the ```train_step``` of the base class.

There is not a lot of documentation on how to modify train_step such that it can be serialised. Am I getting the wrong end of the stick here?

I can now successfully run and save a model with a @tf.function(input_signature=...) decoration, but the model either doesn't serialise the custom train_step or doesn't load it properly:
import numpy as np
import tensorflow as tf
from tensorflow.keras import layers
from tensorflow.python.eager import backprop

class TestModel(tf.keras.models.Model):

    def __init__(self):
        super().__init__()
        self.x = layers.Input((10,))
        self.output_ = layers.Dense(1)

    def call(self, inputs):
        return self.output_(inputs)

    @tf.function(input_signature=[tuple(((
            [tf.TensorSpec((None, 10), tf.float32),
             tf.TensorSpec((None,), tf.int64)])))])
    def train_step(self, data):
        tf.print('Flag')
        x, y = data
        with backprop.GradientTape() as tape:
            y_pred = self(x, training=True)
            loss = self.compiled_loss(
                y, y_pred, regularization_losses=self.losses)
        self.optimizer.minimize(loss, self.trainable_variables, tape=tape)
        self.compiled_metrics.update_state(y, y_pred)
        return {m.name: m.result() for m in self.metrics}

    def get_config(self):
        config = super().get_config()
        config.update({'train_step': tf.function(self.train_step)})
        return config

tf.keras.models.Model.conf
original_model = TestModel()
original_model.compile(loss='mse', optimizer='sgd')

for i in range(3):
    original_model.train_on_batch(
        np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (original model)')

save_path = 'tmp'
original_model.save(save_path)

loaded_model = tf.keras.models.load_model(save_path, compile=False)
loaded_model.compile(loss='mse', optimizer='sgd')

for i in range(3):
    loaded_model.train_on_batch(np.random.rand(6, 10), np.arange(6))
    print('Completed train loop (loaded model)')

This gives:
Completed train loop (original model)
Flag
Completed train loop (original model)
Flag
Completed train loop (original model)
<(LOADING INFORMATION)>
Completed train loop (loaded model)
Completed train loop (loaded model)
Completed train loop (loaded model)

How can we properly serialise vital methods like this?

Hi @jscant
I'm having the same problem but with a model with two inputs and one output only on the test_step. How would you rephrase the above input_signature? Should something like this work?
input_signature=[tuple((([(tf.TensorSpec((None, 224, 224, 3), tf.float32), tf.TensorSpec((None, 224, 224, 3), tf.float32)), tf.TensorSpec((None,), tf.int64)])))])
Thanks

May I reopen this issue to ask the following question:
Does the new feature inside TF2.4 (the tf.keras.Model.save(..., save_traces=True), with the save_trace=True argument), can be used to save the custom training logic (modifying the train_step() function and train the model with a model.fit, see initial post) ? If yes, how ?
Thank you in advance,

May I reopen this issue to ask the following question:
Does the new feature inside TF2.4 (the tf.keras.Model.save(..., save_traces=True), with the save_trace=True argument), can be used to save the custom training logic (modifying the train_step() function and train the model with a model.fit, see initial post) ? If yes, how ?
Thank you in advance,


Extended OpenSSL Metrics Parser

Extended the Metrics Parser to fix invalid results format for the Scenarios "OpenSsl_ecdhx448, OpenSsl_ecdhp256, OpenSsl_ecdhx25519". And added a unit test with example.

@microsoft-github-policy-service agree company="Microsoft"

From: microsoft-github-policy-service[bot] @.>
Sent: Sunday, January 7, 2024 7:50 PM
To: microsoft/VirtualClient @.>
Cc: Rakeshwar Reddy Kambaiahgari (BIBLIOSO CORPORATION) @.>; Mention @.>
Subject: Re: [microsoft/VirtualClient] Extended OpenSSL Metrics Parser (PR #240)
@RakeshwarKhttps://github.com/RakeshwarK please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org/).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/VirtualClient/pull/240#issuecomment-1880349427, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEPLQ6HAHUZP4CDUSGUQQQLYNNUJ3AVCNFSM6AAAAABBLWBRL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGM2DSNBSG4.
You are receiving this because you were mentioned.Message ID: @.***>


Various examples are incorrectly using GREEN

Bevy version
main, after #12163
What went wrong
So we've got a few different greens now.
pub const GREEN: LegacyColor = LegacyColor::rgb(0.0, 1.0, 0.0);
// palettes::basic
pub const GREEN: Srgba = Srgba::new(0.0, 0.5, 0.0, 1.0);
// palettes::css (but `basic` is rexported here, so I don't know which we get)
pub const GREEN: Srgba = Srgba::new(0.0, 0.502, 0.0, 1.0);
// LinearRgba
pub const GREEN: Self = Self {
    red: 0.0,
    green: 1.0,
    blue: 0.0,
    alpha: 1.0,
};

And this is causing some problems in various examples that previously used the full-green LegacyColor::GREEN.
The most obvious to me is bounding_2d example where the ray intersection is drawn in green, which is much harder to see now.
We should:

look at our usages of GREEN throughout examples and see if those should be LIME.
double check that the basic example is actually a subset of css and that more colors aren't different.

Note: LIME is "full green" according to the css specs, and LIMEGREEN is a separate color that is inbetween LIME and GREEN.
Examples don't need to be identical to how they looked previous to the big migration, but if a very bright green was intended and now it is very dark we may want to fix that.
https://thebevyflock.github.io/bevy-example-runner/ will be handy for tracking these down.

The duplicated re-export vs definition is a bug, and should just be fixed.
And yeah, I care a lot more about functional results than consistency with a previously arbitrary color.


Nopatch CVE-2016-4607, CVE-2016-4609

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Nopatch CVEs mentioned in the title. Both of them have been fixed in version 1.1.29-rc1. The current version is 1.1.34.
Change Log

Nopatch CVE-2016-4607
Nopatch CVE-2016-4609

Does this affect the toolchain?

YES
Associated issues

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2016-4607
https://nvd.nist.gov/vuln/detail/CVE-2016-4609

Test Methodology

Local make input-srpms SPEC format verification.

Abandoning the PR - we will fix data/parser instead.


add redis v5 extension ?

Feature Request
Hi,
Amazing job, it works like a charm !
I would like to know if you can add the official extension redis v5 on a future release (https://blog.remirepo.net/pages/PECL-extensions-RPM-status) ?
This is the last technical point that I would like to check with a remote redis server for caching php raw data.
Thanks a lot.
Nick

Hi @thedeadofblackfire. Yum, I will add redis extension, no problemo.
http://pecl.php.net/package/redis
Will let you know, gimme this week pls. :-)

Great. The latest 5.2.1 should be perfect. Thanks a lot !

Added. Take a look https://now-php-mhlhxw910.now.sh/
Just re-deploy your lambdas.
now -c -f


Installation of 6.18.0 debian package using chef on Ubuntu 16.04 fails

Output of the info page (if this is a bug)
Loading SELinux policy module for system-probe.
dpkg: error processing package datadog-agent (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 datadog-agent
STDERR: W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
---- End output of apt-get -q -y --force-yes install datadog-agent=1:6.18.0-1 ----
Ran apt-get -q -y --force-yes install datadog-agent=1:6.18.0-1 returned 100
[2020-03-16T20:40:54+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Describe what happened:
Describe what you expected:
Steps to reproduce the issue:
Additional environment details (Operating System, Cloud provider, etc):
Ubuntu 16.04 on AWS.

Upgrade from 6.17.1 also fails:
Enabling service datadog-agent
Created symlink from /etc/systemd/system/multi-user.target.wants/datadog-agent.service to /lib/systemd/system/datadog-agent.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/datadog-agent-process.service to /lib/systemd/system/datadog-agent-process.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/datadog-agent-trace.service to /lib/systemd/system/datadog-agent-trace.service.
Loading SELinux policy module for system-probe.
dpkg: error processing package datadog-agent (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 datadog-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)

Post install fails.
when I try to do it locally:
semodule -v -i /etc/datadog-agent/selinux/system_probe_policy.pp
Attempting to install module '/etc/datadog-agent/selinux/system_probe_policy.pp':
Ok: return value of 0.
Committing changes:
libsepol.print_missing_requirements: system_probe_policy's global requirements were not met: type/attribute base_ro_file_type (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!

cc @smo921

Fails on this line: https://github.com/DataDog/datadog-agent/blob/6.18.0/omnibus/package-scripts/agent/postinst#L97

Hey @uthark,
Thanks for reporting this issue! I can reproduce the issue and it seems that the SELinux policy we introduced in 6.18.0/7.18.0 is trying to use a type that isn't provided by Ubuntu 16.04 by default.
We will start working on a bugfix on this right now.
In the meantime you can pin the Agent to the previous minor version 7.17.1.

@KSerrania yes, this is what we decided to do.

Hi @uthark,
Versions 6.18.1 and 7.18.1 of the Agent are out since last week, and should resolve your issue. I have been able to install 7.18.1 without any issue on an Ubuntu 16.04 host with SELinux enabled.
Could you please confirm that the new version fixes the issue in your environment?


Add a constant for Cookie "undefined maxAge"

Motivation:
DefaultCookie currently used an undocumented magic value for undefined
maxAge.
Clients need to be able to identify such value so they can implement a
proper CookieJar.
Ideally, we should add a Cookie::isMaxAgeDefined method but I guess
we can’t add a new method without breaking API :(
Modifications:
Add a new constant on Cookie interface so clients can use it to
compare with value return by Cookie.maxAge and decide if maxAge was
actually defined.
Result:
Clients have a better documented way to check if the maxAge attribute
was defined.

LGTM... @Scottmitch WDYT ?

this would be another great case for default methods ... JDK8 some day ...
The current behavior is not strictly defined in code but it is documented as part of the interface [1]. So technically to be compliant with this interface the MIN_VALUE concept should be honored. So if we do feel it is necessary to have another define for this we should also update the API javadocs ... which is logically the same interface so I think that is fine (@normanmaurer ?)
[1] https://github.com/netty/netty/blob/4.1/codec-http/src/main/java/io/netty/handler/codec/http/cookie/Cookie.java#L90

we should also update the API javadocs

I missed this one, thanks! I can update.

this would be another great case for default methods ... JDK8 some day ...

👍 At some point, "some day" will have to be defined...

@slandelle @Scottmitch yes sounds fine... Please make the changes.

@normanmaurer @Scottmitch Javadoc updated

That javadocs on setMaxAge also need to be updated

@Scottmitch Fixed

Cherry-picked into 4.1 (9d45f514a47ee8ad5259ee782fcca240017fc3a3) and 4.0 (c01ceb0e75fa5cb22350bea825e038e3bc301830)

@slandelle thx <3

Thanks :)


Feature: Better non-global item filtering

What are you trying to achieve?
We need to be able to identify non-global items but exclude them from the results. They must appear in the result table as an error (or rather something visually different).
Describe the solution you'd like
Instead of ignoring the items completely, we may enable:

Jewels
Malachai's Vision
Blood of Corruption

What have you tried already?
Additional info
This might decrease accuracy on existing items. For this reason, there should be some logic to prefer non-global drops.

Cameria's Avarice and Cameria's Maul are two good examples of why this is problematic, they have the exact same image, so they'll have the same min_val.


Create environments for local, dev, and staging

As a developer, I will want to ensure that we use different environments for local, development and staging.
Describe the solution you'd like
Create different environments for local, development and staging.
Include link(s) to relevant tutorial(s)
NestJS documentation
Tutorial on Dev.to
Story Points
4-6

This issue is outdated since we've moved to our new user story format.


modal does no translation if size set to lg or sm

Click the sample buttons on:
https://angular-ui.github.io/bootstrap/#/modal
You will see that the modal translates from the top, if you click the button "Open me!". This doesn't work, if the size is set to sm or lg. Just try clicking the buttons "Large modal" and "Small modal".
I've found out that something in line 5 of file template/modal/window.html causes this behavior:

If you change it to:

it works.
Sorry for my bad english and probably my poor understanding of angular.
Best regards!
Jo

That is interesting...what might be happening is that ng-class is evaluated at the wrong time.
Need to investigate further, but thanks for finding something that works!

I did a simple investigation - the suggested change adds an undesirable flicker, as can be seen here. This is not a good solution to this problem.

Going to close as a duplicate of #4263


This is just a question, NOT BUG. About automatic import

When I used POD to introduce this library, I found that I only need to be introduced in a file once, you can use it in the whole project. So I am very curious how to achieve this effect. Can you guide how to configure it, please?

Closing because this does not follow the issue template. Even for questions this is useful because of integration methods etc…

😭😭😭

😭😭😭


UsdviewTri: Example usdview plugin

Added an example usdview plugin for defining child triangles under selected paths
in the outliner.
To support this effort, a refactor pass was done on cmake/USDPluginTools.cmake
to separate the building of the individual "components" (c++ library, python module
and resource files installation) into internal procedures.  Another
advantage of this refactor is that the "usd_plugin" (previously a macro)
no longer exposes PUBLIC_HEADERS and other arguments which do not really
make sense when building a plugin.
A new "usd_plugin_library" CMake function has been exposed to support
installation of a python-and-resource-files library, which is what the
UsdviewTri plugin uses.
Signed-off-by: rlei-weta<EMAIL_ADDRESS>

@kthurston - keen to get your thoughts.
I was reluctant to expose a new CMake entry point, but felt that the existing usd_shared_library and usd_plugin did not really fit the deployment of pure-python-based usdview plugins.


Development: Update client dependencies

Codecov Report

Merging #6622 (08925e4) into develop (3a884d3) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #6622   +/-   ##
==========================================
  Coverage      80.30%   80.31%
  Complexity     13345    13345
==========================================
  Files           2370     2370
  Lines          90800    90791    -9
  Branches       12807    12809    +2
==========================================
- Hits           72917    72916    -1
+ Misses          9806     9801    -5
+ Partials        8077     8074    -3

Impacted Files
Coverage Δ

src/main/webapp/app/shared/util/utils.ts
74.50% <ø> (+10.57%)
:arrow_up:

... and 9 files with indirect coverage changes

Flag
Coverage Δ

client
76.13% <ø> (+0.01%)
:arrow_up:

server
84.97% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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


Support string 'rgba' values in signature of scaleLinear().range()

The signature of d3.scaleLinear().range does not accept string arrays as arguments, resulting in compile-time errors.
Observed behavior
The code:
const color = d3.scaleLinear()
  .domain([0, d3.max(bins, d => d.length)])
  .range(['rgba(255,255,255,0.5)', 'rgba(255,255,255,1.0)']);

...results in the following compile-time TypeScript error:
error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'readonly number[]'.

Type 'string' is not assignable to type 'number'.

Expected behavior
No compile-time error, given that rgba strings are supported by the function.

It looks like you want to file an issue with D3’s TypeScript bindings, which I don’t maintain. Maybe you meant to file this in the DefinitelyTyped repo? Works for me…
https://observablehq.com/d/cab0fd1ade184637


Interactive Tutorial

Explain the functionality of the plugin with "Got it" tooltips.
https://jetbrains.design/intellij/controls/got_it_tooltip/

Added interactive tutorials explaining the status bar and the ddev terminal. They will popup on first uage and refer to the feature documentation for more detail.


ReactJS.NET Core 3.0 with Newtonsoft.Json (8.0.3)

Hi
I have a problem using reactjs.net. One of the nuget packages that I use need to work with Newtonsoft.Json (< 9.0.0) and ReactJS.NET Core 3.0  needs Newtonsoft.Json (>= 9.0.1) which is the latest version. Isn't it possible to work with Newtonsoft.Json (8.0.3) ?

Can you use an assembly binding redirect to work around your issue?
http://blog.rytmis.net/2016/03/29/asp-net-core-and-assembly-binding-redirects/

Yeah an assembly binding should help here, as @dustinsoftware pointed out. Otherwise, get the developer of the other NuGet package to upgrade their Newtonsoft.Json reference. I think older versions of Newtonsoft.Json don't support ASP.NET Core properly.

Thanks :)


TiffStyle decoder panics on some malformed input

Input as base64: H0A6AAAARAAARABgVA==
With cargo fuzz setup:
#![no_main]
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    let ref mut output = vec![];
    let _ = salzweg::decoder::TiffStyleDecoder::decode(data, output);
});

thread '<unnamed>' panicked at 'attempt to subtract with overflow', /salzweg/lzw/src/decoder.rs:257:25

Oh, I'll take a look tomorrow!

Good find, I added a check to prevent the decoding stack from, well, dying when the word we decode is simply wrong. Returns an error instead of panickin.


runtime/trace: TestTraceFutileWakeup failure with "no consistent ordering of events possible"

--- FAIL: TestTraceFutileWakeup (0.07s)
    trace_test.go:146: failed to parse trace: no consistent ordering of events possible
FAIL
FAIL	runtime/trace	4.859s

greplogs --dashboard -md -l -e 'FAIL: TestTraceFutileWakeup'
2022-02-16T16:06:39-f985833/dragonfly-amd64
(CC @mknyszek @prattmic @dvyukov per dev.golang.org/owners.)
This may be just another instance of #29707, but in https://github.com/golang/go/issues/29707#issuecomment-882541606 @aclements suggesting that the failure mode reported there may be specific to C threads calling into Go, which doesn't seem to be the case here.

This is a case where we really need extra files from builders (like #49165).
We could potentially debug this given the malformed trace file. As-is there is basically nothing to work with.

Is it feasible to have the test dump a serialized trace file to stderr, or would that be too large?

I've considered that with core dumps. :) But those are definitely too big for the max builder output (2MB IIRC).
I'd have to double-check these, but given the relatively high iteration count in this test, I wouldn't be surprised if it was too big.

Oh nice, the trace is small enough to dump as a string. I'll send a CL for that.

89KB raw trace
129KB base64 encoded
64KB raw trace gzipped
86KB gzipped trace base64 encoded


Migrate to AndroidX

As of right now there are problems with working with this library with AndroidX. I suggest migrating to AndroidX namespace.

Thank you for your reporting.
I'm planning to v2.0 version for AndroidX

Please, just support the AndroidX without new features... for now.
It should take 30 mins.

It's working fine in my app after migrating to AndroidX although android studio shows me warning about wrong arguments.for example:
'setOnPageChangeListener(android.support.v4.view.ViewPager.OnPageChangeListener)' in 'com.ogaclejapan.smarttablayout.SmartTabLayout' cannot be applied to '(androidx.viewpager.widget.ViewPager.OnPageChangeListener)'

SmartTabLayout migrated to androidx. Sorry for replying so late 🙏


Please update components from this package

Hi Thomas, the used components had released new versions.
Can you upgrade your repo?
thank you.

Hi, what are the update components ?

As a quick check: piaware and dump1090 are on 7.2, Adsb Exchange had some newer commits.

For adsbexchange i'll let Thom-x probably know if it needs updating, usually it's not important.


Model predicts fewer purchases in holdout for higher purchases in calibration?

Trying to figure out what I'm seeing with my data. Here's a quick snippet of my code
summary = lifetimes.utils.summary_data_from_transaction_data(df, 'user_id', 'transaction_date', observation_period_end='2018-12-31')
summary_cal_holdout = calibration_and_holdout_data(summary, 'user_id', 'transaction_date',
                                        calibration_period_end='2018-09-30',
                                        observation_period_end='2018-12-31' )

bgf.fit(summary_cal_holdout['frequency_cal'], summary_cal_holdout['recency_cal'], summary_cal_holdout['T_cal'])
plot_calibration_purchases_vs_holdout_purchases(bgf, summary_cal_holdout)

Everything runs fine, but my model is predicting fewer holdout purchases for users with 1 purchase in the calibration period versus 0 purchases in the calibration period.

Am I doing something wrong or can someone help me figure out what to make of this?

The 0 and 1 purchase customer groups represent the vast majority of the users. So, if you make a mistake there, you probably don't have a good model.
Try plotting the other graphs available in the plotting module. The cumulative and incremental plots should be very enlightening.
Another thing you can try if the fit is not good is to vary your model's penalizer coefficient. This usually helps a lot.