Depending on Microsoft.AspNetCore.Authentication 1.1.0 causes a failure to resolve System.Net.Http when targeting the full framework.

Depending on Microsoft.AspNetCore.Authentication 1.1.0 causes a failure to resolve System.Net.Http when targeting the full framework.
Minimal repro steps
I have attached a project that reproduces the issue.
SystemNetHttpClientIssue.zip

Create a NetCore library project and NetCore console project targeting net46
In the Library project depend on NetStandard.Library 1.6.1
In the Library project make use of System.Net.Http
In the console app, reference Microsoft.AspNetCore.Authentication 1.1.0
In the console app reference and use the library project.

Expected result
The application should use System.Net.Http == 4.3.0 as defined in NetStandard 1.6.1 which correctly works on both the core and full framework.
Actual result
The application doesn't copy any System.Net.Http dll into the output folder.
The application will crash with FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Further technical details
I believe this issue is related to a problem in the 4.1.0 version of the System.Net.Http package.
https://github.com/dotnet/corefx/issues/9884
https://github.com/dotnet/corefx/issues/9846
With the release of Asp.NET Core 1.1 the issue is fixed across all the packages I'm using except for this one. I believe it's related to this entry in your project.json file.
    "net451": {
      "frameworkAssemblies": {
        "System.Net.Http": ""
      }

Building a custom version of Microsoft.AspNetCore.Authentication without the dependency on "System.Net.Http" from the framework does fix the issue for me.

I'm having this issue on a aspnetcore 1.1 app in VisualStudioCode (on my mac) targeting dotnet 5.6 and portable-net45+win8.  Just upgraded this app from aspnetcore 1.0, where the reference to System.Net.Http worked fine.
"frameworks": {
    "netcoreapp1.1": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "version": "1.1.0",
          "type": "platform"
        }
      },
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },

It sounds like you have some kind of work-around, but I'm not sure I understand it.  Can you elaborate?

@anurse, @muratg will come talk to you about this.

This appears to be a packaging issue with our Authentication package. I've updated @muratg and @pranavkm with some information on it, and we'll investigate how best to fix this issue. Unfortunately I haven't been able to find a good workaround, short of downgrading back to net451 which should not exhibit this issue.

Yes, I was able to work around this in the given repro app by downgrading the Lib project from net46 to net452.

@anurse Might this also be the underlying cause for https://github.com/aspnet/JavaScriptServices/issues/487? Please let me know if this is likely to be fixed in 1.1.1.

It certainly could be related. I don't know exactly what the plan is for fixing the issue in 1.1.1, since I've been OOF for a week, but in theory there are a few cases in our repositories where this issue could arise.

This patch bug is approved. Please use the normal code review process w/ a PR and make sure the fix is in the correct branch, then close the bug and mark it as done.

Note the frameworkAssemblies references were removed from dev as part of the xproj->csproj conversion. We only need to clean this up in the patch branches.

@anurse your commit in rel/1.1.1 branch, does that mean that AspNetCore 1.1.1 nuget packages will contain it soon? If yes - when?

@sm-g we're working on the 1.1.1 release right now (obviously 😄 ) and we hope to have the official release out within 1 month.

Is it right to assume that 1.1.1 will be published before/alongside VS2017's release in March?

https://github.com/aspnet/Home/wiki/Roadmap Feb, with 1.0.4

@FelschR we're still figuring out the details on exactly when the two releases will go live, but it'll certainly be close!

What do you mean by Asp.Net Core 1.1.1?  There's no such NuGet package.  There's "Microsoft.AspNetCore.Mvc" which is already on 1.1.1.  Please clarify exactly what you're talking about.

@emirhosseini 1.1.1 is the version of the upcoming patch for this repo.

When will be released?

@marianosz the plan is to have it out later this month. We're just nearly done with all the fixes, and we're working on getting the final builds put together and doing additional testing.

Thanks for the info!

I'm still facing the same issue with all the packages updated using net462... Any workarounds?

I am also experiencing this issue with everything updated and running net461


JavaScript: Add WebView-related taint sinks for CodeInjection, DomBasedXss and ServerSideUrlRedirect.

I did a small evaluation on four projects that use WebView including VSCode and TinyMCE. Performance was unchanged and there were no new results. I can run a larger-scale evaluation over the weekend if desired.

I was going to suggest that we check for the flag javaScriptEnabled which can be used to turn off JavaScript in the web view. On the other hand, allowing non-scripted html injection can still be pretty bad, and looking at the docs now, it seems the flag only works on Android(?!). What do you think?
Otherwise LGTM.

Yes, I saw that, but as you say it only seems to apply to Android. I didn't really understand whether it was just always enabled on iOS or whether you could turn it off there as well (in which case it would be the same as on Android, so that's probably not it). In the end, I decided to just ignore it for now.


Create page for describing "graph-ready data"

We currently have a Data Dictionaries page that describes and links to examples of the output of the annotation tool.
However, it would be helpful (for both users + devs) to also document the final .jsonld (i.e., output of CLI) that represents data ready to be uploaded to a graph. This doesn't fit on the Data Dictionaries page, in my opinion.
We could create a new page where we briefly describe the difference between the data dictionary and a .jsonld file (I guess we could call these "subject-level annotations" or something?) and then link to the phenotypic example_synthetic.jsonld as well as the phenotypic + imaging example_synthetic_pheno-bids.jsonld

Agree, I think this also links to JBs question about clarifying terminology. To me this would be about the data model, and the existing section about the data dictionary

Would it make sense to have an umbrella "Data schema(s)" section which includes two pages, one for the "Data dictionary for tabular data columns" (i.e., the json) and one for "Modelling participant-level properties" (i.e., the jsonld) or something like that?
In my view the current Data dictionaries page describes our internal schema for the data dictionary/how we model the meaning of specific columns in a TSV, and the page we want to add (as part of this issue) describes a similar schema for the output jsonld. I think I'm probably conflating what a "data schema" vs "data model" is, but maybe it makes sense to pick one term to describe the format of Neurobagel-specific files generally, and then talk about each file in more detail.
In other words, to me we have a data model for both the data dictionary (dictionary_models.py in the CLI) and the jsonld (models.py). To distinguish these I think we could either use a different term for each (e.g., "data dictionary schema" vs. "data model") or just use one term and then talk about specifics of each file (kind of like the BIDS docs, which just describes things at the level of specific .json files).
Does that make any sense?

I think that makes sense to me. So the structure would be:

Data Models

for augmented BIDS data dictionaries
for Neurobagel Graph
?

Demoting because not linked to OHBM/OpenNeuro priority - please ping here if you disagree

hey @alyssadai: in prep for our planned reorganization of pages into new sections, how about we repurpose this issue to achieve that. I.e.:

Getting Started

tool1
tool2

Data models

data dictionaries
graph model
naming conventions

Data preparation

all of the mr_proc stuff

How to cite

And remove

welcome
getting started
About us

As those will be handled by the landing page. Makes sense?

Just to clarify the plan, since the new "Getting started" page currently includes an overview of the ecosystem tools (which I believe we want to keep?), is the intended change to go from this (where the top-level bullets would be the tabs of the website):
  - Welcome
  - Getting started
  - User guide
    - Preparing data for annotation
    - Annotating a dataset
    - Generating harmonized subject-level metadata
    - Setting up a graph
    - Using the API
    - Running cohort queries
  - Data models
    - Augmented BIDS data dictionaries
    - Data files for Neurobagel graphs
  - Naming conventions for terms
  - Preparing data using mr_proc
    - ...
  - About us
  - Citing Neurobagel

to this:

