Export CSV doesn't export selected date range

Hey y'all, wondering if someone can shed some light on an issue I'm having specifically on exporting to CSV. I have a sensor that's measuring air quality metrics (specifically TVOCs) over the course of a few months. I came to History Explorer Card to help me export some date ranges of collected readings. I've tried a week, I've tried a month, I've tried 3 months, and each export is exported with a seemingly random date range, that does not reflect the date range selection in the history card.
I'm running Home Assistant 2023.3.2
Supervisor 2023.03.1
Operating System 9.5
Frontend 20230306.0 - latest
And history-explorer-card v1.0.44.
Even when I have the date range indicate 3 months from "today" or 1 week from "today" it shows 26 Feb through 1 Mar. I've tried 3 months since 31 Jan, and that still exports a static date range. I'm attaching a recent export, set for 3 months from today. Any ideas?
Edit: added attachment
entities-2023-03-09_14_33_08.csv

Are you sure you are using 'Export statistics as CSV' ? Not 'Export as CSV'.

I am NOT using Export Statistics, I am using Export CSV. I need the raw values saved in the history, Export Statistics does seem to respect the date range, but the values are not useful to me. See attached.
entities-2023-03-09_14_45_47.csv

Export CSV (without statistics) will only go as far as your history database does. It can't export something that is not in the database. By default that is 10 days, unless you changed purge_keep_days in your recorded settings.

First of all, Export Statistics CSV DOES export the date range, just not the raw values. Secondarily, Home Assistant does have the data as far back as Nov 2022, I effectively need the data specifically from Jan 21, 2023 - March 8, 2023, so 3 months back from March 8, 2023 will give me more than I need, and I can just cull the rows that are unnecessary. The problem is that it's only going as far back as Feb 27. Even when I export 1 week, it still spits out from Feb 27, which is also weird.

First of all, Export Statistics CSV DOES export the date range, just not the raw values.

It exports exactly what it finds in the database. Nothing more and nothing less. The statistics database does not contain 'raw values'. It contains hourly, daily and monthly mean, max and mins. That's it. There's nothing more to export, because there's nothing more stored in the statistics DB.

Secondarily, Home Assistant does have the data as far back as Nov 2022,

In the statistics. Unless you have specifically set your actual history DB (which is separate from the statistics) to keep 3 months worth of data by setting purge_keep_days. If you did not do that, your history DB will only keep 10 days of 'raw values'. That's the HA default.

But I'm able to literally pull up raw values older than 10 days both through the default History functionality and through History Explorer Card

The history explorer card will combine statistics and history on the fly. It will use statistics (the mean value) when history is unavailable for the requested range.
The normal history only goes back as far as the recorder component is configured for. If you didn't change purge_keep_days then that is 10 days. Anything beyond that is statistics.

I have configured purge_keep_days for longer, since I am able to pull a SQL query to get those values, I just found your card to be A LOT easier.....

So how far have you configured it then ? You need to provide more info in order to get help.

365 days

What ?! That is waaaay out of the specifications of any HA install I have ever seen or tried.  I'm afraid I can't help you with that. There is no way I can even test this.

Alright, let me explain that a little more.  You are 36 times above the recommended value for that setting.
So what I think is happening is that the HA history REST API can't return that much data in a single call. The card itself works by loading in smaller chunks, so that works. The CSV export does a single call. But there is no way I can test this hypothesis.
Now the next version of the card will switch from using the REST API to the newer WS API to get history, mostly for performance reasons. The builtin HA history already does this. As the WS API is more advanced and can transfer a lot more data more easily, this could fix your problem as a side-effect. Maybe. Would certainly be an interesting experiment ;)

I only have the one sensor, there's nothing else being collected by HA. I've also only been running this since the end of November, so there isn't an overwhelming amount of data collected there. Happy to wait until the next update to see if that solves the issue :) Thanks!

As mentioned, I can't promise that it will fix the issue. You have a highly unique case and by pushing the limits of HAs database engine so far out of its normal limits, you're prone to run into weird corner case behavior here and there.

Yeah, worth a shot, considering I only have effectively 3 months' worth of data, figured I'd try. The SQL query does produce the data, but then I have to do more to process it in a way that I need, and I found your card to be extremely helpful. Looking forward to the the next update!

Alright then. I'll close this and you can try again with the next release.

What ?! That is waaaay out of the specifications of any HA install I have ever seen or tried.  I'm afraid I can't help you with that. There is no way I can even test this.

Hey could you link to documentation indicating 365 days is out of spec? SQLite.org's docs state their database will scale to 281 TB. Which is quite large.
I'm not suggesting it'll be fast, but storing data for 365 days, would require logging the thick end of 1 TB daily to approach 281 TB.


fix offline mode message

Purpur has a FLAWED check for if bungee proxy online is in use. isProxyOnlineMode is TRUE BY DEFAULT. Even without bungee enabled. This is big issue. It does not support velocity either. This adds.

isProxyOnlineMode checks org.spigotmc.SpigotConfig.bungee unless i'm mistaken

Yes it checks well:
https://github.com/PaperMC/Paper/blob/06db5d08b08c4f53fea9cb322127b3a3311bbcd9/patches/server/0103-Add-setting-for-proxy-online-mode-status.patch#L30

Yes. This supports velocity.

https://github.com/PaperMC/Paper/blob/cc6fd371b2d1ab2ad1df85789b143f04a17c1468/patches/server/0280-Add-Velocity-IP-Forwarding-Support.patch#L33
Velocity supported


Custom Brand Icons Not Working

I'm trying to use custom brand icons (https://github.com/elax46/custom-brand-icons) in Ingress. They'll show up when I first configure them, but after a brief period, they'll disappear. The regular mdi:icons work fine, but phu:icons aren't staying populated. I'm running the latest Home Assistant Core (2024.12.5) and the latest version of ingress. I currently don't have any logs to produce. I can try to provide that tomorrow.
Side Bar

yaml in configuration.yaml
sabnzbd:
    work_mode: iframe
    ui_mode: normal
    title: SABnzbd
    icon: phu:sabnzbd
    url:
      match: https://ha.####.dev
      replace: https://sab.####.dev
      default: http://192.168.###.##:8085

uptime:
    work_mode: iframe
    ui_mode: normal
    title: Uptime
    icon: phu:kuma
    url:
      match: https://ha.####.dev
      replace: https://uptime.####.dev
      default: http://192.168.###.##:3001

Just found out it's not specifically an Ingress issue. Disregard...


Simon Says Actuator

11/18/14
Mark has demonstrated that the motor design he has can indeed press the Simon buttons. A video is available on the drive for downloading and viewing. The video can be found here:
https://drive.google.com/a/ncsu.edu/#folders/0B93g4TjHMS2panVYamRvTVdoa2c

