Clarification: behave like

Is it possible to make this component behave like a plain <select> element, rather than a text input with a dropdown?  The purpose for this would be for when you want the behaviour <select> dropdown menu, but with the ability to style it more precisely than is possible with the native <select> and <option> elements.

Hi @aidalgol,
no it's not possible at the moment unfortunately. But it's been requested by others, too.
The idea makes sense to me. I'm gonna use this issue to keep track of the feature request. I will try to work on it when I find some time. It's not gonna happen very soon however.
If you want to take a stab at it in the meantime and work on a PR, that would be very welcome and appreciated!
Cheers.


ES6 tests failing

I was trying to analyse dependencies written in es6 syntax and had some trouble and then discovered that the es6 related tests are failing. This is on master sha 3b4957bafbb12d3626d0c8412a5bdd52232e8ce5
after checkout out the repo I ran npm install and npm test and got the following output.
  module format (ES6)
    1) should behave as expected on ok files
    ✓ should tackle errors in files
    2) should be able to exclude modules
    3) should find circular dependencies
    4) should find absolute imports from the root

...

  1) module format (ES6) should behave as expected on ok files:

      AssertionError: expected Object {
  a: Array [],
  d: Array [],
  'fancy-main/not-index': Array [],
  'sub/b': Array [],
  'sub/c': Array []
} to equal Object {
  a: Array [ 'sub/b' ],
  d: Array [],
  'fancy-main/not-index': Array [],
  'sub/b': Array [ 'sub/c' ],
  'sub/c': Array [ 'd' ]
} (at a -> length, A has 0 and B has 1)
      + expected - actual

       {
      +  "a": [
      +    "sub/b"
      +  ],
      -  "a": [],
         "d": [],
         "fancy-main/not-index": [],
      +  "sub/b": [
      +    "sub/c"
      +  ],
      +  "sub/c": [
      +    "d"
      +  ]
      -  "sub/b": [],
      -  "sub/c": []
       }

(there is more output, but i figure this should be easy to reproduce).
Thanks

Why not use Babel to parse the files? Getting some issues with ES6 as well.

What version of Node.js are you running and on what platform?

I'm using grunt-madge v0.0.6 in Node v0.12.2.
I'm getting parsing errors with things like arrow functions, for..Of, template strings,...
"Error while parsing file: foo.js"
"Warning: Line 13: Unexpected token =>"
I have no issues using let and const.

I believe my issues with AMD and ES6 this should be fixed by mixu/amdetective#3

Can we update amdetective dependency to v0.1.0? Would be nice to update grunt-madge as well to include ES6 support for AMD modules as well.
Thanks!

I have an alternate detective for amd that also has es6 and jsx support (uses acorn under the hood): https://github.com/mrjoelkemp/node-detective-amd. In addition, it accepts as AST (or a file's contents) to avoid double parsing. Happy to help integrate it into madge.

Btw, madge is also using my detective-es6 plugin which also supports jsx and an AST source. Just as an fyi, I wrote precinct: https://github.com/mrjoelkemp/node-precinct to avoid worrying about module types and get the dependencies of any JS file (es6, cjs, amd) with an AST or file content source. It also supports SASS/Stylus (Less would be easy to add). It's a detective factory. May remove a lot of logic from madge core.

@mrjoelkemp - Precinct === Detective Factory - that's hilarious. I'm stuck on JSX right now—I'll tie my work to this issue, and see if using precinct (at least for JSX) helps..

@mrjoelkemp - Precinct === Detective Factory - that's hilarious. I'm stuck on JSX right now—I'll tie my work to this issue, and see if using precinct (at least for JSX) helps..

@mrjoelkemp - Precinct === Detective Factory - that's hilarious. I'm stuck on JSX right now—I'll tie my work to this issue, and see if using precinct (at least for JSX) helps..

@deanius JSX with ES6? Try updating the detective-es6 version in madge to 1.1.3 since 1.1.2 didn't have JSX support. Let me know if that works.

@mrjoelkemp - any thoughts on how to do this with files that need babel precompilation? I've got react files that use object-rest-spread babel plugin and they break madge.

@deanius you should probably compile those files with Babel first. Then, point madge to the folder were your Babel output files are. That should do the trick.

