Script Stopped Working.

Hello Evan ,
Please I have been using the script for a while but as of today, it no longer works.
Here is error log.
root@Bug-VM:~/documents/h1stats# python3 h1stats
  _     _ ____  _        _
 | |__ / / ___|| |_ __ _| |_ ___
 | '_ \| \___ \| __/ _` | __/ __|
 | | | | |___) | || (_| | |_\__ \
 |_| |_|_|____/ \__\__,_|\__|___/

                      defparam

[+] No session cookie specified
[+] Collecting public data...
[+] Please wait... (this may take several minutes)
Traceback (most recent call last):
  File "h1stats", line 227, in <module>
    get_programinfo(graphql_token)
  File "h1stats", line 86, in get_programinfo
    progcount += len(data["data"]["teams"]["edges"])
KeyError: 'data'
root@Bug-VM:~/documents/h1stats# python3 h1stats "$H1CRED"
  _     _ ____  _        _
 | |__ / / ___|| |_ __ _| |_ ___
 | '_ \| \___ \| __/ _` | __/ __|
 | | | | |___) | || (_| | |_\__ \
 |_| |_|_|____/ \__\__,_|\__|___/

                      defparam

[+] Using specified session cookie
[+] Collecting public and private data...
[+] Please wait... (this may take several minutes)
Traceback (most recent call last):
  File "h1stats", line 227, in <module>
    get_programinfo(graphql_token)
  File "h1stats", line 86, in get_programinfo
    progcount += len(data["data"]["teams"]["edges"])
KeyError: 'data'

I took at this issue in burp.
I found out the description_html key in the Graphql query is source of the error, seems h1 might have deprecated this .

My suggestion for a fix would be to remove the description_html  key .
Here is the Graphql query , I modified that works.
{
    "operationName": "MyProgramsQuery",
    "variables": {
        "where":{"submission_state":{"_eq":"open"}},
        "count": 50,
        "orderBy": null,
        "secureOrderBy": {
            "started_accepting_at": {
                "_direction": "DESC"
            }
        },
        "cursor": ""
    },
    "query": "query MyProgramsQuery($cursor: String, $count: Int, $where: FiltersTeamFilterInput, $orderBy: TeamOrderInput, $secureOrderBy: FiltersTeamFilterOrder) {\n  me {\n    id\n    ...MyHackerOneSubHeader\n    __typename\n  }\n  teams(first: $count, after: $cursor, order_by: $orderBy, secure_order_by: $secureOrderBy, where: $where) {\n    pageInfo {\n      endCursor\n      hasNextPage\n      __typename\n    }\n    edges {\n      cursor\n      node {\n        id\n        handle\n        name\n        currency\n        team_profile_picture: profile_picture(size: medium)\n        submission_state\n        triage_active\n        url\n        offers_bounties\n        average_bounty_lower_amount\n        average_bounty_upper_amount\n        top_bounty_lower_amount\n        top_bounty_upper_amount\n        formatted_total_bounties_paid_prefix\n        formatted_total_bounties_paid_amount\n        resolved_report_count\n        formatted_bounties_paid_last_90_days\n        reports_received_last_90_days\n        last_report_resolved_at\n most_recent_sla_snapshot {\n    id\n    first_response_time: average_time_to_first_program_response\n    triage_time: average_time_to_report_triage\n    bounty_time: average_time_to_bounty_awarded\n    resolution_time: average_time_to_report_resolved\n    __typename\n  }\n        only_cleared_hackers\n        state\n        started_accepting_at\n        number_of_reports_for_user\n        number_of_valid_reports_for_user\n        bounty_earned_for_user\n        last_invitation_accepted_at_for_user\n        bookmarked\n        external_program {\n          id\n          __typename\n        }\n        ...TeamLinkWithMiniProfile\n        ...TeamTableAverageBounty\n        ...BountyTableTeam\n        ...TeamTableMinimumBounty\n        ...TeamTableResolvedReports\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment BountyTableTeam on Team {\n  id\n  handle\n  bounty_table {\n    id\n    low_label\n    medium_label\n    high_label\n    critical_label\n    description\n    bounty_table_rows(first: 100) {\n      edges {\n        node {\n          id\n          low\n          medium\n          high\n          critical\n          smart_rewards_start_at\n          structured_scope {\n            id\n            asset_identifier\n            __typename\n          }\n          updated_at\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    updated_at\n    __typename\n  }\n  __typename\n}\n\n\n\nfragment TeamLinkWithMiniProfile on Team {\n  id\n  handle\n  name\n  __typename\n}\n\nfragment TeamTableAverageBounty on Team {\n  id\n  currency\n  average_bounty_lower_amount\n  average_bounty_upper_amount\n  __typename\n}\n\nfragment TeamTableMinimumBounty on Team {\n  id\n  currency\n  base_bounty\n  __typename\n}\n\nfragment TeamTableResolvedReports on Team {\n  id\n  resolved_report_count\n  __typename\n}\n\nfragment MyHackerOneSubHeader on User {\n  id\n  has_checklist_check_responses\n  soft_launch_invitations(state: open) {\n    total_count\n    __typename\n  }\n  __typename\n}\n"
}

Regards,
abrahack.

I took a look at this issue in burp.
I found out the description_html key in the Graphql query is source of the error, seems h1 might have deprecated this .
My suggestion for a fix would be to remove the description_html  key .
Here is the Graphql query , I modified that works.
{
    "operationName": "MyProgramsQuery",
    "variables": {
        "where":{"submission_state":{"_eq":"open"}},
        "count": 50,
        "orderBy": null,
        "secureOrderBy": {
            "started_accepting_at": {
                "_direction": "DESC"
            }
        },
        "cursor": ""
    },
    "query": "query MyProgramsQuery($cursor: String, $count: Int, $where: FiltersTeamFilterInput, $orderBy: TeamOrderInput, $secureOrderBy: FiltersTeamFilterOrder) {\n  me {\n    id\n    ...MyHackerOneSubHeader\n    __typename\n  }\n  teams(first: $count, after: $cursor, order_by: $orderBy, secure_order_by: $secureOrderBy, where: $where) {\n    pageInfo {\n      endCursor\n      hasNextPage\n      __typename\n    }\n    edges {\n      cursor\n      node {\n        id\n        handle\n        name\n        currency\n        team_profile_picture: profile_picture(size: medium)\n        submission_state\n        triage_active\n        url\n        offers_bounties\n        average_bounty_lower_amount\n        average_bounty_upper_amount\n        top_bounty_lower_amount\n        top_bounty_upper_amount\n        formatted_total_bounties_paid_prefix\n        formatted_total_bounties_paid_amount\n        resolved_report_count\n        formatted_bounties_paid_last_90_days\n        reports_received_last_90_days\n        last_report_resolved_at\n most_recent_sla_snapshot {\n    id\n    first_response_time: average_time_to_first_program_response\n    triage_time: average_time_to_report_triage\n    bounty_time: average_time_to_bounty_awarded\n    resolution_time: average_time_to_report_resolved\n    __typename\n  }\n        only_cleared_hackers\n        state\n        started_accepting_at\n        number_of_reports_for_user\n        number_of_valid_reports_for_user\n        bounty_earned_for_user\n        last_invitation_accepted_at_for_user\n        bookmarked\n        external_program {\n          id\n          __typename\n        }\n        ...TeamLinkWithMiniProfile\n        ...TeamTableAverageBounty\n        ...BountyTableTeam\n        ...TeamTableMinimumBounty\n        ...TeamTableResolvedReports\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment BountyTableTeam on Team {\n  id\n  handle\n  bounty_table {\n    id\n    low_label\n    medium_label\n    high_label\n    critical_label\n    description\n    bounty_table_rows(first: 100) {\n      edges {\n        node {\n          id\n          low\n          medium\n          high\n          critical\n          smart_rewards_start_at\n          structured_scope {\n            id\n            asset_identifier\n            __typename\n          }\n          updated_at\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    updated_at\n    __typename\n  }\n  __typename\n}\n\n\n\nfragment TeamLinkWithMiniProfile on Team {\n  id\n  handle\n  name\n  __typename\n}\n\nfragment TeamTableAverageBounty on Team {\n  id\n  currency\n  average_bounty_lower_amount\n  average_bounty_upper_amount\n  __typename\n}\n\nfragment TeamTableMinimumBounty on Team {\n  id\n  currency\n  base_bounty\n  __typename\n}\n\nfragment TeamTableResolvedReports on Team {\n  id\n  resolved_report_count\n  __typename\n}\n\nfragment MyHackerOneSubHeader on User {\n  id\n  has_checklist_check_responses\n  soft_launch_invitations(state: open) {\n    total_count\n    __typename\n  }\n  __typename\n}\n"
}

Regards,
abrahack.

I submitted a fix


[Snyk] Upgrade org.jetbrains.kotlin:kotlin-reflect from 1.7.10 to 1.9.10

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade org.jetbrains.kotlin:kotlin-reflect from 1.7.10 to 1.9.10.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 21 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-08-23.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

superseded by https://github.com/neo4j-contrib/neo4j-streams/commit/d66eb03c839bae487073dcfebdcdfb9755ce58a8


Talking about current EQ and AudioEffectFilters

This issue is to talk about the AudioEffectEQ and AudioEffectFilter.
I'm on writting the AudioEffects doc and I need some opinion about the differents Filter effects and EQ :
For now, there is 3 AudioEffects equalizers (EQ6, EQ10 and EQ21) at fixed frequencies without possibility to set the filter type of each. Added to that there is 7 AudioEffects with specific EQ type (BandLimitFilter, BandPassFilter, HighPassFilter...) having one unique frequency. If you want a very fined audio shape you have to add a lot of AudioEffects on a single bus.
I think this system isn't the good way to do this because it can be a mess to use and isn't the standard in other audio Apps.
Better would be to have a "AudioEffectEQParametrable" with configurable frenquency AND filter type, avoiding  the mess of lot of filter like BandLimitFilter, BandPassFilter, HighPassFilter for just one audio bus.
talked about that with @Zylann, @vnen, Masterizer and oneoh on Discord.
Exemple from Reaper :

One EQParametrable like this with some EQ 6, EQ 10, EQ21 presets can avoid all others Godot EQ.

Is "Parametrable" an English word? This type of EQ is called "Parametric".
Just to be clear, I don't think any of the other EQ effects should be removed, since they can be used standalone without the need for a full parametric effect. In any case, configuring it all in one effect can be useful sometimes.

Tbh I see this like a UI-only issue, since the functionality such UI exposes can be replicated using the multiple effects stacked in a bus, except the UI gives better overview than the bus effect list.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


typescript icon mia

Closing - Looks like you fixed it with: https://github.com/PatrickShaw/weather-app/pull/16 👍

Closing - Looks like you fixed it with: https://github.com/PatrickShaw/weather-app/pull/16 👍


[Intel MKL] fix bias cache accuracy issue.

This PR fix the bias cache optimization accuracy reverted in https://github.com/tensorflow/tensorflow/pull/32922

@penpornk thanks for you comments, I have modified my code based on it, please help to check, thanks.


Fixing CVE-2017-18638 (issue #2008)

Codecov Report

Merging #2500 into 0.9.x will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           0.9.x    #2500      +/-   ##
=========================================
+ Coverage   33.5%   33.51%   +0.01%
=========================================
  Files         57       57
  Lines       8668     8631      -37
  Branches    1588     1588
=========================================
- Hits        2904     2893      -11
+ Misses      5413     5387      -26
  Partials     351      351

Impacted Files
Coverage Δ

webapp/graphite/settings.py
65.56% <ø> (-0.23%)
:arrow_down:

webapp/graphite/composer/urls.py
100% <ø> (ø)
:arrow_up:

webapp/graphite/composer/views.py
23.8% <0%> (-1.84%)
:arrow_down:

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 0c73928...45f605b. Read the comment docs.


Create script for automatically locating new datasets for data that use APIs

Use dataset search queries such as the following to locate automatically locate datasets for the latest years.
https://github.com/xmunoz/sodapy#datasetslimit0-offset0
When found, update data source table

Redundant with Issues #169  and #170


It's not changing automatically the theme

Hi Simon!
When I found your extension really loved it, it's just what I was looking for. But for some reason it's not working anymore. I've been some time now switching it off and on in order to make it change to the proper theme. I've try both options, de auto and the manual, but any of them seem to work...
It would be great if you can take a look to find out why might this be happening. I use Mac, Firefox 74.0 (even though it already happened before updating to this version).
Thanks a lot for your time and work, Simon! Hope you can solve this.
Greetings from the Canary Islands, Spain!

Oh wait!!!
I missed the option "Check only on start-up and setup"! Now understood that it means that the theme will change only depending on the time you start-up the browser! So I guess if unchecked it should change automatically 😅
Will see if tomorrow it works properly and if so will let you know!

Thanks for the update and letting me know! I'll make a change to make it more clear.
Hope you are enjoying the extension!

Made setting more clear with fd31bef


Discussion - Clarify Hashing Mechanism with OriginalFile, Project and Dataset Models

Context
At the conclusion of Epic https://github.com/AlexsLemonade/scpca-portal/issues/1026, the OriginalFile model will be created and integrated into the codebase.
Computed files comprise the archive of data and metadata files of a variety of samples inside of a project and a dataset. Over time, data and metadata files are updated, forcing computed files to be regenerated as the old ones are become inaccurate.
Problem or idea
We would like to know when computed files must be regenerated. Here are two possible approaches to handling this.
First Option: Collective File Hashing
One way to verify whether or not data files have been altered is to compute a collective hash of all data files associated with a project and dataset, and compare that stored value to a newly hashed values every time original files are synced with the s3 input bucket, to see if files have been altered. Should the hashes not match, then there would be a need to regenerate some computed files.
How AWS calculates a collective hash ^1
It seems like the simplest way to compute these collective hashes would be to do what AWS does. AWS creates a 33 character hash for all files that are uploaded to s3 (referring to the hash an ETAG) so that it can tell when a file has been modified. When file sizes are above a certain threshold (see above linked article for details), AWS splits files into chunks and uploads these chunks one at a time. Each chunk is hashed when it's received, and when all files are received AWS concatenates the hash values from all of the file's chunks and from it generates a new hash for the entire file (appending a -# to the end of the hash to indicate in how many chunks the file was uploaded). Concatenating all hash values of files inside a certain computed file, hashing that value and then comparing the new hash to the old hash would be a quick way for us to ascertain whether or not computed files need to be regenerated.
When to calculate the collective hashes
As touched upon above, the timing for this seems most logical at the conclusion of syncing the OriginalFile table with the s3 input bucket. The most efficient way to do this would be to hash all of a project's original files and compare them to the current hash on the project instance. If a project's files have been altered, then we should regenerate the project's computed files. As well, we could query all datasets associated with the project, and either regenerate them as well or hash their file contents and compare the new hash to their stored hash to see if they were affected.
Another Approach: Leveraging OriginalFile relations
An alternative approach would be to add an attribute called "tainted" to the OriginalFile model, which should be updated when we run the sync_original_files management command, setting OriginalFile::tainted=True if the hash from a file in s3 doesn't match the hash of that file in the DB. After the syncing of original files is complete, we should query all Projects and Datasets that are associated with the tainted original file, and regenerate all affected computed files. After the last computed file has been regenerated, then we would come back and set OriginalFile::tainted=False.

This issue is being closed as the discussion has been concluded. Implementation steps are described in issue https://github.com/AlexsLemonade/scpca-portal/issues/1030.


CODE: Convert visual designs for OSio to live site

Take the visual designs, as created by Jessica, and convert them to working code. All aspects should work on mobile and desktop alike and give proper user feedback.
Proper brand standards should be followed, and icons should be used according to standards given by web group.
VC:

approval from Jessica that site meets design specs.

Completed.


404 at: /reference/builder/

URL: /reference/builder/

Here is the correct URL: https://docs.docker.com/engine/reference/builder/
Where did you find the link to the incorrect one?

#dibs

@erikcw Hi, do you mean the following "Build cache" link?
Whenever possible, Docker will re-use the intermediate images (cache), to accelerate the docker build process significantly. This is indicated by the Using cache message in the console output. (For more information, see the Build cache section) in the Dockerfile best practices guide:
There is something wrong with this link. I fixed it via #32684.

@scjane I can't find #32684. Can you find the correct pull request # so you will get credit?

@mstanleyjones Sorry, I didn't say it clearly that the PR is in another repository. This one: https://github.com/moby/moby/pull/32684

Looks like moby/moby#32684 got merged. Thanks, @scjane!


Update: Fix broken links

PRs fix broken link to reduce htmltest warnings.
htmltest started at 10:16:19 on ./public
========================================================================
running in concurrent mode, this is experimental
✔✔✔ passed in 76.17864ms
tested 120 documents

Thank you very much!


modules plugin options clarification

I'm trying to exclude/include modules to be scanned by ternjs and I see some confusion about the syntax.
In several places, I see the recommendation to set a file path glob pattern for the dontLoad property:
"dontLoad": [
    "node_modules/**",
    "path/to/your/js/**/*.js"
  ],

The docs and the source however state that the dontLoad or load properties are

converted to regex
test the name of the module (not the path).

So in my experience the correct syntax to include files is this:
  "plugins": {
    "node": {},
    "modules": {
      "load": "^(.{1,2}/)+|testdouble|mongodb"
    }
  }

This includes all files that are imported from my local code (e.g.: require('./foo'), plus the testdouble and mongoldb npm modules.

There are two place accepts dontload
One is inside plugin modules, which use regexp.
Another place is root level, use minmatch which support glob.
code for second place: https://github.com/ternjs/tern/blob/870997591e463fea3dd478ac903c697e96e30189/bin/tern#L170


Filter bugfix

@vegarsti Just f.y.i.

@vegarsti By the way: due to TakeWhile inheriting from Filter, your changes also work for the take_while command:
> seq 100 | take_while --negate greater 4
1
2
3
4

Thanks! I was a bit quick, discovered it now as well. And cool that it works for take_while as well!


Interest in other graph libraries

Thanks for this - graph library performance is definitely not obvious.  Do you have any interest in additional graph libraries to examine?  I was a bit frustrated with fgl performance a while ago and put together a library that I thought would address most of the problems I had with it.  It might be of interest to you: https://github.com/travitch/haggle (unfortunately, not up on hackage yet).
It has:

A few different data representations to accommodate different graph topologies, some of which are very space efficient
Graphs with/without edge and node labels
Optional mutable graph creation (in IO/ST) via a freeze and thaw interface

Do you have any interest in additional graph libraries to examine?

Yes of course, thanks for the link !
The approach is very interesting, I will add benchs for haggle asap :)

@travitch I just spent some time trying to add your library. Some questions, to ensure that I don't miss anything:

If I want to deal with simple directed graph (like the graphs of FGL), is Data.Graph.Haggle.SimpleBiDigraph the best choice ?
If yes, if there a possible NFData instance for MSimpleBiDigraph and SimpleBiDigraph ? Maybe the first can be made by freezing the mutable graph and then use a the one defined we can define for SimpleBeDiGraph ?
You don't provide anything like mkGraph, so I wrote:

mkGraph e = let maxV = extractMaxVertex e
        in do
          g <- newSizedMSimpleBiDigraph maxV undefined
          vert <- replicateM maxV (addVertex g)
          mapM_ (\(u,v) -> addEdge g (vert !! u)(vert !! v)) e
          return g

where e is a list of edges (of type [(Int,Int)] and maV is maxV = max $ (\x y -> x ++ y)  $ unzip e. The vertices in the graph are made from [0..(maxV-1)].
Is it ok ?

Thanks for taking a look at it!

Which graph is best depends a bit on what you want to test.  The most direct analog to FGL is the PatriciaTree, which should be almost the same performance (but with some better strictness properties).  SimpleBiDigraph will be more compact in memory and should probably be faster, while still supporting most of the same operations.  Digraph might be interesting as well - it is much more compact, but 1) doesn't provide access to predecessors for nodes, and 2) has an expensive test for edge existence.
I just added the missing NFData instances for the graph types.  I don't think it is really possible to make instances for the mutable graphs, as they contain IO/STRefs.  Freezing the graph and then using the NFData instance for the immutable graphs is probably the best bet there.
That is a good way to construct graphs.  I didn't provide that function, as I ran into a number of use cases where that wasn't quite enough for my needs (e.g., when there are nodes in the graph that don't have any edges to them, the edge list construction is awkward).

Thanks for the work :)
I started mine here: https://github.com/haskell-perf/graphs/tree/haggle (no many things are benchmarked, I will dig deeper inside the API soon).
I think the more valuable is SimpleBiDiGraph since it is closer to others libraries but with a different implementation.
I am just stuck with a thing: How can I bench a graph modification, since it is encapsulated inside a PrimMonad ? Sadly, I have no NFData instance available... Do you have any idea ? Ideally, I would fully evaluate the graph creation (to ensure no time is wasted after), then adding my edge, then fully evaluate the result. I don't know if this is possible...

If you are running in the IO Monad, the modifications to the underlying data structures (which are MVectors and IORefs) happen exactly when you expect.  The modifications to IORefs are done using modifyRef', which evaluates its argument to WHNF (since they are all Ints, that is NF).  I guess my argument is that there isn't anything else to force, but I don't have a proof that there are no other thunks lying around.
For the get* operations on MSimpleBiDigraph, you could deepseq the returned values, at least.

If we are sure that everything is evaluated, as you are saying, then the NFData instance could simply be const (), it should do the trick... I will make some experiments ^^.
The problem of get* operations is that they come encapsulated in the PrimMonad so the NFData is not simple...

So I have do some work.
Criterion provide a function to benchmark a IO action (here it apply for mutable graphs). The only problem is that it will benchmark the whole action. So I need to benchmark the creation itself with the "action" (like addEdge) then fully evaluate the results.
Fortunately, I have implemented it for others libraries, so we can compare :)
I think my function to build a graph from a list of edges is very poor. Here are the results:
Doing:

edgeCount
vertexCount
addEdge

Using [("Mesh",3),("Clique",3)] as graphs
edgeCount
Description: Count the edges of the graph
Mesh

         1

         10

         100

         Alga

         51.52 ns

         7.943 μs

         163.2 μs

         Containers

         30.87 ns

         388.1 ns

         4.460 μs

         Fgl

         36.41 ns

         5.869 μs

         202.5 μs

         Haggle

         914.9 ns

         34.31 μs

         455.7 μs

         Hash-Graph

         39.54 ns

         5.985 μs

         198.2 μs

Clique

         1

         10

         100

         Alga

         51.51 ns

         29.03 μs

         6.486 ms

         Containers

         31.38 ns

         1.051 μs

         107.4 μs

         Fgl

         36.31 ns

         17.85 μs

         10.12 ms

         Haggle

         904.9 ns

         92.23 μs

         13.55 ms

         Hash-Graph

         39.48 ns

         19.89 μs

         7.820 ms

SUMMARY:

Containers was the fastest 6 times

ABSTRACT:
(Based on an average of the ratio between largest benchmarks)

Containers was 112.93 times faster than Haggle
Alga was 2.48 times faster than Haggle
Hash-Graph was 2.05 times faster than Haggle
Fgl was 1.84 times faster than Haggle

vertexCount
Description: Count the vertices of the graph
Mesh

         1

         10

         100

         Alga

         35.03 ns

         910.1 ns

         14.45 μs

         Fgl

         25.93 ns

         4.446 μs

         182.4 μs

         Haggle

         919.7 ns

         33.88 μs

         456.4 μs

         Hash-Graph

         26.36 ns

         5.281 μs

         192.5 μs

Clique

         1

         10

         100

         Alga

         34.67 ns

         3.247 μs

         798.9 μs

         Fgl

         25.66 ns

         12.37 μs

         5.190 ms

         Haggle

         899.5 ns

         93.55 μs

         13.26 ms

         Hash-Graph

         25.62 ns

         18.58 μs

         7.770 ms

SUMMARY:

Alga was the fastest 4 times

There was 2 ex-aequo
ABSTRACT:
(Based on an average of the ratio between largest benchmarks)

Alga was 21.76 times faster than Haggle
Fgl was 2.54 times faster than Haggle
Hash-Graph was 1.94 times faster than Haggle

addEdge
Description: Add an edge (not already in the graph)
Mesh

         1

         10

         100

         Alga

         50.26 ns

         747.4 ns

         9.611 μs

         Fgl

         132.0 ns

         6.361 μs

         213.3 μs

         Haggle

         1.291 μs

         35.80 μs

         461.4 μs

         Hash-Graph

         159.8 ns

         7.108 μs

         212.8 μs

Clique

         1

         10

         100

         Alga

         50.43 ns

         2.484 μs

         257.6 μs

         Fgl

         133.2 ns

         19.71 μs

         10.41 ms

         Haggle

         1.328 μs

         95.85 μs

         13.15 ms

         Hash-Graph

         164.3 ns

         23.07 μs

         8.069 ms

SUMMARY:

Alga was the fastest 18 times

ABSTRACT:
(Based on an average of the ratio between largest benchmarks)

Alga was 49.48 times faster than Haggle
Hash-Graph was 1.91 times faster than Haggle
Fgl was 1.73 times faster than Haggle

So I think my function is so poor that it kills the results...


MAINT: Fix SyntaxError in python 3.7+

as per https://bugs.python.org/issue32012
"Disallow ambiguous syntax f(x for x in [1],)"

For https://github.com/quantopian/zipline/issues/2501

Coverage increased (+0.08%) to 87.882% when pulling 8801127c7a93d349067bb473d676d78f3bcba9c1 on 37-syntax into d74ba5a163328e89b321692b621a68c140f1a8be on master.


Features/gitrepository

Introduce environment variables into Tiltfile

Backwards compatible, so can continue running `tilt up`
Can also run `TILT_IMG='image' tilt up` or set an
environment variable

Still waiting on Tilt folks to clean up `image_json_path` req.

please resolve conflicts @hnandiwada


Update index.xsl to output the DOCTYPE preamble

Adds the <?xml version="1.0" encoding="UTF-8"?> prolog.

Adds attributes to the <xsl:output> element, to generate
the <!DOCTYPE html SYSTEM "about:legacy-compat"> preamble.

See also:

http://www.w3.org/TR/xml/#sec-prolog-dtd
http://www.w3.org/TR/xslt/#output
http://www.w3.org/TR/html5/syntax.html#the-doctype

@jtbandes Please review.
I've tested directly in Safari, and indirectly at
https://developer.microsoft.com/en-us/microsoft-edge/tools/screenshots/

These changes sound good, based on my reading of the spec and other resources. They don't cause problems for me in Safari or Chrome.
I just noticed, however, that Chrome produces a message:

Resource interpreted as Stylesheet but transferred with MIME type application/xml

I think we can fix this by renaming the .xsl file to .xslt, which GitHub Pages will recognize: https://github.com/jshttp/mime-db/blob/49af4b569a277722c4ce7343ef6384f9ef57fe77/src/apache-types.json#L2494-L2496
Do you want to do that in this PR? We can also just do it separately.

Do you want to do that in this PR? We can also just do it separately.

Separately, I think. We can also try using the same MIME type within the index.xml file:
-<?xml-stylesheet type="text/xsl" href="index.xsl"?>
+<?xml-stylesheet type="application/xslt+xml" href="index.xslt"?>

Ok then, merged, thanks :)
I don't think you're supposed to use application/xslt+xml in the xml-stylesheet declaration, but I might be wrong.

I don't think you're supposed to use application/xslt+xml in the xml-stylesheet declaration, but I might be wrong.

application/xslt+xml was registered for XSLT 2.0 (your stylesheet is XSLT 1.0)
text/xsl might have better support in older browsers?

Hmm.
https://www.w3.org/TR/xml-stylesheet/#the-xml-stylesheet-processing-instruction

This specification imposes no requirements with respect to the status of the types used. Some unregistered (as of the publication of this specification) media types, such as text/xsl, are well-supported by existing implementations, whereas some registered media types, such as application/xslt+xml, are not.

Also,

The value is advisory in that it is intended to be used by an application only when no other source of media type information becomes available during retrieval of the stylesheet itself.

Embedding the stylesheet could be a last resort, if the MIME type of index.xsl(t) is a problem.

http://www.w3.org/TR/xslt/#section-Embedding-Stylesheets
http://www.w3.org/TR/xslt20/#embedded

I'd rather keep it separate. The MIME type thing isn't really a problem, just something Chrome quietly complains of.


WIP - Add DNSRecord reconciler and AWS provider

Adds basic DNSRecord Reconciler and AWS DNS provider (route53) from https://github.com/kcp-dev/kcp-glbc.
Test with:
$ make local-setup
$ (export $(cat ./controller-config.env | xargs) && export $(cat ./aws-credentials.env | xargs) && make build install run)

controller-config.env
AWS_DNS_PUBLIC_ZONE_ID=<AWS ZONE ID>

aws-credentials.env
AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>

kubectl apply -f config/samples/kuadrant.io_v1_dnsrecord.yaml

@mikenairn I can take a look at this now

Could you update the .gitignore file to ignore the ./controller-config.env and ./aws-credentials.env files?

This is also working locally for me.


Replace hard-coded limits with configuration

We currently have hard-coded some limits in our API routes to limit the number of results returned.  We ran into an issue where the number of groups was capped (see #973 for the temporary workaround).
We should, in general, avoid hard-coding arbitrary limits.

Pull all hard-coded limits out and replace with configurable values

Recommend a routing section in the config that can house the limits for the different route providers

Update any corresponding limits imposed in the portal services (see #973)

@remerle - Adding paging is the right way to go so that group navigation is consistent.  That seems like low hanging fruit and something really easy to implement.  Do we want to instead re-phrase this to add paging?
Paging api side is straight forward.
There is a little more work to get it working on the PORTAL, but there is a lot of precedent with paging so the portal pattern should be easy to follow

I'd be inclined to reframe this as paging, as well. There are existing patterns in both the API and the Portal and it ought to be quite straightforward. It'd be Good First Issue fodder as well, if we didn't get to it quickly ourselves.

@pauljamescleary For groups, we'd need to address the group selector on the DNS change screen. It's possible to lose the ability to select a group if this is capped.  We should probably move to an autocomplete-type box that queries for subsets of groups based on what's been entered so far.
This issue was created to address the general hard-coding of values. There are already issues (mentioned in #973) that deal with pagination.

Groups ultimately need pagination and searching (#603, #415) as well as support for LDAP (#929) groups. As such this fix is to extend the life of the existing implementation until we have time to revisit this (likely with #968).

For groups, this applies mostly to super users, who will have to select a group from a list of all groups in various scenarios. As mentioned, an autocomplete textbox should replace the current combobox and pagination should be used where groups are displayed.
It still stands that hardcoded limits may not be appropriate for all users of VinylDNS and we should, as a matter of best practices, avoid hard coding such limits. It's better to values be configurable, but not need to change from the defaults than to need to change from defaults and not have values be configurable.

I will work on this issue to make limits as configurable.

This issue has been fixed


Add MathInstruct

Hi everyone 👋
This PR adds the MathInstruct Dataset (with the downloader, preparer, and mapper). All tests passed successfully.
Tell me what you think, happy to make any changes.

Thanks for the PR! merged.


Configure Replication Zones Doc Update

pls delete this

@scippio, I don't think I can remove the issue, but I'll just leave it closed. I'm glad you resolved your issue. If there's anything that could be clearer in the docs, though, please do let us know.


Temporary buffers

There is often a need to create a buffer knowing that it's going to perish on the next submit. Exposing a nice API for this is, however, not trivial. I could see at least 3 different approaches:

Just add temporary: bool flag to struct BufferDesc and allocate accordingly. This helps with performance of small allocations, but it doesn't have with ergonomics: the user still has to know when to delete the buffers.
Add something like CommandEncoder::create_temporary_buffer, which would automatically manage its lifetime and destroy whenever the underlying command pool is reset. As nice as this sounds from the ergonomics point of view, it has implementation caveats:
- the logic of tracking temporary buffers is backend-agnostic. We could try moving it into a shared implementation, it's not a lot of code.
- when inside a transfer pass (or any other), we can't borrow CommandEncoder even immutably... We could re-expose this method on the encoders.
- in Vulkan backend, the command encoder doesn't have access to memory. Could be exposed?
Expose a buffer belt primitive in a satellite library. Good thing is that it's fairly versatile. Bad thing is that the API is still not as nice.

Somewhat addressed by 36109ea9b1bc471b9e91703935423acc1ccb6f1b

I've been prototyping this a bit, and still haven't found a concise and efficient solution.
I believe, something like create_temporary_buffer would be ideal for the user. Some of the downside I expressed in the original issue may not really be that important:

logic of tracking doesn't have to be backend-agnostic. It's much easier to do it specific for backends:

Vulkan can free resources whenever this command buffer is reset
Metal can either use references to resources from a command buffer, or possibly just have a callback assigned to an encoder to execute when it's done. And the callback would just release some references.
OpenGL would delete temporary buffers right after recording the commands, letting the driver do it.

it's probably OK to just have it outside of passes

The lack of access to memory is still a problem. We could refactor it to have access to memory by adding an indirection, which is probably OK. What bothers me is that this approach wouldn't be most efficient anyway. The most efficient one is to do a buffer belt, basically. Now that's mostly backend-agnostic, and is already exposed. But it's not as nice to use.
There is a reduced scope function that we can expose though - something like CommandEncoder::add_temporary_buffer(buffer). It would attach the lifetime of a buffer to the command encoder, using all the same backend-specific ways to delete it properly. This is straightforward to implement, but it doesn't quite solve the problem. If the user is allocating a buffer themselves, they don't get the "TRANSIENT" flag in Vulkan. One would still have something like a buffer belt, unless they are lazy. And with a buffer belt you don't really want to destroy those buffers, you'd want to re-use them instead. So the new function wouldn't help.

Ah didn't see this. Related #219


Protocols with optional properties

If your protocol has an optional property, fake4swift does not generate the correct implementation.
protocol OptionalStuff {
  var somethingMaybe: String?
}

Done!
https://github.com/tjarratt/fake4swift/commit/33894698af3cbed864eca2c95f0ede90b63f0bf8


Batch scan support

Hi do you have support for scanning text / prompts in batches?
I am thinking about something like presidios BatchAnalyzerEngine.
Right now llm-guard can efficiently only be used for single prompts or outputs, but can not be used to scan whole datasets (e.g for RAG). Do you plan to add support for those use cases?

Hey @gustavz , thanks for reaching out. RAG is the scope of the next release introducing more examples and features related to that. One of them can be a support of the batch.
Probably one thing we should explore is latency because there are a few ways to run it:

Sequentially like now
Using multiprocessing or threading libraries
Pass multiple texts in transformers and let them handle concurrency

I will keep you updated on the progress

In our Slack, you can engage in discussions, share your feedback and get latest updates.

Any more information? I work on RAG now, try to introduce guard in RAG process and I adopt ray to do the concurrency.
but the result is not good enough...

Maybe something like this(add scan_batch to prompt injection):
    def scan_batch(self, prompts: list[str]) -> list[(str, bool, float)]:
        if len(prompts) == 0:
            return []

        prompt_batch: list[str] = []
        for prompt in prompts:
            prompt_batch.extend(self._match_type.get_inputs(prompt))

        highest_score = 0.0
        results_all = self._pipeline(prompt_batch)

        result_batch: list[(bool, float)] = []
        for result in results_all:
            injection_score = round(
                result["score"] if result["label"] == self._model["label"] else 1 - result["score"],
                2,
            )

            if injection_score > highest_score:
                highest_score = injection_score

            if injection_score > self._threshold:
                logger.warning(f"Detected prompt injection with score: {injection_score}")
                result_batch.append((False, calculate_risk_score(injection_score, self._threshold)))
            else:
                result_batch.append((True, 0.0))

        return [(prompts[i],) + result_batch[i] for i in range(0, len(result_batch))]

Hey @vincent-pli ,
On one side, it makes sense to have prompts as a list. However, we are planning to improve accuracy by sending chunks of prompts instead to the pipeline. It might make things a bit more complex.
In the next version, we are planning to kick off the refactoring of inputs and outputs.


Make the 2.28 LTS release

Release Mbed TLS 2.28 LTS. Need to ensure alignment with 3.0 features (ie may also need a 3.0.1 release to ensure feature parity).

Hi Dave,
Wanted to double check to see if the 2.28 release is a LTS version as I could not find that in the release notes.
I know the 2.28 release is very recent and it's the holiday season, so apologies in advance if this has not been announced yet.
Thanks,
Ramiro

@Sir-Branch Yes, 2.28 is a long-time support version. We did state it in the release announcement. I'll edit the release description to add this information, good idea.


[QTL] Datasource as lookupTier

Adds an option to let indexing service tasks pull their lookup tier from the datasource they are working for.

This allows things spawned via indexing service to tag themselves with the datasource they are running for.
As a quick note so it isn't lost in the comments below:
This uses an object with optional injection fields. I had a hard time figuring out how to make an optional binding in 4.0-beta (4.0 has OptionalBinder which might work later) This is the best workaround I could come up with. Make an object bound everywhere (via MetricsModule), but the fields in the object be optional, and therefore can be bound whenever it makes sense.

@b-slim please check it out

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.5 sec <<< FAILURE! - in io.druid.query.lookup.TestKafkaExtractionCluster
testSimpleRename(io.druid.query.lookup.TestKafkaExtractionCluster)  Time elapsed: 12.474 sec  <<< ERROR!
org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
	at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:880)
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:84)
	at io.druid.query.lookup.TestKafkaExtractionCluster.setUp(TestKafkaExtractionCluster.java:100)

Overall 👍 left one design question.

@b-slim fyi, I moved the injection methodology to pull directly from Task

👍

👍

👍 after travis


Add loading indicator to color correct histogram

Overview
Adds a loading indicator to the histogram container.
Maintains height of histogram container to minimize UI impact.
Testing Instructions

Switch on dev tools network throttling if desired
Enter color correction mode and ensure a loading indicator is shown before the histogram is displayed

Connects #829

Somehow, the loading indicator and the error message can still both be visible. Not sure if it is worth spending any more time developing a work-around.

I agree, I'll create an issue


Add splash-screen during start-up

Description
It would be nice to have a short splash-screen before confronting the user with the GUI. As Sparrow hasn't much work to do before showing the GUI, this is only for user experience at this point.
Work outstanding

[ ] FXML design of the splash screen itself
[ ] Decide if splash screen should be implemented in the Preloader like in the first commit or rather in the start() method of the GUI application - mainly due to both, Terminal and GUI, using the same Preloader right now.

Is a splash-screen something you might want to consider for Sparrow?

Is a splash-screen something you might want to consider for Sparrow?

I'm not sure. Generally a splash screen is there to tell the user something is going on while the application loads. Hopefully, Sparrow doesn't require that kind of feedback because it loads quickly enough.

I guess from a pure technical/functional standpoint you're right.
From the user experience side...I don't know. On the one hand there is the "snappy" feeling if Sparrow simply pops up, on the other hand - I at least - find it comforting to see something like a "welcome screen".
But I think we both value minimal code for maximal security/maintainability, so without more people demanding something like that the benefits don't out-weight the technical burden. Closing this off.


FastlaneCore::Interface::FastlaneError: [!] Google Api Error: Server error - Internal error encountered.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Since this morning uploading to Google Play as resulted in a Google API error:
Google Api Error: Server error - Internal error encountered.

Command executed
    upload_to_play_store(
      aab: "build/app/outputs/bundle/release/app-release.aab",
      track: "production"
    )

Complete output when running fastlane, including the stack trace and command used

INFO [2021-03-17 16:06:11.12]: ----------------------------------
INFO [2021-03-17 16:06:11.12]: --- Step: upload_to_play_store ---
INFO [2021-03-17 16:06:11.12]: ----------------------------------
+---------------------------------+--------------------------------------------------+
|                             Summary for supply 2.178.0                             |
+---------------------------------+--------------------------------------------------+
| aab                             | build/app/outputs/bundle/release/app-release.aab |
| track                           | internal                                         |
| package_name                    | co.anothertrip.app.boarding_pass                 |
| release_status                  | completed                                        |
| metadata_path                   | ./fastlane/metadata/android                      |
| json_key                        | android/google-play-key.json                     |
| skip_upload_apk                 | false                                            |
| skip_upload_aab                 | false                                            |
| skip_upload_metadata            | false                                            |
| skip_upload_changelogs          | false                                            |
| skip_upload_images              | false                                            |
| skip_upload_screenshots         | false                                            |
| validate_only                   | false                                            |
| check_superseded_tracks         | false                                            |
| timeout                         | 300                                              |
| deactivate_on_promote           | true                                             |
| ack_bundle_installation_warning | false                                            |
+---------------------------------+--------------------------------------------------+
DEBUG [2021-03-17 16:06:11.17]: Fetching a new access token from Google...
INFO [2021-03-17 16:06:12.39]: Preparing aab at path 'build/app/outputs/bundle/release/app-release.aab' for upload...
INFO [2021-03-17 16:06:52.42]: Updating track 'internal'...
INFO [2021-03-17 16:06:53.60]: Preparing to upload for language 'en-GB'...
INFO [2021-03-17 16:06:54.34]: Uploading image file ./fastlane/metadata/android/en-GB/images/featureGraphic.png...
INFO [2021-03-17 16:06:56.70]: Uploading image file ./fastlane/metadata/android/en-GB/images/icon.png...
INFO [2021-03-17 16:06:59.20]: Uploading screenshot ./fastlane/metadata/android/en-GB/images/phoneScreenshots/1_en-GB.png...
INFO [2021-03-17 16:07:02.69]: Uploading screenshot ./fastlane/metadata/android/en-GB/images/phoneScreenshots/2_en-GB.png...
INFO [2021-03-17 16:07:05.84]: Could not find changelog for '397' and language 'en-GB' at path ./fastlane/metadata/android/en-GB/changelogs/397.txt...
INFO [2021-03-17 16:07:06.25]: Uploading all changes to Google Play...
WARN [2021-03-17 16:07:49.32]: Lane Context:
INFO [2021-03-17 16:07:49.32]: {:DEFAULT_PLATFORM=>:android, :PLATFORM_NAME=>:android, :LANE_NAME=>"android alpha"}
ERROR [2021-03-17 16:07:49.32]: Google Api Error: Server error - Internal error encountered.
INFO [2021-03-17 16:07:49.33]: Successfully generated documentation at path '/Users/alexolivier/projects/anothertrip/repos/boarding_pass/fastlane/README.md'
+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | default_platform                                              | 0           |
| 2    | number_of_commits                                             | 0           |
| 3    | flutter packages get                                          | 5           |
| 4    | flutter clean                                                 | 12          |
| 5    | flutter build appbundle --dart-define=AT_ENV=production --b | 140         |
| 💥   | upload_to_play_store                                          | 98          |
+------+---------------------------------------------------------------+-------------+
ERROR [2021-03-17 16:07:49.36]: fastlane finished with errors
bundler: failed to load command: fastlane (/Users/alexolivier/.rbenv/versions/2.6.3/bin/fastlane)
FastlaneCore::Interface::FastlaneError: [!] Google Api Error: Server error - Internal error encountered.
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in user_error!'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/supply/lib/supply/client.rb:95:in rescue in call_google_api'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/supply/lib/supply/client.rb:80:in call_google_api'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/supply/lib/supply/client.rb:165:in commit_current_edit!'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/supply/lib/supply/uploader.rb:40:in perform_upload'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in run'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:229:in chdir'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
Fastfile:35:in block (2 levels) in parsing_binding'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/lane.rb:33:in call'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/runner.rb:45:in execute'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/commands_generator.rb:352:in run'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'   /Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'
/Users/alexolivier/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.178.0/bin/fastlane:23:in <top (required)>'   /Users/alexolivier/.rbenv/versions/2.6.3/bin/fastlane:23:in load'
/Users/alexolivier/.rbenv/versions/2.6.3/bin/fastlane:23:in `<top (required)>'

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.7

Ruby
2.6.3

Bundler?
true

Git
git version 2.30.2

Installation Source
~/.rbenv/versions/2.6.3/bin/fastlane

Host
Mac OS X 10.15.7 (19H524)

Ruby Lib Dir
~/.rbenv/versions/2.6.3/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.4

System Locale

Variable
Value

LANG
en_GB.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

platform :android do
  lane :internal do
    build_number = number_of_commits()
    sh("flutter", "packages", "get")
    sh("flutter", "clean")
    sh("flutter", "build", "appbundle", "--dart-define=AT_ENV=production", "--build-number=#{build_number}")
    upload_to_play_store(
      aab: "build/app/outputs/bundle/release/app-release.aab",
      track: "internal"
    )
  end

  lane :alpha do
    build_number = number_of_commits()
    sh("flutter", "packages", "get")
    sh("flutter", "clean")
    sh("flutter", "build", "appbundle", "--dart-define=AT_ENV=production", "--build-number=#{build_number}")
    upload_to_play_store(
      aab: "build/app/outputs/bundle/release/app-release.aab",
      track: "internal"
    )
  end

  lane :beta do
    build_number = number_of_commits()
    sh("flutter", "packages", "get")
    sh("flutter", "clean")
    sh("flutter", "build", "appbundle", "--dart-define=AT_ENV=production", "--build-number=#{build_number}")
    upload_to_play_store(
      aab: "build/app/outputs/bundle/release/app-release.aab",
      track: "beta"
    )
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    build_number = number_of_commits()
    sh("flutter", "packages", "get")
    sh("flutter", "clean")
    sh("flutter", "build", "appbundle", "--dart-define=AT_ENV=production", "--build-number=#{build_number}")
    upload_to_play_store(
      aab: "build/app/outputs/bundle/release/app-release.aab",
      track: "production"
    )
  end
end

platform :ios do
  lane :alpha do
    build_number = number_of_commits()
    sync_code_signing
    sh("flutter", "packages", "get")
    sh("flutter", "clean")
    sh("flutter", "build", "ios", "--release", "--no-codesign", "--dart-define=AT_ENV=production", "--build-number=#{build_number}")
    build_ios_app(
      workspace: "ios/Runner.xcworkspace",
      export_method: "app-store",
      output_directory: "build/",
    )
    upload_to_testflight(ipa:"build/Runner.ipa"<EMAIL_ADDRESS>skip_waiting_for_build_processing: true)
  end
end

`./fastlane/Appfile`
json_key_file("android/google-play-key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("co.anothertrip.app.boarding_pass") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.178.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
1.17.2

etc
1.0.1

forwardable
1.2.0

rake
13.0.3

CFPropertyList
3.0.3

concurrent-ruby
1.1.6

i18n
0.9.5

minitest
5.14.1

thread_safe
0.3.6

tzinfo
1.2.7

activesupport
<IP_ADDRESS>

public_suffix
4.0.6

addressable
2.7.0

httpclient
2.8.3

json
2.5.1

algoliasearch
1.27.3

artifactory
3.0.15

atomos
0.1.3

aws-eventstream
1.1.1

aws-partitions
1.433.0

aws-sigv4
1.2.3

jmespath
1.4.0

aws-sdk-core
3.113.0

aws-sdk-kms
1.43.0

aws-sdk-s3
1.91.0

babosa
1.0.4

claide
1.0.3

fuzzy_match
2.0.4

nap
1.1.0

netrc
0.11.0

ffi
1.13.0

ethon
0.12.0

typhoeus
1.4.0

cocoapods-core
1.10.0.rc.1

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.4.0

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-trunk
1.5.0

cocoapods-try
1.2.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.3.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.3.0

xcodeproj
1.19.0

cocoapods
1.10.0.rc.1

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.20

declarative-option
0.1.0

digest-crc
0.6.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.2

excon
0.79.0

faraday-net_http
1.0.1

multipart-post
2.0.0

ruby2_keywords
0.0.4

faraday
1.3.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.3

jwt
2.2.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.15.0

googleauth
0.16.0

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.38.0

rexml
3.2.4

webrick
1.7.0

google-apis-core
0.3.0

google-apis-iamcredentials_v1
0.2.0

google-apis-storage_v1
0.3.0

google-cloud-env
1.5.0

google-cloud-errors
1.1.0

google-cloud-core
1.6.0

google-cloud-storage
1.31.0

mini_magick
4.11.0

naturally
2.2.1

plist
3.6.0

rubyzip
2.3.0

security
0.1.3

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

generated on: 2021-03-17

Experiencing the same issue

Same for my project

This has just started working for me again. Looks to be at Google's end.


After upgrade to 2.5.4 this message appear

The "Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\DefaultJWSProvider" class is deprecated since version 2.5 and will be removed in 3.0. Use "Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\LcobucciJWSProvider" or create your own "Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\JWSProviderInterface" implementation instead.
How can we fix that ?
At the moment we rollback to 2.5.3

It seems you are using the deprecated DefaultEncoder somehow. Can you show your config? Do you have something like:
lexik_jwt_authentication:
    encoder:
        service: lexik_jwt_authentication.encoder.default

?
Or are you using the encoder service into your code?

Closing due to the lack of feedback.
Feel free to reopen with some code to reproduce if the problem persists.
Thanks


Fix ycmd--locate-default-tags-file for case insensitive file-systems.

On case insensitive file systems if we look for both small letters and
capitalized version of the same tags file name, we get incorrect result
because 'file-exists-p' is in that case also case insensitive. Introduce
a defcustom for default tags name.
I noticed this issue today when I was working on a Mac, which could not distinct TAGS and tags. On Linux the other approach worked well.
Anyways, I think this solution is better because it simplifies the automatic tags file lookup.
Sidenote: ctags default tags file name is tags and with option -e (Emacs) is TAGS.

Thanks for all of your work on this issue!

I am happy to contribute, it's a cool feature


Multiple issues at same time

Sometimes could gets tricky to evaluate on which issue append right comment since it could exist multiple opened issue at same time for different reasons: user close and open it back, malfunction..
We must have just one solid track number

Developers Italia - Issue Opener for publiccode.yml
We have discovered potential issue on validating your publiccode.yml.
Here some details:

name missing mandatory key

Please review your pubbliccode.
find out more: https://developers.italia.it


Remove CRD installation step for Helm chart

Because CRDs are already included in the chart: https://github.com/jetstack/cert-manager/tree/master/deploy/charts/cert-manager/crds

While the CRDs are in the charts folder they are not part of the actual charts release and still need to be installed.

While the CRDs are in the charts folder they are not part of the actual charts release and still need to be installed.

Why are they not part of the actual release? Is there any plan to include CRDs in the chart in the future?

We're waiting on a response of this issue before we can confidently include CRDs into the Helm chart again: https://github.com/helm/helm/issues/7735
If you've got any thoughts/opinions/insight, please add a comment to that issue! It'd be greatly appreciated 🙌
I'm going to close this PR for now, as this is a required step :)


Inspector does not show anything

Hi Arnaud,
I just tried to enable the inspector, and no elements are shown with the 0.6.0-20191104 snapshot.
The objects are still highlighted in the mapping rules.
Kind regards,
Dennis

Hi,
Yes, i saw it.
i'll fix it after migration in typescript

Hi Dennis @bijwaard,
Can you try the lastest version, plz,
Many change, but not visual, migrate to typescript, new engine of graph.
Log scale is available, new design of rules
BR
Arnaud

Fixed in last 0.6.0

Hi Arnaud,
Thanks for the update, everything still seems to be working, and the inspector is back, thanks!
I can now configure the logarithmic scale, no visual change yet indeed;-)
The inspector doesn't show something usable for me in the label/name column yet, because of my placeholders, see also ticket #50.
Kind regards,
Dennis

Cool,
Thx for your feeback


Daily Challenge/Achievement Screen Bypass

While Running Bot if Daily Challenge Screen Appear or Achievement Screen appears then the bot gets stuck on the same.

Usually all notifications about challenges handles here:
https://github.com/tmarenko/mff_auto/blob/master/lib/game/missions/missions.py#L310
So I need more information when and where this notification occurs.

2020-10-02 07:53:49,574 - squad_battles - DEBUG - After mission notifications was closed: False 2020-10-02 07:53:53,698 - squad_battles - WARNING - Squad Battles: can't get in battles lobby. 2020-10-02 07:53:55,524 - missions - DEBUG - After mission notifications was closed: False 2020-10-02 07:53:56,783 - missions - DEBUG - After mission notifications was closed: False 2020-10-02 07:53:58,032 - missions - DEBUG - After mission notifications was closed: False 2020-10-02 07:54:00,585 - queue_manager - DEBUG - Running DANGER ROOM with settings: {'mode': 'NORMAL'} 2020-10-02 07:54:02,619 - root - DEBUG - Creating 4 Tesseract API(s) with 'eng' language. 2020-10-02 07:54:03,140 - root - DEBUG - Creating 2 Tesseract API(s) with 'mff+eng' language. 2020-10-02 07:54:08,016 - game - ERROR - Failed to open Content Status board. 2020-10-02 07:54:08,242 - queue_manager - DEBUG - Queue completed.

Added in dcdb70e738c8daa8989c336b49ae8ecfdf12b089

Any other notifications when bot gets stuck?

WBI Stuck if all Slots are completed

2020-10-07 20:58:42,271 - game - DEBUG - Loading circle is on screen.
2020-10-07 20:58:50,210 - battle_bot - INFO - Battle is over
2020-10-07 20:58:51,197 - missions - DEBUG - Clicking REPEAT button with UI Element: INVASION_REPEAT_BUTTON.
2020-10-07 20:58:53,114 - missions - DEBUG - After mission notifications was closed: False
2020-10-07 20:58:54,534 - missions - DEBUG - After mission notifications was closed: False
2020-10-07 20:58:56,098 - missions - DEBUG - After mission notifications was closed: False
2020-10-07 20:58:57,781 - missions - DEBUG - After mission notifications was closed: False
2020-10-07 20:58:58,976 - missions - DEBUG - After mission notifications was closed: False
2020-10-07 20:58:59,049 - world_boss_invasion - DEBUG - Pressing START button.
2020-10-07 20:58:59,408 - world_boss_invasion - DEBUG - WBI: found filter INVASION_CHARACTER_FILTER_UNIVERSAL by UniversalCharacters
2020-10-07 20:59:20,531 - world_boss_invasion - WARNING - Unable to press START button.
2020-10-07 20:59:20,535 - world_boss_invasion - DEBUG - Pressing START button.
2020-10-07 20:59:26,058 - world_boss_invasion - WARNING - Unable to press START button.
2020-10-07 20:59:26,059 - world_boss_invasion - DEBUG - Pressing START button.
2020-10-07 20:59:31,333 - world_boss_invasion - WARNING - Unable to press START button.
2020-10-07 20:59:31,334 - world_boss_invasion - DEBUG - Pressing START button.
2020-10-07 20:59:36,776 - world_boss_invasion - WARNING - Unable to press START button.
2020-10-07 20:59:36,777 - world_boss_invasion - DEBUG - Pressing START button.

++

++

Fixed in e63a85a238b9f71b095fc01269c2375dd23eb752

WBI Stuck if all Slots are completed v0.6.3

Fixed in f52f5bd49bee931641cead90272a8268c510ddec

GUI Freezes if while trying to restart the game Stop Button is clicked.

GUI Freezes if the bot is trying to restart the game & Stop Button is clicked.

Is it when you hit "Restart Game" and "Stop" right after? Should be 1-2 sec freeze, yeah

Alliance Battle Extreme is getting stuck on Skip Screen

Alliance Battle Extreme is getting stuck on Skip Screen

Was working fine for me. I've added checks for several threshold values.
Should be fixed in 364d806107d47296cee36e7ab473a11ca44505e5


fix ci

https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/:

With the introduction of v4, we will be deprecating v1 and v2 of actions/upload-artifact, actions/download-artifact, and related npm packages on June 30, 2024. We strongly encourage customers to update their workflows to begin using v4 of the artifact actions.

I don't have permissions to override the requirements and merge, the unused deps job needs to pass.

@dyc3 Looks like its passing!


/sys/fs/selinux gets mounted in rootless mode when both '--network host' and '--privileged' are used

/kind bug
Description
Looks like https://github.com/containers/toolbox/issues/47 has raised its head again.
An instance of selinuxfs is getting mounted at /sys/fs/selinux when both --network host and --privileged are used.
Compare:
$ podman run --interactive --tty --rm registry.fedoraproject.org/fedora:31 ls /sys/fs/selinux
$ podman run --interactive --network host --privileged --tty --rm registry.fedoraproject.org/fedora:31 ls /sys/fs/selinux
...
...

Output of podman version:
Version:            1.6.2
RemoteAPI Version:  1
Go Version:         go1.13.1
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.13.1
  podman version: 1.6.2
host:
  BuildahVersion: 1.11.3
  CgroupVersion: v2
  Conmon:
    package: conmon-2.0.1-1.fc31.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.1, commit: 5e0eadedda9508810235ab878174dca1183f4013'
  Distribution:
    distribution: fedora
    version: "31"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    name: crun
    package: crun-0.10.2-1.fc31.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 0.10.2
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: kolache
  kernel: 5.3.5-300.fc31.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-20.1.dev.gitbbd6f25.fc31.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.3+dev
      commit: bbd6f25c70d5db2a1cd3bfb0416a8db99a75ed7e
  uptime: 6h 26m 23.38s (Approximately 0.25 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/rishi/.config/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.6.5-2.fc31.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.6.5
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/rishi/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 2
  RunRoot: /run/user/1000
  VolumePath: /home/rishi/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.2-2.fc31.x86_64

Thanks @debarshiray for your detective work!

personally I'd prefer to solve it with something like --mount type=tmpfs,target=/sys/fs/selinux but we need a way to disable tmpcopyup from the options otherwise it cannot be used for this specific case.

I've opened a PR to add support for notmpcopyup: https://github.com/containers/libpod/pull/4466

What is the problem you are trying to solve?  Why is /sys/fs/selinux getting mounted when --privileged?
This would seem to be a problem in that libselinux would start to act on the fact that selinux is enabled and could get permission denied trying to set xattrs.

the feature I've added is more generic, we currently have no way to disable tmpcopyup.  It is fine to use it by default, but there should be a way to mount an empty tmpfs

Agree, I like your PR, I am just asking why we are mounting this and what trouble it is causing.

I am just asking why we are mounting this and what trouble it is causing

I've not verified but that can be an effect of bind mounting /sys and skipping masked paths when --privileged is used.
I don't think we should treat /sys/fs/selinux different than other masked paths.  If --privileged is used and that path must be masked, then it should be done explicitly.

FWIW https://github.com/cgwalters/coretoolbox/commit/3c74c64f8edd588852b59b39f8c0f616bfae624b

Makes sense.

I am just asking why we are mounting this and what trouble it is causing

[...]
I don't think we should treat /sys/fs/selinux different than other masked paths. If
--privileged is used and that path must be masked, then it should be done explicitly.

This is now fixed in Toolbox with https://github.com/containers/toolbox/pull/337
I am wondering if this should still be fixed in Podman itself, or is it so that --network host --privileged implies that /sys/fs/selinux would have a selinuxfs instance?

The issue is if someone wanted to SELinux stuff from a process within a container, we need the process to know that SELinux is enabled.


Pre-Training on cutom dataset

Hi @D-X-Y,
Nice work!
I have a query that I want to pre-train on a large fashion dataset using Resnext arch.
I would want to ask a few questions in this regards-

To start with I think I first need to define a new function in resnext.py file with the depth, cardinality and the base_width of my choice. Right?
I would want to use 101, 32, 4d. Would this be possible if I stick to the same CifarResNext class or do I need to create a separate one?
The dataset is in the same manner as Imagenet Dataset is (Train and Val folders with subfolders inside them for each class). So not many tweaks required except for a few in imagenet_train.py file. Right?
I would then be using this model to fine-tune my own fashion dataset by using fastai. Any pointers here from you will help

Thanks in advance
Regards,

1, yes,
2, you can use the same one.
3, Only need to change the number of classes in https://github.com/D-X-Y/ResNeXt-DenseNet/blob/master/imagenet_train.py#L54 with the #classes of your new dataset, and input a different root path : https://github.com/D-X-Y/ResNeXt-DenseNet/blob/master/imagenet_train.py#L23
4, For fine-tuning, you might need to tune the learning rate.
Best Regards,


9.1.5

https://ci.appveyor.com/project/jpboyce/cb-cis-windows-2016#L2066

Most likely not working because test VMs aren't on a domain, needs followup.  Commenting out tests for now.


'Posterior' object has no attribute 'within_cluster_degenes'

Hello,
I followed the harmonization procedure of the following Jupyter notebook:
https://nbviewer.jupyter.org/github/YosefLab/scVI/blob/master/tests/notebooks/harmonization.ipynb
When I executed the following step:

de_res_stim, de_clust_stim = full.within_cluster_degenes(cell_labels=clusters,
...                                                          states=all_dataset.batch_indices.ravel() == 1,
...                                                          output_file=False, batch1=[1], batch2=[0],
...                                                          save_dir=save_path, filename='Harmonized_StimDE',
...                                                          min_cells=1)

It showed the following error:
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'Posterior' object has no attribute 'within_cluster_degenes'
How can I fix this?
Thank you,
Po

Hi
I found that the issue was caused by using an old version of scVI in windows. Now fine with the current linux version 0.5.
Thanks for the great tool.


complex_layout_scroll_perf__timeline_summary worst_frame_rasterizer_time_millis is twice slow (40ms => 90ms)

The regression is caused by an engine roll that has only one Skia roll that has only one Skia commit.
See:
https://flutter-dashboard.appspot.com/benchmarks.html
https://github.com/flutter/flutter/commit/84ee41686d1332bdb7c0a62f2f7b883d912629ba
https://github.com/flutter/engine/pull/6144
https://skia.googlesource.com/skia.git/+log/2f53025e8bf1..09a7bb222172

CC @Hixie @csmartdalton @bsalomon

No persistent cache yet. Please see https://github.com/flutter/flutter/issues/14028

The slowdowns are limited strictly to Mali GPUs and NVPR (oddly enough).
If this were a Mali GPU slowdown, we would also see the average frame time slow down, not just worst_frame_rasterizer_time_millis.

Now https://github.com/flutter/flutter/issues/14028 has been closed. Why is it still slow? @chinmaygarde : we should have the persistent cache between test runs, right?

The persistent cache is only effective on devices where GL_NUM_SHADER_BINARY_FORMATS is > 0. Maybe these devices don't support binary shader formats?
Do we delete the old application before installing the new one on our bots? In that case, the cached directories are cleared.

Fixed by https://github.com/flutter/flutter/pull/27660


Fix for issue #362 Example of linked clone

@rreubenur Thanks for the sample. It would be great if you can make the sample compatible with python3(such as print statement) so folks who use python3 can try it out directly?


Fix varargs-support methods to avoid NPE

View rendered readme.md

@rultor merge

@rultor merge

@dgroup OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@dgroup Done! FYI, the full log is here (took me 2min)


add eslint, deprecate eslintls

I made the deprecation "flag" a bit richer, to help ease potential future deprecations:

@williamboman Might I ask you some questions about eslint setup? If you're also using reddit, here is my post: https://www.reddit.com/r/neovim/comments/sd248x/how_to_setup_eslint_and_prettier_for_ts_project/. (The point it is related is that I want to setup this up using your plugin. I won't change)

When working on a file loaded into a buffer, I can have only that buffer eslint-ed & prettier-ed by a keymapping.

See the following functions:

:h vim.lsp.buf.formatting()
:h vim.lsp.buf.formatting_sync()
:h vim.lsp.buf.formatting_seq_sync()

You can then do a keymap to call whichever formatting function you prefer (vim.api.nvim_set_keymap("n", "<leader>f", "<cmd>lua vim.lsp.buf.formatting()<CR>")

When working on a file loaded into a buffer, I can have only that buffer pre-run/preview the result eslint-ed & prettier-ed by a keymapping.

I don't believe there's a builtin way to do this, shouldn't be too difficult to build from scratch though. Depends on what you mean by pre-run/preview the results.

When I move my cursor from one buffer to another(including the possibility that it jumps between tabs), a different set of config files are adopted automatically.

Are you talking about buffer-specific configs? Not sure why you'd want to do that? Usually settings are applied on a project-level, and these then get picked up by each LSP server (maybe :g lspconfig-root-dir is helpful to read)

When working on a file loaded into a buffer, I can have only that buffer eslint-ed & prettier-ed by a keymapping.

See the following functions:

:h vim.lsp.buf.formatting()
:h vim.lsp.buf.formatting_sync()
:h vim.lsp.buf.formatting_seq_sync()

You can then do a keymap to call whichever formatting function you prefer (vim.api.nvim_set_keymap("n", "<leader>f", "<cmd>lua vim.lsp.buf.formatting()<CR>")

Would these functions respect the config files .eslintrc .prettierrc?

When working on a file loaded into a buffer, I can have only that buffer pre-run/preview the result eslint-ed & prettier-ed by a keymapping.

Assuming you mean seeing the result of the fix, and assuming it's offered by the server, then this might be what you're looking for: https://github.com/weilbith/nvim-code-action-menu

Would these functions respect the config files .eslintrc .prettierrc by default

These functions are just telling the server to do the formatting, they should not override the settings. So then it's up to the server to respect those files or not, assuming it can find them in the first-place. The easiest way to know the answer is to just test it :)

@kylo252 Great thanks for your explanation!


update the azure devops api library to v7

Description
A new release of azure devops api library was released. These updates were made to enable it
https://github.com/microsoft/azure-devops-go-api/issues/123
https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-7.1

Test results

Thanks for the contribution @nellyk. I'll make sure to run the e2e tests before we can merge the change.

Thank you :-)


Essential fixes for system health metric collection

Pull Request Checklist
Is this in reference to an existing issue?
General

[+] Update Changelog following the conventions laid out on Keep A Changelog

[ ] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[+] RuboCop passes

[+] Existing tests pass

New Plugins

[ ] Tests

[ ] Add the plugin to the README

[ ] Does it have a complete header as outlined here

Purpose
Known Compatablity Issues

Let's do it properly. I'll provide the test.

Submitted the test.

released: https://rubygems.org/gems/sensu-plugins-dcos/versions/0.1.1


Hard code redundancy zone

This pr introduces two changes:

Note that REDUNDANCY_ZONE isn't required and should be hard coded to the value windows
Note that windows cells should be created in isolated subnets to not conflict with bosh

Thank you, jvshahid

Thank you, jvshahid


Fetch elements individually for less memory consumption

Todo: check registerExportSource hook compatibility

This will add many extra queries to the task. I prefer the memory management the be done by something like array_chunk - see this article


Create a general error handler which handles multiple errors

Introduce a general error handler which displays errors using a SnackBar one after each other (following the Material guidelines).
Context: https://github.com/android/nowinandroid/pull/1090

This is out of the context, but we should consider that offline warning SnackBar also. Under the Material guidelines we can't display any error message because offline warning SnackBar takes a place permanently.
Maybe we should change the method how we display the offline warning.


Pl 92 authentication

Registration and Authentication working. Omniauth also working.

@dmkash I think it's just an artifact from earlier commits... didn't you already move it once?

oh, maybe not. I'll rename it

@KBalderson I haven't moved anything outside of the admin controllers, no :(  Otherwise looks great!

@dmkash I renamed it... and made other small namespace-y changes

:+1:


Do not try to handle invalid state values in the core

Followup to https://github.com/davidkpiano/xstate/pull/1041#discussion_r389410440

Let's merge next into this to make the tests pass


Fedora 31 based CI image

For some reason the systemd-udev package is not installed by
default in the base container image.
Because of that, we see this error when starting the tpm2-abrmd
service:
Failed to start tpm2-abrmd.service: Unit systemd-udev-settle.service not found.
Also commenting out starting condition that requires /dev/tmp* to
be present and not needed in CI.
Fix #271

@elfosardo could I request a couple of amends:
Increment the label in the Dockerfile: LABEL version="5.5.1" to 5.5.2 - coincidentally, this used to follow keylimes release numbering, but they have fallen out of sync now. I use this number for the container tag number
Notch the following up to 5.5.2 in .travis.yml (note its widely out of sync at present, this was from a revert). I think next time we fix up anything in the Dockerfiles, we could give the container its own release numbers as its never going to keep sync with Keylimes release numbering:
https://github.com/keylime/keylime/blob/fcd372bb5b39162894c9ca88f621cc79248bda9d/.travis.yml#L24

@lukehinds this works as expected, I can add some words to explain and it will probably require some cleaning, but at least we have a working Fedora 31 image


[2.0] Restructure PDO ping, add support for Doctrine ping

The current PingableDriverCompilerPass is a bit rigid as it makes a few assumptions:

There will exist a database_driver parameter in the application (not always true with Flex based applications)
The only connection that needs to be pinged will come from the session handler, and only if the PDO handler is in use

So, the pass is dumped completely in favor of a new configuration node that is used to set up ping services.
gos_web_socket:
  ping:
    services:
      -
        name: 'database_connection' # this is the alias DoctrineBundle creates to the default database connection
        type: 'doctrine'
      -
        name: 'pdo' # this is a service you created in your application for a PDO connection
        type: 'pdo'

The services node is an array requiring two keys: name (a service container ID for the service to use) and type (presently one of "doctrine" or "pdo" but other keys could in theory be added later).
With this, the older gos_web_socket.pdo.periodic_ping container service is removed and two abstract definitions are added: gos_web_socket.periodic_ping.doctrine which handles creating newer DoctrinePeriodicPing instances and gos_web_socket.periodic_ping.pdo which handles creating PdoPeriodicPing instances.  The Doctrine service will accept two object types: a Doctrine\DBAL\Connection class instance or a connection implementing Doctrine\DBAL\Driver\PingableConnection.

Could we update the docs to reflect these changes? Specifically /Resources/docs/PeriodicSetup.md is no longer accurate.

Yes.  I'll be working on updating the docs before a beta is tagged.  Purposefully I'd been focusing in on the code and test aspects of things first.


Using Relay

Is there still no good way to use Relay with create-react-app without ejecting?  I've tried a few work-arounds that exist online, but they all seem to be out of date.  Here's the error I'm getting:

It is possible, but with CRA@next. I have the following dependencies in package.json and it works fine:
"dependencies": {
    "react": "16.4.2",
    "react-dom": "16.4.2",
    "react-relay": "1.7.0-rc.1",
    "react-scripts": "2.0.0-next.3e165448",
  },
  "devDependencies": {
    "babel-plugin-macros": "2.4.0",
    "babel-plugin-relay": "1.7.0-rc.1",
    "graphql": "0.13.2",
    "relay-compiler": "1.7.0-rc.1"
  },

I have been reading other issues and what @ivosabev says should work, but is not working for me and I receive a
Failed to compile.

./src/index.js

error when I try to run yarn start, did you have this error?

Try fixing the react-scripts version to 2.0.0-next.3e165448. Also I've added .babelrc:
{
  "plugins": ["macros"]
}

I've decided to use react-app-rewired to inject the relay plugin.  I wrote a Medium article on how to get Relay to work with create-react-app — https://medium.com/@puppylover369/complete-guide-to-using-relay-modern-with-create-react-app-and-an-existing-graphql-server-bac750c317c


Service account information missing when I authenticate

Rancher versions: 2.0 master 7/1
Steps to Reproduce:

Log in using OpenLDAP

Results:  Service account information is not showing up

Version - 2.0 master 7/3
Verified fixed


Add versioning to ErrorReporter methods and backfill 7.0 signatures

Type of Change

[ ] Add RBI for a new gem
[x] Modify RBI for an existing gem
[ ] Other:

Changes

Gem name: Active Support
Gem source:

https://github.com/rails/rails/blob/v7.0.0/activesupport/lib/active_support/error_reporter.rb
https://github.com/rails/rails/blob/v7.1.0.beta1/activesupport/lib/active_support/error_reporter.rb

Gem API doc:

https://api.rubyonrails.org/v7.0.0/classes/ActiveSupport/ErrorReporter.html
https://api.rubyonrails.org/v7.1.0/classes/ActiveSupport/ErrorReporter.html

I think the issues preventing this from being merged were adequately addressed by @KaanOzkan in https://github.com/Shopify/rbi-central/pull/286. Woohoo!


clustermesh: deletion events can be missed when restarting the connection to remote etcd

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When the connection to remote etcd clusters is restarted (https://github.com/cilium/cilium/blob/mio%2Fmake-kind-clustermesh-fix/pkg/clustermesh/remote_cluster.go#L161), either due to config changes or by the watchdog, the old watchers are terminated, and new ones are established. This leaves a time window in which certain events are possibly missed, and never recovered once the new watchers are started. Indeed, while "add/update" events are observed while doing the initial relist operation, deletion ones are missed, possibly causing inconsistencies in the agent local state.
This applies to nodes and services (which leverage the Store abstraction to trigger the respective callbacks, since a deletion event is not emitted for all keys when the store gets closed), and the IPcache watcher, which also does not remove the known elements when it is stopped. The identity cache appears also to be affected (although I have to double-check that).
Edit: I double-checked, and the identity cache is also affected, in two different ways:

When a connection is re-established, a new allocator for the remote cluster is started (i.e., starting the corresponding watch), and then stored in the remoteCaches map with the cluster name as key. Hence, overriding the old allocator which was previously present. This possibly leaves a time window in which the new allocator has been configured, but is not yet synchronized (i.e., list has not yet completed).
For every event received from the kvstore, a new event is emitted through sendEvent, which uses a channel from the main allocator. Deletion events between restarts would be missed also here.

It is possible to reproduce this issue with the following:

Create the environment: make kind-clustermesh && make kind-clustermesh-images && make kind-install-cilium-clustermesh
Create a test deployment with multiple replicas in the first cluster, and a global service
Observe with cilium services get and cilium ip list that these pieces of information have been propagated to the second cluster.
Scale to zero the clustermesh-apiserver deployment in the first cluster, and wait for a few minutes until the connection is restarted.
In the meanwhile, delete the test deployment and the service in the first cluster.
Scale again the clustermesh-apiserver deployment to one replica.
Observe that even after that the cilium agents reconnected to etcd, cilium services get and cilium ip list still report the stale entries.

Note: restarting the clustermesh-apiserver pod is enough to reproduce the issue. Scaling it to zero and then one just makes the whole steps more clear.
Cilium Version
Latest on master as of today
Code of Conduct

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

Good catch! We even do a list+watch when reconnecting, so this sort of bug is doubly frustrating.
FYI @oblazek

Another issue which relates to the above is that the status is not properly cleaned up when one cluster is removed from the clustermesh configuration, until the agents are restarted. For instance, global service backends are not removed, nor remote nodes.

All PRs addressing this issue have been merged: https://github.com/cilium/cilium/pull/25499, https://github.com/cilium/cilium/pull/25675, https://github.com/cilium/cilium/pull/25677. Upgrade notes PR is open: https://github.com/cilium/cilium/pull/26067

Closing this issue, as the upgrade notes have also been merged.


Fix re-used connections after fork (again)

When fork()ing a process having a Redis object, the child inherits the file descriptors.
To prevent a race, the child correctly refuses to use the inherited connections (see https://github.com/andymccurdy/redis-py/commit/b8dd22455dc4f16eef28e848fc05b0b723022899). It thus calls close() on those fd-s (good), but also shutdown() (bad), thus breaking the socket for the parent.
See e.g. http://www.unixguide.net/network/socketfaq/2.6.shtml:

Generally the difference between close() and shutdown() is: close()
closes the socket id for the process but the connection is still
opened if another process shares this socket id.  The connection stays
opened both for read and write, and sometimes this is very important.
shutdown() breaks the connection for all processes sharing the socket
id.  Those who try to read will detect EOF, and those who try to write
will reseive SIGPIPE, possibly delayed while the kernel socket buffer
will be filled.

Same issues as #732. I submitted a fix for it (#784) that we've been running for months, but it hasn't been merged in.

This is now resolved. Sorry for the amount of time that it took.

3.2.0 has been released with these fixes.


Responsive Layout problem

I am submitting an issue,with which I want to work too.The  tag is not fixed and responsive.The  tag is scrollable horizontally too and does not fit screen width for every device.

Can you please submit more information regarding this. Screenshots would be recommended. Thanks

Once we scroll down the web elements get unevenly shifted towards right,and
the contents are not fixed horizontally while we scroll.Here I attached the
ScreenShot.
On Wed, 6 Mar 2019, 20:45 Arushit Mudgal<EMAIL_ADDRESS>wrote:

Can you please submit more information regarding this. Screenshots would
be recommended. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/195#issuecomment-470145356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap5hpHQuNpJNqjFJStIWjRxOCcIrZNwZks5vT9umgaJpZM4bejz3
.

Hi, I am still not able to understand where the issue actually is. As I mentioned please attach screenshots for better understanding or send a PR if the fix is a quick one.

I saw this issue only after I fixed responsibility issue with the footer (Pr #354). @Aanisha  I am sorry for accidentally taking what you were working on.
Addition to the responsive footer problem, I didn't understand what is going with the "Editing Project" page. Somehow the footer is inside of the div for the main content. The header bar is also there but not visible. I can see it when I check the source code.


Strings still not escaping HTML properly?

even against head, the output_test for strings is failing:
go test ./output_tests/builtins/string/ 2>&1 | head -25
--- FAIL: Test_Roundtrip (0.01s)
	json_test.go:29: marshal expected:
		    "OǓưȭWû]^ɋ\u003eǠȿa"
		got:
		    "OǓưȭWû]^ɋ>Ǡȿa"
		obj:
		    (test.T) (len=20) "OǓưȭWû]^ɋ>Ǡȿa"
	json_test.go:29: marshal expected:
		    "鬓 Eĕƣǘ\u0026D軙kWǁȅĦn谹"
		got:
		    "鬓 Eĕƣǘ&D軙kWǁȅĦn谹"
		obj:
		    (test.T) (len=28) "鬓 Eĕƣǘ&D軙kWǁȅĦn谹"
	json_test.go:29: marshal expected:
		    "¿宦:|ðos\u003eʓ"
		got:
		    "¿宦:|ðos>ʓ"
		obj:
		    (test.T) (len=14) "¿宦:|ðos>ʓ"
	json_test.go:29: marshal expected:
		    "QÁ[%h揠佒吜鷮Ƃ訟B\u003eɏG蓑"
		got:
		    "QÁ[%h揠佒吜鷮Ƃ訟B>ɏG蓑"
		obj:
		    (test.T) (len=31) "QÁ[%h揠佒吜鷮Ƃ訟B>ɏG蓑"

Not sorting map keys either (yes, I am using ConfigCompatibleWithStandardLibrary)

ah, you have alias of type string. I registered the type encoder directly to string itself. will fix this case soon

all tests passed now


The directory "dotgov-websites" is poorly named

While it's true that many of the hostnames in that folder web-centric, not everything is, and we generally want to be technically accurate on the difference between .gov domains/hostname and .gov sites.
Look through cisagov projects that hardcode the path and update them.

@jsf9k @dav3r @mcdonnnj, I see cisagov/gatherer uses the files in our dotgov-websites directory. I've changed it to "misc" in a branch. That's a bit of a throwaway name, but I really just care that it's not inaccurate. I'm happy to make the change on my side and then file a PR on gatherer, but wanted to tag you for feedback.


More specific api type names

AttributeValue => SpanAttributeValue
Attributes => SpanAttributes
EntryTtl => BaggageEntryTtl
EntryValue => BaggageEntryValue
Status => SpanStatus
StatusCode => SpanStatusCode

This PR should be mentioned in https://github.com/open-telemetry/opentelemetry-js#upgrade-guidelines

This PR should be mentioned in https://github.com/open-telemetry/opentelemetry-js#upgrade-guidelines

I expected before that both span/metrics would share the same attributes types, is this a first step to be able to seperate them later on ?

That is not the case at the moment. Attributes is for spans and Labels is for metrics (string values only).

I expected before that both span/metrics would share the same attributes types, is this a first step to be able to seperate them later on ?

That is not the case at the moment. Attributes is for spans and Labels is for metrics (string values only).


Unable to reproduce results

Thanks for you work.
I was trying to reproduce your work but stucked at data preparations, I read your paper in every corner but still cannot get idea how to process the dataset. would you share your script or describe in detail how the data was generated?
Also would you also your environment so we do not need to guess a lot.

You can find data preprocessing in Section 4.1
Specifically，
for cityscapes dataset:

Resize all images to 512 * 256
Randomly crop 256*256 patches

for other datasets：

Resize all the images with their longer sides no more than 384 and their shorter sides no less than 256
Randomly crop 256*256 patches

experiment environment: pytorch 1.10, python 3.7


Backfill oldest changelog items

Adds the following to the Stream Changelog:

storage limit notifications
multiple audio track mixdown
tus support for direct creator uploads

Approve assets