Modifications are required (issues #267, #268, and #269). Mostly complete.


fix(logging) encode try-list as json and no longer use new-line

New-line characters in the logging are impossible to parse
correctly so should be prevented.
fixes #52

@hishamhm updated as per comments, removed spaces and dropped the newline. Please have another look.


check IPs in whitelist sourceRange

What does this PR do?
Check that all entrypoints[].whitelist.sourceRange are valid
Motivation
Fixes #4037
More

[x] Added/updated tests
[x] Added/updated documentation (I suppose no changes are required in docs)

Additional Notes
none

I'm not sure why Semaphore-CI fail, but seems a common issue on other PRs and I think is not related to changes become from this PR; let me know if I can something to fix/retry the CI

In addition to my comment
We already check the validity of IPs:
https://github.com/containous/traefik/blob/0335f6fba9ba900a92b8a7d3b9bc6dd03309aec1/whitelist/ip.go#L36-L46
We already skip the frontends if there is an error:
https://github.com/containous/traefik/blob/0335f6fba9ba900a92b8a7d3b9bc6dd03309aec1/server/server_middlewares.go#L52-L56
We already stop Traefik if an entry point is misconfigured:
https://github.com/containous/traefik/blob/0335f6fba9ba900a92b8a7d3b9bc6dd03309aec1/server/server_middlewares.go#L178-L183
FYI your code in this PR only concerns the parsing of entry points when they are defined as CLI argument (ex: --entryPoints='Name:http Address::80 WhiteList.SourceRange:<IP_ADDRESS>/32,1.2.3/32')
https://github.com/containous/traefik/blob/0335f6fba9ba900a92b8a7d3b9bc6dd03309aec1/configuration/entrypoints.go#L67-L70

@ldez yeah, you're right :)
Sorry for time you lost to investigate and explan it to me, I think was my issue on explain the issue in a particular case.
Using this config:
version: '2'

services:
  traefik:
    image: traefik:v1.7.2
    restart: always
    ports:
      - 80:80
      - 443:443
    labels:
      - "traefik.entrypoints.http.address=:80"
      - "traefik.entrypoints.https.address=:443"
      - "traefik.certificates=sample.test"
      - "traefik.enable=true"
      - "traefik.port=8080"
      - "traefik.backend=traefik"
      - "traefik.frontend.rule=Host:lb.sample.test"
      - "traefik.frontend.entryPoints=http,https"
      - "traefik.frontend.pathHostHeader=true"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

  sample:
    image: emilevauge/whoami
    labels:
      - "traefik.enable=true"
      - "traefik.port=80"
      - "traefik.backend=sample"
      - "traefik.backend.loadbalancer.method=wrr"
      - "traefik.frontend.entryPoints=http,https"
      - "traefik.aaa.frontend.priority=10"
      - "traefik.aaa.frontend.rule=Host:example1.sample.test"
      - "traefik.aaa.frontend.whiteList.sourceRange=<IP_ADDRESS>/32,123.234.123/32,<IP_ADDRESS>/32"
      - "traefik.bbb.frontend.priority=1"
      - "traefik.bbb.frontend.rule=Host:example1.sample.test"
      - "traefik.bbb.frontend.whitelist.sourceRange=<IP_ADDRESS>/0"

The first frontend is ignored and the second one start opening the entrypoint to all IPs. Traefik will display the error message in log (my fault, I set it to debug to investigate issue and I'm was unable to see the error since there are large amount of logs).


Competitive Programming: Min-Max Algorithm In Game Theory

Description 📜
I have explained the working and implementation of min-max algorithm in python alongwith its advantages and limitations.
Fixes #8265

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Competitive Programming

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@ravireddy07. please review my pr.

@ravireddy07. please review my pr.


[stable/mongodb] Add service annotations

Add option to set service annotations.
Fixes #6941

/assign @carrodher

/ok-to-test

/lgtm

/ok-to-test
/lgtm

Version conflict with master. Changed version to 4.1.1


Building a FirebaseObjectObservable chain using mergeMap is not possible.

Version info
Angular: 4.3.2
Firebase: 4.2.0
AngularFire: 4.0.0-rc.1
How to reproduce these conditions
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
I can't really provide a mcve as it requires a firebase database,
the closest mcve I've made is https://stackblitz.com/edit/angular-pjznsq but there's an issue with systemjs import and I can't figure out how to fix this.
The issue is pretty simple so a minimal code should be enough to demonstrate it:
Observable.of('/test')
      .mergeMap(uri => afdb.object(uri))
      .update({'foo': 'bar'});

Debug output
Errors in the JavaScript console
When the app compiles, I get a Property update does not exist on type Observable<any> error.
If I cast the result Observable to a FirebaseObjectObservable<any>, I get a javascript runtime error saying that .update is not a function, so that's not a type cast error, it's really not the Observable I want.
Expected behavior
What I'm trying to do is to create a FirebaseObjectObservable chain from Observable data, an example usage could be building a FirebaseObjectObservable from user's uid or routing events (actually, I'm trying to achieve the first one).
Actual behavior
Because FirebaseObjectObservable extends Observable but doesn't reimplement Observable operator (which is normal), the operators are building an Observable chain, not a FirebaseObjectObservable one, meaning that one can't call FirebaseObjectObservable specific methods in the result chain.

This mergeMap returns an Observable so you're not gonna get the full FirebaseObjectObservable  back from it, instead you can do something like so
Observable.of('/test')
      .mergeMap(uri => afdb.object(uri)
        .update({'foo': 'bar'})
     );

The final goal of this is to create a generic abstract service to have methods for data management, using an abstract method to get the base uri of the resource managed by the child service.
Something like this:
export abstract class DataService<T>{

    protected abstract getBaseUri(): Observable<string>;

    protected abstract getClass(): any;

    constructor(private firebase: AngularFireDatabase, private serializer: NgSerializerService){}

    public get(uid: string): Observable<T>{
        return this.oneRef(uid).map(data => this.serializer.deserialize<T>(data, this.getClass()));
    }

    public update(uid: string, data: T): firebase.Promise<void>{
        return this.oneRef(uid).update(data);
    }

    public push(data: T): firebase.database.ThenableReference{
        return this.listRef().push(data);
    }

    private get listRef(): FirebaseListObservable<T[]> {
        return this.getBaseUri().mergeMap(uri => this.firebase.list(uri));
    }

    private oneRef(uid: string): FirebaseObjectObservable<T> {
        return this.getBaseUri().mergeMap(uri => this.firebase.object(`${uri}/${uid}`));
    }
}

Using this, I should be able to create a new data service on the fly, just by implementing the two abstract methods providing the class (for serialization) and the base uri (for firebase data access).

@Supamiu Check out the new 5.0 version. It provides a new Service Based API that follows a similar approach you are trying to take.


Repo for projects that support RxSwift

How do you all feel about creating a repo similar to awesome-swift for projects that support RxSwift? We could include repos under RxSwiftCommunity's control, maybe even make it the "landing page" for this community.
These libraries come to mind:

Moya
FirebaseRxSwiftExtensions
Parse-RxSwift
Moya-ObjectMapper
RxEasing

And these projects:

Eidolon
ReactiveWeatherExample

Neat idea!

I like this; having it under the RxSwiftCommunity umbrella seems natural as well.
Should we fire up the repo and start adding things to it @RxSwiftCommunity/contributors ?

Seems legit! Esteban, do you want to set that up? I imagine we could add @psophis to the contributors list so they could help out, too.

What should the repo name be?
If it's acting as a landing page is should probably be "RxSwiftCommunity".

I wonder if this should have any web presence? Like a basic site on rxswiftcommunity.github.io ? It'd be easy to store in a yaml file (example). Thoughts?

Now that is a good idea! Maybe a little harder to maintain, but a better way none the less.
Octopress/Jekyll?

Personally I'm not a fan of Jekyll/Octopress.
Hugo or Hexo maybe?
I'm going to create a repo called RxProjects and will leave it empty and keep moving there.
Any objections?

Anyway is fine with me.
If you want to use github pages it needs to be named rxswiftcommunity.github.io.

yeah i know but since is not a definitive that we will be using github pages i thought calling it something else for now and rename it if we decide to go that route

Here it is: https://github.com/RxSwiftCommunity/RxProjects

Great! I'll close this and open some issues over there for more specific topics.

:+1: :tada:


[C++] clang < 12 doesn't have --ld-path

Describe the bug, including details regarding any error messages, version, and platform.
test-ubuntu-20.04-cpp-thread-sanitizer:
https://github.com/ursacomputing/crossbow/actions/runs/8592709908/job/23543129306#step:7:4526
...
-- Looking for pthread.h
-- Looking for pthread.h - not found
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindThreads.cmake:220 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/ThirdpartyToolchain.cmake:1057 (find_package)
  CMakeLists.txt:543 (include)

-- Configuring incomplete, errors occurred!
See also "/build/cpp/CMakeFiles/CMakeOutput.log".
See also "/build/cpp/CMakeFiles/CMakeError.log".
Error: docker run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION=16.0.0.dev470 --shm-size<PHONE_NUMBER> -e ARROW_BUILD_STATIC=OFF -e ARROW_CTEST_TIMEOUT=500 -e ARROW_DATASET=ON -e ARROW_JEMALLOC=OFF -e ARROW_ORC=OFF -e ARROW_S3=OFF -e ARROW_USE_TSAN=ON -e AWS_ACCESS_KEY_ID=*** -e AWS_SECRET_ACCESS_KEY=*** -e CC=clang-11 -e CCACHE_COMPILERCHECK=content -e CCACHE_COMPRESS=1 -e CCACHE_COMPRESSLEVEL=6 -e CCACHE_DIR=/ccache -e CCACHE_MAXSIZE=1G -e CXX=clang++-11 -e GITHUB_ACTIONS=true -e SCCACHE_BUCKET=*** -e SCCACHE_REGION=*** -e SCCACHE_S3_KEY_PREFIX=sccache -v /home/runner/work/crossbow/crossbow/arrow:/arrow -v ubuntu-ccache:/ccache apache/arrow-dev:amd64-ubuntu-20.04-cpp /bin/bash -c   /arrow/ci/scripts/cpp_build.sh /arrow /build &&
  /arrow/ci/scripts/integration_skyhook.sh /build &&
  /arrow/ci/scripts/cpp_test.sh /arrow /build exited with non-zero exit code 1

Component(s)
C++

Issue resolved by pull request 41062
https://github.com/apache/arrow/pull/41062


Merged.


[Identity] Add fix from #10187 to CHANGELOG

This was a community PR that didn't update the CHANGELOG, so I am doing it in a follow up commit.

/cc @schaabs might be nice to include this as part of the release.  The fix is already in, this just adds a note to CHANGELOG.md


Compute Over Encrypted Data

Starting this thread to track partners' requests for Compute Over Encrypted datasets.
Partners who require this feature:

Stryde Further "Data encryption is a critical issue before we can get started"
Enterprise FIL+ Clients - all EFIL+ clients' datasets are encrypted by default.

0011.ai "send encrypted data from Jupyter Lab extension to Bacalhau node and only allow assigned node to decrypt"

User story:
A Bacalhau user should be able to either pass a secret key to the Bacalhau node which gets the compute workload assigned to use to decrypt data sources in the node or alternatively receive the [a single use] public key for this Bacalhau node and be able to decrypt the same datasources via the [single use] private key of the Bacalhau node. A script passed to the Bacalhau node can now use the decryption key to decrypt any data stored in /inputs.


Use Minified ASF License header in Ansible YAML files.

The ASF approved mini license header should be used in all YAML playbooks.
My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[X] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Note this also fixes a type that was in the old ASF headers; therefore I closed https://github.com/apache/incubator-openwhisk/pull/3664

Codecov Report

Merging #3666 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3666   +/-   ##
=======================================
  Coverage   74.49%   74.49%
=======================================
  Files         126      126
  Lines        5990     5990
  Branches      390      390
=======================================
  Hits         4462     4462
  Misses       1528     1528

Continue to review full report at Codecov.

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


Skip jobs that access privileged secrets if triggered by Dependabot

Jobs triggered by Dependabot can't access Actions secrets. This is to prevent Dependabot from updating a dependency to a version containing malicious code which could steal those secrets.
If you want Dependabot to access secrets, you have to explicitly create separate Dependabot secrets:

If a job triggered by Dependabot tries to access Actions secrets, that job will fail.
Consider adding a conditional if: github.actor != 'dependabot[bot]' to jobs that access secrets to prevent malicious code from accessing secrets that it shouldn't, e.g. Azure credentials.
Could be considered a fix, since it prevents jobs that access secrets from failing if triggered by Dependabot.
Consider updating security section in best practices to always skip jobs that access secrets if triggered by Dependabot (or if it requires a GITHUB_TOKEN with write access to the repository).
Tasks

[ ] #515
[ ] #517

References

https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/

Seems like a good idea, if Dependabot still works as intended afterwards.

@sefornes Dependabot will still work, it just won't run jobs that access secrets that grant privileged access. #517 Should explain it quite well, I hope.

i support this, properly a good secure method anyway, so i give two thumps up 👍🏼 👍🏼


Add internal support for GRCh37/hg19 genome

Currently we recommend the annotables package for GRCh37 annotations. We can instead store them as lazy data inside the package.

Will add unit testing for this in the next release

Supported in basejump 0.1.9


Running SummitTool throws "%1 is not a valid Win32 application" error

Expected Behavior
Running bazel run :SummitTool './Lead_Utility.cls will output some basic information and provide an in-memory AST.
Actual Behavior
Running the command produces the following error:
FATAL: ExecuteProgram(C:\users\michael\_bazel_michael\k757sjdo\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\src\main\java\com\google\summit\SummitTool) failed: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("C:\users\michael\_bazel_michael\k757sjdo\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\src\main\java\com\google\summit\SummitTool"  C:\Users\Michael\Desktop\repos\summit-ast\Lead_Utility.cls): %1 is not a valid Win32 application.  (error: 193)
Steps to Reproduce the Problem

run git clone https://github.com/google/summit-ast.git
run bazel build
run bazel run :SummitTool './Lead_Utility.cls'

I've tried several variations for the path with forward/backward slashes, with/without single quotes, and the full path.
Specifications

OS: Windows 10 Home 10.0.19045 (64 bit)

Hi Michael,
Thanks for flagging this! We only aimed at Linux support for the first releases.  That said, I don’t see any reason — beyond some minor issues — why Windows should be a problem.  Let me set up a dev env and see if this can be fixed quickly.

I spent a few hours working to build on a GCP windows VM.  I ran into quite a number of issues other than yours.
TLDR my conclusion was that bazel (and the common rules libraries that this depends on) are insufficiently stable to support development on Windows.  I don't plan to pursue this further.  (But this need not be the final word: it'd be great if someone is motivated to take this on!)  NOTE: continuing to support Windows users (e.g. who download a library from maven central) remains important.


Proposal: Mutable context objects

I've just waded through issue 38: Template inheritance.  I know I'm a couple of years late to that dance, but I suspect that one reason why the proposal hasn't been adopted is that there was never any consensus on what should be done; there were at least two implementations that behaved slightly differently.  So rather than adding to an already lengthy thread, I'm going to propose something different that accomplished the same goal: Mutable context objects (MCO).  (And I think that this will also satisfy the goals of issue 63: Inline partials.
MCOs use two "new-ish" bits of syntax.
{{<}} {{! pushes an MCO onto the context stack }}
{{$key}}value{{/key}} {{! adds a new key-value pair to it }}
{{/}} {{! pops the MCO off of the context stack}}

While the mutable context object is on the stack, the rest of Mustache works the same as always.
{{<}}
{{$hero}}Mahatma Gandhi{{/hero}}
{{hero}} is someone I admire.
{{/}}

The preceding renders as:
Mahatma Gandhi is someone I admire.

Note that using the same key overwrites the previous value.
{{<}}
{{$hero}}Mother Teresa{{/hero}}
{{hero}} is someone I admire.
{{$hero}}Harriet Tubman{{/hero}}
{{hero}} is someone I admire.
{{/}}

The preceding renders as:
Mother Teresa is someone I admire.
Harriet Tubman is someone I admire.

Note how this interacts with partials.  Here is an example of a partial:
{{! an example template }}
<title>{{title}}{{^title}}Default title{{/title}}</title>

{{heading}}
Hello, world!
{{footing}}

Now, let's see what happens when it is used like this:
{{<}}
{{$title}}Custom title{{/title}}
{{$footing}}That's all, folks!{{/footing}}
{{> template }}
{{/}}

You wind up with this:
<title>Custom title</title>

Hello, world!
That's all, folks!

Needless to say, you can push multiple MCOs onto the context stack; any new values are written to the most recently created MCO (and obviously disappear when it gets popped).  Any objects added to the context stack after the MCO are considered immutable, and are skipped over when adding a value.  Also, by the judicious use of {{#key}} and {{^key}} sections, you have complete control over how substitutions are performed.
BTW, I expect that the last example is going to be a common use case, so I'd suggest that the following should be interpreted as doing the same thing:
{{< template }}
{{$title}}Custom title{{/title}}
{{$footing}}That's all, folks!{{/footing}}
{{/ template }}

Finally, I know that all of this can be done via lambdas.  I would note that (a) just because anything can be computed via a Turing machine doesn't mean that you should ignore other ways of doing it, and (b) lambdas are an optional part of the spec, so IMHO that isn't a good reason to reject this or any other proposal.  Also, I'm fully aware that I'm re-using sigils that other implementations have used for years.  Feel free to suggest others that I could use instead, but note that this spec could, like lambdas, be an optional part of the overall spec.  Conflicting implementations could then ignore it, possibly later adding an option to their engine to toggle the interpretation.
Your thoughts?

Closing this, as the proposal was superseded by template inheritance actually making it into the spec (#125) and because the comments seem to have been going in a less than constructive direction.
If someone would like to give the idea of mutable context objects another chance, please feel welcome to create a new discussion for it.


[flutter_tools] handle out of date xcode config in assemble

Fixes #78904
If a generated xcconfig is really out of date, it will hit a base64 encode error since we migrated this encoding from URI based stuff to fix windows desktop. Catch the error and rethrow a specific tool exit.

:(


todo: ensure builds are reproducible

https://blog.filippo.io/reproducing-go-binaries-byte-by-byte/
Maybe test using CircleCI and racing to compare x64 linux build sha1s.

See usage of CGO_ENABLED=0 at https://github.com/ncw/rclone/commit/1d6698a7541ee4969fa5b8126fadf3520c2adc45

Compare binaries with https://diffoscope.org on CircleCI failure

WIP at https://github.com/CoveredCI/testman/compare/repro


Handle transient S3 errors in tune

The remote tuning was being plagued by transient permission errors when fetching / pushing to s3. After chatting with nautilus admins, it was discovered that there is an issue with the internal url used for accessing s3 from within the cluster. The external url (although slower) works fine, so for the time being we use that.
This PR also adds retries to various points where we interact with s3 to future proof us from this issue.

Is the conda-lock accurate? Did you re-lock after removing pycbc?

Yeah I relocked it - I can double check pycbc isn't in there

I think it's probably just versions of existing packages being updated but I can double check before merging


use GetTime when validating "iat" claim

I've noticed that validation of 'iat' field in a claim always fails. That is probably due to a change where GetTime method was introduced to set / get time related claims, but was not used at the validation step. This is one way of solving that.

Apologies for taking a couple days to get to this. Perhaps it'd make more sense to use Time.Equal instead of comparing across? That allows comparing across timezones whereas == has false positives.

lgtm. thank you for fixing this!


Cyclic inheritance of types

Some grammars produce cyclic inherited types. For example, these 2 grammars
A infers TypeA:
    B ({infer TypeC.left=current} name=ID)*;

B infers TypeB:
    '(' A ')' | {infer TypeD} value=NUMBER;

A infers TypeA:
    B C*;

B infers TypeB:
    '(' A ')' | D;

generate these types:
export type TypeA = TypeB | TypeC;
export type TypeB = TypeA | TypeD;

TypeA here inherits TypeB and TypeB inherits TypeA, what brings TS errors. We should forbid cyclic inheritance by a validation error.
The validation error should be shown for declared types, too:
type TypeA = TypeB | TypeC;
type TypeB = TypeA | TypeD;

I think I'm experiencing something like this problem myself. Is this issue still open?

@jtenner I've assigned you :)


Add series data point colors

This commit adds a <c:dPt> node, which represents each data point in a series. It's possible there is cruft in the child nodes - this was pulled directly from a modified PPTX.
As per the conditional, if there are colors, and this is not a collection of series (clustered or stacked), it will apply the colors.

What is the corruption? I'm exporting several types of charts. Maybe I missed a scenario.

Oh, I wonder if I did not build the code correctly. I had trouble with the source maps. I was running the unbuilt file, and not using the extras.


Feature request: Add back and forward buttons

Go back page (and forward) is a useful feature but there no that feature in napture

and a home page too!


[3.0] Remove parse placeholder in beanName logic

What is the purpose of the change
Fixes #8359

Codecov Report

Merging #8368 (dda5c4e) into 3.0 (cecefc3) will decrease coverage by 0.76%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8368      +/-   ##
============================================
- Coverage     63.96%   63.20%   -0.77%
  Complexity      312      312
============================================
  Files          1078     1099      +21
  Lines         45763    46052     +289
  Branches       6874     6955      +81
============================================
- Hits          29271    29105     -166
- Misses        13239    13697     +458
+ Partials       3253     3250       -3

Impacted Files
Coverage Δ

...onfig/spring/schema/DubboBeanDefinitionParser.java
80.69% <ø> (-0.54%)
:arrow_down:

...figcenter/file/FileSystemDynamicConfiguration.java
0.00% <0.00%> (-59.05%)
:arrow_down:

...fig/configcenter/TreePathDynamicConfiguration.java
60.00% <0.00%> (-25.72%)
:arrow_down:

...bo/rpc/cluster/support/FailbackClusterInvoker.java
52.45% <0.00%> (-18.04%)
:arrow_down:

...ache/dubbo/qos/command/util/ServiceCheckUtils.java
0.00% <0.00%> (-11.77%)
:arrow_down:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

...va/org/apache/dubbo/registry/RegistryNotifier.java
85.71% <0.00%> (-10.96%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
89.65% <0.00%> (-6.90%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
58.69% <0.00%> (-4.35%)
:arrow_down:

...org/apache/dubbo/rpc/protocol/AbstractInvoker.java
65.76% <0.00%> (-2.71%)
:arrow_down:

... and 71 more

Continue to review full report at Codecov.

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


Refactor code in train.py

Hi @ZQPei , currently I'm working on a tracking-by-detection project very related to deepsort.
I've tried a lot to make your repo works for me.
Do you mind rearrange your code in file train.py? Here, I rewrite your train.py code, I push all the related block in functions like the following:
import os, time
import numpy as np
import argparse
import torch
import torchvision
import torch.backends.cudnn as cudnn
from model import Net

def get_parser():
    parser = argparse.ArgumentParser(description='Train feature extractor for DeepSort')
    parser.add_argument('--data-dir', default='./Mars', type=str, help='Path to data directory, e.g. ./Mars or ./Market1501')
    parser.add_argument('--no-cuda', action='store_true')
    parser.add_argument("--gpu-id", default=0, type=int)
    parser.add_argument('--learning-rate', default=0.1, type=float, help='learning rate')
    parser.add_argument('--interval', '-i', default=20, type=int)
    parser.add_argument('--resume', '-r', action='store_true')
    return parser

def setup_device(gpu_id, no_cuda):
    device = "cuda:{}".format(gpu_id) if torch.cuda.is_available() and not no_cuda else "cpu"
    if torch.cuda.is_available() and not no_cuda:
        cudnn.benchmark = True
    return device

def load_data(data_dir):
    train_dir = os.path.join(data_dir, 'train')
    test_dir = os.path.join(data_dir, 'test')
    transform_train = torchvision.transforms.Compose([torchvision.transforms.RandomCrop((128, 64), padding=4), torchvision.transforms.RandomHorizontalFlip(), torchvision.transforms.ToTensor(), torchvision.transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])])
    transform_test = torchvision.transforms.Compose([torchvision.transforms.RandomCrop((128, 64), padding=4), torchvision.transforms.RandomHorizontalFlip(), torchvision.transforms.ToTensor(), torchvision.transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])])
    trainloader = torch.utils.data.DataLoader(torchvision.datasets.ImageFolder(train_dir, transform=transform_train), batch_size=64, shuffle=True)
    testloader = torch.utils.data.DataLoader(torchvision.datasets.ImageFolder(test_dir, transform=transform_test), batch_size=64, shuffle=True)
    num_classes = len(trainloader.dataset.classes)
    return trainloader, testloader, num_classes

def define_net(num_classes, resume):
    start_epoch = 0
    best_acc = 0.
    net = Net(num_classes=num_classes)
    if resume:
        assert os.path.isfile('./checkpoint/ckpt.t7'), 'Error: no checkpoint file found!'
        print('Loading from ./checkpoint/ckpt.t7')
        checkpoint = torch.load('./checkpoint/ckpt.t7')
        net_dict = checkpoint['net_dict']
        net.load_state_dict(net_dict)
        best_acc = checkpoint['acc']
        start_epoch = checkpoint['epoch']
    return net, best_acc, start_epoch

def setup_loss_optimizer(net, learning_rate):
    criterion = torch.nn.CrossEntropyLoss()
    optimizer = torch.optim.SGD(net.parameters(), learning_rate, momentum=0.9, weight_decay=5e-4)
    return criterion, optimizer

def train(interval, epoch, net, trainloader, device, criterion, optimizer):
    print('\nEpoch: %d'%(epoch+1))
    net.train()
    training_loss = 0.
    train_loss = 0.
    correct = 0
    total = 0
    start = time.time()
    for idx, (inputs, labels) in enumerate(trainloader):
        #forward
        inputs, labels = inputs.to(device), labels.to(device)
        outputs = net(inputs)
        loss = criterion(outputs, labels)

        #backward
        optimizer.zero_grad()
        loss.backward
        optimizer.step()

        #accumurating
        training_loss += loss.item()
        train_loss += loss.item()
        correct += outputs.max(dim=1)[1].eq(labels).sum().item()
        total += labels.size(0)

        #print
        if (idx+1)%interval == 0:
            end = time.time()
            print("[progress:{:.1f}%]time:{:.2f}s Loss:{:.5f} Correct:{}/{} Acc:{:.3f}%".format(100.*(idx+1)/len(trainloader), end-start, train_loss/len(trainloader), correct, total, 100.*correct/total))
            training_loss = 0.
            start = time.time()
    return train_loss/len(trainloader), 1. - correct/total, net

def test(epoch, net, testloader, device, criterion, best_acc):
    net.eval()
    test_loss = 0.
    correct = 0
    total = 0
    start = time.time()
    with torch.no_grad():
        for idx, (inputs, labels) in enumerate(testloader):
            inputs, labels = inputs.to(device), labels.to(device)
            outputs = net(inputs)
            loss = criterion(outputs, labels)

            test_loss += loss.item()
            correct += outputs.max(dim=1)[1].eq(labels).sum().item()
            total += labels.size(0)

        print('Testing ...')
        end = time.time()
        print("[progress:{:.1f}%]time:{:.2f}s Loss:{:.5f} Correct:{}/{} Acc:{:.3f}%".format(100.*(idx+1)/len(testloader), end-start, test_loss/len(testloader), correct, total, 100.*correct/total))

    #save ckpt
    acc = 100.*correct/total
    if acc > best_acc:
        best_acc = acc
        print('Saving parameters to ./checkpoint/ckpt.t7')
        checkpoint = {
            'net_dict': net.state_dict(),
            'acc': acc,
            'epoch': epoch,
        }
        if not os.path.isdir('./checkpoint'):
            os.mkdir('checkpoint')
        torch.save(checkpoint, './checkpoint/ckpt.t7')
    return test_loss/len(testloader), 1. - correct/total, best_acc, net

def lr_decay(learning_rate):
    global optimizer
    for params in optimizer.param_groups:
        params['lr'] *= learning_rate
        lr = params['lr']
        print('Learning rate adjusted to {}'.format(lr))
    return lr
def main():
    args = get_parser().parse_args()
    device = setup_device(args.gpu_id, args.no_cuda)
    trainloader, testloader, num_classes = load_data(args.data_dir)
    net, best_acc, start_epoch = define_net(num_classes, args.resume)
    net.to(device)
    criterion, optimizer = setup_loss_optimizer(net, args.learning_rate)
    for epoch in range(start_epoch, start_epoch+40):
        train_loss, train_err, net = train(args.interval, epoch, net, trainloader, device, criterion, optimizer)
        test_loss, test_err, best_acc, net = test(epoch, net, testloader, device, criterion, best_acc)
        if (epoch+1)%20 == 0:
            lr_decay(args.learning_rate)
    return

if __name__ == '__main__':
    main()

And I think we should puts the training log to a log-directory in order to show the training processing by tensorboard?
Any suggestion?
Thanks for reading!

Hi, @pvtien96
You can open a pull request and I will merge it to our code.
Thank you for your contribution to this repo!

I have three questions:

why training the model without use yolo3 to detect?
2 . I try to using MARS-v160809 dataset to tain a model, it's ok in traing, but get a very low accuracy in test.what's the problem?
And how to train the model with using MARS-v160809 dataset?

@394781865 I'm not sure whether I truly understood your questions.

You can combine deepsort with any detection model, like yolo and its variations (yolov2, yolov3, yolov4...), faster rcnn, ssd...
I didn't test the model successfully.
I used to ask like you. You should read all the issues in this repo and find out yourself.
Hope this helps.

I have three questions:

why training the model without use yolo3 to detect?
2 . I try to using MARS-v160809 dataset to tain a model, it's ok in traing, but get a very low accuracy in test.what's the problem?
And how to train the model with using MARS-v160809 dataset?

Hi , i encountered the same problem, i am training the MARS datasets, and get very low accuracy as well as the training speed is very very very slow, i trained the datasets for 3 days ,just run 9 epoches . Did you figure out the problem ?

Hi @pvtien96
I'm curious that you refactored the code above but did not mention/change that the current torchvision.datasets.ImageFolder(train_dir, transform=transform_train) simply does not work with the Market1501 dataset structure.
I created this custom Dataset loader:
import natsort
import os
from PIL import Image

from torch.utils.data import Dataset

class Market1501DataSet(Dataset):
    def __init__(self, main_dir, transform, join_0000_and_minus1=False):
        self.main_dir = main_dir
        self.transform = transform
        all_imgs = os.listdir(main_dir)
        self.total_imgs = natsort.natsorted(all_imgs)
        # __getitem__ must return an index of list "classes"

        image_names = [x[0:4] for x in self.total_imgs]
        self.classes_dict = dict.fromkeys(image_names)
        for i, key in enumerate(self.classes_dict):
            self.classes_dict[key] = i
        self.classes = list(self.classes_dict)

    def __len__(self):
        return len(self.total_imgs)

    ## Returns: Tuple (image, target) where target is the index of the target category.
    def __getitem__(self, idx):
        img_loc = os.path.join(self.main_dir, self.total_imgs[idx])
        image = Image.open(img_loc).convert("RGB")
        tensor_image = self.transform(image)

        label = self.total_imgs[idx][0:4]
        index_of_label = self.classes_dict[label]

        return (tensor_image, index_of_label)

and then in train.py
market_train = Market1501DataSet(train_dir, transform=transform_train)
market_test = Market1501DataSet(test_dir, transform=transform_test)

trainloader = torch.utils.data.DataLoader(
    market_train,
    batch_size=64,shuffle=True
)
testloader = torch.utils.data.DataLoader(
    market_test,
    batch_size=64,shuffle=True
)

What did you do?
(I'd like to discuss this with you and the author because I'm not sure if this is strictly correct, since we'll be training on 751 classes, but then testing in 750 completely different classes but with the same index ids.. (so the network should be confused))


Add libctx support to CMS/PKCS7

Checklist

[x] documentation is added or updated
[x] tests are added or updated

Documentation still needs to be done.

This should be ready for review again.

ping

Changed to WIP: as it is now dependant on bits from #11948 and #12153 are merged..
It will be rebased once those dependant PR's are merged, This should make it slightly easier to review.

@mattcaswell
Taken out of work in progress now that the dependent PR's have been merged.
It required quite a bit of rework since the base PR for X509 changed quite a bit,
so I have also broken it up into separate logical commits.

I had to search for with_libctx to fix up all the indentation and documentation. Hopefully I got them all now.

The last 5 commits are the fix ups after a rebase.

Looks like fuzzing test is generally broken at the moment.

rebased again : only change was a rename of an API from "_ex" to "_with_libctx".

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Thanks for reviewing. Finally merged to master.


Random FreeNAS Q&A?

(1) Fails to restart properly (can initialize a restart, but have to SSH into the jail and manually start HTPC Manager
(2a) Installing in a fresh FreeNAS jail seems better, but not sure which init script included in the code will allow properly daemonize HTPC
(2b) Will making www user/group owner be an issue?

Hi!
I would love to help you with your questions, im afraid it would be off no use.
Im a windows guy..
Just a quick question regarding 1: does the styxit version restart correctly?

Windows guy?! GASP! All joking aside, no a big deal. I made another Wiki page for anyone interested in the manual approach and bypassing FreeNAS plugins altogether.

@thejrose1984 If you send a pr for a working rc script for freenas ill merge it :)


settings: Remove reminder-bot from REALM_INTERNAL_BOTS.

So removing reminder-bot from REALM_INTERNAL_BOTS has pretty much no effect on the realms that are already created. They would continue to have reminder-bot. On the other hand, new realms created would no longer have reminder-bot. To remove the reminder-bot in existing realms we would need to run a query manually to deactivate them.
Something like this
users =<EMAIL_ADDRESS>for user in users:
    do_deactivate_user(user)

Deactivating reminder bot would get rid of it from stream settings and typeahead. But it would still be visible in /#organization/bot-list-admin.

Merged, thanks @hackerkid!  @adnrs96 FYI.


Fix Strtab::insert panic

Right now  Strtab::insert will panic with and out-of-bounds slice if Strtab.data starts with a null byte, and Strtab::insert is called with a non-nil value.
This change fixes this bug in Strtab::insert by cleaning up the code, and removing an unnecessary vector. If you want me to just remove the hashtable logic entirely (as per the TODO) just let me know.
It also does a fixes a few warnings and adds a .gitignore, if you want me to split out these changes into a separate PR, just let me know.

thank you for the PR!
i haven't touched this in a while, so it would greatly help if you could add test that is fixed with this PR

thank you for the PR!
i haven't touched this in a while, so it would greatly help if you could add a test that is fixed with this PR

I added the tests and also removed the hashtable logic (per the TODO). There were also some minor cleanups I did. I also ran rustfmt on the file.


2.2.1 requires node >= 16.0 but the documentation still says 12

The newly released 2.2.1 version of the @vscode/test-electron package requires node >= 16, but the readme still says Node >= 12.x.
Will this requirement be loosened, or should projects either upgrade to Node 16 or pin vscode/test-electron to 2.2.0?

Node 14 is still under LTS maintenance, though, and dropping support for it in a patch release wasn't ideal 😕


Added Basic Documentation for the CLI

Added another section on the documentation page with a single page explaining how the CLI works and how to use it find out about its capabilities.

Thank you so much for writing this! One step closer to better docs :)

Anything you need me to do to get this merged in? I can make some edits to the text as per your comments?

If you can remove the build artifacts and tweak that one sentence then I can merge this for you

OK will do.

Done and Done.

You're awesome!


6.0 Feedback: Styling is not correct when only 1 pipette is attached to the robot

Overview
when one pipette is attached to the robot, we should not display an empty line item. we should only display 1 row in the table

See figma: https://www.figma.com/file/l7BAJAGICr10ELsSqQD0Sr/Design-System?node-id=2383%3A88338
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
No response
Operating system
No response
Robot setup or anything else?
No response

This is solved by  #10657


onMessage event fires twice on broadcast message

The subject says it all

It was because in the new chat.nsf, one observer (observer.ssjs)and a listener( pbar.ssjs) were loaded.


CSV - "ignoreHeaderCase" is not reflected in the UI

I expect that when I import a CSV file with the ignoreHeaderCase parameter, then headers will be in lower case, but they are not.
Steps to reproduce:

Import following CSV file with Default format and parameter firstRecordAsHeader and ignoreHeaderCase:

sourceCsvIgnoreHeaderCaseString,sourceCsvIgnoreHeaderCaseNumber,sourceCsvIgnoreHeaderCaseDecimal,sourceCsvIgnoreHeaderCaseDate,sourceCsvIgnoreHeaderCaseBoolean
csv0,0,0.0,1989-05-05,true
csv1,10,10.0,1989-05-05,true
csv2,20,20.0,1989-05-05,true
csv3,30,30.0,1989-05-05,false
csv4,40,40.0,1989-05-05,false

Hi @rkorytkowski can you take a look at this #2454 and #2455? and put some issue labels once identified.

IgnoreHeaderCase is not meant to apply a lower case transformation. The purpose of it is that if you map headers from a given  file and then run the transformation against a different file that has headers in different case it will still match the same headers and do the right thing.
However, I don't see we have a test case for that feature so I'll use this issue to write one.


Loading local assets with XHR

Is there anyway to use the viewer outside of a webserver locally?
e.g. using
file:///Users/pat......./assets/info.json

I'm getting the usual error of 'Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.' when viewing in Chrome with a file:// url.
I can see the following in the source of viewer.js, but is this something different. Is there a way to use the viewer outside of a local webserver or am i barking up the wrong tree?
function isRequestToLocalFile(url) {
  return urlUtil.parse(url).protocol === 'file:';
}

You could try running Chrome with web security disabled and see if that works: http://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
From the 'Common Issues' section of the README:
2. Are you loading assets from a file:// URL? Many browsers' security policies block these requests, so viewer.js is unable to load assets. To resolve this issue, you can run a local server using grunt serve (see Getting Started with the Code) or save your assets to some remote server for testing.


Vertx webclient unable to resolve host

i am getting UnknownHostException in webclient, but i do not think its a host problem as I can resolve it fine via terminal.
Future{cause=failed to resolve 'myhost.com'. Exceeded max queries per resolve 4 }
I'm using vertx-web
3.5.0
Here is my code :
private void callMe(RoutingContext routingContext) {
        final IncomingObject incomingObject = Json.decodeValue(routingContext.getBodyAsString(),
            IncomingObject.class);

        OutGoingRequest outGoingRequest = new OutGoingRequest();

        WebClientOptions optionsWeb = new WebClientOptions().setLogActivity(true);
        optionsWeb.setConnectTimeout(10);
        optionsWeb.setIdleTimeout(10);
        optionsWeb.setSsl(true);
        optionsWeb.setTrustAll(true);

        webClient = WebClient.create(vertx, optionsWeb);

        List<OutGoingRequest> outGoingRequests = new ArrayList<>();

        List<Future> futures = new ArrayList<>();
        for(Item item : incomingObject.getItems()) {

            Future<JsonObject> future = Future.future(fut -> {
                if(fut.failed()) {
                    System.out.println("failed");
                } else {
                    System.out.println("succeeded");

                }
            });

            futures.add(future);

            webClient.postAbs("https://myhost.com")
                .addQueryParam("myName", "true")
                .putHeader("Content-Type", "application/json")
                .putHeader("Accept", "application/json")
                .timeout(10000)
                .sendJsonObject(new JsonObject(Json.encode(item)), handler1 -> {

                    int code = handler1.result().statusCode();
                    if (code == 200) {
                        future.complete(handler1.result().bodyAsJsonObject());
                    }
                });

        }

        CompositeFuture.all(futures).setHandler(h -> {
            if(h.failed()) {
                System.out.println("all failed");
            } else {
                System.out.println("all succeeded");
            }
        });

    }

use http://myhost.com instead

Why shall I use http when the remote server is https?

I am getting the same issue..
in the the webClientOptions i havent done setSSl to true, but my abs url is an https one. I still get the same error..

@nitish24p can you try to run the JVM with the  -Dvertx.disableDnsResolver=true sysprop?

Yea it works with that but that's not the root cause of the problem. I did a tcp dump of the dns via wireshark, and the vertx client was making a call to some weird dns server ip, which was causing the not resolved exception. The browser was hitting the correct dns servers as configured by my ISP but the vertx client was calling some random dns server ip.. Don't know why though


Can I set node position in the graph?

Hi dhotson,
I have the same request with Yang Chen, would you mind adding this new arguments?

The algorithm of springy determines the node position are randomly set. If you want to put them in fixed position, you have to design your algorithm.

Thanks a lot. Would you mind pointing out where the core code is? I am not a js user so this may cost some time.

You can find it : https://github.com/dhotson/springy/blob/master/springy.js .
I think they used the Force-directed algorithm: https://www.jianshu.com/p/d3c64a39535a

#105  Hello yancychy, @yancychy  I have changed the code and now it should support position specification.


Add support for pickling std vector, std aligned vector and std map

With this I believe all elements of model and data classes are now picklable.

Perhaps not in this PR, but for the sake of clarity it might be useful to expose all container objects in a separate file. As of now, they are split between model, data, fcl and so on.

What do you mean exactly?

I think we are doing is correct, each container has its own file.


smatto stored request

How to send standard OpenRTB requests with Android client SDK? we want to use standard OpenRTB  instead of stored request,  is there a guideline for it?
If it is a stored request, and my adapter is Smaato, could you provide a JSON example of storing the request on the server side?

I tried to configure the Smaato stored request on my server and sent a request using the SDK. However, now I am getting an error when sending a request to Smaato. The error message is “Unexpected status code: 400. Run with request.test = 1 for more info”. In the httpcall, the error is “Unknown or blocked publisher: 100042525”. If you have time, could you please help me identify where the configuration error is? We need to get this up and running as soon as possible. Thank you. Here are my stored request and parameters:
{
"ext": {
"smaato": {
"publisherId": "100042525",
"adspaceId": "130563103"
}
}
}


Link to givers from project history for admin

Admin should be able to link to specific accounts as we do on participant history page.

Correct me if I am wrong is Project = Team. If yes then on then aren't the givers on the Team history page Anonymous?
Do you want to change that?

Yes, project = team. They are anonymous to receivers (until ever we get to #3112), but admins should still be able to see them. Can be helpful during fraud review.

So do you want this after has been accomplished or should givers be visible to admins only before #3112  drops. I could work on this since we are postponing backfill for now?

Admins only. Shouldn't wait for #3112. We have an if admin flag on the participant history page, should be parallel here.


R: update CRAN and Bioconductor package sets

Motivation for this change
Update CRAN/Bioconductor package sets
Things done

Ran nix-build test-evaluation.nix --dry-run

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] 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)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Merged to r-updates in 008d5dafd7d564b69067f2ab93e542e136acfb28. Test builds will run at https://hydra.nixos.org/jobset/nixpkgs/r-updates.


Add untested support for cluster autoscaler with newer k8s versions.

https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler#releases
and
https://github.com/kubernetes/autoscaler/releases
were used as input.


Englisch Documentation / Naming

Even though this is about Germany, non-German-speakers may be interested in this data too.

Sorry for replying this late, somehow I don’t get notifications for newly created issues. I will translate the README.md during next week. Thanks for opening this issue!

Did you unwatch the repo by accident?

I just added a PR with translation of the README file to English i18n English README.

Fixed with https://github.com/isellsoap/deutschlandGeoJSON/pull/5. Thanks, @mibrl12!


fix: Bug with AnyHashable coercion for non-iOS platforms

We encountered a similar issue on the macOS 11..<11.3 versions, which has been fixed for iOS.
Although the issue was observed on macOS, I suggest including all platforms that could potentially face the same problem.

This PR extends the _AnyHashableCanBeCoerced check to include macOS, watchOS, and tvOS with their respective minimum versions.

@VMLe: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-ios-dev@main": {
      "remote": {
        "owner": "VMLe",
        "repo": "apollo-ios-dev",
        "branch": "macos-11-support-fix"
      }
    }
  }
}

bc28307d7b964c8977113b805294b44342c4cd4b

Thank you for this! I'm happy to accept this PR. Just want to make sure we have the correct versions for each platform. Where did you get the versions that you added to the check for each platform from? This behavior of AnyHashable isn't well documented, and I want to make sure we are getting it right.

I can confirm that for macOS, AnyHashable coercion starts working correctly with macOS 11.3, based on the data we get from Sentry and our observations.
Also, all the versions I mentioned, including iOS 14.5, are related to Xcode 12.5 and have similar release dates and release notes. ( macOS, iOS, watchOS, tvOS )
However, you are correct — Apple does not provide any information about this issue. Consequently, I do not have confirmation for tvOS and watchOS due to the lack of available data.
I believe that all these versions are closely related. However, if you feel that the connection between these versions is insufficient, I can remove watchOS and tvOS from this pull request.


Change the refer.log file path. Currently it is being saved within the directory where the app is being executed.

Create a new directory ~/.config/refer. Here, we'll possibly save any configs in future as well. For now, log file should go under this folder.
Additionally, add a few more logs for debug, info and trace.

I'd like to work on this issue. I plan to start working on it by the end of this week.

@mtsalt Go ahead. If you wish, you can assign this issue to yourself.
Also, I was wondering that $HOME/.cache/refer/log seems more appropriate location to store logs.

@Feohr I agree with your suggestion.
I thought $HOME/.refer/log/refer.log was better, but $HOME/.cache/refer/log/refer.log is much better because, in this project, we don't need to store the log file for a long period.


AWS Step Functions

Any chance the way step functions are built with CDK could be copied for Ion? The default pulumi def is a pain to use.
CDK: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions-readme.html
Update:
To make the request here a bit more clear, I specifically want to be able to create a step function using code instead of using the json string definition (and dont want to deploy with CDK). CDK step functions were super nice to use because of how easy it was to build without needing to reference the AWS console to try and use the visual builder or god forbid try to figure out the json format everytime you need to update or create a new step function.

Any news on this? 🙏
Still using the serverless framework because of StepFunctions.


Do not add a trailing comma on array inside macro

Closes #2652.

Thanks!

Instead of patching things as we go along it might be worth it to add test to rustfmt right now that cover all cases that trailing commas can potentially break.
Patching things "as we go along" is the wrong approach here. The moment it was decided that rustfmt should add trailing commas everywhere should have been the moment in which all corner cases where trailing commas can break things should have been enumerated, and tests for those cases covered by the first PR adding support for that.
Patching things as we go along adding a new test case every time some project break doesn't seem disciplined enough to me here.


Allow update.bash without git fetch/pull

I'm using Ansible to install zram-config and set a specific git tag I'd like to check out (e.g. v1.5.0). I configured Ansible to run update.bash when it changes the checked out git repo (e.g. when I change the Ansible config from v1.4.0 to v1.5.0).
Problem is that update.bash always fetches and checks out the main branch. I'd like to be able to just let it update the installed files after checking out a branch/tag myself.
Thanks for your work!

+1 for having the possibility to check out specific branch and use it within the update.bash script.

This is the only issue reported at the moment. Any update on the current status?

Sorry for the lack of response on this, I have been away serving as a missionary. This is a great suggestion, and I will begin working on this soon.

No need to apologize, thank you for looking into this and still maintaining the project 🎉


React and Redux Group Project: Space Travelers Hub

Work Done
Description
In this task, we worked with the real live data from the SpaceX API. We built a web application for a company that provides commercial and scientific space travel services. The application allows users to book rockets and join selected space missions.
Rockets /Dragons
The Rockets section displays a list of all available SpaceX rockets. Users can book each rocket by clicking the reservation button or cancel the previously made booking. The same layout is used to form the Dragons section.
Missions
The Missions section displays a list of current missions along with their brief description and participation status. There is also a button next to each mission that allows users to join the selected mission or leave the mission the user joined earlier.
My Profile
The My Profile section displays all reserved rockets and space missions.
Project Specifics
Config & basic setup

Created React App.
Installed React Redux, Redux Logger and React Router.
Downloaded the free image for the app logo.
Created routes and view components: rockets, missions, my profile, dragons.

Used <NavLink /> for the page navigation links and style active class to indicate which section/page user is currently on (underline active navigation link).

Created directories for all Redux state slice files:rockets, missions, dragons.
Fetched data and updated Redux store
Once the data are fetched, dispatched an action to store the selected data in Redux store.
Used useSelector() Redux Hook to select the state slices and render lists of rockets and missions in corresponding routes.
Wrote actions and reducers for booking rockets/dragons and joining missions.
Created a reducer and action dispatcher for the "Join Mission" button.
Wrote actions and reducers for canceling rockets/dragons and leaving missions.
Rockets that have already been reserved show a "Reserved" badge and "Cancel reservation" button instead of the default "Reserve rocket".
Dragons that have already been reserved show a "Reserved" badge and "Cancel reservation" button instead of the default "Reserve dragon".
Missions that the user has joined already show a badge "Active Member" instead of the default "NOT A MEMBER" and a button "Leave Mission" instead of the "Join Mission" button.
Rockets/Dragons and Missions use the React conditional rendering syntax.
Composed three column layout and list ONLY the rockets/dragons reserved and missions joined by the user.

Work Done After Review

Fixed the issue of missions not rendering.
Ran linter checks.


Rate limiting of v1beta1.external.metrics.k8s.io

I have keda deployed in all of my environments and I notice that I am getting spammed in all of them with rate limiting notices. Including environments which are not actually using Keda at all yet. Is there anything that I should be doing to address this, or is this a known issue of some sort? I don't see any documentation around this situation. I haven't seen any ill effect on keda's performance where I am actually using it.
kube-apiserver-ip-10-28-11-137.us-west-1.compute.internal kube-apiserver E0112 17:07:58.690813       1 controller.go:114] loading OpenAPI spec for "v1beta1.external.metrics.k8s.io" failed with: OpenAPI spec does not exist
kube-apiserver-ip-10-28-11-137.us-west-1.compute.internal kube-apiserver I0112 17:07:58.690830       1 controller.go:127] OpenAPI AggregationController: action for item v1beta1.external.metrics.k8s.io: Rate Limited Requeue.