Detective-es6 could benefit from using babylon (babel's parser) instead of Acorn directly for parsing files that use features at various acceptance stages.
This would be a breaking (but I'm definitely open to it) change in node-source-walk. After that, we'd push the version bump to detective-es6 and then bump the version of detective-es6 in madge.
Another option is to have node-source-walk accept a configurable parser (with acorn as the default). This seems unnecessary since babylon is a superset of Acorn (if I remember correctly).
For now, precompiling your code is a work around.
Ref https://github.com/mrjoelkemp/node-source-walk/issues/14

Thanks @rafayepes @mrjoelkemp

I made the fix to detective-es6 (more specifically to node-source-walk) to support all available ES7 plugins: https://github.com/babel/babylon#plugins. The goal is to always be able to parse a JS file for the dependencies – regardless of the syntax.
This should be fixed when https://github.com/pahen/madge/pull/83 is merged.


Laptop Advice

We are considering a new laptop. Budget is $1k, preferably less. Wife will use for work (aka Citrix). I’d like to sneak in better hardware transcoding. Is this the right place for these kinds of questions?
Some of the 2020 AMD laptops seem to offer a good value for performance, but I’d love to hear from the more knowledgeable about any drawbacks or limitations with AMD GPUs and OT before getting something.
Thanks!

@platonium If you want to do hardware-based encoding then I would avoid AMD CPUs in laptops unless you can get a model with an Nvidia GPU card. This is because AMD CPUs and GPUs don't match the quality of hardware encoding produced by Nvidia GPUs and Intel CPUs.
That said, if you're satisfied with software-based encoding, e.g. from the x264 or x265 encoders, then an AMD CPU will likely be a bit faster than an Intel CPU.
I've asked my contributors to comment here because they're smarter than I am about configuration issues, so let's leave this open for awhile to see if we get other opinions.

I would like to add a warning. In the previous generation of Nvidia mobile GPU's the video encoding hardware was removed from the lowest end models. Specifically the Nvidia GeForce MX150 & MX250 have no video encoding hardware. To the best of my knowledge Nvidia have not done the same for the current generation of mobile GPUs. If you are unsure you can check Nvidia's big matrix of GPUs here.

In my limited testing with AMD GPUs, their quality and performance has been subpar. The CPUs are very, very quick with the software encoders, as Don says, but hardware with newer Nvidia or Intel chips is the clear performance leader.

Thank you all so much. This is exactly what i needed to know.
If I could impose a little further, any thoughts on the approx $1k or less laptop space that can run 2 external monitors for Citrix remote work (wife’s need) with an Nvidia GPU to OT (my wish)?
Thanks,
Plato
Sent from my iPhone
On May 31, 2020, at 9:59 AM, Kyle<EMAIL_ADDRESS>wrote:

In my limited testing with AMD GPUs, their quality and performance has been subpar. The CPUs are very, very quick with the software encoders, as Don says, but hardware with newer Nvidia or Intel chips is the clear performance leader.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/donmelton/other_video_transcoding/issues/40#issuecomment-636498216, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADT2S3OAL2OWHHBX7AXHPNDRUKEGDANCNFSM4NPAZFSQ.

@platonium No idea on that question since I use a macOS laptop. :)

Don, given your illustrious history, have no doubt you are Apple all the way! Wish I had the budget.
Current thoughts include:
Asus TUF A 15 GeForce GTX 1660 Ti
Dell G3 15 GTS 1650, 1650 TI, 1660 TI Max Q
Also, wow, you weren't kidding that the software code ran slooowww. If we could leave the thread open a few more days, I would appreciate it. Will close it by the weekend regardless. Thanks again, everyone!

@platonium I would go for the Asus because it has an Nvidia 1660 card which is significantly better than the 1650 card in the Dell.

@platonium @donmelton
With the Dell options:

The 1650 has last gen (Volta) nvenc, despite being a Turing card
I'm not sure what version of nvenc the 1650Ti has
The 1660 and above all have the current version of nvenc (turing)

So if you get a version of the Dell one, make sure it has some variant of a 1660.

This just popped up on my RSS feed. Starts at $1000 with AMD and Intel options, nVidia cards: https://gizmodo.com/hps-redesigned-omen-15-boasts-a-slimmer-chassis-and-sup-1843834848

Thank you all, found this article from Notebook check on the 1650 TI which states the 1650 TI doesn't use the Turning NVENC so I'll definitely overweight the 1660.

@platonium Buried in that Gizmodo link is this nugget:

Alternatively, if the Omen 15's starting price of $1,000 still seems a bit too high, HP is also announcing its Pavilion Gaming 16 laptop, which starts at $800 for a 10th-gen Core i7 CPU, 12GB of RAM, GTX 1660 Ti GPU, and either a 256GB SSD or a 1TB HDD.

Get the SSD or you'll be limiting the day to day performance for the sake of easily expandable storage space.

Thank you so much. I don’t see these options shoppable online yet, but am very excited and appreciate you bringing this to my attention. Price point wise, it’s closer to making the wife happy.
Sent from my iPhone
On Jun 2, 2020, at 1:09 PM, Ari Kalish<EMAIL_ADDRESS>wrote:

@platoniumhttps://github.com/platonium Buried in that Gizmodo link is this nugget:
Alternatively, if the Omen 15's starting price of $1,000 still seems a bit too high, HP is also announcing its Pavilion Gaming 16 laptop, which starts at $800 for a 10th-gen Core i7 CPU, 12GB of RAM, GTX 1660 Ti GPU, and either a 256GB SSD or a 1TB HDD.
Get the SSD or you'll be limiting the day to day performance for the sake of easily expandable storage space.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/donmelton/other_video_transcoding/issues/40#issuecomment-637778717, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADT2S3JQMOGKBRWM6GWWOOTRUVL7XANCNFSM4NPAZFSQ.

Thanks again to everyone for their recommendations and assistance. Holding out for the HP since it's a better fit budget wise, and will go with the ASUS if it's delayed.

Hi, all, hope you don't mind my reopening briefly. The HP 16 that Arikalish mentioned is up on HP the HP website to spec out.
The lowest configuration that uses Turring comes with an RTX 2060 and costs more than the ASUS as well as provides less ram and storage.
Could I get people's opinion on the GTX 1660 TI vs the RTX 2060 Max-Q for transcoding? If the RTX is a lot better, then I think the trade off would be ok as I can up the ram and storage later.
Thank you so much.

No difference at all between the GTX and RTX for transcoding, as long as both GPUs are using the Turning core, they are perfectly equal. GPU speed differences can push performance a few FPS up or down, but the RTX moniker has no bearing on NVEnc performance.

@klogg416 Well put, sir!

Thank you so much!


Choose Cookies

What about options, that users let´s choose which cookies are active or inactive?
Is it planned?

There is no support for this, as its pretty complicated to solve and is not in the scope of this plugin. We will soon be releasing a new tool which will be GDPR compliant and will let users configure specific cookies


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @jeevansd, has been notified to review your proposed change.


Video-style controls

Add a UI Component to "Play" the network like a video. Also "Pause", "Speed up", "Slow Down"

Added in 9acc6667bb0d0a68428fcffc6c440922a177c04e


Bump Android Gradle plugin to 3.6.3

This also requires that we add jcenter() to the list of repositories,
as otherwise we run into
A problem occurred configuring project ':memorizingTrustManager'.

Could not resolve all artifacts for configuration ':memorizingTrustManager:classpath'.
Could not find org.jetbrains.trove4j:trove4j:20160824.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
- https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
Required by:
project :memorizingTrustManager > com.android.tools.build:gradle:3.6.3 > com.android.tools.build:builder:3.6.3 > com.android.tools:sdk-common:26.6.3

Merged in 1d12374799714d68fe7ffc365a93c9e421691512


User choices

Will a user be given a choice to toggle IP Protection the first time they open Chrome?
Will it be explicitly mentioned that all data of the user from within their browser would be routed through a Google server?

"EULA-roofieing," As Louis Rossmann likes to put it. This is absolutely a ploy to harvest more user data for advertising and mass surveillance purposes.
Google has had revenue issues. Google makes money by advertising, therefore collecting user data. I am using google services for completely free, I am the product of the services.
Google releases a free vpn which is built into 60% of all browsers on the planet and is on by default.

I wonder what google is able to do to be profitable while upkeeping such a service, considering youtube is already crying about adblockers ruining its ad revenue.
Of course, now google has total control of all 3 points of users browsing, which is the browser, the proxy middleman, and analytics/ads at the end. Google knows everything about the average user, and it will know more.
Whether the authors of 'IP Protection' genuinely care about users privacy or not, all it realistically ends up doing is monopolize googles own space in analytics and advertizing further, and practically keep a massive amount of users in googles bubble where only google is able to target ads.
And i assume as private as the proxies are, whether they would collect anything about users from the start or not, there will most certainly be a point where google decides the data from the proxies is a great way to target users more accurately and will start putting some rules in place where it allows itself to reach into users traffic and collect 'Anonymized' traffic data or something.
There are only two reasons why google would release this product for free, and both probably make google massive amounts of money.
And just wait till WEI gets released and only googles ip protection proxies or explicitly identified ip addresses are allowed to enter websites, controlled presumably by a system made by google.

Louis Rossmann

He correctly stated in a recent video that Google is now demonstrating on Youtube that you are either a paying customer or you are the product. If you are neither, please fork off leave.

Whether the authors of 'IP Protection' genuinely care about users privacy or not

I'm pretty sure they think they are doing something good. Exactly like the authors of WEI. From their point of view, working for one of the largest tech giants on the planet, being very handsomely compensated.

wait till WEI gets released

True, Google will be the gatekeeper to a lot of content on the web and 90+ % of all people will either not care or be happy that they are (IP) protected by this big friendly corporation.
Meanwhile: Microsoft happily feeding all comments on Github into their Copilot

Louis Rossmann

He correctly stated in a recent video that Google is now demonstrating on Youtube that you are either a paying customer or you are the product. If you are neither, please ~fork off~ leave.

...which doesn't really work when you consider that it was Google that established themselves as the monopoly for video hosting, which they afford through invasive data harvesting practices like this. No, he wasn't correct in saying that. If a company hoards the marketshare and knowingly screws over users knowing that they have nowhere else to go (other platforms like odysee and bitchute are infested with far right/nazi garbage, spam, and generally perform worse), then they can absolutely be blamed for their actions.


secrets: read selected GitHub secrets and forward them to TFT

Make sure this actually works: we can read those secrets: https://docs.github.com/en/rest/reference/actions#secrets

Once verified, packit-service should read selected GitHub secrets and forward them to TFT.

TFT tracking card: TBD
TMT tracking card: TBD

We should design and agree on how this would be configured (allowlist for secrets? read and forward all by default? globbing?)

And discuss also: variable masking

I believe that's fine to load all GitHub secrets to tmt

On our team meeting and the meeting with TF and convert2rhel, we've discussed the possibilities and here is a short outcome from it:

Using GitHub secrets is not possible from the GitHub application. We can get secrets only in an encrypted form without being able to get the key.
Here are the possibilities:

Using GitHub actions where the secrets are available => various options exist here, we want to spend some time investigating this generally: #1097
Implement this on GitLab where using variables is possible (no users interested in this on GitLab)
We don't want to be responsible for storing keys on our side.
We might support some 3rd party secrets provider.
Leave it to TF => since the benefit of GitHub secrets cannot be used, we don't need to be a man-in-the-middle here.

convert2rhel has a workaround so we don't need to solve this now and will meet in a month (you should have received the invite) to discuss the alternative implementation. In the meantime, the TF team will take a look at how they can do it on their side, Packit team will spend some time on the GitHub actions investigation.

I'm going to close this issue since we have already an issue for GitHub actions and we can create specific issues later on.


Adding Read many api support in the Ctl Workload

Description

Added Read Many Api Support in the Ctl Workload.
Default Read Write Query ReadMany percentage is 90,8,1,1.

Results for the Ctl Workload on 10,000 and 100,000 operations are attached below.
10,000

100,000

/azp run java - cosmos - tests


Issue with fix for CESM1-BGC

Processing the model CESM1-BGC with a variable that requires applying this fix (e.g., sic) leads to an error, since for some reason the cube is replaced with None and the subsequent checks fail:
Traceback (most recent call last):
  File "/miniconda3/envs/esmvaltool/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/esmvaltool/_task.py", line 542, in _run_task
    return task.run()
  File "/esmvaltool/_task.py", line 185, in run
    self.output_files = self._run(input_files)
  File "/esmvaltool/preprocessor/__init__.py", line 281, in _run
    input_files, self.settings, self.order, debug=self.debug)
  File "/esmvaltool/preprocessor/__init__.py", line 206, in preprocess_multi_model
    debug)
  File "/esmvaltool/preprocessor/__init__.py", line 243, in preprocess
    result.append(function(item, **args))
  File "/esmvaltool/cmor/fix.py", line 145, in fix_data
    checker(cube).check_data()
  File "/esmvaltool/cmor/check.py", line 166, in check_data
    if str(self._cube.units) != units:
AttributeError: 'NoneType' object has no attribute 'units'

The traceback refers to fix_data, although this is a metadata fix and fix_metadata is correctly applied.
Any clue?

I think I found the issue: fix_metadata in CESM1_BGC.py changes the time units from day since 1-01-01 00:00:00.000000 UTC to days since 1850-01-01 00:00:00 but does not change the time coordinate accordingly.
As a result, the time range of the cube is changed from 1850-2005 to 3700-3855 and the time selection fails in extracting the desired time range (2000-2002 in my case), thus returning a None.

The same issue also affects GFDL_ESM2M.py and MIROC_ESM.py.

The solution is simpler as expected: to just remove these fixes.
They are not needed anyway, since check.py always converts the time units to days since 1950-01-01 00:00:00.


Add Zipkin/Sleuth support for TopicGateway and Sidecars

adding Zipkin server that reads traces from Kafka
prepare topic-gateway for sleuth/zipkin tracing

update topic-gateway to use stream-binder for kafka
add explicit sleuth tracing for topics used by message publisher

make sidecars participate in message tracing
limit memory allocated for Java apps

merged as https://github.com/markfisher/sk8s/commit/3f537b298997d6b8808dca8895626a76b86eb7cc


Upstream merge 8/19

Pull Request Template
Issue
Addresses #293
Description
Upstream merge 8/19, includes updates to the unit summary table and listing views.
How Can This Be Tested/Reviewed?
Passing unit tests; I also compiled and viewed the sites and clicked around.

[x] Desktop View
[x] Mobile View
[x] UI unit tests
[x] Backend unit tests
[x] Backend e2e tests

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[x] I have updated the changelog to include a description of my changes

I'm trying to run the import script from your branch but I'm getting this error:
column User.is_admin does not exist
Haven't root caused yet.

Huh, ignore my last comment, I tried it again and it magically started working ¯_(ツ)_/¯

Thanks, I fixed it locally but was waiting to see if you had any other comments to address before pushing the commit.


pull request for e2e test at 01/03/2017 23:56:15

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Context API?

https://github.com/emberjs/rfcs/pull/975/files

// src/utils/context.ts
import { registerDestructor } from './glimmer/destroyable';
import { Component, RENDER_TREE } from './shared';

const CONTEXTS = new WeakMap<Component<any>, Map<symbol, any>>();

export function getContext<T>(ctx: Component<any>, key: symbol): T | undefined {
  let current = ctx;
  while (current) {
    const context = CONTEXTS.get(current);
    if (context?.has(key)) {
      return context.get(key);
    }

    const parent = findParentComponent(current);
    current = parent;
  }

  return undefined;
}

export function setContext<T>(ctx: Component<any>, key: symbol, value: T): void {
  if (!CONTEXTS.has(ctx)) {
    CONTEXTS.set(ctx, new Map());
  }

  CONTEXTS.get(ctx)!.set(key, value);

  registerDestructor(ctx, () => {
    CONTEXTS.get(ctx)!.delete(key);
  });
}

function findParentComponent(component: Component<any>): Component<any> | null {
  for (const [parent, children] of RENDER_TREE) {
    if (children.has(component)) {
      return parent;
    }
  }

  return null;
}

Explanation:

findParentComponent: This new function utilizes the RENDER_TREE to efficiently find the parent component of a given component.
getContext:

It now iterates up the component tree using findParentComponent.
For each ancestor component, it checks if a context value exists for the given key.
If found, it returns the value.
If not found in any ancestor, it returns undefined.

Benefits:

Leverages Existing Structure: This approach leverages the existing RENDER_TREE for context lookup, avoiding the need for a separate context tree.
Efficient Lookup: Traversing the RENDER_TREE provides a direct path to ancestor components, making context lookup efficient.
No Additional Overhead: This implementation doesn't introduce any significant overhead as it reuses the existing rendering tree structure.

This updated implementation provides a more integrated and efficient way to manage context in GXT by utilizing the internal component tree structure.