Just to clarify the plan, since the new "Getting started" page (https://github.com/neurobagel/documentation/blob/adai/add-tools-models-pages/docs/start.md) currently includes an overview of the ecosystem tools (which IIRC we want to keep?), is the intended change to go from this (where the top-level bullets would be the tabs of the website):
  - Welcome
  - Getting started
  - User guide
    - Preparing data for annotation
    - Annotating a dataset
    - Generating harmonized subject-level metadata
    - Setting up a graph
    - Using the API
    - Running cohort queries
  - Data models
    - Augmented BIDS data dictionaries
    - Data files for Neurobagel graphs
  - Naming conventions for terms
  - Preparing data using mr_proc
    - ...
  - About us
  - Citing Neurobagel

to something like this:
  - User guide
    - Ecosystem overview  # from Getting Started
    - Preparing data for annotation
    - Annotating a dataset
    - Generating harmonized subject-level metadata
    - Setting up a graph
    - Using the API
    - Running cohort queries
  - Data models
    - Augmented BIDS data dictionaries
    - Data files for Neurobagel graphs
    - Naming conventions for terms
  - Preparing data using mr_proc
    - ...
  - Citing Neurobagel

And I'm assuming we want the "User guide" section in the second layout to be renamed to "Getting started", right?

@alyssadai , the only requirement is that every top level section (I.e. future tab) should have at least two sub pages because with the move to tabs the left hand nav changed its purpose.
What exactly the sections are is less important as long as they are generally intuitive for a user to navigate the docs.

Gotcha, will do 👍


Multicall docs

Closes #1000

It'd be good if this PR or #1242 (whichever is first) to complete #1243


What are the valid xml tags and formats?

I can't find a list of allowable xml tags in the documentation. Is there a list of which sile commands are allowable in xml and what form they have? img isn't allowed, for example:
! Unknown command img at book.xml l.4, col.47

from:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<sile class="book" papersize="6in x 9in">

    <chapter name="A chapter">This is a test!!
    </chapter>

</sile>

I'm also not sure if chapter is correct. The sile command \chapter has only an unnamed default attribute. I'm using name as the xml attribute, but that's just a guess.

Hello Karl. The XML tags are completely equivalent to the "TeX-like" markup. So where the documentation uses:
\chapter{This is a test}

you can say
<chapter>This is a test</chapter>

The reason  doesn't work is because it requires the image package to be loaded:


Unfocusable embedded windows aren't used for input handling

Godot version
4.0.dev (77721b35)
System information
Windows 10
Issue description
With the way that input is currently handled in embedded windows, it's forwarded to the focused subwindow. Unfortunately, this also happens when interacting with unfocusable windows. I've found 2 symptoms of this:

After clicking on an unfocusable subwindow when previously no subwindow was focused, Viewport::_sub_windows_forward_input begins spamming an error and won't stop until another subwindow is brought into focus. Always occurs if all subwindows are unfocusable.
When there is a focused subwindow but you interact with an unfocusable subwindow, the input gets incorrectly sent to the focused subwindow. For example, dragging an unfocusable subwindow is impossible because the focused one moves instead.

Steps to reproduce
Create a project and enable the setting Display->Window->Subwindows->Embed Subwindows. Add a window to the scene and set its unfocusable property to true. If there are no focusable subwindows, clicking on it will immediately start an error spam. If there is a focusable subwindow, click on it to bring it into focus. Then, try dragging the titlebar of the unfocusable window. The focused one will be the one that moves, relative to the mouse.
Minimal reproduction project
UnfocusableWindowBugs.zip

cc @Sauermann

I think this bug exists even when windows aren't embedded, however it is fine on the main window.


Add multicollection support

Description
Adds multicollection support for the sqs destination connector.
TODO

[x] Update docs
[x] Add support for specifying queue name with a go template (as done with kinesis and others).

Quick checks:

[x] There is no other pull request for the same update/change.
[x] I have written unit tests.
[x] I have made sure that the PR is of reasonable size and can be easily reviewed.

@raulb yeah sorry, I should've started the pull request as a draft instead. Now it should be complete!

@maha-hajja @raulb latest commits apply the pr suggestions and remove repeated code in the multicollection tests, nothing more!


How likely is Prisma going to survive?

Prisma being a Startup, the question arises whether it will survive.
This directly affects the choice of whether I should use your tools.
What can make me believe that Prisma will survive in the years / decades to come?
That said, even if your answer is not convincing, I'll probably still try out and use Photon/Lift. But I do want to take an educated risk.

Made in German

It's very nice. :+1:

Wondering the same. Without a strong use-case that is not covered by other middleware frameworks, it would be a risk to consider new frameworks.
JS is dynamic language, capable of generating the code on the fly, in memory. Next generation frameworks take advantage of this (e.g. Vue, React), and utilizing such capability, such as illustrated here https://github.com/prisma/prisma2/issues/708 , is one of the ways to ensure USP. Without such USP it is very difficult to make a point.

Hi there! I'm Prisma's new head of product, and I'd like to share my perspective on the matter, as well as why I've decided to bet the next few years of my career on Prisma 😊
Whether or not we survive rests on two things: whether we're building the right thing, and whether we're executing well towards that goal. Finally, even if we do both of those things,we also need to earn your trust!
Market
Our mission is to simplify data in the same way that compute has gotten easier to use over the last decade. Think about where compute was a decade ago — no Heroku, no Docker, no Kubernetes, no Lambda. No guidelines for architecture of scalable apps, like 12factor.net. The markets and businesses that have grown around simplifying compute are measured in the billions of dollars.
Data is no less of an opportunity. I believe it's a much larger opportunity. More than anything else, I think that's what makes Prisma durable. Prisma is unusually well-positioned to do something great in this valuable space and thrive as a business. The other half of that story is execution.
Execution
We're a well-funded company, and we will have more good news on that front soon! We have a stellar team, and hiring for a number of roles. All of our focus is on delivering on the upcoming Prisma Framework, which is seeing preview releases every other week. We have a healthy business today and a long runway for execution.
This isn't our first rodeo. Graphcool and Prisma 1 were both attempts to figure out product-market fit. We have a headstart when it comes to understanding what matters, and spending our energies in the right place. We're not quite there yet, but we are getting very positive validation from our customers and partners as we make progress towards releasing the Prisma Framework for production usage. Nothing is a guaranteed success in startups, but this is as close to ideal conditions as anyone can reasonably expect.
Trust
Even if you believe in my take on the value of our business domain and our ability to execute, I think your core question is one of trust. Can you trust that we understand the landscape correctly and are building something people want? Can you trust that we're executing correctly and iterating towards something useful? When you ask whether we will still exist in a few years' time, those are the underlying questions I hear.
Trust isn't earned through words, but actions. On the execution front, we're already releasing on a regular, frequent basis to make sure that our progress is visible. We're working on having a more concrete public roadmap so you can plan ahead, with a more granularity than "everything is ready by $DATE". One of the concrete pieces of feedback that we hear from our community is that the release timeline for Prisma 2 has not been sufficiently clear. You can expect news about that in the coming weeks as we refine our plan and break it down into smaller, iterative chunks.
Finally, we're building a framework for your data. Unlike most webapps and libraries, we need you to trust that we will maintain the integrity of your data. That's a higher bar to meet than most. We're necessarily more cautious as a result, so that when we say that something is fit for production usage, we can sleep at night — and so can you.
Startups are risky, but clarity and execution is how we want to earn your trust. If there's something I can clarify, just ask! ✌


windows: entry-point: pip-review cannot upgrade itself

this problem happens for the same reason that pip needs to be upgraded with python -m upgrade pip. solutions for this are the following:

don't allow pip-review to upgrade itself
start a daemon process that waits until the parent has exited, then run the upgrade

@jgonggrijp what do you think?

I'm hoping to merge and release #44 soon. Would that solve this issue? I would like to avoid both options in your bullet list, if possible.

No. This problem is specifically caused by entry_points (which I believe I added). The machinery that calls the function that you defined opens file locks that aren't returned until the entry point function returns. When pip is called, it notices those file locks and aborts.

If entry_points is the problem, then the entire problem can be avoided by calling python -m pip_review instead of the generated pip-review executable. Right?
FWIW, I implemented the entry_points solution.

If entry_points is the problem, then the entire problem can be avoided by calling python -m pip_review instead of the generated pip-review executable. Right?

Correct.


BSOD created

added a bsod for hacktoberfest challenge

Your pull request seems good, but must be checked by a human maintainer for the following reason(s):

This contains potentially hazardous tags that need manual review.

Please be patient until a maintainer has time to look over your contribution.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

81e8b317f3a94fe3fdb3021fa42a0dea6fd14f47


Deleting cached instance methods with mutable parameters

Hello, wonderful library - thank you!
I'm not sure if this is a bug, or just not supported.
I am trying to delete the cached version of an instance method, but only for a specific parameter. The parameter is this case in an object instance. All objects define their own __repr__ method for use in the cache key.
Here is an example of a failing test:
    def test_delete_memoized_instancemethod_with_mutable_param(self):
        class Foo(object):
            def __init__(self, id):
                self.id = id

            @self.memoizer.memoize(20)
            def foo(self, bar_obj):
                return random.randrange(0, 100000) + bar_obj.id

            def __repr__(self):
                return ('{}({})'.format(self.__class__.__name__, self.id))

        class Bar(object):
            def __init__(self, id):
                self.id = id

            def __repr__(self):
                return ('{}({})'.format(self.__class__.__name__, self.id))

        a = Foo(1)
        b = Bar(1)
        c = Bar(2)

        # Assert foo is cached correctly
        result1 = a.foo(b)
        result2 = a.foo(c)
        time.sleep(1)
        assert(a.foo(b) == result1)
        assert(a.foo(c) == result2)

        # Only delete the cached function for a.foo(b)
        self.memoizer.delete_memoized(a.foo, b)
        # This result should change
        assert(a.foo(b) != result1)
        # This result should not change
        assert(a.foo(c) == result2)

This tests fails with the following error:
Exception possibly due to cache backend.
Traceback (most recent call last):
  File "/Users/me/dev/django-memoize/memoize/__init__.py", line 479, in delete_memoized
    cache_key = f.make_cache_key(f.uncached, *args, **kwargs)
  File "/Users/me/dev/django-memoize/memoize/__init__.py", line 184, in make_cache_key
    f, *args, **kwargs
  File "/Users/me/dev/django-memoize/memoize/__init__.py", line 223, in _memoize_kwargs_to_args
    elif abs(i - args_len) <= len(argspec.defaults):
TypeError: object of type 'NoneType' has no len()

Whew, figured it out. I had to pass the instance as well as the parameter:
self.memoizer.delete_memoized(a.foo, a, b)


fix: update s3 bucket policies to adhere to best practices

Description of changes
Adds BPA config to the deployment bucket and also attaches a bucket policy that blocks all unencrypted traffic to the bucket. This is to adhere to best practices for private buckets.
Also fixes some lint errors in the file

Issue #, if available

Description of how you validated changes
Tested that this does not cause any interruption to existing projects. Also tested that init still works properly. Updated existing snapshot tests.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10272 (233017f) into master (0e6a99a) will increase coverage by 0.00%.
The diff coverage is 54.54%.

@@           Coverage Diff           @@
##           master   #10272   +/-   ##
=======================================
  Coverage   54.28%   54.28%
=======================================
  Files         850      850
  Lines       46955    46953    -2
  Branches    10004    10003    -1
=======================================
- Hits        25491    25490    -1
+ Misses      19446    19444    -2
- Partials     2018     2019    +1

Impacted Files
Coverage Δ

...ation/src/root-stack-builder/root-stack-builder.ts
59.01% <54.54%> (+0.28%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Implement 1-3 part 2

Optional battle in the northeast featuring an injured deer. Will need the deer sprite. Also some other items scattered about, probably. There's a mystery here that will be resolved in Chapter 2.

Renamed to reflect abelon-2 story


[Legacy Workspaces] clean the use, add logo

Seeing that the new "selector" workspaces did not had logo (CTRL-SPACE on the application), i looked at the creation of legacy workspaces.
They are everywhere: some in app/medInria, some in app/medInria/[...]/workspaces, some in the legacy plugins. Some of them were called in medApplication::initialize() to be registered, some others were registered by their plugins.
So, i added the missing legacy workspace logos (Meshing, Reformat, Filtering Legacy), and moved FilteringL, Registration and Segmentation to the legacy plugins. They are all registered by their plugins, and it allows to add workspaces in external projects. If it's a problem, i can put them back, do not hesitate. The Visualization workspace still need to be in the "core" because it's called in medMainWindow::open. This is for opening through command-line as far as i understand. This workspace is a bit special, and is not a selector workspace.
:m:

@Florent2305 according to your suggestions, i've changed the workspace name of "Filtering Legacy" to "Filtering", and "Filtering" to "Filtering dtk2". And it will be quicker to update music2 plugins to medInria3.1.


Unable to control escaping of common characters such as '.' and '-' which destroys plain-text readability

I'm using MarkdownWriter to render markdown into a StringBuilder. Example code:
        md.WriteStartTable(columns);
        md.WriteStartTableRow();
        foreach (var heading in columnHeadings)
        {
            md.WriteStartTableCell();
            md.WriteString(heading);
            md.WriteEndTableCell();
        }

        md.WriteEndTableRow();
        md.WriteTableHeaderSeparator();

The default escaper escapes common characters such as '.' and '-'. This destroys readability when viewing with a simple text editor such as Notepad. For example, consider this table of measurements:

Measurement    | Value   | Units        | Acceptance Criteria | Disposition
---------------|---------|--------------|---------------------|------------
Burst Duration | 458\.55 | milliseconds | Minimum 400\.00     | Pass
Power          | 2\.7651 | Volts        | Minimum 2\.0000     | Pass
Feedback Volts | 3\.2998 | Volts        | Minimum 2\.2240     | Pass
Battery level  | 6\.0077 | Volts        | Minimum 5\.0000     | Pass
Temperature    | 26\.60  | °C           |                     | Information

vs. the unescaped version:

Measurement    | Value  | Units        | Acceptance Criteria | Disposition
---------------|--------|--------------|---------------------|------------
Burst Duration | 458.55 | milliseconds | Minimum 400.00      | Pass
Power          | 2.7651 | Volts        | Minimum 2.0000      | Pass
Feedback Volts | 3.2998 | Volts        | Minimum 2.2240      | Pass
Battery level  | 6.0077 | Volts        | Minimum 5.0000      | Pass
Temperature    | 26.60  | °C           |                     | Information

Having Markdown files readable as plain text with no special software was one of the attractions of using the format, so I need to not escape any characters at all (I'm careful about what I write so this will not be an issue in my use-case). I can see there is an escaper variant called NoEscape, which seems to be exactly what I need, however I cannot find any way to inject it into the settings. The only place I can see this being set is as a default value in MarkdownBaseWriter, and my IDE says the set accessor is never used:
    protected MarkdownCharEscaper Escaper { get; set; } = MarkdownCharEscaper.Default;

Therefore, even though there are several escapers available, there seems to be no way to use anything but MarkdownCharEscaper.Default, which is DefaultMarkdownEscaper, which is too aggressive.
Would it be possible to be able to set the escaper, please? Possible via MarkdownWriterSettings?

Hi,
I think it makes sense to create your own escaping rules if you want to. I don't think it makes sense to use 'no escape' everywhere. For example, you must escape '|' when you are inside a table.
Regarding the setter for MarkdownBaseWriter.Escaper, the property is set only in the class but you can implement your own writer and possibly set the Escaper from the derived class. So this is the reason why the setter is protected.
I prepared a draft PR with possible implementation of custom escaping rules.

I had a go at this on my own while I was waiting for you to respond, in my own fork. I got something working where I added an Escaper property to the WriterSettings, with a new .WithDefaultEscaper() method to  set it. In BaseMarkdownWriter constructor I set the esacper from the settings.
It seems like in cases where escaping is mandatory, for example URLs, the writer selects and uses an appropriate escaper already, so I am only setting the default to use when no escaper is manadatory. It works for my use-case but I haven't thought beyond that.
I could make a pull request if you wanted, but not sure how much sense it would make because I also updated all my projects to support .netstandard2.0 and .net8.0

Oh, so you want change only default escaper - when there is no specific context. Got it.

I could make a pull request if you wanted, but not sure how much sense it would make because I also updated all my projects to support .netstandard2.0 and .net8.0

PR is more than welcome. However, it would be better to not mix it changing target frameworks.


game crashes when loading in

when launching the game I get a message saying, "REDscript Compilation failed. The game will start but none of the scripts will take effect. this is caused by errors in: - let_there_be_flight.reds
you can try updating or removing these scripts to resolve the issue. If you need more information, consult the logs."

Usually, this is an issue when you're using an outdated REDscript or the mod is outdated itself. Happens after a new game patch release or when you play with 60+ mods like me, new REDscript comes out, some mods require the new version, you install it but other mods were not updated yet - then they become the cause of the problem. The message says LET THERE BE FLIGHT caused the error this time so by a logic of elimination - REDscript must be outdated for you. I have no problems myself while using both the newest REDscript and the newest mod from here - totally no issues at all.


Spike into application team runbook for Xhibit Portal

User Story
As application teams or platform engineers, it is useful to have a run book for common operations, such as starting a service, restoring a service from backup etc.
This ticket is to have a look into what other teams do at the MoJ, is there a common standard?
Would it be beneficial for application teams to keep their run books in a standardised format on the Modernisation Platform?
Would it be beneficial for the platform team to have access to these runbooks?
Could we create a runbook template as part of the files we create when onboarding a new team?
Value
Understand if there is any value in standardising runbooks for applications running on the Modernisation Platform.
Questions / Assumptions
Spike - timebox TBC
Definition of done

[ ] research done and discussed with the team
[ ] draft runbook for Xhibit Portal
[ ] next steps agreed

Reference
How to write good user stories

Canvas session held with team 01/09/22

Requested feedback from users, one so far
FEEDBACK
User believes having a runbook template is a great idea. With help as to where to store, who the audience is, what languages are used, where hosted, interconnectivity,, how deployments work, backend database info.
Goal - business continuity / risk management / lottery situation
Store - in Github (would MP need a link to this?)
Permissions - dependant on service
Sensitivity - S3 bucket name are treated as so, open buckets are vulnerable
When to create runbook - many changes throughout onboarding so after migration is better.


Jaeger Tracing with non-istio ingress

Hey folks,
As wonderful as your ingress controller is, I've opt'd to use nginx-ingress due to some additional features that I need for my public facing services.
All in all it is working quite nicely, apart from one final issue around tracing.  It seems like envoy is using the pod name as the service name:

I'm wondering if there is any way for me to force the envoy wrapping the ingress controllers to use a specific service name?
Crosslinking: https://github.com/kubernetes/ingress-nginx/issues/1985

This magically seems to have started working since 0.5.0.  No idea why.

We have bumped Envoy version we take upstream.
On Fri, Feb 2, 2018 at 9:25 AM Karl Stoney<EMAIL_ADDRESS>wrote:

This magically seems to have started working since 0.5.0. No idea why.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/2843#issuecomment-362641046, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGIxtI5GBhBw0jl18uv7dLIHex_OZI0ks5tQz1FgaJpZM4RtZuo
.


How to get all 3d position of pixel in rendering camera?

_WORLD3D_TO_SCREEN2D Convert a world coordinate into its relative screen coordinate. Is there existing a function or method do the other way. In other word, convert 2D in rendering camera to 3D coordinate so that I can get depth image of camera.

you'd need to do a raycast from the camera in the direction that its pointing, taking into account things like the camera field of view etc

Thank you for replying and I would like to know which method can do the raycast. BTW, the raycast will finally be cast on some object and then I can get the coordinate of the ray point. Is that right?

I found DRAW_SPOT_LIGHT may satisfy the function which cast a light to certain direction. After casting, how can I get the spot of object?

zorg93 meant GTA.World.Raycast(...)

Thx 👍


Documentation for PHP 5.6 does not have php_fpm_pool_conf_path

I was trying to configure PHP 5.6 with the latest version of Drupal VM with the documentation provided: http://docs.drupalvm.com/en/latest/other/php-56/, but the the variable php_fpm_listen was not being applied.
I was receiving this error after the VM provision:
[Mon May 16 20:02:20.907207 2016] [proxy:error] [pid 1381:tid<PHONE_NUMBER>14176] (111)Connection refused: AH00957: FCGI: attempt to connect to <IP_ADDRESS>:9000 (<IP_ADDRESS>) failed
[Mon May 16 20:02:20.907584 2016] [proxy:error] [pid 1381:tid<PHONE_NUMBER>14176] AH00959: ap_proxy_connect_backend disabling worker for (<IP_ADDRESS>) for 60s
[Mon May 16 20:02:20.907893 2016] [proxy_fcgi:error] [pid 1381:tid<PHONE_NUMBER>14176] [client <IP_ADDRESS>:64648] AH01079: failed to make connection to backend: <IP_ADDRESS>, referer: http://dashboard.drupalvm.dev/

I have to add the following configuration for the "listen = <IP_ADDRESS>:9000" to be applied in www.conf:
php_fpm_pool_conf_path: "/etc/php5/fpm/pool.d/www.conf"

Fixed via #636.


RuntimeError: Default process group has not been initialized, please make sure to call init_process_group for cascade_mask_rcnn_swin_base_patch4

Thanks for your error report and we appreciate it a lot.
Describe the bug
Getting a run time error "RuntimeError: Default process group has not been initialized, please make sure to call init_process_group." when training using below command
python tools/train.py configs/swin/cascade_mask_rcnn_swin_base_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py --cfg-options model.pretrained=swin_base_patch4_window12_384_22k.pth

Error:
Traceback (most recent call last):
  File "C:\Users\user\Swin-Transformer-Object-Detection\tools\train.py", line 187, in <module>
    main()
  File "C:\Users\user\Swin-Transformer-Object-Detection\tools\train.py", line 176, in main
    train_detector(
  File "c:\users\user\swin-transformer-object-detection\mmdet\apis\train.py", line 185, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\runner\epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\runner\epoch_based_runner.py", line 50, in train
    self.run_iter(data_batch, train_mode=True, **kwargs)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\runner\epoch_based_runner.py", line 29, in run_iter
    outputs = self.model.train_step(data_batch, self.optimizer,
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\parallel\data_parallel.py", line 75, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\detectors\base.py", line 247, in train_step
    losses = self(**data)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\runner\fp16_utils.py", line 98, in new_func
    return old_func(*args, **kwargs)
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\detectors\base.py", line 181, in forward
    return self.forward_train(img, img_metas, **kwargs)
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\detectors\two_stage.py", line 161, in forward_train
    roi_losses = self.roi_head.forward_train(x, img_metas, proposal_list,
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\roi_heads\cascade_roi_head.py", line 257, in forward_train
    bbox_results = self._bbox_forward_train(i, x, sampling_results,
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\roi_heads\cascade_roi_head.py", line 157, in _bbox_forward_train
    bbox_results = self._bbox_forward(stage, x, rois)
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\roi_heads\cascade_roi_head.py", line 147, in _bbox_forward
    cls_score, bbox_pred = bbox_head(bbox_feats)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "c:\users\user\swin-transformer-object-detection\mmdet\models\roi_heads\bbox_heads\convfc_bbox_head.py", line 139, in forward
    x = conv(x)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\mmcv\cnn\bricks\conv_module.py", line 203, in forward
    x = self.norm(x)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\nn\modules\batchnorm.py", line 732, in forward
    world_size = torch.distributed.get_world_size(process_group)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\distributed\distributed_c10d.py", line 845, in get_world_size
    return _get_group_size(group)
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\distributed\distributed_c10d.py", line 306, in _get_group_size
    default_pg = _get_default_group()
  File "C:\Users\user\anaconda3\envs\py_env\lib\site-packages\torch\distributed\distributed_c10d.py", line 410, in _get_default_group

A clear and concise description of what the bug is.
Reproduction
Training with single GPU
python tools/train.py configs/swin/cascade_mask_rcnn_swin_base_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py --cfg-options model.pretrained=swin_base_patch4_window12_384_22k.pth

2. Did you make any modifications on the code or config? Did you understand what you have modified?

Changed the number of classes in configs to 2 classes

3. What dataset did you use?

Custom coco dataset

**Environment**

OS : Windows 10
Torch: 1.1.0
MMCV: 1.4.0

Please advise. Thanks.

I am running in windows 10,  so is not able to use 'tools/dist_train.sh' and have installed latest torch and mmcv-full.

Thanks for your interest!
We use SyncBN  in the bbox head by default. However, it is not compatible with single-gpu training.
You can use BN instead. Just modify Line 36, 55, 74 from
norm_cfg=dict(type='SyncBN', requires_grad=True)

to
norm_cfg=dict(type='BN', requires_grad=True)

Hi @impiga,
This resolved the issue for me. Thanks.

I met the same problem and tried the solution you mentioned, but the same problem still appeared


My projects should be instance specific

This should be the site wide behavior.

https://projects.invisionapp.com/d/main#/console/6341574/137676916/preview
Title should be:
[slack instance image] [slack instance name] Projects

This issue was moved to CoMakery/swarmbot#4


FIX-#1959 #1987: Fix incorrect work of duplicated and drop_duplicates functions

Fix incorrect work of duplicated and drop_duplicates functions.
Signed-off-by: Alexey Prutskov<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[ ] Resolves #1959 and #1987
[ ] tests added and passing

@devin-petersohn Root cause is in computing hash of str objects in python. By default value of hash(str) will be different in different threads(this is security feature). So we get different hashes of the same rows from different partitions.


Selectable text

Is it possible to have a mode that enables the text to be selectable for copy & paste?  It seems like the highlight/selection functionality is preventing this, even if I set the selection-mode to none.

Just a small change to the above css by carueda : add !important to override the default style.

Note, if you want this globally (i.e. you don't use tables with selectable rows), you can use:
table.tr-ng-grid > tbody > tr > td,
table.tr-ng-grid > tbody > tr > td > .tr-ng-cell {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}```


how can i back 2 or more pages.

ionic2@beta 37.
page1->page2->page3->page4
Hello.I want to back page2 at once, and with some parameters. Not use setRoot,how can i do it.
Thanks.

How would you accomplish something like this in a native app?

You can use the remove method of NavController (http://ionicframework.com/docs/v2/api/components/nav/NavController/#remove).
this.nav.remove(this.nav.length() - 2, 2);

This basically removes 2 pages starting from the second-to-last page (page3 in your example) and page2 will be left active.

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum. Also, @Kobzol 's solution is solid and is the correct way to do this. Thanks for using Ionic!

@Kobzol thank you.

@jgw96 well,thank you.


csv component: Excel opens CSV files with garbled characters

Introduction
My Windows language environment is: Simplified Chinese zh-CN
My CSV file contains Chinese characters, but when I open it in Excel, garbled characters appear.
When the encoding of the CSV file is changed from UTF-8 to UTF-8 BOM, the display in Excel is normal.
Can we add an option for users to choose between UTF-8 or UTF-8 BOM?
To Reproduce
select
    'csv'              as component,
    'Download my data' as title,
    'people'           as filename,
    'file-download'    as icon,
    'green'            as color;

select
top 100 *
from [Ban].[dbo].[Port];

Screenshots
UTF-8: Opening with Excel will result in garbled characters, as shown below:

UTF-8 BOM: When opened in Excel, it displays normally, as shown in the following figure:

Version information

OS: windowns 10 Simplified Chinese zh-CN
Database: mssql
SQLPage Version: v0.26.0

I'll see if we can add support for BOM to the CSV component.
In the meantime, you should be able to load the original CSV (without BOM) in excel by using Data > Get Data > From File > From Text/CSV


[UX enhancements] amp stack deploy

Should probably be blocking by default and optionally asynchronous
Should display, if images need to be pulled, the status of pulling
Should display meaningful information like:

$ amp stack deploy -c counter.yml
[localhost:50101]
Deploying stack counter using counter.yml.
Pulling images:
Image htilford/go-redis-counter:latest has been successfully pulled.
Image redis:1.2.3 already in cache.

Starting services:
Service go has been successfully started.	← Should block until ready
Service redis has been successfully started.	← Should block until ready

Stack counter has been successfully deployed.
See `amp service --help` for additional information on services.
The service go is accessible at https://go.counter.local.appcelerator.io/
The service redis is accessible at https://redis.counter.local.appcelerator.io/

On redeploying an existing stack, it would be helpful to see that both stack and associated services are being updated:

$ amp stack deploy -c counter.yml
[localhost:50101]
Redeploying stack counter using counter.yml.
Pulling images:
Image htilford/go-redis-counter:latest already in cache.
Image redis:latest has been successfully pulled.

Updating services:
Service redis has been successfully updated from tag `1.2.3` to `latest`.

Stack counter has been successfully redeployed.

Unfortunately, what we have done with out previous stack management when we handled ourselves stacks is not possible with the docker one.
Docker didn't provide api verbs to manage stack. It only provide CLI commands. We have forked Docker code to make them usable by our api, but we can control the inner work of the command.
Especially, we can't wait at each service. We can act before and after that's all.


Simple Reverse proxy can't handle If-Modified-Since header

Describe the bug
When the 'If-Modified-Since' header got set in the request, SimpleReverseProxy returns error 500
To Reproduce
Steps to reproduce the behavior:

Run Apache locally serving at port 8081
Add a sample.txt to the root directory of Apache
Set config.json to have the local Apache as backend

"plugins": [{
 ...
 "config": {
   ...
   "backends": ["http://<IP_ADDRESS>:8081"]
   ...
 }
}],
 ...

Set the listening port of drogon webserver to 8080
curl -H 'If-Modified-Since: Wed, 07 Jun 2017 11:57:32 GMT' http://<IP_ADDRESS>:8080/sample.txt
After a while the error 500 got received in the callback of the sendRequest function (Sometimes it works randomly, but if we repeat the request, the bug appears

Expected behavior
The content of the file

I can't reproduce this issue, it works correctly on my MacOS. What if you run curl -H 'If-Modified-Since: Wed, 07 Jun 2017 11:57:32 GMT' http://<IP_ADDRESS>:8081/sample.txt to directly access apache？

It happens only if the backend returns http status 304, and it seems it doesn't occur on text files. (Sorry!)
For convenience, I've attached a sample picture here. The first time, it is OK since the backend responds 200, but the second time when the backend returns 304 the problem shows.
Moreover, maybe the time that is mentioned for the header is important. So you can try to use a browser (I'm using Firefox) to call the URL, and then reload the page (with browser caching enabled = default)
By the way, my new URL to test is:
curl -H 'If-Modified-Since: Wed, 11 Nov 2020 04:16:32 GMT' http://<IP_ADDRESS>:8080/sample.jpg
In my setting, it happened by the second call. But the testing via Firefox is more reliable.

@hayoola Please check the PR #623, I think I fixed this issue.

Yes, It works!
Thank you VERY much!


Implement a "What's new" modal in Altme to inform people about last updates

People need to know what is new in Altme to be able to use the last versions of our features.
That is why I propose to dev this screen. It will appear every time someone update its Altme wallet to inform him about the last modifications in the wallet. It's important to show that we are active correcting bugs and always improving the Altme wallet.
This should display everything from the 1st version (last update at the top to the first version at the bottom).
https://www.figma.com/file/gNQ9POVTHhxZQbzRQl6Qks/Altme?node-id=4549%3A11503&t=eyCpBHCWviUt0a0T-1


androidStudioPackages.stable: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Testing with a clean build and running of a medium sized application in the emulator.

@GrahamcOfBorg eval

@doronbehar Is there something up with the ofborg bot? That error log does not seem related to this commit.
warning: ignoring the user-specified setting 'restrict-eval', because it is a restricted setting and you are not a trusted user
error: while evaluating 'callPackageWith' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/lib/customisation.nix:117:35, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/pkgs/top-level/all-packages.nix:16632:15:
while evaluating 'makeOverridable' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/lib/customisation.nix:67:24, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/lib/customisation.nix:121:8:
anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/pkgs/servers/mediatomb/default.nix:1:1 called without required argument 'spidermonkey', at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-3/lib/customisation.nix:69:16

There have been some issues accross all of nixpkgs' PRs. Now they are solved.
@ofborg eval

@primeos


Add an exception in case if basic requirements for library are not fulfilled

This includes mostly existence of Promise and setImmediate functions

implemented for setImmediate, Promise and clearImmediate in 673bee3bbd6447c6a7dbad0e08927a95f6a0a510
Maybe some improvements are still needed (like verification whether they are functions/objects, contain proper methods etc.), but the general idea is already there


[bug] wallet status changed after connected

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
2.0.6
wagmi Version
2.6.0
Current Behavior
im using isConnected for if the user has connected to the wallet, but sometimes, it has changed into false and rechanged into true in a very short time.
And on my website it acts like the video below.
And I've console the value of isConnected, it show true -> false -> true, and cycling like this.
https://github.com/rainbow-me/rainbowkit/assets/43104791/0d801efd-889d-46df-b2c3-2ad764bf95d1
And also here's my code for the wallets.
WalletList
 const walletList = [
  {
    name: 'metamask',
    walletName: 'metamask',
    icon: getImageUrl('@/assets/images/wallet/metamask.svg'),
    wallet: metaMaskWallet,
  }
];

  const { connectAsync } = useConnect();
  const handleConnect = async (connect: any, connector: any, item: any) => {
      if (!connector?.installed && connector?.id !== 'walletConnect') {
        const downloadUrl = connector?.extensionDownloadUrl || connector?.downloadUrls?.browserExtension;
        // send to download
        return;
      }
      await connectAsync?.({ connector });
  };

  {walletList
    ?.map((i, index) => {
      return (
        <WalletButton.Custom wallet={i?.name} key={index}>
          {({ connector, loading, connect, error }) => {
            return (
              <button
                type="button"
                onClick={() => handleConnect(connect, connector, i)}
              >
                {loading ? <Loading /> : }

{i?.name}

              </button>
            );
          }}
        </WalletButton.Custom>
      );
    })}

And provider
const config = getDefaultConfig({
  pollingInterval: 10_000,
  appName: '',
  projectId: '',
  multiInjectedProviderDiscovery: false,
  chains: [mainnet, bsc, arbitrum]
  wallets: [
    {
      groupName: 'Recommended',
      wallets: Object.values(walletList)?.map(i => i?.wallet),
    },
  ],
});

Expected Behavior
a stable wallet status
Steps To Reproduce
hard to reproduce. need stay in page for a long time.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://omni.apex.exchange
Anything else?
No response

@magiziz sir, could u help with this, thx

@RodeRickIsWatching I'm not able to reproduce this with your code. Are you disconnecting and connecting every second in your code maybe ?
Can you share a small reproducible example ? Github or codesandbox link would be great
We also have a <WalletButton.Custom> example here https://github.com/rainbow-me/rainbowkit/blob/main/examples/with-next-wallet-button/src/pages/index.tsx#L35-L43.

@RodeRickIsWatching Were you able to figure something out ?

Closing this issue due to inactivity


Fix a bug in tf.strided_slice()

Current implementation modifies TfLiteNode::builtin_data every time when a loaded graph is executed. The three masks in params (please see the patch) will continually flipping, and causing the op produce incorrect result every two executions.
The bug can be reproduced by m.Invoke() twice in most axis-shrinking unit tests from strided_slice_test.cc. I am not sure if I should add one extra m.Invoke() as it will really look like typo.

Thanks for the contribution.


17track supplies invalid sensor names for HomeAssistant Markdown

Describe the bug
Markdown is unable to pull package information. Trying to make a markdown card for packages in transit to show more information.
Error shown: TemplateSyntaxError: expected token 'end of statement block', got 'track_in_transit'
To Reproduce
Steps to reproduce the behavior:
Have 17track setup.
track an active package.
create markdown card with the following code:
{% for package in states.sensor.17track_in_transit.attributes.packages %}

>- **{{ package.friendly_name }} ({{ package.tracking_number }}):** {{ package.info_text }}

{% endfor %}

Expected behavior
I expect to see a markdown card with package information.
Instead, I see an error with an invalid sensor name "track_in_transit", even though I have specified "17track_in_transit".
Screenshots

Additional context
This worked fine when using "seventeentrack_in_transit".
My presumption from testing, is that homeassistant can't handle sensors with numerical names. the "17" is completely ignored, even when using quotes around the sensor name.
More information has been found on this issue and can be seen here: https://community.home-assistant.io/t/entity-names-starting-with-digits/609468
I have solved my own issue using the link above, however I thought you should know as the problem reported is default behavior.

@DrToxic
I did this and it works:
{% for package in states.sensor.seventeentrack_packages_in_transit.attributes.packages %}

>- **{{ package.friendly_name }} ({{ package.tracking_number }}):** {{ package.info_text }}

{% endfor %}

I think you're missing "_packages" inside the sensor name.
Anyway when you start writing "states.sensor." the editor will start to complete you and you should use that when building these kind of markdown.
Please let me know if that fixes the issue

That’s got it. Thank you 😊
From: Shai Ungar @.>
Sent: Friday, 09 August 2024 14:40
To: shaiu/pyseventeentrack @.>
Cc: DrToxic @.>; Mention @.>
Subject: Re: [shaiu/pyseventeentrack] 17track supplies invalid sensor names for HomeAssistant Markdown (Issue #3)
@DrToxic https://github.com/DrToxic
I did this and it works:
{% for package in states.sensor.seventeentrack_packages_in_transit.attributes.packages %}

{{ package.friendly_name }} ({{ package.tracking_number }}): {{ package.info_text }}

{% endfor %}
I think you're missing "_packages" inside the sensor name.
Anyway when you start writing "states.sensor." the editor will start to complete you and you should use that when building these kind of markdown.
Please let me know if that fixes the issue
—
Reply to this email directly, view it on GitHub https://github.com/shaiu/pyseventeentrack/issues/3#issuecomment-2277970254 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKAAR3FFDCSBJOZNUSRHVC3ZQTBD3AVCNFSM6AAAAABLX4LB2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXHE3TAMRVGQ .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKAAR3CCOBEXESZFQ3RNDATZQTBD3A5CNFSM6AAAAABLX4LB2WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUHY4IU4.gif Message ID: @.*** @.***> >


https://creativecommons.org/publicdomain/zero/1.0/deed.en/ needs to redirect

currently is an error

e.g. linked from http://sammlungonline.mkg-hamburg.de/en/termsandconditions

377712

Given the text, that link should probably be to -
https://creativecommons.org/publicdomain/mark/1.0/
And the url is a page, so it doesn't have a trailing slash.
All that said, I've put a redirect in place. :-)


Icons for channels

installed, and works perfectly .. Can change my channels, change volume, TV turns on / off .. However, what doesn't work are the channel icons ..
Strange what I see that it is on RTL4 via SmartThings, (app & HA)
Do I miss something?

Channels logo are now implemented, closing this FR.


The program crashed when using the log1p dataset.

the dataset was download from https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/regression.html#E2006-log1p
when running with the log1p.E2006.train dataset, an error occurred.
2019-06-13 00:20:56,908 INFO sparse_columns.cu:47 : converting csr matrix to csc matrix finished terminate called after throwing an instance of 'thrust::system::detail::bad_alloc'   what():  std::bad_alloc: temporary_buffer::allocate: get_temporary_buffer failed Aborted (core dumped)
However, running with the log1p.E2006.test dataset has no problem.
when debugging, I found the error occurred with build_approximate() function in tree_build.cu,
`vector TreeBuilder::build_approximate(const MSyncArray &gradients) {
vector trees(param.num_class);
TIMED_FUNC(timerObj);
DO_ON_MULTI_DEVICES(param.n_device, [&](int device_id){
this->shards[device_id].column_sampling(param.column_sampling_rate);
});
for (int k = 0; k < param.num_class; ++k) {
    Tree &tree = trees[k];
    DO_ON_MULTI_DEVICES(param.n_device, [&](int device_id){
        this->ins2node_id[device_id].resize(n_instances);
        this->gradients[device_id].set_device_data(const_cast<GHPair *>(gradients[device_id].device_data() + k * n_instances));
        this->trees[device_id].init2(this->gradients[device_id], param);
    });

    for (int level = 0; level < param.depth; ++level) {
        DO_ON_MULTI_DEVICES(param.n_device, [&](int device_id){
            find_split(level, device_id);
        });`

when k = 0 and level = 4. The find_split() function cannot be finished.
And when tracing into the find_split(), the funcall in line 229-236 of file exact_tree_builder.cu cause the crash. However, I cannot find out why.

Would you please provide more information (e.g., OS, CUDA version, GPU, which interface) to help us reproduce the problem? It would be good to upload a minimum example to help us reproduce the problem efficiently.

Would you please provide more information (e.g., OS, CUDA version, GPU, which interface) to help us reproduce the problem? It would be good to upload a minimum example to help us reproduce the problem efficiently.

Ubuntu 16.04, CUDA10.1.168, GTX970, I just download and built the cude follow the instruction in readme. Run with the quick start command with changing the dataset location.

log1p is a large dataset and the training process requires more memory than your GTX970 has. A suggestion is to sample the log1p data set, and obtain a subset which your GPU can process.

log1p is a large dataset and the training process requires more memory than your GTX970 has. A suggestion is to sample the log1p data set, and obtain a subset which your GPU can process.

thx, I will try it. But isn't it supposed to be out of memory error? Just like when I try the higgs dataset.

Thanks. We will improve the output in the future patch.


Examples link in README is broken

https://spiketools.github.io/spiketools/auto_examples/index.html gives a 404 error.

Thanks for noticing / reporting this - broken link removed in #172


support loafwallet-core api interface change

Currently loafwallet-ios and loafwallet-android use different versions of loafwallet-core. The iOS app uses core with the updated API. For ease of development and bech32/segwit support etc, it should be a top priority for loafwallet-android to adopt this interface.
For iOS this interface change was updated at this commit: https://github.com/litecoin-foundation/loafwallet-ios/commit/9df805862a5a499ab6f314a99c5a5a44fbe4a266

@kcw-grunt  I took a look at loafwallet-core and I know it is not the easiest  task in the backlog but I would like to handle this one.

@mosadialiou yes please take a look we can shoot for the next full release.

@kcw-grunt  OK count on me!


Develop upstream sync 190528

Merge log:
$ git merge upstream/master --no-edit
Auto-merging tools/tf_env_collect.sh
Auto-merging third_party/toolchains/preconfig/win_1803/bazel_025/BUILD
Removing third_party/toolchains/preconfig/win_1803/bazel_018/CROSSTOOL
Removing third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/windows/msvc_wrapper_for_nvcc.py
Removing third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/windows/msvc_wrapper_for_nvcc.bat
Removing third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/clang/bin/crosstool_wrapper_driver_is_not_gcc
Removing third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/CROSSTOOL
Removing third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/BUILD
Auto-merging tensorflow/workspace.bzl
Auto-merging tensorflow/tools/compatibility/BUILD
Auto-merging tensorflow/tools/api/tests/BUILD
Auto-merging tensorflow/tensorflow.bzl
Auto-merging tensorflow/stream_executor/rocm/rocm_dnn.h
CONFLICT (content): Merge conflict in tensorflow/stream_executor/rocm/rocm_dnn.h
Auto-merging tensorflow/stream_executor/rocm/BUILD
Auto-merging tensorflow/stream_executor/BUILD
Auto-merging tensorflow/python/training/tracking/BUILD
CONFLICT (content): Merge conflict in tensorflow/python/training/tracking/BUILD
Auto-merging tensorflow/python/tools/api/generator/BUILD
Auto-merging tensorflow/python/saved_model/BUILD
Auto-merging tensorflow/python/kernel_tests/signal/fft_ops_test.py
Auto-merging tensorflow/python/kernel_tests/signal/BUILD
Removing tensorflow/python/kernel_tests/einsum_op_test.py
Auto-merging tensorflow/python/kernel_tests/control_flow_ops_py_test.py
Auto-merging tensorflow/python/kernel_tests/BUILD
CONFLICT (content): Merge conflict in tensorflow/python/kernel_tests/BUILD
Auto-merging tensorflow/python/keras/optimizer_v2/BUILD
Auto-merging tensorflow/python/keras/engine/base_layer_test.py
Auto-merging tensorflow/python/keras/BUILD
Auto-merging tensorflow/python/eager/backprop_test.py
Auto-merging tensorflow/python/eager/BUILD
CONFLICT (content): Merge conflict in tensorflow/python/eager/BUILD
Auto-merging tensorflow/python/distribute/BUILD
Auto-merging tensorflow/python/data/kernel_tests/BUILD
Auto-merging tensorflow/python/compiler/xla/BUILD
Auto-merging tensorflow/python/compiler/tensorrt/BUILD
Auto-merging tensorflow/python/BUILD
CONFLICT (content): Merge conflict in tensorflow/python/BUILD
Removing tensorflow/lite/tools/accuracy/accuracy_eval_stage.h
Auto-merging tensorflow/lite/python/BUILD
Removing tensorflow/lite/experimental/objc/apis/module.modulemap
Auto-merging tensorflow/lite/delegates/flex/whitelisted_flex_ops.h
Auto-merging tensorflow/lite/delegates/flex/whitelisted_flex_ops.cc
Auto-merging tensorflow/examples/tutorials/mnist/BUILD
Auto-merging tensorflow/examples/speech_commands/BUILD
Auto-merging tensorflow/examples/saved_model/integration_tests/BUILD
Auto-merging tensorflow/core/util/gpu_kernel_helper.h
CONFLICT (content): Merge conflict in tensorflow/core/util/gpu_kernel_helper.h
Removing tensorflow/core/util/einsum_op_util.cc
Auto-merging tensorflow/core/kernels/transpose_op.cc
Auto-merging tensorflow/core/kernels/tile_ops_gpu_impl.h
CONFLICT (content): Merge conflict in tensorflow/core/kernels/tile_ops_gpu_impl.h
Auto-merging tensorflow/core/kernels/tile_ops.cc
CONFLICT (content): Merge conflict in tensorflow/core/kernels/tile_ops.cc
Auto-merging tensorflow/core/kernels/tile_functor_gpu.h
CONFLICT (content): Merge conflict in tensorflow/core/kernels/tile_functor_gpu.h
Auto-merging tensorflow/core/kernels/split_lib_gpu.cu.cc
CONFLICT (content): Merge conflict in tensorflow/core/kernels/split_lib_gpu.cu.cc
Auto-merging tensorflow/core/kernels/spacetodepth_op.cc
Auto-merging tensorflow/core/kernels/softmax_op_gpu.cu.cc
Auto-merging tensorflow/core/kernels/scatter_nd_op.cc
Auto-merging tensorflow/core/kernels/resize_bilinear_op_gpu.cu.cc
CONFLICT (content): Merge conflict in tensorflow/core/kernels/resize_bilinear_op_gpu.cu.cc
Auto-merging tensorflow/core/kernels/random_op_gpu.h
CONFLICT (content): Merge conflict in tensorflow/core/kernels/random_op_gpu.h
Auto-merging tensorflow/core/kernels/logging_ops.h
Auto-merging tensorflow/core/kernels/gather_op.cc
Removing tensorflow/core/kernels/einsum_op.cc
Auto-merging tensorflow/core/kernels/eigen_contraction_kernel.h
Removing tensorflow/core/kernels/data/filter_by_component_dataset_op_test.cc
Removing tensorflow/core/kernels/data/filter_by_component_dataset_op.cc
Auto-merging tensorflow/core/kernels/cudnn_rnn_ops.cc
Auto-merging tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc
CONFLICT (content): Merge conflict in tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc
Auto-merging tensorflow/core/kernels/bias_op.cc
Auto-merging tensorflow/core/kernels/adjust_hsv_gpu.cu.h
Auto-merging tensorflow/core/kernels/BUILD
Auto-merging tensorflow/core/grappler/optimizers/remapper.cc
CONFLICT (content): Merge conflict in tensorflow/core/grappler/optimizers/remapper.cc
Auto-merging tensorflow/core/grappler/optimizers/layout_optimizer.cc
Removing tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_service.cc
Auto-merging tensorflow/core/common_runtime/gpu/gpu_device.cc
Removing tensorflow/core/api_def/python_api/api_def_Einsum.pbtxt
Removing tensorflow/core/api_def/base_api/api_def_TPUReplicate.pbtxt
Removing tensorflow/core/api_def/base_api/api_def_Einsum.pbtxt
Auto-merging tensorflow/core/BUILD
Auto-merging tensorflow/contrib/makefile/Makefile
Removing tensorflow/contrib/distribute/python/estimator_training_test.py
Removing tensorflow/contrib/distribute/python/estimator_integration_test.py
Auto-merging tensorflow/contrib/BUILD
Auto-merging tensorflow/compiler/xrt/tests/BUILD
Auto-merging tensorflow/compiler/xrt/client/BUILD
Auto-merging tensorflow/compiler/xla/tests/BUILD
Auto-merging tensorflow/compiler/xla/service/platform_util.cc
Auto-merging tensorflow/compiler/xla/service/hlo_evaluator_test.cc
Auto-merging tensorflow/compiler/xla/service/gpu/tests/BUILD
Auto-merging tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc
Auto-merging tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/BUILD
Auto-merging tensorflow/compiler/xla/service/gpu/kernel_thunk.cc
Auto-merging tensorflow/compiler/xla/service/gpu/gpu_executable.cc
Auto-merging tensorflow/compiler/xla/service/gpu/gemm_thunk.cc
Auto-merging tensorflow/compiler/xla/service/gpu/custom_call_thunk.cc
Auto-merging tensorflow/compiler/xla/service/gpu/BUILD
CONFLICT (content): Merge conflict in tensorflow/compiler/xla/service/gpu/BUILD
Auto-merging tensorflow/compiler/xla/service/BUILD
Auto-merging tensorflow/compiler/tf2xla/BUILD
Auto-merging tensorflow/compiler/tf2tensorrt/utils/calibration_resource.h
Auto-merging tensorflow/compiler/tf2tensorrt/utils/calibration_resource.cc
Auto-merging tensorflow/compiler/tf2tensorrt/ops/get_calibration_data_op.cc
Removing tensorflow/compiler/tf2tensorrt/kernels/get_serialized_resource_op_test.cc
Auto-merging tensorflow/compiler/tf2tensorrt/kernels/get_calibration_data_op.cc
Auto-merging tensorflow/compiler/tests/BUILD
Auto-merging tensorflow/compiler/jit/xla_gpu_device.cc
Auto-merging tensorflow/compiler/jit/BUILD
Auto-merging configure.py
Automatic merge failed; fix conflicts and then commit the result.

Summary of the first round of unit tests
rocm

rocm-v2
Build timed out (after 240 minutes). Marking the build as aborted.
Failed: //tensorflow/python/keras:training_dataset_test
Failed: //tensorflow/python/keras:convolutional_test_gpu
Failed: //tensorflow/python/eager:ops_test

rocm-xla
Executed 521 out of 522 tests: 521 tests pass and 1 fails to build.
Failed: //tensorflow/compiler/xla/tests:iota_test_gpu

cuda
Executed 1199 out of 1199 tests: 1198 tests pass and 1 fails locally.
Failed: //tensorflow/python/kernel_tests:unique_op_test

Jenkins: retest rocm-v2 please

The Keras tests (most of the failures) all appear to have the same failure signature:
tensorflow.python.framework.errors_impl.NotFoundError: No registered 'Assert' OpKernel for GPU devices compatible with node {{node Assert}}
        .  Registered:  device='XLA_CPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_UINT8, DT_INT8, ..., DT_COMPLEX128, DT_HALF, DT_UINT32, DT_UINT64, DT_STRING]
  device='XLA_GPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_UINT8, DT_INT8, ..., DT_BFLOAT16, DT_HALF, DT_UINT32, DT_UINT64, DT_STRING]
  device='XLA_CPU'
  device='XLA_GPU'
  device='CPU'
 [Op:Assert] name: EagerVariableNameReuse

Still digging...

@whchung - Yeah, that commit should fix most of the unit test failures in this merge.  On my local machine, we've gone from 87 failures down to 5 (unrelated) failures.

Here are those 5 remaining failures:
//tensorflow/python/keras/distribute:keras_dnn_correctness_test         TIMEOUT in 5 out of 5 in 915.0s
//tensorflow/python/keras/distribute:keras_image_model_correctness_test TIMEOUT in 5 out of 5 in 915.0s
//tensorflow/python/keras/distribute:keras_lstm_model_correctness_test   FAILED in 5 out of 5 in 453.4s
//tensorflow/python/keras/distribute:keras_lstm_model_correctness_test_gpu FAILED in 5 out of 5 in 187.7s
//tensorflow/python/kernel_tests:unique_op_test                          FAILED in 5 out of 5 in 2.9s

Looking into them now...

one failed case in cuda path seems to be related to this PR: https://github.com/tensorflow/tensorflow/pull/28795 . Although I have no idea why it's causing the failure.

Here's a running list of remaining known error signatures:
tensorflow.python.framework.errors_impl.NotFoundError: No registered 'Qr' OpKernel for GPU devices compatible with node {{node Qr}}

Regarding the Qr-related error, will be trying this possible fix:
diff --git a/tensorflow/core/kernels/qr_op_complex128.cc b/tensorflow/core/kernels/qr_op_complex128.cc
index 8a3e3dc..14412c8 100644
--- a/tensorflow/core/kernels/qr_op_complex128.cc
+++ b/tensorflow/core/kernels/qr_op_complex128.cc
@@ -19,7 +19,7 @@ namespace tensorflow {

 REGISTER_LINALG_OP("Qr", (QrOp<complex128>), complex128);

-#if GOOGLE_CUDA
+#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
 // We temporarily disable QR on GPU due to a bug in the QR implementation in
 // cuSolver affecting older hardware. The cuSolver team is tracking the issue
 // (https://partners.nvidia.com/bug/viewbug/2171459) and we will re-enable
diff --git a/tensorflow/core/kernels/qr_op_complex64.cc b/tensorflow/core/kernels/qr_op_complex64.cc
index 467fa6c..5deabc8 100644
--- a/tensorflow/core/kernels/qr_op_complex64.cc
+++ b/tensorflow/core/kernels/qr_op_complex64.cc
@@ -19,7 +19,7 @@ namespace tensorflow {

 REGISTER_LINALG_OP("Qr", (QrOp<complex64>), complex64);

-#if GOOGLE_CUDA
+#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
 // We temporarily disable QR on GPU due to a bug in the QR implementation in
 // cuSolver affecting older hardware. The cuSolver team is tracking the issue
 // (https://partners.nvidia.com/bug/viewbug/2171459) and we will re-enable
diff --git a/tensorflow/core/kernels/qr_op_double.cc b/tensorflow/core/kernels/qr_op_double.cc
index 05537a0..30672f1 100644
--- a/tensorflow/core/kernels/qr_op_double.cc
+++ b/tensorflow/core/kernels/qr_op_double.cc
@@ -19,7 +19,7 @@ namespace tensorflow {

 REGISTER_LINALG_OP("Qr", (QrOp<double>), double);

-#if GOOGLE_CUDA
+#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
 // We temporarily disable QR on GPU due to a bug in the QR implementation in
 // cuSolver affecting older hardware. The cuSolver team is tracking the issue
 // (https://partners.nvidia.com/bug/viewbug/2171459) and we will re-enable
diff --git a/tensorflow/core/kernels/qr_op_float.cc b/tensorflow/core/kernels/qr_op_float.cc
index 6aebd98..4ddf86a 100644
--- a/tensorflow/core/kernels/qr_op_float.cc
+++ b/tensorflow/core/kernels/qr_op_float.cc
@@ -19,7 +19,7 @@ namespace tensorflow {

 REGISTER_LINALG_OP("Qr", (QrOp<float>), float);

-#if GOOGLE_CUDA
+#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
 // We temporarily disable QR on GPU due to a bug in the QR implementation in
 // cuSolver affecting older hardware. The cuSolver team is tracking the issue
 // (https://partners.nvidia.com/bug/viewbug/2171459) and we will re-enable

On my local machine, we've got 2 more rocm unit tests passing now.  That leaves 3 left.
//tensorflow/python/keras/distribute:keras_dnn_correctness_test         TIMEOUT
//tensorflow/python/keras/distribute:keras_image_model_correctness_test TIMEOUT
//tensorflow/python/kernel_tests:unique_op_test                          FAILED

On my local machine, rocm-v2 looks to be in decent shape now:
//tensorflow/python/keras:training_dataset_test                 (cached) PASSED in 66.2s
//tensorflow/python/eager:ops_test                                       PASSED in 17.9s
//tensorflow/python/keras:convolutional_test_gpu                         PASSED in 84.2s

And the lone failure on rocm-xla is in good shape now too:
//tensorflow/compiler/xla/tests:iota_test_gpu                            PASSED in 579.0s

iota_test_gpu tends to take quite some time as it populates a big array. perhaps the size category of the test may have to be changed.

Status after the last round of unit tests:

rocm - jenkins reported network connectivity issue
rocm-v2 - jenkins aborted on slow array_ops_test
rocm-xla - 1 remaining failing test
cuda - 1 remaining failing test

Re-runs:

jenkins: retest rocm please
jenkins: retest rocm-v2 please

Updated status after last night's re-runs -- remaining failing unit tests:

rocm: 1 failure, 2 timeouts
rocm-v2: 1 failure, 2 timeouts
rocm-xla: 1
cuda: 1

Current list of failure signatures:

TIMEOUT: //tensorflow/python/keras/distribute:keras_image_model_correctness_test
TIMEOUT: //tensorflow/python/keras/distribute:keras_dnn_correctness_test
FAILED: //tensorflow/python/kernel_tests:unique_op_test
ERROR: /workspace/tensorflow/compiler/xla/BUILD:896:1: Couldn't build file tensorflow/compiler/xla/_objs/refcounting_hash_map_test/refcounting_hash_map_test.o

Regarding the rocm-xla build error:
tensorflow/compiler/xla/refcounting_hash_map_test.cc:80:3: error: 'int64' was not declared in this scope
   int64 count = 0;
   ^
tensorflow/compiler/xla/refcounting_hash_map_test.cc:80:3: note: suggested alternative:
In file included from ./tensorflow/core/platform/types.h:29:0,
                 from ./tensorflow/core/platform/test.h:24,
                 from ./tensorflow/compiler/xla/test.h:46,
                 from tensorflow/compiler/xla/refcounting_hash_map_test.cc:20:
./tensorflow/core/platform/default/integral_types.h:27:19: note:   'tensorflow::int64'
 typedef long long int64;

This seems like the fix:
diff --git a/tensorflow/compiler/xla/refcounting_hash_map.h b/tensorflow/compiler/xla/refcounting_hash_map.h
index 19b27d6..ffeb546 100644
--- a/tensorflow/compiler/xla/refcounting_hash_map.h
+++ b/tensorflow/compiler/xla/refcounting_hash_map.h
@@ -22,6 +22,7 @@ limitations under the License.
 #include "absl/container/node_hash_map.h"
 #include "absl/memory/memory.h"
 #include "absl/synchronization/mutex.h"
+#include "tensorflow/compiler/xla/types.h"

 namespace xla {

There are actually multiple errors within refcounting_hash_map_test.cc.  I don't know why upstream would even push out that test.
Here are the likely fixes I'm trying on my local machine:
diff --git a/tensorflow/compiler/xla/refcounting_hash_map_test.cc b/tensorflow/compiler/xla/refcounting_hash_map_test.cc
index 65120ba..0e4b532 100644
--- a/tensorflow/compiler/xla/refcounting_hash_map_test.cc
+++ b/tensorflow/compiler/xla/refcounting_hash_map_test.cc
@@ -17,7 +17,9 @@ limitations under the License.

 #include <functional>

+#include "tensorflow/compiler/xla/types.h"
 #include "tensorflow/compiler/xla/test.h"
+#include "tensorflow/core/platform/logging.h"

 namespace xla {
 namespace {
@@ -79,7 +81,7 @@ TEST(RefcountingHashMapTest, ForEachEmpty) {
   RefcountingHashMap<int, int> m;
   int64 count = 0;
   m.ForEach([&](const int&, std::shared_ptr<int>) { ++count; });
-  EXPECT_EQ(count, 0);
+  EXPECT_EQ(count, (int64) 0);
 }


Support for dry-types 0.13

 In Gemfile:
    dry-validation was resolved to 0.11.1, which depends on
      dry-types (~> 0.13.0)

    rom (~> 4.2.1) was resolved to 4.2.1, which depends on
      rom-core (>= 4.2.1, ~> 4.2) was resolved to 4.2.1, which depends on
        dry-types (~> 0.12.1)

2018-05-03 dry-types gem was updated.
Is there any hope that you will quickly add support for the new version?

Read https://github.com/rom-rb/rom/issues/494
Cool.
Please close.
I'l see dry-rb respects semver.


Voxelwise GLM: predicted signal, residuals, R-squared

I think when fitting a GLM to data, it is very useful to get access to the predicted signal, residuals and also R-squared of the whole model.
I implemented that here, please have a look:
https://github.com/Gilles86/nistats/tree/voxelwise_glm_stats

I kind of agree but this has a cost. For instance, storing the models residuals entails keeping an additional  copy of all the data. I now have to handle GB-size images, and Nistats make it possible to run several models in a row. Storing too much stuff will blow up memories.
We might want to have an interface to handle this information, but I don't think that  it should be stored by the basic models (which essentially spits out betas and/or p-values).
This is open to discussion !

You're right. That is why I implemented it using the "full" Regression Results class. You thus have to set minimize_memory for the FirstLevelModel to False for this to work, otherwise it will throw an exception.
My use case was that I wanted to filter some confounds with a GLM and check out which regions are most affected. Surprisingly, nistats is the only package that can do this in a few lines of Python and this is extremely useful in my opinion!
I will make some pull requests tomorrow.

See https://github.com/nistats/nistats/pull/173


Legislator's bills aren't being added

Bills by Del. Jay Jones aren't being added — an error is generated about no legislator being found. Why?

There was a second Del. Jones until yesterday.
Del. Jay Jones' LIS ID was something like j. jones but now it's just jones.

The subselect for legislator matching, when inserting a bill, looks like this:
date_ended IS NULL
OR
(YEAR(date_ended)+1 = YEAR(now()))
OR
(YEAR(date_ended) = YEAR(now()))

This because legislators can quit in e.g. June, but their carried-over bills continue forward in the next year's session, and if we don't allow a year of slop, those bills are missed.
So what we're seeing here is two jones records, which conflict. This subselect is returning two results, which of course ain't gonna work, so the query fails.

OK, so the solution there was to simplify the insert SQL, where the legislator's ID is determined. We were matching by either legislator shortname or ID, which seemed like a good idea at the time (like, a decade ago or whatever), but doesn't make sense now. That's because legislator IDs are used consistently, while shortnames change over time. I can't see any downside to eliminating shortnames,  so done.


Clean up lots of warnings in DreamProcNativeRoot.cs

By adding ! and ? at strategic locations, as well as some other changes, the warnings about dereferencing/referencing of null/nullable types are removed. in (presumably) all the cases where the warning exists there are already circumstances that make it so that the errors being warned against can't happen anyway, so these shouldn't hurt. fingers crossed.
The file has gone from having 39 warnings to only 12.

Using ! is generally something to avoid since it's suppressing an actual potential issue. It's better to instead do things differently to ensure the value could never be null, or check if the value is null and handle it accordingly.

oh huh it's failing ubuntu-latest build test and release


Sample showing how state boundaries can be visible when zoomed out

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior

Provide an example demonstrating how the US state boundaries can be visisble at a zoomed out level - this context information can be beneficial in certain use cases

OS, Broswer and Version?

OS X
Chrome

Mention any other details that might be useful

Thanks! We'll be in touch soon.

There are two code samples that show how to render state borders:

https://azuremapscodesamples.azurewebsites.net/index.html?sample=Create a Choropleth Map
https://azuremapscodesamples.azurewebsites.net/index.html?sample=Polygon Hover Style

Displaying state borders by changing the map style requires custom map style support in the map control which is not currently a feature, and also requires the state boundary data to be available in the base map vector tiles at higher zoom levels, which is not the case.


cannot find package "github.com/vladimirvivien/gosh/api"

I got the error when run example by: go run shell/gosh.go. The error:
shell/gosh.go:15:2: cannot find package "github.com/vladimirvivien/gosh/api" in any of:
	/usr/local/go/src/github.com/vladimirvivien/gosh/api (from $GOROOT)
	/Users/nhatle/go/src/github.com/vladimirvivien/gosh/api (from $GOPATH)

The link github.com/vladimirvivien/gosh/api have error 404 when run on browser.

Hi @nhatlee
Apologies for late reply.  I am unable to reproduce this error.
Couple of things when running locally:

Make sure to clone entire repo
Run the command above (go run shell/gosh.go) from repo's root dir.


CTRL + Volume for Headphone Jack / Internal Volume

Add the ability to change the internal and external volume with modifier keys.
It's awesome that V2.0 already added support to change the Brightness of Internal and External Monitors. I would love to see this extended to the Volume Functionality, I use the headphone jack to send audio to a stereo system for music playback, but all other audio is going through my monitor.
The modifier with "CTRL + Volume Keys" would be an awesome fix (just like brightness works).
Warm Regards,
Chris

does changing the brightness individually work? It doesn't seem to work for me...
I can only change the brightness for both displays (macbook + monitor) simultaneously

Hi @pointmax - it should work - depending on where your mouse is situated (in version 3.0.0). Also you can use ctrl+brightness keys to control the internal display specifically.
Using CTRL+Volume Keys is a bit different since if there are several audio devices, the app will not know which one to fall back to in this case (unlike for internal displays which is easily identifiable). This would therefore require a more extensive solution where you could define which shortcut key should control which audio device - which is not really in the scope of MonitorControl (but might be for an other app).
Because of this I'll close this issue. If you don't agree with this answer or you have a suggestion on how this should work and still fit the profile of MonitorControl, please let me know! Thank you!