Keda version: 2.0.0
Kubernetes Version: 1.18.6

Thanks @bpinske . I am seeing those errors as well (in AWS EKS 1.18)

Thanks @bpinske . I am seeing those errors as well (in AWS EKS 1.18)

Looks like we should do something like this?: https://github.com/DirectXMan12/k8s-prometheus-adapter/pull/335

Looks like we should do something like this?: https://github.com/DirectXMan12/k8s-prometheus-adapter/pull/335

Yeah, update of the https://github.com/kubernetes-sigs/custom-metrics-apiserver deps and related code should help. Though it may not be that easy step, as there might be dependency conflicts between mainly (k8s) deps used by KEDA and the updated version of custom-metrics-adapter :(

Yeah, update of the https://github.com/kubernetes-sigs/custom-metrics-apiserver deps and related code should help. Though it may not be that easy step, as there might be dependency conflicts between mainly (k8s) deps used by KEDA and the updated version of custom-metrics-adapter :(

@zroubalik I will make those changes and send a PR "soon" (have done similar changes for other customer metrics servers, so familiar with the details)

@zroubalik I will make those changes and send a PR "soon" (have done similar changes for other customer metrics servers, so familiar with the details)

@surki that's great, thanks for doing that!

@surki that's great, thanks for doing that!