Context API: Sharing Data Across Components
GXT's Context API provides a mechanism for sharing data across components without explicitly passing props through every level of the component tree. This is particularly useful for sharing data that is globally relevant, such as:
Use Cases:

Theming: Share theme information, like colors, fonts, and styles, across the entire application.
Localization: Provide localized strings and formatting rules to components.
User Authentication: Make user authentication status and data accessible to components that need it.
Feature Flags: Control the visibility or behavior of features based on feature flags stored in context.
Application State: Share application-wide state, such as loading indicators or error messages.

Integration Tests
// src/tests/integration/context-test.gts
import { module, test } from 'qunit';
import { render } from '@lifeart/gxt/test-utils';
import { Component, getContext, provideContext } from '@lifeart/gxt';

const ThemeContext = Symbol('ThemeContext');

class ThemeProvider extends Component {
  <template>
    {{yield}}
  </template>

  constructor(args: any) {
    super(args);
    provideContext(this, ThemeContext, this.args.theme);
  }
}

class ThemedButton extends Component {
  <template>
    <button class={{this.theme.buttonClass}}>
      {{yield}}
    </button>
  </template>

  get theme() {
    return getContext(this, ThemeContext) || {};
  }
}

module('Integration | Context API', function () {
  test('provides and consumes context', async function (assert) {
    await render(
      <template>
        <ThemeProvider @theme={{hash buttonClass="bg-blue-500"}}>
          <ThemedButton data-test-button>Click me</ThemedButton>
        </ThemeProvider>
      </template>
    );

    assert.dom('[data-test-button]').hasClass('bg-blue-500', 'Button receives theme from context');
  });

  test('context is not available outside the provider', async function (assert) {
    await render(
      <template>
        <ThemeProvider @theme={{hash buttonClass="bg-blue-500"}} />
        <ThemedButton data-test-button>Click me</ThemedButton>
      </template>
    );

    assert.dom('[data-test-button]').doesNotHaveClass('bg-blue-500', 'Button does not receive theme outside the provider');
  });

  test('context lookup traverses the component tree', async function (assert) {
    class Layout extends Component {
      <template>
        {{yield}}
      </template>
    }

    await render(
      <template>
        <ThemeProvider @theme={{hash buttonClass="bg-blue-500"}}>
          <Layout>
            <ThemedButton data-test-button>Click me</ThemedButton>
          </Layout>
        </ThemeProvider>
      </template>
    );

    assert.dom('[data-test-button]').hasClass('bg-blue-500', 'Button receives theme from context through nested components');
  });
});

Explanation of Tests:

provides and consumes context:

Renders a ThemeProvider that provides a theme context.
Renders a ThemedButton inside the provider.
Asserts that the button receives the theme from the context.

context is not available outside the provider:

Renders a ThemeProvider and a ThemedButton outside the provider.
Asserts that the button does not receive the theme context.

context lookup traverses the component tree:

Renders a ThemeProvider, a Layout component, and a ThemedButton nested within.
Asserts that the button still receives the theme context even though it's not a direct child of the provider.

These tests demonstrate the basic functionality of the Context API, including providing, consuming, and looking up context values within the component tree.


<EMAIL_ADDRESS>hash check failed

SysinternalsSuite hash has changed
Could you please update it !

Fixed


APT whitelist request for python-argcomplete

I close this issue, as this package is only available on more recent versions of ubuntu:
http://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=argcomplete&searchon=names


How can I test this???

How can I test this???

Pretty simple actually:

If everything works fine your output should look something like this:


Add gigya

Add Gigya class for handling authentication and authorisation to Renault servers

Needs to be rebased after #31 and #32


[FEATURE]: Add advanced time handling

Feature description
The x-modules occasionally utilize timestamps from the context and perform mathematical operations using them. To carry out these operations, we convert the timestamps to chrono types. However, this conversion process is fallible and it would be preferable to avoid it altogether.
I believe it is possible to incorporate the necessary conversions and logic directly into the Tendermint Timestamp type, thereby eliminating the need for additional time-related processing within the modules.

Done in https://github.com/rumos-io/gears/pull/215


The Great Migration

          # The Great Migration

A journey of endurance and determination.
Managers travel hundreds of miles, driven by the instinctive need to find fresh grazing grounds.
The Facility Managers waits, eyes fixed on the unexpected customer that venture too close. These managers are master of stealth and patiences. Their powerful jaws ready to snap in an instant. The facility, teaming with life, a place of danger.
Every year as the dry season grips the facility, a remarkable spectacle unfolds. Over 1 million assistant managers accompanied by thousands of cashiers embark on a journey in search for fresh grazing lands.
The migration is a test of endurance. A race against time and the elements. Managers lurks at every turn, eager to capitalize on the vulnerability of the great migration.
As the great migration converge on the facility. They face the ultimate chance of crossing Facility Managers in the dry season.
VIP managers are the Apex managers of the facility. Their roar echo across the city like thunder. These majestic managers are masters of stealth and power. Their body blind seamlessly with the culture.
VIP Managers live with pride. A social group dominated by a coalition of males, hunting is a cooperative affair.
Originally posted by @Jamalvision in https://github.com/Jamalvision/TheCity/issues/2#issuecomment-2563013347

General and Administrative cost $2,100 per month. Private activities allows the great migration to open official court case against their local government agency. The great migration share their opining in general and administrative cost.

A journey of endurance and determination.
Hundreds of miles drive managers to find fresh grazing grounds.
Facility Managers wait for customers who venture too close, masters of stealth and patience with powerful jaws ready to snap. The facility, teeming with life, is a dangerous place.
Every year during the dry season, over 1 million assistant managers and thousands of cashiers embark on a migration for fresh grazing lands.
The migration is a test of endurance against time and the elements. Managers lurk to exploit the vulnerable migration.
As the migration converges, they face the chance of crossing Facility Managers.
VIP managers, the apex managers, roar across the city like thunder. They are masters of stealth and power, seamlessly blending into the culture.
VIP Managers live with pride, a male-dominated social group that hunts cooperatively.

summary
Each year, millions of assistant managers migrate in search of fresh grazing lands, facing dangers from lurking Facility Managers.  VIP Managers, the apex predators, hunt cooperatively in groups, their roars echoing across the city.


Subscriptions are not cancelled when connection is closed  while waiting

CancellationToken in Subscriptions is not working.
Repo which show that bug exists: https://github.com/tvildo/hotbug

Clone repo.
Run project and execute subscription https://localhost:5001/graphql/:

subscription TestSub {
  onSessionEvent {
    name
  }
}

Refresh Entire page.
Subscription must be cancalled but it is not so console keeps logging:

I tried to investigate why this is happening and I found that, you are creating New CancellationToke by linking using CreateLinkedTokenSource:
https://github.com/ChilliCream/hotchocolate/blob/82bc367141144e095a7524f02820e2133504be75/src/HotChocolate/Core/src/Execution/Pipeline/TimeoutMiddleware.cs#L30
but CreateLinkedTokenSource gets disposed after handler does it's job and after CreateLinkedTokenSource is disposed  it's token can't be cancelled anymore
Originally posted by @tvildo in https://github.com/ChilliCream/hotchocolate/issues/2740#issuecomment-844012575

I pulled 11.3.0-rc.0 in https://github.com/tvildo/hotbug

When I close connection (refresh page) subscription should close.  (works)
When I stop subscription it should close. (not working)

I will have a look at this

I have replicated the error.

This one is fixed.


KAFKA-15319: Upgrade rocksdb to fix CVE-2022-37434

Rocksdbjni<7.9.2 is vulnerable to CVE-2022-37434 due to zlib 1.2.12

please update license as well https://github.com/apache/kafka/blob/fd6c9f16bacf26261fee2755c1d3679b9703a8a0/LICENSE-binary#L256

https://jenkins.confluent.io/job/confluentinc/job/kafka-streams-benchmarks/job/master/653/parameters/
https://jenkins.confluent.io/job/system-test-kafka-branch-builder/5796/parameters/

@guozhangwang @cadonna @ableegoldman Besides benchmarks, unit tests and system tests, do we need to do any other tests for an 8 minor-versions jump on RocksDB?

We need an API compatibility report created for example with  https://github.com/lvc/japi-compliance-checker.
That is, because the upgrade might break Kafka Streams public API by changing the RocksDB's APIs used in the RocksDBConfigSetter.

@divijvaidya good point. Done
@cadonna attached. Seems methods were only added
compat_report.html.zip

@lucasbru Thanks for the compatibility report! Looks like no backward compatibility issues.
Could you also add the compatibility report to the JIRA ticket?

Do not merge yet, waiting for full benchmark & system test results.

The benchmarks are clean:
https://jenkins.confluent.io/job/confluentinc/job/kafka-streams-benchmarks/job/master/655/console
The system tests are having failures:
https://jenkins.confluent.io/job/system-test-kafka-branch-builder/5798/console
kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.1.2.to_version=3.6.0-SNAPSHOT
kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.2.3.to_version=3.6.0-SNAPSHOT
kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.6.0-SNAPSHOT

However, I could reproduce this on master, so that seems to be an unrelated problem:
https://jenkins.confluent.io/job/system-test-kafka-branch-builder/5801/console
I created a ticket for the failing system tests. https://issues.apache.org/jira/browse/KAFKA-15378
Note that system tests currently only run with this fix, I think some CVE python library update broke the system tests...
In summary, I think we are good to merge this change, and I'd propose to do it today so that we get some good soak time before the 3.6 release. @mjsax I think Bruno is out today, please have a look.

Cherry-picked this to 3.5 branch.

Is there a reason why this PR downgraded requests to 2.24.0?
https://github.com/apache/kafka/pull/14216/files#diff-08ac9c7e3ca9bc4f0dcdb04ab5d5c90bd853ea2175df49ae895d538cff7a3268L54
It had been bumped a few months before in https://github.com/apache/kafka/pull/13903 in order to resolve https://github.com/apache/kafka/security/dependabot/1

@mimaison -- Let me test this. Yes, I see that also the version of requests inside ducktape was reverted: https://github.com/confluentinc/ducktape/commit/29dcdbeb1a8048505ce1613eb9aad05bc6b044f0 I think there were version conflicts around urllib that broke the system tests. Not sure why kafka depends on ducktape < 0.9.0. I can try to bump it

@lucasbru I open https://issues.apache.org/jira/browse/KAFKA-17520 for bumping the version. Please let me know if you have any concerns


Corgi meat adjustment

About the PR
Corgi meat adjustment

Changelog

Corgi burgers are no longer restricted to Ian's meat.
Corgi meat no longer contains bicardine.
:cl:

Renamed Corgi prime-cut to Corgi meat
Corgi meat is no longer restricted to Ian (and his familly tree)

remove high risk item tag while you're at it


Run properties should default to strategy.

Checkout tcl should not be changing run parameters from their strategy defaults. Any such changes should be project-specific, versioned in project_info.tcl.

To attempt to preserve a linear history for the repo, I cherry-picked defaults-fixes onto bbardi's branch, and fast-forwarded v2020.1 to it. Left a tag in place on the previous location of v2020.1. If this solution works, the bbardi and defaults-fix branches should then be deleted, once any repos that might be using those commits as submodules have been switched to v2020.1 head.
Also added a v2019.1-1 tag to master head. If further development needs to happen in 2019.1 with this modification, this branch could get renamed to v2019.1 and left in place, instead of being deleted.


Update package.json with Apache License 2.0

The license used is Apache License 2.0, so I think it makes sense to update the package.json file with the correct string as a some software use this field to approve or not packages.

I signed it!


Improve documentation about custom tasks

@anjagruenheid , could you help with this one (see placeholder here? Thanks


Rendering in headset breaks after moving window

I am using:
Linux with bspwm
Godot 3.3
Godot OpenVR 1.1.0
SteamVR 1.19.7 (latest non beta release at time of writing)
I am not sure how exactly to reproduce this bug since it just seemingly randomly started happening to me. What happens is that if I move the window that Godot creates, rendering in the headset stops working. Most of the time it the picture in the headset freezes with the right eye's contents for both eyes, but one time just my left eye was frozen, but my right eye still was working. The regular desktop window remains updating just fine.

I can confirm that Submit is returning vr::VRCompositorError_None https://github.com/GodotVR/godot_openvr/blob/master/src/ARVRInterface.cpp#L263

I found that commenting out these two lines prevents the bug from happening https://github.com/godotengine/godot/blob/3.x/platform/x11/os_x11.cpp#L2272

Okay this problem effects both the GLES2 and GLES3 renderer and seems to be a bug in the engine itself. If you replace the resize here with
VSG::storage->render_target_set_size(vp->render_target, 1000, 1000);
VSG::storage->render_target_set_size(vp->render_target, vp->size.x, vp->size.y);

It will instantly break.

Okay this seems to be a quirk of OpenVR https://github.com/ValveSoftware/openvr/issues/216
The runtime caches information about the texture after the first Submit and it does not like you modifying the texture. Commenting out glDeleteTextures caused a different texture id to be returned which prevented OpenVR from using the cached information.

Owh interesting find! I was never able to reproduce 55

I wonder what we can do about this because Godot doesn't have a mechanism for keeping the texture around for a bit longer. I wonder if there is a way we can detect the size change on the plugin side and clear whatever hold it has on the old texture.
Godots behavior is correct, the size of the viewport changes so it needs to create new textures. It's not designed to reuse texture id's I think.

Btw, one way to work around the resize issue is to render to a separate viewport like the demo does. That way window resizing doesn't effect the render target for the HMD.

One way to work around it from within the engine is to make sure the new texture has a different id than the old one. Although not as elegant / clean you can probably just move the glDeleteTextures for getting rid of the old texture until later.
If you wanted it to be taken care of by the plugin I wonder if you could just have a second texture that you just keep around for invalidating the cached texture. You could listen for the signal for the resize happening and then use that second texture for the next frame (of each eye?) before switching back to the actual one.

This should be fixed in Godot 3.5, probably even in the 3.4.2 stable release, needs to be tested.


Feature Request: Invisible collections

I'd like to be able to add collections to the configuration that do not show up in the tree view.
This would allow the querying of tables that do not require CMS editing.
For example if I have a table that is used simply as a lookup, or enumeration representation - something like Australian States and Territories.
I don't need it to appear in the CMS but I want to be able to query it for reporting.

Can you expand on the use case? I understand the feature, but not how you'd use it. ATM you could create your own repository to access the table and "just" bypass fluidity all together, I'd just like to understand what going through Fluidity would bring?

It looks to me, reading the API like creating a custom repository is a lot of work.  All or nothing with no incremental overrides. I want to avoid that. Am I wrong?

You only need to inherit the fluidity base repository if you want it to be managed via fluidity. If you just want to access it yourself in your own code, you can create your own lightweight repository.

You mean inherit FluidityRepository<TEntity, TId>?
https://umco.github.io/umbraco-fluidity/api/repositories/
If so this is exactly what I'm trying to avoid. Inheriting that class means having to implement the abstract XXXImpl methods and I have zero idea what to put in them.

Yea, but I'm saying, you only need to do that if you want your entity to be known and managed by Fluidity. If you don't, and you just want to access data in a database table, then create your own repository class that does whatever you want.

What I want is the convenience an consistency that the data access API offers without having to have individuals navigating through various relevant trees interspersed with trees that are meaningless to them.
I'm dealing with types that are related to (via foreign keys) types Fluidity knows about and it seems very odd to me to have to implement something from scratch to work with two related types.
There's an assumption here that myself and others know how to implement the methods. Fluidity is an attractive option because I don't need to know the nuances of PetaPoco with the various extensions Umbraco have added.

Sure, but the responsibility of Fluidity isn't to make creating ANY repository easy, it's only job is to make editing custom data tables easier.
Can you provide me a code example of something you want to be able to do? As I'm just not getting why creating your own NON Fluidity repository is a problem.

I'm just not getting why creating your own NON Fluidity repository is a problem.

Because I simply don't know how to. I don't know what to put into any of the XXXImpl methods, I don't know how to use PetaPoco, and I don't particularly write SQL well.
Ok. Here's the exact scenario.
I have a custom customer table that editors can view/edit through Umbraco using Fluidity
dbCustomer
Id
Email
Hash (A hash of the email address)
Name
I generate links based on that hash but I need to make the link expire after a certain time.
An obvious solution is to create a related table
dbTemporalHash
Id
CustomerId (foreign key)
Hash (same as customer hash, duplicated for performance)
ExpiresDate
Using this I can now create a temporal hash related to a customer which I can check against in my code to see if the hash has expired.
Now, I don't need or want the editor to be able to see the data stored in that table so I cannot create a tree item for it. However I want to be able to do something like
Fluidity.Fluidity.GetRepository<TemporalHash, int>

Which is impossible since in order for this to work I have to register a complete config which means adding a tree item to the backoffice.
If there was a way to register a class without the full configuration and backoffice visibilty then this would be easy.
Does this make it more clear?

Thanks for clarifying. I do now understand what you are asking for but IMO this is outside of the scope of what Fluidity is for. It isn't to simplify your data access layer or to prevent you from needing to learn PetaPoco, it's simply to make building a UI for your custom models easier.
In the spirit of being helpful though, I'll offer you an example of how you should go about making your custom repository.
So, given the table you outlined before, I'll assume a Model like so
[TableName("dbTemporalHash")]
public class TemporalHash
{
    public int Id { get; set; }
    public int CustomerId { get; set; }
    public string Hash { get; set; }
    public DateTime ExpiresDate { get; set; }
}

With this, you could define a simple repository like so
public class TemporalHashRepository
{
    protected Database Db => ApplicationContext.Current.DatabaseContext.Database;

    public virtual void Save(TemporalHash entity)
    {
        Db.Save(entity);
    }

    public virtual void Delete(TemporalHash entity)
    {
        Db.Delete(entity);
    }

    public virtual TemporalHash GeByCustomerId(int customerId)
    {
        return Db.SingleOrDefault<TemporalHash>("SELECT * FROM [dbTemporalHash] WHERE [CustomerId] = @0", customerId);
    }
}

And then you can access your data with
var customerHash = new TemporalHashRepository().GetByCustomerId(customerId);

As I say, because Fluidity isn't managing this table, there is no need for the repository to inherit from the ase class and so you can create just the methods you need.

Was worth a try 😛
Thanks for the code sample I really, really appreciate it! 👍


Python: Metadata iterator must iterate over Mapping keys to comply with abc.Mapping

This is a concern regarding the python AIO implementation of Metadata.
https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_metadata.py
In other implementers of the abc.Mapping class, the implementation of __iter__ should return an iterator over the keys.
See https://docs.python.org/3.7/library/stdtypes.html#dict
Currently, __iter__ on Metadata returns an iterator on items (keys and values), which contradicts the standard for Mapping as mappings are generally accepted to inherit a collection of their keys.
I would suggest one of 2 options:

replace the __iter__ implementation so that it returns the keys (breaking change, but the iterator is undocumented)
to not inherit from abc.Mapping. This would allow Metadata to retain most of its methods intact, and instead it can implement Collection[Tuple[MetadataKey, MetadataValue]]

Upon more investigation, it seems that solution 2 would be preferred since it would allow this AIO class to easily be used alongside non-AIO metadata, since both can be cast to Collection[Tuple[str, MetadataValue]]

Related PR: https://github.com/grpc/grpc/pull/26499
This is indeed a bug in implementation. MetadataType should be Tuple[Tuple[MetadataKey, MetadataValue]].  The expected behavior of __iter__ should be returning key-value pairs. This is the behavior of sync API's metadata. It's better to keep asyncio API and sync API on the same page.
Solution 2 sounds good.

As far as I can tell, this makes the opentelemetry-instrumentation-grpc package completely unusable with asyncio when the initial metadata is non-empty.
This line attempts to convert an aio.Metadata instance into an OrderedDict: https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/_aio_client.py#L56
But the OrderedDict construction apparently does this by iterating over what it thinks are the "keys" of the input object, then indexing on those keys to get the values. Since aio.Metadata.__iter__ returns key/value pairs rather than just keys, this results in a call to __getitem__ with a (key, value) pair rather than an actual key, which will always result in a KeyError.

Here's a quick demonstration:
>>> from collections import OrderedDict
>>> from grpc.aio import Metadata
>>> m = grpc.aio.Metadata({"foo", "bar"})
>>> OrderedDict(m)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<path>/.venv/lib/python3.9/site-packages/grpc/aio/_metadata.py", line 64, in __getitem__
    return self._metadata[key][0]
KeyError: ('bar', 'foo')

Looks like we agreed on the fix but didn't fix it yet, we'll put out a PR to change the inheritance soon.


Obey DNS TTL

Related: https://github.com/akka/akka-http/issues/1226
a) Implement a connection TTL according to DNS TTL.
b) Resolve DNS when creating the RequestKey, add it. Should be cached by the JVM.
c) Check when releasing a connection... inside a synchronized block. Probably a bad idea.

This might be relevant to keypool as well.


[Request] Client side implementation