fix fetching pgsql constraints for older server versions

Resolves #7958

This query is actually faster too, checked on my db and the cost is twice as low.

:+1:

Thanks!


EasyScope

Aim
Addition of EasyScope script.
Details
This script will take an IP address range or a list of addresses/ranges and either expand them into single IPs or combine them into a supernet. Very useful for those abnormal scopes.
Do I want to work on this:

[x]  Yes
[ ] No

Sure Go Ahead @infiniteoverflow


[BUG]: Check for issues in release 1.0.0 and rebase it with main

What is the bug related to?
Registry Core
What went wrong?
A bug happened!
What did you expect to see?
A bug should not have happened, instead ...
Additional Context
No response
Relevant logs/output (if any)
No response

Issues found:

release 1.0.0 doesn't contain other aux services
It contains certificate-api which is not updated.
Tests are failing due to unavailabilility of services

PR: https://github.com/Sunbird-RC/sunbird-rc-core/pull/251


Autoplay on embed on muted.

Now, if you tap any song, it autoplays it on the webpage itself. But, it's going on mute as the autoplay embed? Can we fix that or is that just Chrome's settings and you can't do anything about it?

This seems to have automatically fixed. If it comes again, will re-open this issue.

It depends on your youtube setting, if the last video you watched on youtube was on mute, it remains muted in embeds too.