Hello,
Is is possible to have a client web side implementation example ?
(bower, etc...)

Bower is becoming more and more unrecommended for anything in web development. If you need to use this module, I support npm or you can also browserify it using wzrd.in, e.g.: wzrd.in/standalone/worker-pouch@latest
The npm package should contain a dist/ folder with everything you need, cheers.


SPN Auth credential bug fix for ARG and PackerBuild tasks

Customer reported an issue that one string is not defined properly. please fix that as well.

@asranja @Ajay-MS can you please review the common changes to azure-arm-endpoint


Make integration tests pass with official Mesos releases

Mesos releasesa don't include a "git_tag" in the state.json.

Coverage remained the same at 73.856% when pulling 5b81453a461000defd114e728a3e15bed95bcfca on gk/support-official-mesos-releases into 82ee7ddec7c61f058354b527ae8adc044c3534c6 on master.

Awesomeness
  on a       |    |    |
    ship!    )_)  )_)  )_)
            )___))___))___)\
           )____)____)_____)\\
         _____|____|____|____\\\__
---------\                   /---------
  ^^^^^ ^^^^^^^^^^^^^^^^^^^^^
    ^^^^      ^^^^     ^^^    ^^
         ^^^^      ^^^


Add router functionality

This is an ingress abstraction. Effectively a load balance with hostname and path based routing.
Will probably be enhanced later to use k8s's gateway api.

Making a note to ensure that we handle the http to https redirect for apps that want https only.

this has been done. opened a separate issue for the redirect enhancement


Chrome with foreign language Input Method Editor (IME) triggers redundant keypressEvent for while typing is in progress

Browser: Chrome Version 76.0.3809.132 (Official Build) (64-bit)
OS: Windows 10
IME in trouble: Sogou Version <IP_ADDRESS>0
Demo of the bug:

jsFiddle: https://jsfiddle.net/yunyunzai/kpsb5wmv/
Root Cause:
Multiple redundant keypressEvent are triggered for typing-in-progress input made by this type of IMEs. https://github.com/RobinHerbots/Inputmask/blob/b1e96445b29958b4bbbd727a144d773fe7ca9f48/dist/jquery.inputmask.js#L1373
Proposed Solution:
Chrome has its own way to identify this type of typing-in-progress input. This is a none-issue for the latest version of Firefox and IE. The above line should be replaced by:
                                   keypress.which = entry.charCodeAt(0), ignorable = !1, (!e.originalEvent || e.originalEvent.inputType !== "insertCompositionText") && EventHandlers.keypressEvent.call(input, keypress);

@yunyunzai ,
I pushed a fix and rebuild.  Can you have a try.

@yunyunzai ,
Have a try with 5.0.0-beta.252
I did a quick try also on android chrome with predictive text.  While composing the input event is skipped as you proposed, but on compositionend the input is triggered to set the value.
Possible the input trigger will be double on firefox.  (https://github.com/w3c/uievents/issues/202)

@Robin,
5.0.0-beta.252 fixed the issue perfectly! And I've tested with Android + Chrom and the issue was fixed flawlessly. I will go ahead close the issue and decline my PR.
Very appreciated!
Tested:
https://jsfiddle.net/yunyunzai/kpsb5wmv/

@RobinHerbots
Does the newest release 5.0.4-beta.40 not have this fix in?
I'm seeing the reappearance of the issue in the newest release. (haven't updated the lib since 5.0.0-beta.252)


Firebird DB support

Reported by andyieg.andreas, Feb 13, 2014
I would like to be able to use FirebirdDB as backend, since it has a embedded and server version, that need no code changes and a ADO/.net binding.
Its also easier to transport the database since its a single file, while the server version is easier and often faster then MySQL/SQLlite.

Okey, after exploring the options, the most suitable candidate for embedded database and free for this kind of project is RavenDB, i'm used to MongoDB, but its very difficult to get it embedded, on the other hand, RavenDB is as simple of adding a nuget. I'll start some db porting program, and create new poco classes as repository. Anyway i'm open to suggestions, NOSQL for the kind of data JMM manage is a WIN, but since the quantity of data is small for a db, we can actually use a Memory Database which could be better more better suited, but i'm not versed on possible candidates. So shoot some opinions.
This will be of course a major refactor of the JMM Server, and refactor of the public api into REST/JSON, which mean all clients will need refactor too.

From my understanding of NoSQL is that it's a lot more hands on then MySQL. You mentioned this would be much better for JMM, what would be some of the benefits to end users?

Speed,since there is a lot less joining and queries than normal structured database.
Data is stored as documents and can have any structure and subsctructures (subcollections) per example, one anime document could store everthing from the anime, take note, that nosql database can query on any subcollection. Which means you could query for the episode date inside the collections of episodes of the anime, etc.
Schema is dinamic, adding a property, collection, etc, to a class is dinamic, you don't have to alter the table (There is no tables :p).
More suitable to be consulted via services since there is less deserialization and queries involved, since data is not flat, since the structure in the database is the consumable form.
Since i'm looking for embedded, there is no more installing of addtional database servers, are spooky configuration issues.
More Maintable, since db structure is already in Cosumable form, there is no need for extra contracts or models, from serialization/deserialization.

Oh wow, seems like JMM would benefit greatly from moving to RavenDB. I'm all for making JMM easier for the end user and this seems like the way to do it.

but what about data corruption. Im new to noSQL - but I had to recover some corrupted mysql tables which was succesfull.
Does it look also bright in noSQL?

It has some tools for corruption and also embedded backup system.
http://ravendb.net/docs/article-page/3.0/csharp/server/administration/backup-and-restore
On Fri, Nov 20, 2015 at 8:43 AM, BigRetroMike<EMAIL_ADDRESS>wrote:

but what about data corruption. Im new to noSQL - but I had to recover
some corrupted mysql tables which was succesfull.
Does it look also bright in noSQL?
—
Reply to this email directly or view it on GitHub
https://github.com/japanesemediamanager/jmmserver/issues/73#issuecomment-158370931
.

Moving to RavenDB, so closing


WIP – Visualize login activity patterns

Who is this PR for?
District leaders, district IT, and developers.
What problem does this PR fix?
No good insight right now into failed login attempts. Many failed login attempts could indicate a very frustrated user, or a possible attacker trying to get into the app).
What does this PR do?
Adds a new component, LoginActivityPage, which visualizes the past 30 days of successful and unsuccessful login attempts.
Screenshot (Internet Explorer, test pals data)

Checklists
Javascript QA

[x] Author checked latest in IE - Login Activity Page

Automated Testing

[x] Author included specs for new code

Status update
I'm thinking this PR is in good shape for some Friday afternoon shipping!  🚢🎉
I'm going to ship this one dark, without a link in the product itself, so we can take a look at production data viz before making it a live link.
Using this note to track areas that look solid and those we might attend to in future iterations once we're past next week's sprint.
What's solid

Key security checks: controller has authorization checks and those authorization checks are double-checked by Ruby controller test code.
Chart renders correctly in Internet Explorer, needed an array.prototype.fill polyfill to work.

What might be awkward in production

Sort order of email addresses: didn't address that yet. Logically we might want to put the addresses with the most activity up at the top. Could also look weird if a spam bot type email attempting to log in as up at the top.

What's a little messy but not worth fixing right now

The LoginActivityPage doesn't use the same awesome pattern of sending down nowFn() or Time.now that's followed in the rest of the app. This leaves us open to a class of bugs around different parts of the component not sharing the exact same current time. I didn't observe any of those bugs when developing the feature so I'm going to leave this as a future refactor opportunity.
I'm not 100% happy with how we handle dates in the component. I ended up using moment.utc() to get date comparisons to work, but that may not be the best way to do this. No concrete suggestion for improving this yet, just noting it's an area to potentially look at later.

cc @kevinrobinson — I don't think this PR needs line-by-line review, but here's a status update!


Error: Cannot re-register: service:store, as it has already been resolved.

First: sorry if this is the wrong place for this question. Just point me to the right resources if this isn't an issue with ember-cli-mocha
I'm getting the error: Error: Cannot re-register:service:store, as it has already been resolved. when I try to run this acceptance test:
# jshint expr:true
`import Ember from 'ember'`
`import startApp from '../../helpers/start-app'`

describe "Acceptance: AccountProfile", ->
  before ->
    @App = startApp()
    return

  after ->
    Ember.run(@App, "destroy")

  it "can visit /account/profile", (done) ->
    visit "/account/profile"
    andThen ->
      expect(currentPath()).to.equal "account/profile"
    done()

The error is happening in the "after all" hook so I assume that is when the @App is being destroyed. I'm at a loss here. I assume the error is EmberData trying to reregister itself but I don't know why I'm getting that when I try to destroy the app.
Any help would be greatly appreciated.
Thanks!

My guess is that it is related to https://github.com/emberjs/data/pull/3690

Thanks!
I've got a hacky work-around to rebuild the registry before calling destroy in the after block:
  after ->
    @App.registry = @App.buildRegistry()
    Ember.run(@App, "destroy")

That gives me the same results as the ember-data patch you linked to but I don't have to maintain a patched version of ember-data.
But, now I'm getting this error:
Acceptance: AccountProfile
can visit /account/profile ‣
"after all" hook ‣
TypeError: app.testHelpers.wait is not a function
    at visit (assets/vendor.js:53338:28)
    at assets/vendor.js:54152:19
    at isolate (assets/vendor.js:54353:13)
    at assets/vendor.js:54337:14
    at tryCatch (assets/vendor.js:67511:14)
    at Object.invokeCallback (assets/vendor.js:67526:15)
    at assets/vendor.js:69338:21
    at assets/vendor.js:43933:7
    at Queue.invoke (assets/vendor.js:11464:16)
    at Object.Queue.flush (assets/vendor.js:11528:11)

This looks like I'm probably not requiring in a necessary package. Any idea what package testHelpers.wait is defined in?

I'm seeing this exact same thing on a project, fwiw. Also at a loss.

@paulelliott -  See https://github.com/emberjs/data/pull/3690 for an upstream fix, and https://github.com/emberjs/ember.js/issues/10310#issuecomment-133877589 for a work around you can use in your apps for now.
App.initializer({
  name: 'clear-service-store',
  before: ['ember-data'],
  initialize(registry) {
    registry.unregister('service:store');
  }
});

@rwjblue That is a cleaner way to handle the title error of this issue, for sure. :+1:
I am still seeing TypeError: app.testHelpers.wait is not a function just like @spinlock99 though.