Fix error on 'JSON Support'

Text says YouTube, code says Github.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9dc7c2d3bcd55f5aacd94572b8bc970c316179ea/

Thanks for the catch! I think we actually need to change the text to GitHub and keep the code as GitHub. When I wrote the example, the "youtube" query was hit or miss.

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Thanks for the catch! I think we actually need to change the text to GitHub and keep the code as GitHub. When I wrote the example, the "youtube" query was hit or miss.

Ah ok.  Changed to use GitHub.
(Also made a small copy edit to remove the textual description of the JSON layout since it is in the query, hope that is OK.)

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/72363c66edac4c9b495943ae66119ddaf9dfccaa/

 thanks!

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Option to disable SSL/TLS Cert verification

Add ability to disable SSL/TLS cert verification please

Hi @dhartford,
Thanks for the PR, I'm sorry for the late answer.
Overall view, this looks ok to me but there are some minor GUI layout issues that can be fixed later.
GUI updated:

Thank you


Fix epel-release and pip installation

Description

Removed epel-release installation.
This package was required initially to install python-pip (which is pip2 on CentOS machines, refer this). Now that, we are no longer supporting Python2.x on control + managed nodes, removing this installation.
Here's the documentation for python support matrix https://docs.confluent.io/ansible/7.3.0/ansible-requirements.html

Removed conditional logic to choose between pip package name (for Python3, it would always be python3-pip)

Background/ Reference -
@erikgb's PR https://github.com/confluentinc/cp-ansible/pull/1232
we would need this in 7.2.x branch as well
Fixes # (issue)
https://github.com/confluentinc/cp-ansible/issues/1229
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
On demand job - https://jenkins.confluent.io/job/cp-ansible-on-demand/685/
for debian, ubuntu, rhel molecule scenarios
One caveat with existing tests-
They do not give real picture as we are using geerlingguy images (it has ansible - which means it already has pip , cryptography installed). We have tested it locally with vanilla docker images
testing.zip
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

Still LGTM, even though I would have preferred to have the new validation in a separate PR. It's so much easier to manage the code with atomic commits. Reverts etc....

Still LGTM, even though I would have preferred to have the new validation in a separate PR. It's so much easier to manage the code with atomic commits. Reverts etc....

thanks @erikgb for checking the PR :)
Ah sorry, I didn't see your earlier comment suggesting dedicated PR for validations. I'll check with team and try to move this in separate.


SW-5038 Added Cohort phase check for Vote upserts and deletes

Also removed the ability to delete all votes in a project.

#1756  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Mar 14, 1:07 PM EDT: @tommylau523 started a stack merge that includes this pull request via Graphite.


What does 'evaluation' and 'workflow' do in cfg?

By default, we have evaluation = dict(interval=1, metric='bbox') and workflow = [('train', 1)] in cfg. I am a little confused about these. By setting evaluation.interval=N, mAP or other metrics are calculated after every N training epochs. It seems that 'workflow' is doing the same thing, according to https://zhuanlan.zhihu.com/p/341954021. Maybe I am not understanding 'evaluation' and 'val' correctly. As far as I am concerned now, they are basically the same, indicating the calculation of metrics on validate set. I might need some help here. Thank you!

evaluation is using EvalHook or DistEvalHook to calculate the result. However, workflow is going to use val_step to process some code.
Here is the code that processes workflow in mmcv:
https://github.com/open-mmlab/mmcv/blob/c4b02566cfeb42185041c34ec36f09ad7a5b8589/mmcv/runner/epoch_based_runner.py#L110-L118
For more details, you may need to have a look at mmcv/runner/epoch_based_runner.py

Thank you!


13.5 offset bug (blue team total gold higher than actual total)

Blue team total gold gets added with another number, because it's always higher than the actual blue team gold the further the game advance.

Check if this happens only sometimes. In that case, check if your Snapshot is getting more than 5 champions for that team. Some objects can be wrongly identified as Champions incorrectly (Shako, neeko, leblanc clones...)


Zod Docs, Can we redesign the whole docs.

Considering UI/UX it's not that much good to read and travel through it.

Agreed, I'll likely switch to Nextra in the near future.


$HOSTNAME in vhosts.d/portus.conf

It looks like $HOSTNAME is not set in this script? Something leads to an apache configuration file with this content:
[....]
SetEnv PORTUS_SECRET_KEY_BASE XXXXXXXXXXXXXXXXX
SetEnv PORTUS_MACHINE_FQDN ${HOSTNAME}
SetEnv PORTUS_KEY_PATH /srv/Portus/config/server.key
[...]