@paulelliott - Are you saying that you are getting this error without the patch that @spinlock99 mentioned (clobbering this.app.registry)? If you are using that patch: I do not think that clobbering the whole registry will result in good times, so I would definitely suggest using the initializer approach that I linked above.  If you are not using that patch, and you are getting this error on an out of the box setup please open a new issue so we can try to diagnose it.

I tried @spinlock99's suggestion before you posted the initializer. It worked but left me with the error about app.testHelpers.wait.
When you posted the initializer I took that hack out and used that, which yielded the same result. The initializer approach is a much better workaround and that is what I am going with.
The app.testHelpers.wait issue is likely related to ember-cli-mocha, which both @spinlock99 and I are using.

@rwjblue thanks for posting that initializer. Much nicer solution until ember-data is patched. I am still getting the app.testHelpers.wait issue. Would you prefer if I closed this issue and opened a new one for that or just continue this thread?
@paulelliott What does your setup look like? Here's the debug from my app (with ember-cli-mocha @ 0.7.0)
DEBUG: -------------------------------
DEBUG: Ember      : 1.13.9
DEBUG: Ember Data : 1.13.11
DEBUG: jQuery     : 1.11.3
DEBUG: -------------------------------

I'm using ember-cli-mocha 0.9.2 with ember-mocha 0.8.0 and:
DEBUG: -------------------------------
DEBUG: Ember      : 1.13.7
DEBUG: Ember Data : 1.13.8
DEBUG: jQuery     : 1.11.3
DEBUG: -------------------------------

Can someone make a repro to demo this? I just made http://emberjs.jsbin.com/genolo/edit?html,js that you can use as a base.

This is very odd. I can't recreate the error using @rwjblue 's jsbin. So, I tried creating a fresh app with ember-cli to see if I could recreate the error there: nope. Then, I compared my package.json and bower.json to the new, clean, ember-cli app and make sure all the packages were in parity.
This is where is gets interesting: I did not get the service:store error with the fresh ember-cli app but I do still get it with my app. This makes me suspect that the testHelpers.wait has the same root cause as the service:store issue.

I'm getting this error with ember 2.5

@NullVoxPopuli can you post an example using the jsbin or a fresh github repo?
I suspect we haven't closed this issue yet because no one has been able to show an example yet.
Thanks!

Here is a repo: https://github.com/NullVoxPopuli/aeonvera-ui/tree/mocha-test
This is the first errorr that shows up

here is a travis log, if that helps https://travis-ci.org/NullVoxPopuli/aeonvera-ui/jobs/131395768
(first error)

Ok, I added the registry hack:
  afterEach(() => {
    // tear down
    application.registry.unregister('session:main');
    application.registry.unregister('session-store:test');

    destroyApp(application);
    server.shutdown();
  });

but, now I'm also getting the
TypeError: app.testHelpers.wait is not a function

problem.
:-(
Does this mean that the test helpers aren't being loaded properly?
I think there is something funky with acceptance testing and mocha right now. :-\
Any ideas?

https://github.com/emberjs/data/pull/3690 seems to have fixed the original issue. if there are still issues in this area please open a new issue.


Improve compilation and remove redundancy in test setup

Result: The time to start the first unit tests is improved from 3 min+ to 1 min 20 seconds using a standard Macbook Pro.
Changes

Improve compile times using Docker binaries (article)
Remove redundant compile when we are already migrating

@asoong Does it make sense at this point to set up docker for our CI?

Pull Request Test Coverage Report for Build 3419

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 3406:
0.0%

Covered Lines:
753

Relevant Lines:
753

💛  - Coveralls


chore(nix): updates to use nixpkgs elixir 1.17

I split the package out here, and dropped the makeOverridable. I can put this back if needed, but I think separating the package makes it clearer to reason about. It's also more similar to a nixpkgs package this way. :)
I discovered that erlang_27 actually depends on erlang_26 currently for ex_doc, so you have to compile both with beam_minimal. Anybody using your cache won't notice though.
I also wondered if the zig pinned release could be removed in favor of current unstable.

I also wondered if the zig pinned release could be removed in favor of current unstable.

something is broken in nixpkgs for zig 0.11 right now, which we need, so we can't do that yet.

You'll halso have to change the extra_files entry in release-please-config.json to point to the package.nix file instead of flake.nix file

I think this should be good to go, unless you still wanted me to remove the rebar overrides.

I checked out the branch locally and as my shell was booting up nix develop, its running the the rebar tests.
still better than before, will merge once i get a nix build passing locally


bifunctors 5.1

bifunctors-5.1 depended on by:

stack-<IP_ADDRESS> (>=4.2.1 && < 5.1). FP Complete<EMAIL_ADDRESS>@snoyberg. @commercialhaskell
tellbot-<IP_ADDRESS> (>=4.1 && < 5.1). Dimitri Sabadie<EMAIL_ADDRESS>@phaazon
these-<IP_ADDRESS> (>=0.1 && < 5.1). Oleg Grenrus<EMAIL_ADDRESS>@phadej. @isomorphism

Done for tellbot.

Update: This is starting to cause problems,
bifunctors-5.1 depended on by:

stack-<IP_ADDRESS> (>=4.2.1 && < 5.1). FP Complete<EMAIL_ADDRESS>@snoyberg. @commercialhaskell
these-<IP_ADDRESS> (>=0.1 && < 5.1). Oleg Grenrus<EMAIL_ADDRESS>@phadej. @isomorphism

and
bifunctors-5 depended on by:

text-show-2.1.2 (>=5.1 && < 6). Ryan Scott<EMAIL_ADDRESS>@RyanGlScott. @RyanGlScott

@borsboom @phadej : Any idea when your packages can be updated?

@bergmark these has fixes in place, but both people with upload rights (I know) are unresponsive since the PR got merged. I'll contact them once again, otherwise we have to drop these.

@bergmark: I've bumped stack's upper bound for bifunctors on Hackage.

Thank you!

@phadej I disabled these in https://github.com/fpco/stackage/commit/9fc4acb8350d3400d269e0fd7ba40eae428ddf9b since it blocked text-show from being included on GHC 7.10.3.


Add post command to copy DLL into the tests directories

Thanks!

This is more for us for an example. We need to change the code so that we do not manually enumerate all the directories.


Mobile: Can't continue scrolling when a map occupy all the screen

Hello,
We have an issue on mobile which is the user can't keep scrolling if the there is a map on the page and it occupies the whole screen.
Here is the code:
// center of the map
var center = [-33.8650, 151.2094];

// Create the map
var map = L.map('map').setView(center, 3);

// Set up the OSM layer
L.tileLayer(
  'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    maxZoom: 18
  }).addTo(map);

// add a marker in the given location
L.marker(center).addTo(map);
map.dragging.disable();
map.tap.enable();

And here is a jsfiddle:
https://jsfiddle.net/x5p2nLrs/23/embedded/result/#Result
Can you please let me know If I'm missing something? Also, the issue happens on the demo website of leafletjs.

You can't both scroll the map AND the page. Try disabling scroll: http://leafletjs.com/reference-1.0.0.html#map-scrollwheelzoom
BTW, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.


changed subtitle file naming

The current subtitle naming is note widely supported so I changed it to generally more approved way by using ´.´ instead of ´-´
See example for proper subtitle naming for ie plex:
https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/
most pc video players accept either way, so its more QOL change

It's more specific to plex naming convention for external subs. can you specify any other? 'm using VLC which don't have any problem with names it detects the subs available.

@r0oth3x49 @Nightreaver is right. '.' is problematic for VLC. If the default language in VLC is set as 'en', VLC doesn't use 'en'.
Using a video with multiple subtitles using "-" instead of '.', try this. In VLC, goto Tools > Preferences > Subtitles/OSD. Check "Enable subtitles" and set "Preferred subtitle language" to "en". When you open the video, English is not used. Now, rename the subtitles to use "." instead of "-", and the video will use English when you open it for the first time.
It could be a VLC thing, since Media Player Classic does not have this problem. But again, "." is the standard. See: https://superuser.com/questions/346599/what-is-naming-convention-for-subtitle-files/346609

Its also standard for MediaBrowser/Emby - https://github.com/MediaBrowser/Wiki/wiki/Subtitles
As I said, regular PC software dont have any issue with more "complex" file nameing, the - also work well for MPC/MPC-BE and probably others. But so does . so changing it would add more compatibility.
Obvioulsy VLC is looking for dot as well, according to their sourcecode https://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/subtitle.c#l2420

@Nightreaver I think you also need to update the logging. I see the dash in the logs, even if the actual file uses dot.
e.g.

[+] : Downloaded  (313 Creating Eye-Catching Text Effects in PowerPoint-en)

But IMHO, thats not a file name anyways. To me it just indicated something was downloaded with that title, in english. It doesnt even tell what it is ie Subtitle?


Broken links on download page

Most of the links on the download page are broken:
http://apisix.apache.org/docs/downloads/
Looks like the page has not been published correctly

No, there doesn't have docs anymore. Maybe i should republish the asf branch cleanly.

Note that the page is linked from http://apisix.apache.org in the second Downloads link, so that needs to be fixed to agree with the first link

Oh i know what happened, Thanks for your report.


Please consider adding support for VK_KHR_dynamic_rendering_local_read

Description
The VK_KHR_dynamic_rendering_local_read extension closes a big gap between VK_KHR_dynamic_rendering and VkRenderPass objects. For applications that use input attachments, this extension is an absolute necessity to enable them to move to dynamic rendering (which is already part of core Vulkan 1.3).
Please consider adding support for this extension. It's likely not too difficult to implement, but it does include an annoyance with color and input attachment index mapping. In particular, unlike the subpass mapping of color locations to render pass attachments, the mapping in this extension does not affect blend states etc matching dynamic rendering attachments.
Environment

RenderDoc version: v1.33
Operating System: Linux
Graphics API: Vulkan

Some gotchas and findings:

When reading from input attachments (in shader debugger), if input attachments are read from the descriptor set, then VkRenderingInputAttachmentIndexInfoKHR can largely be ignored. It may still need to be used to extract the format of the attachments correctly.

Depth/stencil input attachments now don't need an input_attachment_index. Lack of that decoration + type (float vs int) implicitly defines depth and stencil input attachments.

VkRenderingAttachmentLocationInfoKHR remaps the render pass attachments to "locations". The shader references locations (for example writing to locations 2 and 5), which needs care to map to attachments (which for example could be at index 1 and 0 respectively)

vkCmdClearAttachments, blend state, etc still reference the attachment index, NOT the location. This is the only real deviation from subpasses.

The mappings, if any, should be specified in the pipeline (if not shader object), and matching mappings should be specified either as command buffer inheritance info or via vkCmdSet* functions.

In some cases, the mappings can be nullptr, meaning identity mapping.

If VkRenderingAttachmentLocationInfoKHR maps an attachment to VK_ATTACHMENT_UNUSED, it must be disabled! The application doesn't have to explicitly mask writes to the attachment.

With this extension (and extensions in general) if there was an ability for Renderdoc to ignore unsupported extensions but still be usable for inspecting the rest of the API calls etc. that would be a great feature (e.g. minimal support as a first step?)

With this extension (and extensions in general) if there was an ability for Renderdoc to ignore unsupported extensions but still be usable for inspecting the rest of the API calls etc. (without crash) that would be a great feature (e.g. minimal support as a first step?)

I talked about this with Baldur previously, he's not a fan of such a solution. It's understandable, particularly because the "without crash" part cannot really be guaranteed, and crashing is not a good feedback to the user about it.
I'm working in this right now by the way, so this particular extension should be supported soon. FWIW, adding support for new extensions is not that hard, if you hit any that's blocking you, you might want to just add it yourself.

With this extension (and extensions in general) if there was an ability for Renderdoc to ignore unsupported extensions but still be usable for inspecting the rest of the API calls etc. (without crash) that would be a great feature (e.g. minimal support as a first step?)

I talked about this with Baldur previously, he's not a fan of such a solution. It's understandable, particularly because the "without crash" part cannot really be guaranteed, and crashing is not a good feedback to the user about it.
I'm working in this right now by the way, so this particular extension should be supported soon. FWIW, adding support for new extensions is not that hard, if you hit any that's blocking you, you might want to just add it yourself.

Thanks @ShabbyX looking forward to it


Created Parse method and updated dependencies

This PR addresses issue #37 and updates some dependencies

Sorry, I dropped the ball here, missed this when you created it 🙁 The good news is the functionality has been implemented now, but apologies for not handling this earlier


Adding 'max_mask_region_area' option

Basically does the same thing as min_mask_region_area but for big areas.

CLA signed after the pull request :)


'gbk' codec can't decode byte 0x93 in position 92: illegal multibyte sequence

How to solve this error ya? please guide me...

solve it.


Node of UUID is 0

I'm using uuid-doctrine with UuidBinaryOrderedTimeType as an id field on multiple sql tables, which is working fine on a local dev environment. When using same code on the prod server (identical config, versions etc) the node of each UUID is always just 0.
How do I debug/ how can I get any more info of this problem, as to why the node is always zero'd? Unfortunately there is no exception thrown...

php-fpm 7.4, ramsey/uuid-doctrine 1.8.1, doctrine/orm 2.13.2

After digging through the sources, I've found the issue. The origin is in ramsey/uuid instead of the uuid-doctrine. It seems that there has been an issue in 2016 about this: ramsey/uuid#133.
The server is running on a vpn network, which interface hasn't got a mac address (as in: 00-00-00-00-00-00). As this interface is the first one listed by SystemNodeProvider->getIfconfig() it takes the mentioned zeroed mac address as the returned node.
When going through the interfaces, I've put a quick if-statement to it:
Ramsey\Uuid\Provider\Node\SystemNodeProvider.php line 138
        if (preg_match_all(self::IFCONFIG_PATTERN, $ifconfig, $matches, PREG_PATTERN_ORDER)) {
            foreach($matches[1] as $iface) {
                if($iface!="00-00-00-00-00-00"){
                    $node = $iface;
                }
            }
        }

This cycles through all interfaces and takes the first "usable" one, while dismissing zero'd entries.


AbstractOptions isset issue, #7286

When calling isset() on an object variable that is a class extending AbstractOptions an exception is thrown.
An example useage of this is found in the EventManagerAwareTrait where the trait checks a class variable isset, if the class that is using the EventManagerAwareTrait extends AbstractOptions an exception is thrown.
This pull request fixes AbstractOptions by checking that the method exists and that the value is not equal to null, thus stopping the exception being thrown.
This pull request also fixes issue #7286

Perhaps you can split up and create a separate PR for each issue? I see a fix for Zend\StdLib\AbstractOptions and also for a completely unrelated issue about Zend\Form\View\Helper\FormCheckbox.

@rms230 : Please read our contributing guide, particularly the section linked on branching for patches. The pull request here combines two separate features, which should be evaluated separately; this is due to doing both on your master branch. Also make sure you run php-cs-fixer (which is installed by default when you run composer install) to correct any CS issues you have; this will make it simpler for us to merge.
You can create a new branch from your master branch, revert the unwanted commits (the stuff around the form components), and create a new pull request from there. The changes do look good; I just want to make sure they come in cleanly.
Thanks!

@rms230 If you want this included in 2.4.0, you have until tomorrow, 19 March 2015, to resubmit as a discrete patch against develop as outlined in my previous comment.

@weierophinney I created a separate PR for the checkbox issue and also updated the unittest so it fails against current master and passes with the provided fix from @rms230 See #7341.

Closed in favor of #7341

@weierophinney Please see PR #7342 for the second part of this PR about the AbstractOptions issue.


Support onwrite hook

var feed = hypercore('./feed', {
  onwrite: function (index, data, cb) {
    console.log('before write', index, data)
    cb()
  }
})

feed.append('hello world') // triggers the hook

// also triggered if data is written during replication

Needs docs and tests. Just testing this out for now

Seems good to me, what was the motivation for this?

@pfrazee for doing local indexing as data is coming in. think i use this to easily track latest files in hyperdrive

Does this update the data if you pass it to the callback?

@fsteff we can make it overridable for sure by accepting a buffer in the cb (my usecase was different)

6.13.0


feat(gi): moved all combinators for iter.Seq2 to gi2 sub-package

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (492f1a3) to head (d762679).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        46   +19
  Lines          773       872   +99
=========================================
+ Hits           773       872   +99

Flag
Coverage Δ

gi
100.00% <100.00%> (ø)

optional
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

coverage: 100.0%. remained the same
when pulling d762679939a14e1f25c10cb6ffccd6c1c426f1e9 on feature/gi-2
into 492f1a36a7376170890ea44bd750d7ad565a5d44 on main.


Provide data privacy text

Is your feature request related to a problem? Please describe.
As a user i have to accept the data privacy text before creating a card
Describe the solution you'd like

provide a link that displays the data privacy

@dkehne we need a data privacy text
You can use this file as a base
https://github.com/digitalfabrik/entitlementcard/blob/main/administration/src/project-configs/nuernberg/dataPrivacyBase.tsx

I have already created a template from nuremberg and placed it on 21th May to Koblenz. Still now response because they are internally clarifying...
Datenschutzerklärung-Koblenz-Pass-Entwurf.docx


[BUG] response timeout when indexing

Describe the bug
Unable to index document or link in /index chat
To Reproduce
Steps to reproduce the behaviour:

/index chat
Insert document or website link in chat per instructions
Wait 10 minutes
See error

Expected behaviour
Expect the bot to be able to index the document or website

hmm, I can't reproduce

Can you share the file that you were using that triggered this? @whisperdrive

Try this one?
https://www.bramstoker.org/pdf/novels/05dracula.pdf


Do stats collection from Netlify in aggregate

This is the laziest way to get all the Top Pages info, quick Ruby script I threw together.
Future enhancements could include going back to get older data, or some improved slicing and dicing/visualization of the data. Unfortunately what we've learned from looking over the data this once is that Netlify only provides analytics about the top 10 pages each day.
So unless something made it to the Top-10 list on at least one given day, it won't show up on this list at all.
Still, better than nothing! Here is the output from running this script today, in the future I imagine we have something better to report on aggregate statistics over arbitrary spans and this goes away completely.
$ ./do-netlify-stats-aggr.sh
Switched to branch 'netlify-stats'
Your branch is up to date with 'upstream/netlify-stats'.
Already up to date.
Switched to branch 'main'
...
[SNIP] - removed a bunch of noise
...
Previous HEAD position was f1cef3ee [ci skip] fluxcd.io stats from netlify-analytics
HEAD is now at 92ff87e4 [ci skip] fluxcd.io stats from netlify-analytics

{
                                                  "/" => 80339,
                                             "/docs/" => 24987,
                                "/docs/installation/" => 18940,
                                 "/docs/get-started/" => 16796,
          "/docs/components/kustomize/kustomization/" => 11653,
                "/docs/components/helm/helmreleases/" => 10913,
                         "/docs/guides/image-update/" => 8408,
                         "/docs/guides/helmreleases/" => 7402,
                                      "/docs/guides/" => 5721,
                 "/docs/guides/repository-structure/" => 4394,
                        "/docs/guides/notifications/" => 3509,
                         "/docs/guides/mozilla-sops/" => 3334,
                                             "/blog/" => 1714,
           "/docs/components/source/gitrepositories/" => 1395,
                        "/blog/2022/04/march-update/" => 790,
                "/blog/2022/04/contributing-to-flux/" => 688,
    "/blog/2022/03/flagger-adds-gateway-api-support/" => 503,
       "/blog/2022/03/flux-puts-the-git-into-gitops/" => 290,
                                   "/docs/use-cases/" => 190,
                                          "/roadmap/" => 102
}

---
days_counted: 43
Previous HEAD position was 92ff87e4 [ci skip] fluxcd.io stats from netlify-analytics
Switched to branch 'main'
Your branch is up to date with 'upstream/main'.

We can run this script again tomorrow and it will show 44 days of accumulated data, the day after we'd get 45... it's all based on when we started taking snapshots of this information, as it scans through each git commit we've made through automation every day, where we got the numbers from the netlify "pages" metric.
I think that Netlify actually keeps the data for longer than 30 days, we just need a way to add them to the git history that won't be too impossible to sort out later, (we could just add a script to go back and poll the rest of the days we've missed since the first of the year... depending on when we did enable analytics and how interested we are in that historical data!)
I realize this is not the easiest way to consume this information but we have limited capabilities in terms of what we can access from this API, what we've planned for, and what else has been done for us upstream already at NiklasMerz/netlify-analytics-collector. Most of this work was done already there.
The next obvious step to enhance would be to see how much further back we can go. I think the 30 day limitation is imposed by the GitHub action and how it works, not by Netlify's upstream API, (but I can't be sure without spending some more time on it and trying to write my own API client next. That doesn't sound like too much work, maybe one for next week...)

I think the data will be more interesting if it's tagged and posted to a database of some kind, so you can drill down into a particular week and find out what moved the needle during that week. Happy to take any requests if there are ideas for how to make this better.


ORC-49. Create RLE-based encoding for short decimals in ORCv2.

Create the first pass of the new decimal encoding for ORCv2. For small decimals, it uses RLEv2 and the old format for long decimals.