I guess this env is read by the application here. So that the issued token contains:
{
  "iss": "${HOSTNAME}",
  "sub": "dirk",
[...]

and lets the docker login command fail:
Error response from daemon: no successful auth challenge for https://portus.xxx:5000/v2/ - errors: [token auth attempt to https://portus.xxx:5000/v2/ realm "https://portus.xxx/v2/token" failed with status: 401 Unauthorized]

Docker registry log:
2015-09-22T09:03:30.829112+00:00 portus registry[1108]: time="2015-09-22T09:03:30Z" level=error msg="token from untrusted issuer: \"${HOSTNAME}\""

/cc @jordimassaguerpla

Hi Dirk! Thanks for the report. We have already fixed that in
https://github.com/SUSE/Portus/commit/effdebdc6f9193a46b3b0a5644fbac6daf3b66ba
I guess your appliance is not the latest one.
Could you send us the output of
rpm -qi Portus
This will tell us which is the latest commit.
Thanks again!

actually the appliance does not call setup_apache and that is why this is not working

Hi,
here is the output:
rpm -qi Portus
Name        : Portus
Version     :<PHONE_NUMBER>0318
Release     : 1.1
Architecture: x86_64
Install Date: Fri Sep 18 17:29:10 2015
Group       : System/Management
Size        : 53624951
License     : Apache-2.0
Signature   : RSA/SHA1, Fri Sep 18 12:37:38 2015, Key ID a193fbb572174fc2
Source RPM  : Portus-20150918120318-1.1.src.rpm
Build Date  : Fri Sep 18 12:36:56 2015
Build Host  : build85
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/Virtualization
URL         : https://github.com/SUSE/Portus
Summary     : Authorization service and fronted for Docker registry (v2)
Description :
Portus targets version 2 of the Docker registry API. It aims to act both as an authoritzation server and as a user interface for the next generation of the Docker registry.

This package has been built with commit 75ce9316e3f126b49d2c9948030eda99c98acb49 from branch master on date Fri, 18 Sep 2015 12:03:18 +0000
Distribution: Virtualization:containers:Portus / openSUSE_13.2

Looks like this is newer than the commit, but I'll try the newest build (mine is Build62.6, I'll use 62.9)

I just created a PR that fixes this issue
https://github.com/SUSE/Portus/pull/360

also the appliance
https://build.opensuse.org/package/rdiff/Virtualization:containers:Portus/PortusAppliance?linkrev=base&rev=63

This has been fixed in commit 9c32ed9840a2f04d20c856295864b43289402d7f. Basically, this is now handled by the new portusctl tool. Feel free to re-open this issue.


mounting {ip}:/Users on /Users failed: Bad file descriptor

docker-machine 0.8.1
el cap
begin
  curl -s https://raw.githubusercontent.com/adlogix/docker-machine-nfs/master/docker-machine-nfs.sh |  sudo tee /usr/local/bin/docker-machine-nfs > /dev/null
  sudo chmod +x /usr/local/bin/docker-machine-nfs
  docker-machine rm dev
  docker-machine create -d virtualbox dev
  docker-machine-nfs dev --nfs-config="-alldirs -maproot=0"
end

👇👇👇
Cannot detect the NFS mount :(

🙁🙁🙁
docker-machine ssh dev sudo mount -t nfs -o noacl,async <IP_ADDRESS>:/Users /Users
mount: <IP_ADDRESS>:/Users failed, reason given by server: Permission denied
mount: mounting <IP_ADDRESS>:/Users on /Users failed: Bad file descriptor

This is happening for me as well.

macOS Sierra
Docker Machine 0.8.2
Docker 1.12.2

Installed via the Homebrew method. Ran docker-machine-nfs default, nothing fancy.

PR #65 submitted for this issue. In the mean time, edit line 357 and remove the -network flag. This will fix /etc/exports and initialize NFS correctly on macOS.

Worked for me on
macOS Sierra
Docker Machine 0.8.2
Docker 1.12.2
VirtualBox 5.1.8 r111374

That's interesting. I don't have any issues on my setup ...
macOs Sierra
Docker Machine 0.8.2
Docker 1.12.2
VirtualBox 5.1.6 r110634
What do you get when running nfsd checkexports ?

On second thought, I do have the issue now ... But it does work for the ip-range. So the -network flag should only be used when the ip-range config is being used

confirmed fix thanks


Updated a typo where an operator was actually a Bitwise AND assignment.

There's a typo on line 343 and 378 where only & instead of && is used.
Using & does a Bitwise AND operation, and in some edge cases that will return 0, meaning the if statement never gets entered. This causes an issue in v2.4.3 of emoji-data with the apple sheet and :sleuth_or_spy:.
For example, using :sleuth_or_spy::skin-tone-3: results in both :sleuth_or_spy: and :skin-tone-3: emojis being returned instead of the Inspector Gadget in the specified skin tone.

This PR will fix the above but a sad side effect is that for v2.4.3 a blank image is instead returned as there's no skin tone options for :sleuth_or_spy:. However, for v.2.4.4 and above things should work as expected. 🎉

Coverage remained the same at 90.265% when pulling c48add79fa424dba0f0d93dacbc6d76548ae0e96 on minimalmonkey:master into ed21f14a5cf719a03bd8a65fd5ef470b7917d2df on iamcal:master.

I just realized this is meant to be a Bitwise AND operation! Been looking closer at the code in build.php. Closing this PR!


Fix/search sort dropdown

What
This was to fix the search dropdown when js is disabled.
I also fixed an issue with search query not being retained when js is disabled and the apply filter button is pressed.
I've made the search page more resemble the aggregated pages.

Apply filter button at bottom of filters
Removed individual buttons from filters when js is disabled
Wrapped all filters in same form tags
Removed form tags from each filter

How to review
Pull this branch
Run dp-frontend-search-controller using make debug ENABLE_REWORKED_DATA_AGGREGATION_PAGES=true
Port forward the api router to sandbox with dp ssh sandbox web 1 -p 23200:localhost:10800

http://localhost:25000/search?q=climate

check all filters and sort work.
Turn js off and refresh, and check they still work.
Who can review
Frontend

Global search and sort is working without js 🎉
But the margin has also gone from the data aggregation pages 🤦♂


Fix pylint 2.2.2 gripes.

The current code base is clean w.r.t pylint 1.9.5 but more recent version of pylint generate a large number of diagnostics.   This series of patches addresses the bulk of the diagnostics (against pylint 2.2.2.).  After this series of patches there are a small number of slightly more awkward diagnostics left, I'll deal with them in due course.

Thanks @mjs-arm , this is now merged


cancelled on refresh

Often a pull-down refresh results in a "cancelled" popup error message.

show screenshot


orchestra/remote: rewrite mktemp to use coreutils mktemp

Use mktemp instead of Python's tempfile.mktemp since coreutils is more
easily available.

[ ] Delete the copy of PR branch pushed on ceph/teuthology after the PR is merged.

Depends on changes from PR #1301.

@kshtsk There's no test that uses this method. How do we test it?

@kshtsk There's no test that uses this method. How do I test it?

any test is using it throw get_file with sudo=True or get_tar methods.

@kshtsk

@kshtsk There's no test that uses this method. How do I test it?

any test is using it throw get_file with sudo=True or get_tar methods.

There are none. So, I added a dummy test here - https://github.com/ceph/ceph-ci/commit/fb30315ac814b85a6e9524c72e1164d7f5b32357 so that I can issue a test by doing teuthology-suite -v -m smithi -c wip-rishabh-master -s fs -p 50 --filter "client-recovery" -t wip-rishabh-rewrite-remote-mktemp. But I get "HTTPError: 500 Server Error: Internal Server Error for url: http://paddles.front.sepia.ceph.com:80/runs/rishabh-2019-08-19_07:58:49-fs-wip-rishabh-master-distro-basic-smithi/jobs/" in the commands output. Would you know what's wrong? I've copied the full log here - https://paste.fedoraproject.org/paste/C1I3l~7jOtE0xw8mkGNq-g

retest this please

@kshtsk

@kshtsk There's no test that uses this method. How do I test it?

any test is using it throw get_file with sudo=True or get_tar methods.

There are none. So, I added a dummy test here - ceph/ceph-ci@fb30315 so that I can issue a test by doing teuthology-suite -v -m smithi -c wip-rishabh-master -s fs -p 50 --filter "client-recovery" -t wip-rishabh-rewrite-remote-mktemp. But I get "HTTPError: 500 Server Error: Internal Server Error for url: http://paddles.front.sepia.ceph.com:80/runs/rishabh-2019-08-19_07:58:49-fs-wip-rishabh-master-distro-basic-smithi/jobs/" in the commands output. Would you know what's wrong? I've copied the full log here - https://paste.fedoraproject.org/paste/C1I3l~7jOtE0xw8mkGNq-g

@rishabh-d-dave could you please rerun any existing test against this teuthology branch in  Sepia?

 I am looking at these three lines -
on master (from first snippet from your last comment) -
2019-08-28T07:31:53.512 INFO:teuthology.orchestra.run.target-github-045:Running:
2019-08-28T07:31:53.513 INFO:teuthology.orchestra.run.target-github-045:> python -c 'import os; import tempfile; import sys;(fd,fname) = tempfile.mkstemp();os.close(fd);sys.stdout.write(fname.rstrip());sys.stdout.flush()'
2019-08-28T07:31:53.623 INFO:teuthology.orchestra.run.target-github-045.stdout:/tmp/tmpYHPJR6

with this PR (from second snippet from your last comment) -
2019-08-28T07:34:49.154 INFO:teuthology.orchestra.run.target-github-047:Running:
2019-08-28T07:34:49.154 INFO:teuthology.orchestra.run.target-github-047:> mktemp
2019-08-28T07:34:49.233 INFO:teuthology.orchestra.run.target-github-047.stdout:/tmp/tmp.MqKR1RjIWu

@kshtsk
By the way, what test did you run?

@kshtsk
By the way, what test did you run?

Just run any test against this PR, in my case, I've run it on temporary deployed teuthology in OVH:
http://<IP_ADDRESS>:8081/runner-2019-08-28_07:25:32-smoke-mimic-distro-basic-ovh/
http://<IP_ADDRESS>:8081/runner-2019-08-28_07:41:27-smoke-nautilus-distro-basic-ovh/

@kshtsk
Ok. So, I suppose, we can merge this PR?

@kshtsk
Ok. So, I suppose, we can merge this PR?

I'm just wondering if we can add a functional test for it.

@kshtsk ping

@kshtsk
Can you please merge this PR? It would be nice if you could merge this PR since I would be adding an equivalent method to ceph/ceph:qa/tasks/vstart_runner.py in PR I am working on.

Thanks for the merge!
Where should the functional tests go in <teuth-repo-root>/teuthology/test? And what you want to test is that arguments have an effect, right?


[DO NOT MERGE] Add file system access

Codecov Report

Merging #177 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #177   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          716       716
  Branches       134       134
=========================================
  Hits           716       716

Continue to review full report at Codecov.

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


Istio

Use Istio to create a service mesh that is transparent to the individual GCV microservices.

Istio is overkill for the GCV microservices. The main motivation for this was to enable inter-service communication, which will be done via Docker Compose in issue #11. Closing.

Istio is overkill for the GCV microservices. The main motivation for this was to enable inter-service communication, which will be done via Docker Compose in issue #11. Closing.


Added CMake script and MSVC fix

Small fix to parseEnumMemberName() to allow compiling to work on newest MSVC.
Added simple CMake script to make it easier to add library to another project.
Signed-off-by: Nils Petter Skålerud<EMAIL_ADDRESS>

Thanks looks good!


Remove deprecated table argument from pivot()

Describe the feature
We swapped from table to relation in a long-past version of dbt utils, and promised it would be deprecated one day.
https://github.com/dbt-labs/dbt-utils/blob/fc8b083f07b72790234f3227df40c4f54dd60c38/macros/sql/unpivot.sql#L21-L28
That day has come.
This looks like:

Removing the table parameter
Removing the checking for table, as well as checking for both table and relation.
Remove the test_unpivot_original_api test
The remaining tests should continue to pass

Who will this benefit?
Future users of this macro, who won't have conflicting and confusing documentation. Lovers of clean code
Are you interested in contributing this feature?
Leaving it for a community member who wants to get into OSS contributions!

Can I work on this one? Looking for my first open source contribution.

Can I work on this one? Looking for my first open source contribution.

@ethanotran it looks like Miles might have already done some work on this one I'm sorry! I'm on mobile so I can't see exactly, or whether there's any others from the crop I opened earlier this week that are unclaimed. If you do find one, feel free to assign it to yourself 👍


Setting stats.all to false causes watch to never finish compile

Bug report
What is the current behavior?
If you set stats.all to false in the webpack config causes watch to never properly indicate it has finished a compile and prevents webpack from picking up future changes.
Additionally, this affects other tools like webpack-dev-server, preventing them from ever becoming available since they don't think webpack has completed the initial compilation.
Related: https://github.com/webpack/webpack/issues/12748
If the current behavior is a bug, please provide the steps to reproduce.
Reproduction: https://github.com/maclockard/webpack-5-stats-no-exit
Run the following commands after cloning to reproduce:

yarn
yarn repro

You will see that webpack never prints out webpack 5.28.0 compiled successfully and does not pick up any further changes to ./index.js.
If you run yarn no-repro instead everything works as expected.
What is the expected behavior?
Webpack when watching indicates when it has finished the initial compile, and picks up further changes. Additionally, it lets webpack-dev-server know it has completed so that it can become available.
Other relevant information:
webpack version:  5.28.0
Node.js version: 12.19.1
Operating System: macOS 11.2
webpack-cli version: 4.5.0

No bugs all: false disable logging too, maybe you need this https://github.com/webpack/webpack-cli/issues/2374, feel free to feedback, you can see output usning:
stats: {
    all: false,
    version: true,
    errorsCount: true,
    warningsCount: true,
},

@alexander-akait it prevents more than just output. It also prevents webpack-watch from picking up future changes and it prevents webpack-dev-server from starting.

I am having a similar issue: the build finishes, but never exits the shell. I want to know what in the webpack core could have caused  this problem?
My webpack config:
const path = require('path');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const VueLoaderPlugin = require('vue-loader/lib/plugin');

const config = require('./config');

module.exports = {
  mode: 'production',
  entry: {
    app: ['./src/index.js']
  },
  output: {
    path: path.resolve(process.cwd(), './lib'),
    publicPath: '/dist/',
    filename: 'element-ui.common.js',
    chunkFilename: '[id].js',
    libraryExport: 'default',
    library: 'ELEMENT',
    libraryTarget: 'commonjs2'
  },
  resolve: {
    extensions: ['.js', '.vue', '.json'],
    alias: config.alias,
    modules: ['node_modules']
  },
  externals: config.externals,
  performance: {
    hints: 'false'
  },
  stats: {
    children: false
  },
  optimization: {
    minimize: false
  },
  module: {
    rules: [
      {
        test: /\.(jsx?|babel|es6)$/,
        include: process.cwd(),
        exclude: config.jsexclude,
        loader: 'babel-loader'
      },
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: {
          compilerOptions: {
            preserveWhitespace: false
          }
        }
      },
      {
        test: /\.css$/,
        loaders: ['style-loader', 'css-loader']
      },
      {
        test: /\.(svg|otf|ttf|woff2?|eot|gif|png|jpe?g)(\?\S*)?$/,
        loader: 'url-loader',
        query: {
          limit: 10000,
          name: path.posix.join('static', '[name].[hash:7].[ext]')
        }
      }
    ]
  },
  plugins: [
    new ProgressBarPlugin(),
    new VueLoaderPlugin()
  ]
};