Part of what we absolutely need in RLEv3 is zero suppression for the whole row batch. So that if you have integers like:

1000
2000
3000
10000
4000
1000

it will record 3 for the number of zeros and encode:

1
2
3
10
4
1


Update accounts-on-hololens.md

Added information about multi-user support on HoloLens

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/accounts-on-hololens.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


WL-4578 Don’t log a warning when no announcement tool.

If a site that a user is a member of doesn’t have an announcements tool an empty message is logged.

There's quite a few whitespace changes - are they intentional?

Yeah, this one should go back to Sakai and they are all close by.


Build error

I impleement the IBC on my chain now.
But it shows error like below.
Building proto...
cannot build app:
    lstat<EMAIL_ADDRESS>no such file or directory

Waiting for a fix before retrying...
How can I solve this issue?

Hi @Nakamura0315, did you do go get<EMAIL_ADDRESS>

So if I understand correctly you are bootstrapping your chain with ignite, correct? I guess in that case the problem is that ignite is not using the latest ibc-go v6.0.0-rc1 tag, but probably some release of ibc-go v5?

This is source code. https://github.com/Nakamura0315/auction
There are ibc-go v6.0.0-rc1, v5 and v1.5 in the go.mod file.
I think that there is issue here, but not sure.

Yeah, I think that's a problem... If you really want to use v6.0.0-rc1 I think I would remove v1.5 and v5 from the go.mod file and then do go mod tidy and maybe as well go mod vendor. Hopefully that will clean up the go.mod and go.sum. But then you might need to do some updates in your chain for the API breaking changes of v6. Check out the migration docs here.

Hi @Nakamura0315, import paths in your go sources should be updated to use ibc-go/v6. For example, [here[(https://github.com/Nakamura0315/auction/blob/main/x/auction/keeper/keeper.go#L14) is an import which would force the go toolchain to import 1.x. I would ensure all import paths are up to date to use v6 import path of ibc-go, then running go mod tidy as @crodriguezvega suggests should clean up your dependency graph.

Thanks!
I fixed the issue with v5.


Can not run in docker

mac-pro:ci chaim$ docker  version
Client:
Version:      18.03.1-ce
API version:  1.37
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:13:02 2018
OS/Arch:      darwin/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version:      18.03.1-ce
API version:  1.37 (minimum version 1.12)
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:22:38 2018
OS/Arch:      linux/amd64
Experimental: true
mac-pro:ci chaim$
------error log . ---
mac-pro:ci chaim$ docker-compose up --build
Building web
Step 1/9 : FROM ruby:2.5
---> fb664b54b956
Step 2/9 : ENV LANG C.UTF-8
---> Using cache
---> 2c19102643b6
Step 3/9 : RUN bundle config --global frozen 1
---> Using cache
---> 039cb016eb93
Step 4/9 : WORKDIR /usr/src/app
---> Using cache
---> 7503a14ad782
Step 5/9 : COPY Gemfile Gemfile.lock ./
---> Using cache
---> 12bbaddd71a9
Step 6/9 : RUN bundle install
---> Using cache
---> d01316a66c22
Step 7/9 : COPY . .
---> Using cache
---> c8aced358a72
Step 8/9 : CMD ["prod"]
---> Using cache
---> 4e8724ebdd5f
Step 9/9 : ENTRYPOINT ["bundle", "exec", "rake"]
---> Using cache
---> ba1b3775dce6
Successfully built ba1b3775dce6
Successfully tagged ci_web:latest
Starting ci_web_1 ... done
Attaching to ci_web_1
web_1  | bundle exec rackup -p 8080 --env production
web_1  | warning: parser/current is loading parser/ruby25, which recognizes
web_1  | warning: 2.5.0-compliant syntax, but you are running 2.5.1.
web_1  | warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
web_1  | RuntimeError: The web app not built. Build with the Angular CLI and Try Again, e.g. ng build --deploy-url="/.dist"
web_1  |   /usr/src/app/launch.rb:55:in verify_app_built' web_1  |   /usr/src/app/launch.rb:22:in take_off'
web_1  |   /usr/src/app/config.ru:8:in block in <main>' web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:55:in instance_eval'
web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:55:in initialize' web_1  |   /usr/src/app/config.ru:in new'
web_1  |   /usr/src/app/config.ru:in <main>' web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:49:in eval'
web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:49:in new_from_string' web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:40:in parse_file'
web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/server.rb:319:in build_app_and_options_from_config' web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/server.rb:219:in app'
web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/server.rb:354:in wrapped_app' web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/server.rb:283:in start'
web_1  |   /usr/local/bundle/gems/rack-2.0.5/lib/rack/server.rb:148:in start' web_1  |   /usr/local/bundle/gems/rack-2.0.5/bin/rackup:4:in <top (required)>'
web_1  |   /usr/local/bundle/bin/rackup:29:in load' web_1  |   /usr/local/bundle/bin/rackup:29:in <top (required)>'
web_1  | bundler: failed to load command: rackup (/usr/local/bundle/bin/rackup)
web_1  | rake aborted!
web_1  | Command failed with status (1): [bundle exec rackup -p 8080 --env productio...]
web_1  | /usr/src/app/Rakefile:6:in block in <top (required)>' web_1  | /usr/local/bundle/gems/rake-12.3.1/exe/rake:27:in <top (required)>'
web_1  | /usr/local/bundle/bin/bundle:104:in load' web_1  | /usr/local/bundle/bin/bundle:104:in '
web_1  | Tasks: TOP => prod
web_1  | (See full trace by running task with --trace)
ci_web_1 exited with code 1
mac-pro:ci chaim$

Thanks for reporting this, I guess that's because we haven't yet updated the docker container to automatically build the angular based frontend. Docker support was initially added by @adellibovi with https://github.com/fastlane/ci/pull/619, we haven't worked on it since then.
May I ask why you want to run a Docker container, considering that you'll need a macOS host anyway to be able to compile an iOS project?

@KrauseFx I will have a look at this, it’s definitely because we didn’t update for angular.

@KrauseFx  I just have a try use the ci with docker on the mac os .. anyway fastlane work with docker  is a cool idea.. :)


[stable/prometheus] wrong mountpath reference

Which chart:
stable/prometheus
Template file: server-deployment.yaml Line 74:
mountPath: {{ .Values.alertmanager.persistentVolume.mountPath }}
wrong reference to alertserver values. It is supposed to reference the server values:
mountPath: {{ .Values.server.persistentVolume.mountPath }}

/close


Remove "android:label" from manifest

Hi.
The library should not have android:label="@string/app_name" in the manifest because it will force the app that uses the library to use the replace attribute.
Error when using this library:
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@label value=(@string/app_name) from AndroidManifest.xml:35:9-46
  	is also present at [com.github.scottyab:showhidepasswordedittext:0.3] AndroidManifest.xml:11:18-50 value=(@string/app_name).
  	Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:31:5-82:19 to override.

will be in v0.4


Refactor taxons and taxon presenter

We recently dropped the reliance on a hard-coded JSON file that provided
our taxonomy. As a result, taxons are now fetched asynchronously, which
led to a restructuring where they rely heavily on promises.
This refactor focuses primarily on tidying up the taxon class, making
it responsible for fetching its own data asynchronously, and returning
a promise that will resolve once all the requested information has been
gathered.
This refactoring also affects the taxon presenter (which is obviously
tightly coupled to the taxon class) as well as a couple of other classes
that had previously used the taxon class.
Views have been updated to use the new taxon API, but this mostly
involved renaming properties.
Trello
https://trello.com/c/EYVmmFJp/36-spike-how-we-could-fetch-the-taxonomy-from-the-content-store-instead-of-downloading-it-from-content-tagger

@alecgibson the heroku app seems to be crashing, could you please investigate?

@carvil as discussed, Heroku didn't actually deploy the app. Should be fine now.


Can't open or even create any files

Issue Type: Bug
Hi there, something happened and I can't opene or create any files, always getting the same error:
Unable to open 'Untitled-1': Cannot read property 'other' of null.
Tried to uninstall everything and install back several times
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-07T23:31:18.860Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.88GB (1.97GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Please see if you can find any logged output that could help us find the source of the issue:

run code --verbose from the command line and attach the output
in Code select Help | Toggle Developer Tools and select the Console
attach any output you see in the Console you can find

Thanks!

That's what I see when I run code --verbose:
[main 2020-04-10T15:48:07.064Z] Sending some foreground love to the running instance: 15152
[main 2020-04-10T15:48:07.074Z] Sending env to running instance...
[main 2020-04-10T15:48:07.178Z] Sent env to running instance.  You can give our preview releases a try from: https://code.visualstudio.com/insiders/

This one works for me with no issues...

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

The same
I also thought that it might be because of extensions (because it happened after I installed some). So I also tried to disable all of them and then do delete (folder), but also didn't help :(

Can you try to run code --disable-extensions --user-data-dir <directory> where <directory> is an empty folder? This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.

Cool, now it works, now I can create and open files. But what would be the way to use extensions again? :)

@Rompol just to make sure, with the command I gave you, you also used a fresh data dir. To verify this is really just about extensions, can you also try this: code --disable-extensions without the --user-data-dir argument.

No, then it's not working, the same error

@Rompol can you go back to the model of code --disable-extensions --user-data-dir <directory> where <directory> but this time try to copy as much of the environment over to reproduce as possible:

settings
keybindings
extensions
folder/workspace you open

To see if it isolates with that other user data folder.

Not sure if I understand correctly what I should do here... can you please clarify?

@Rompol you should be able to start 2 instances of VSCode, one as usual (with the issue) and one with the --user-data-dir. Then from the broken version can you copy over the settings (in its JSON form) to see if you can get the good version into a state where it gets broken? Trying to figure out what is causing this as it does not seem to be so easy to understand.

@bpasero I'm getting this message Unable to open 'settings.json': Cannot read property 'other' of null.
when I'm trying to open json files in settings.
Tried to uninstall it (one more time) and install back, the same issue

@Rompol any chance you could share the contents of your settings file? Particular I wonder about editor.quickSuggestions and possibly this being a duplicate of https://github.com/microsoft/vscode/issues/94931

@bpasero ookay, finally I found the settings.json file I needed, I copied settings from vs-insider settings file, and now everything is working. Probably I did something wrong with this file... But anyway, it's working now, thanks for the great support!


When I post a dabi, default should not count 1 disagree

1 count for agree is ok but 1 disagree count shouldn't be there

I fully agree. Fixed in commit 36e4fa952fa547e3aefceb6a5f30f673d3b3177a