Portals spawned via /setblock don't work

For example, in the aether mod, on beta28, /setblock ~ ~ ~ the_aether:blue_portal doesn't work how it should. Reviewing the code, it isn't an error with the aether.
When using setblock, CustomPortalBlock:getPortalBase() loops forever (Although this is fixed in #17.)
After this fix however, the portal will still not teleport you, and the swirl will be the wrong color.
This could be fixed by making getPortalBase() non-static, so that classes which extend CustomPortalBlock can override and return a custom value (For example, for the aether, Blocks.GLOWSTONE).
Alternatively, you could store the portal base / dimension in the class as a variable.
However both these ideas are somewhat flawed in their current state, and there is likely a better solution out there.

I've made it non-static, I'll go ahead and test it with the aether to see if that helps

It did seem to work fine in the aether. https://github.com/devs-immortal/The-Aether/pull/191

Great to hear!


Discussion: making HTML a typeclass

I was thinking of creating a small CSS wrapper library for Prism.CSS and Concur. This may or may not be a good idea - too early to tell. But, it made me realize that HTML might be better off as a typeclass with all the element functions as typeclass members, because libraries that depend on HTML might want to do it an implementation-independent fashion (rather than relying specifically on, say, React).
To be clear it isn't something I'm in need of anytime soon.

I don't fully understand this. The view part of a widget is swappable, and nothing inside Concur.Core namespace depends on the actual view type. The only real dependencies on the view are the 2-3 el... functions inside Concur.React, but those are only used in the actual DOM element creation which is highly React specific. I don't think we get a lot of mileage out of generalising these.

@ajnsit Good to know about implementing the el functions.
Say I want to write the following function:
    tabPageDiv' :: El'
    tabPageDiv' els =
      div [className "pure-g"] [
        div [menuTypeClasses] [
          div [tabColClasses] els
        ]
      ]
      where
        menuTypeClasses = classList $
          map Just ["pure-menu", "pure-menu-horizontal"]
        tabColClasses = classList $
          map Just ["pure-u-1", "pure-u-md-1-3"]

Since this uses div from the Concur.React module, and say someone else has a Concur.Vue module - it would be good if this code could work with either since the idea is that this function  tabPageDiv' would be part of a library, not a user-application. After all, div is standard - maybe how React deals with this is highly specific, but I would think the HTML interface (as supported by Concur) for e.g. div would be fairly standard.

It's on my TODO list to separate out the generic Concur stuff into a purescript-concur-core package, and have purescript-concur-react depend on it.

+1

The original plan was to support interop between multiple backends only at a user level, i.e. the Vue backend would define functions like div with the same signature, and then the user just has to change the import from Concur.React to Concur.Vue.
But I see the value in having library code also be reusable in the same way. So a library of widgets would not import any particular backend and could be shared between different backends.
I'll keep this issue open until we have this implemented.

I just recalled backpacks, which might be useful for this. But I don't think Purescript has them yet: https://github.com/ezyang/ghc-proposals/blob/backpack/proposals/0000-backpack.rst#motivation

Started making some progress on this with https://github.com/ajnsit/purescript-concur/commit/0135377fb11dc54d8a8f5cc6e6321a05f6ff7ed3, https://github.com/ajnsit/purescript-concur/commit/11025285ad1ccdf462e43e59951917b61cab0ffa, and https://github.com/ajnsit/purescript-concur/commit/6e16e62e60e86701fcde4b62965b33e6eeec664f

Just to discuss your original plan:

The original plan was to support interop between multiple backends only at a user level, i.e. the Vue backend would define functions like div with the same signature, and then the user just has to change the import from Concur.React to Concur.Vue.

I've come across other areas in PureScript where I could really benefit from some template-based programming, using something like a pre-processor (though a non-existent PureScript-specific templating system might be preferable, I doubt it will happen anytime soon). Perhaps using something like e.g. heterocephalus or haji, but this would at least be a simple application of it.


[FR] Hotkey Shortcut

I would love it if you add a hotkey shortcut to coloring a file name like "ctrl + alt + c" to bring up the file color plugin window for current file selected.

me too!!
going to menu selecting from dropdown is tiring


Bug: Issues with [v2 cards (no background, 2 cards row)]

Issue Type
Bug
Summary
There are two issues with this variant of the v2 cards block.  Issue 1: odd superscript spacing in link  Issue 2: lists have both bullets and dashes
Priority
High
Description
There are two specific issues with this variant of the v2 cards (no background, 2 cards row) block that need to be addressed.

Issue 1: Odd Superscript Spacing in Link. The spacing in the superscript within links appears irregular, breaking from the expected designs.

Issue 2: Lists Displaying Both Bullets and Dashes. The lists in this variant are showing both bullet points and dashes. There should only bullet points displayed.

Related to https://github.com/aemsites/vg-macktrucks-com/issues/19
Affected Device Classes
Mobile, Tablet, Desktop
Affected Browsers/Devices and Versions
All browsers and devices.
Steps to Reproduce

Navigate to: main--vg-macktrucks-com--hlxsites.hlx.page/drafts/wendy.kruger/bugs#v2-cards:~:text=Issues,-with%20v2%20cards
Observe the issues with block described above.

Expected Results
No response
Actual Results

Attachment
No response

Testing completed. Everything works accordingly.


Updated installer for MinGW support.

I was getting an error when I was trying to install on my machine.  It had an error message "unknown system MINGW64_NT-10.0"
My machine setup is Win 10, on Cmder (minimal/portable) with bash.
I added a check for MinGw so that it wouldn't error on installation.

Thanks!


SQ610 works!

Salus SQ610 works but on version 0.2.6. Up to version 0.3.0 at all, the HA did not detect devices, neither the SQ610, nor the SQ610RF, nor the VS20WRF.

Can you please try version 0.3.1?

0.3.1
SQ610 works
VS20WRF works
SQ610RF - i can test on teusday
how to read the humidity entity from SQ610 in HA?

@mobopx try this https://github.com/jvitkauskas/homeassistant_salus/issues/9#issuecomment-770362764