fix: #201 license issues

WHAT
added Terms of Use in CONTRIBUTING file
extended NOTICE file with a notice for the CC-BY-4.0 license
added the CC-BY-4.0 license to the root repository as default license for non-code artifacts
upped the version to prepare TX/CX 24.08 release.
WHY
Updates due to changes in TRG 7:
FURTHER NOTES
Closes #201

Hi @drcgjung,
the licence and copyright changes look good to me. I am unsure about the version change though.
* Is it even necessary? Is your documentation released, or put in one of the released artifacts

* If there is a version bump, wouldn't `1.13.0` the next one? Couldn't find a `1.13.x` release yet

Necessary: to prepare the upcoming PI13/24.08 release (there will be a PR to adapt to TX EDC 0.7.2 in the coming days).
Wrt semantic versioning: We never count back "minor" and "build" because they are in fact incremental. Matter of style I would guess.


Modify the speech rate ?

hi,
Is it possible to change the speech rate ?

Just tested in french, I find the speech rate very low. Not sure if it's better in other languages.

I also use it in French.
It's a bit too slow.

Not sure where the problem is. The speed is set to 1 in the code :
https://github.com/noelportugal/google-home-notifier/blob/master/google-home-notifier.js#L36
googletts(text, language, 1)

I'll see if I can generate the mp3 file on my computer to compare the speed

The french audio generated by Google Translate is a bit slow and sounds exactly like what I get on Google Home.
Might be worth doing a pull request to add speed configuration.
https://translate.google.fr/#fr/en/Bonjour%2C ceci est un test pour voir la vitesse

Mine is to slow, too...


Error	MSB4018	The "ResolvePackageAssets" task failed unexpectedly.

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/install
Operating System: windows
just loaded the project  as seen in the tutorial and the error appears in the console
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you provide the output of the dotnet --info command @SaifKb?
@rainersigwald is this something you can help with?

hi Maria
problem solved, after uninstalling the older version
thanks and sorry for the delay, I did see your email
Saif Kbishi
SeatGeek Enterprise.
P.O.B 1137, Karmiel 2165318, Israel
Main Office: +972 (4) 9088913
<EMAIL_ADDRESS>On Tue, Jun 16, 2020 at 11:45 PM Maira Wenzel<EMAIL_ADDRESS>wrote:

Can you provide the output of the dotnet --info command @SaifKb
https://github.com/SaifKb?
@rainersigwald https://github.com/rainersigwald is this something you
can help with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/4831#issuecomment-645002167, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI6QRNRF3LNFVPVSSSKNYBDRW7KVRANCNFSM4N5NVQQQ
.

No worries. Thanks for letting us know and I'm glad you sorted it out.


2-way audio

I am working on go2rtc add-on and Home Assistant custom component: WebRTC
Is there a way to install 2-way audio on WebRTC?

#440


General updates based on version 1.2

Friendly reminder @etiennedi 😊👍

Friendly reminder @etiennedi 😊👍

Blocked some time for this tomorrow.

I'm going to respond via email to be able to add some internal (non-public) remarks.

Closing this PR, as we have already updated the README in the meantime and the changes in here are (at least in part) no longer relevant. Feel free to issue a new PR if you'd like to keep some of the changes proposed in here.


Adding Hadoop 1.0.3

==> audit problems
homebrew/versions/hadoop103:
 * A `test do` test block should be added
 * Description is too long. "name: desc" should be less than 80 characters.
Length is calculated as homebrew/versions/hadoop103 + desc. (currently 84)

Presuming dead. Feel free to resubmit with the issues addressed if desired, Thanks!


Adding England flag

I added the England flag to the page.

@lucascavalcante Thank you for your contribution <3

Issue #23


The icon does not appear.

After installation the icon does not appear.
Expected Behavior
when you search for the application, the icon appears.
Current Behavior
The system icon appears.
Screenshots (if appropriate):
Deepin:

Elementary OS:

Possible Solution
Error in reference icon path.
Steps to Reproduce (for bugs)

install on a linux distribution.
search the app/ execute the app

Your Environment

Franz Version used: 5.0.0
Operating System and version: deepin 15.5 / elementary 0.3.2

Already resolved in #340 and will be shipped with beta 15


Clarification on traits

Hi, in description of metamagic master it says you can reduce by 2 the final adjusted level, while in tabletop it would be 1. Also you'd be able to select up to level 3 spells (same for Magical Lineage).
Have these traits been tweaked for the mod? I thought these would be homebrew but I disabled homebrew in the options, so now I'm not sure.
Thanks

Owlcat made it so you pick only on trait instead of two. But the traits are twice as useful. I kept that logic. Extra traits would grant 2 traits, you get 1 but it's like metamagic master and magical lineage together.
I was too lazy to add the level restriction. Picking a 3rd level spell seems like the optimal choice anyway.


add checking percolating function in neb/pathfinder

For some complicated alkali conductors, the default 5 Angstrom max_path_length will lead to quite many paths and may be more than needed. If we reduce the path length cutoff and can still form the percolating pathways, it would help to either save efforts in unnecessary NEB calculations or quick estimate if a material is a 3D conductor before doing any calculations.

Go ahead. I would suggest implementing an intelligent algorithm to ascertain the percolating pathway and the min distance. In fact, it does not even have to be a min distance applied to all sites. Some sites are indeed further away than others. I would actually suggest considering the first NN, followed by next NN, etc., whatever that distance may be. The distance_matrix in the structure object can help.

Pull request merged.


DEV-492 clean up build.gradle files

SonarQube analysis reported 1 issue

 1 major

Watch the comments in this conversation to review them.

Coverage decreased (-0.04%) to 84.611% when pulling ac6318e440b6e68f584884d74cd1c2cd910143d8 on DEV-492 into cb496cb7e047c839f0adf8ae3e383bfd1e3ad921 on master.


Update Testing Docs

Description
This PR fills in some of the missing documentation on testing.

🚀 [bumpr] Bumped! New version:v0.3.44 Changes:v0.3.43...v0.3.44


snapshot command produces empty snapshot

Environment
Liquibase Version:
4.4.0
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
CLI
Liquibase Extension(s) & Version:
jdbc11
Database Vendor & Version:
Oracle 18.4.0
Operating System Type & Version:
MacOS 10.15.7
Description
When running liquibase snapshot I used to (in version 4.3.5) receive snapshot output for the schemas I selected (specific ones I wanted to track outside of sys) but now I cannot produce any usable output.
I did have to modify my liquibase.properties file a great deal in order to get it to work at all, so it's possible I've misconfigured something. However, even running it with total CLI options (no properties file in the mix) I still cannot get it to work.
I see in the output the following message:
[2021-06-23 15:38:55] FINE [liquibase.configuration] Found 'liquibase.shouldSnapshotData' configuration of 'false'
    legacy configuration 'liquibase.shouldSnapshotData' of 'false'
    Overrides command argument '--should-snapshot-data' of 'true'

Where --should-snapshot-data is a runtime option.
Is this the source of my issues?  If so, I cannot find any relevant documentation, issues, or stack overflow issues regarding this or how I can override the 'legacy configuration' option/
Steps To Reproduce
$ liquibase --should-snapshot-data=true snapshot --url="jdbc:oracle:thin:@localhost:1521/xe" --username="redacted" --password="redacted" --logLevel="debug"

Example output:
Database snapshot for jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xe)))
-----------------------------------------------------------------
Database type: Oracle
Database version: Oracle Database 18c Express Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
Database user: SYS
Included types:
    liquibase.structure.core.Catalog
    liquibase.structure.core.Column
    liquibase.structure.core.ForeignKey
    liquibase.structure.core.Index
    liquibase.structure.core.PrimaryKey
    liquibase.structure.core.Schema
    liquibase.structure.core.Sequence
    liquibase.structure.core.Table
    liquibase.structure.core.UniqueConstraint
    liquibase.structure.core.View
Liquibase command 'snapshot' was executed successfully.

As you can see there is no output despite there being tables in the logged in schema.
Expected/Desired Behavior
Snapshots are created with actual data for the logged in user or according to a list of schemas
Additional Context
Trying to modify my workflow from 4.3.5 -> 4.4.0 whereby you update the database with liquibase, create a changelog diff, and then snapshot and commit to version control. This process was supported according to the docs (look under "Using the snapshot in the diff and diffChangeLog commands")

I'm thinking it's a configuration issue. My testing is showing it working.
First: what did you have to change for properties/arguments in 4.4.0 vs. 4.3.5? We tried hard to make sure we were backwards compatible with the old locations/style so you SHOULDN'T have had to change anything. If you did, we need to fix that.
Your output is listing "SYS" as the user and with oracle that's the default schema too. Liquibase ignores any "system" objects in the snapshot, so you shouldn't see anything from the SYS schema ever. That isn't new with 4.4.0.
Is your "redacted" user sys? Or a different one from your output?

Thanks for taking the time to respond. You are correct that I am logged in as the "sys" user, however I did add a non "system" table to see if it could be snapshotted.
In terms of what I had to change, I had a liquibase.properties with settings like which schemas to include when snapshotting, and the outputFile that had to be changed to the new formatting.
I cannot get snapshot to interact with the other schemas besides the current logged in user and, even then, it still doesn't track it's non system tables.
As a pure example here is the command and liquibase.properties file I'm currently using to test this:
$ liquibase --should-snapshot-data=true snapshot --url="jdbc:oracle:thin:@localhost:1521/xe?mode=3" --username="sys as sysdba" --password="redacted" --logLevel=debug

liquibase.properties file
schemas=a_non_sys_schema_with_data

Update:
When changing to a different user, I was able to get snapshot data out of it, now that I know for sure that it works, the only question remaining is how can I get it to snapshot other schemas along with the currently logged-in user?

Hi @legionxvx Thanks for your research on this.  We will add it to the list of issues that we are processing.  In the meantime, hopefully you can adjust the users you are logging in with to get the schemas you previously were able to retrieve.

@molivasdat Thanks for the update, and thank you for continuing to maintain this application!
It is worth noting that, for some reason, building liquibase from source makes this work flawlessly but, for some reason, the brew version does not work the same way. Perhaps there is a packaging issue in brew?
I will continue to try and track down the exact difference between the two to assist you all.

Have you been able better understand what is going on yet, @legionxvx ?


The determination of the number of service restarts metrics

Currently monit_export grabs "up" and "checkStatus" two metrics
But can't get the information of pid change from it to determine the number of restarts
And, I found that to get the service pid will encounter different status pid information is null

I will try to achieve the capture of pid information.

It is worth reminding that the metrics of monit_exporter_service_check will be in many combinations:
codes to text
//For conversion of status codes to text
$event[0] = 'OK';
$event[1] = 'Checksum failed';
$event[2] = 'Resource limit matched';
$event[4] = 'Timeout';
$event[8] = 'Timestamp failed';
$event[16] = 'Size failed';
$event[32] = 'Connection failed';
$event[64] = 'Permission failed';
$event[128] = 'UID failed';
$event[256] = 'GID failed';
$event[512] = 'Does not exist';
$event[1024] = 'Invalid type';
$event[2048] = 'Data access error';
$event[4096] = 'Execution failed';
$event[8192] = 'Changed';
$event[16384] = 'ICMP failed';


Increase test coverage

Codecov Report

Merging #177 (0848b2c) into master (436d618) will increase coverage by 0.24%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #177      +/-   ##
============================================
+ Coverage     70.49%   70.73%   +0.24%
- Complexity      493      496       +3
============================================
  Files            79       79
  Lines          1630     1630
  Branches        175      175
============================================
+ Hits           1149     1153       +4
+ Misses          421      418       -3
+ Partials         60       59       -1

Impacted Files
Coverage Δ

...seedu/address/logic/parser/FindMyInternParser.java
100.00% <0.00%> (+20.00%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Black screen

Hey Chris. I’m running a 8470p with an i7-3820qm. 16 gigs of 1600.
I have been testing your tool with big sur and I was able to create and install but after the post install I’m stuck on a black screen. It’s the 1600x900 screen to. The only way I can get it to boot to a desktop is if I include the  igfxvesa bootarg. I have catalina installed as well and it is acting the same way. I have a clover setup that boots Catalina perfectly but I’d like to try big sur and maybe OC if I can get it working. Got any ideas? Your guide is pretty straight forward and it not my first rodeo but I have no clue what the  issue could be.

the guide support 1600x900 high screen, its alresdy test ; so follow corectly the guide


doc/sphinx sphinx

Overview
doc/sphinx sphinx

Details

None

@akaszynski I reviewed until this commit. Go ahead.


fix: add url to sp event

What's the purpose of this pull request?
This PR solves blank intelligent search reports
How it works?
Adds missing url field on SP event using the referrer as the value
How to test it?
On it
Starters Deploy Preview
On it

Could you update the tests please?

I don't think it affects any current tests, but I surely can write them. I'll deploy this and then write them due to the urgency of the matter.


Improvement in the Storage Classes documentation

This is a Bug Report
Problem: In the Volume Binding Mode section of the Storage Classes page, there is a list that shows 'all of the above' in the WaitForFirstConsumer with pre-created persistent volume binding.
Proposed Solution: There must be a proper description or a list in place of 'all of the above' which can help the readers understand better.
Page to Update:
https://kubernetes.io/docs/concepts/storage/storage-classes/

/sig docs
/language en
/sig storage

/triage accepted
Maybe a simple clarification would solve this confusion.

I would like to work on this issue
/assign

The issue is fixed here: #43429


What is the key field for in udp client message?

It's supposedly "A unique key that is randomized by the client.", but what is it for? Currently, our client always sends 0.
http://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html

These field seems to do nothing. If someone finds that some tracker requires it, please open a new issue.


Unixcoder, multiple masked token predicition

Hi guys.
Thank you for yor work.
I see that unixcoder can predict token.

How can I predict several tokens located in a different place?

Suppose, I have the code:
public DeleteDialogBot openDeleteDialog()
    {
        if ( browserBot.getTree().selectionCount() == 1 )
        {
            ContextMenuHelper.clickContextMenu( browserBot.getTree(), \"Delete Entry\" );
            return new DeleteDialogBot( DeleteDialogBot.DELETE_ENTRY_TITLE );
        }
    }

Wll be the following input correct if I need predict the same variable ,but located in different place?
public DeleteDialogBot openDeleteDialog()
    {
        if ( <mask>.getTree().selectionCount() == 1 )
        {
            ContextMenuHelper.clickContextMenu( <mask>.getTree(), \"Delete Entry\" );
            return new DeleteDialogBot( DeleteDialogBot.DELETE_ENTRY_TITLE );
        }
    }

How can I predict several different tokens located in a different place?
Suppose, I have the code:

public DeleteDialogBot openDeleteDialog()
    {
        if ( browserBot.getTree().selectionCount() == 1 )
        {
            ContextMenuHelper.clickContextMenu( browserBot.getTree(), \"Delete Entry\" );
            return new DeleteDialogBot( DeleteDialogBot.DELETE_ENTRY_TITLE );
        }
    }

I need to predict 2 tokens (browserBot, located in 2 places) and also DeleteDialogBot, but I need to put into a single input?
How can I do it?
public <WHAT SHOULD I PUT HERE>openDeleteDialog()
    {
        if ( <mask>.getTree().selectionCount() == 1 )
        {
            ContextMenuHelper.clickContextMenu( <mask>.getTree(), \"Delete Entry\" );
            return new DeleteDialogBot( <WHAT SHOULD I PUT HERE>.DELETE_ENTRY_TITLE );
        }
    }

public DeleteDialogBot openDeleteDialog()     {         if ( <mask0>.getTree().selectionCount() == 1 )         {             ContextMenuHelper.clickContextMenu( <mask1>.getTree(), \"Delete Entry\" );             return new DeleteDialogBot( DeleteDialogBot.DELETE_ENTRY_TITLE );         }     }
using <mask1>, <mask2>,...,<maskn>


Replace the initial window instructions with a ContextMenu with the shortcuts.

I was going for something like the Visual Studio Code landing page on first open (see pic).
The reason for this choice was:

Make it clear that nothing is currently loaded (i.e. big black empty window)
Make the transition from empty state to your view being loaded very clear
Introduce user as early as possible to the idea of using memorized shortcuts

But I like your idea of a menu.  Just so long as the above goals are preserved.  We definitely want key rebinding accessible from the launch page too (see #37)

I understand your point of view. Since you liked the menu idea, I suggest if the user right click then a ContextMenu is open with the same actions.

Thats a good idea.  Or we might be able to just make a Menu that has the same color scheme as the current splash screen rather than it being manually drawn like it currently is.

Perhaps it could be interesting to do something similar to Visual Basic for DOS

https://www.cloudwisp.com/exploring-visual-basic-1-0-for-ms-dos/

What can be done is redraw the dots on the Editor if a flag ShowGrid is enabled.

Perhaps it could be interesting to do something similar to Visual Basic for DOS

I do like this gui with its floating toolboxes and designer top menu.  I particularly like the grid and anchors (as @BDisp has commented on).
Based on this feedback:

I have created a new issue for ShowGrid and Anchors

But I think having designer menus and floating toolboxes is a much bigger task and would need a lot of work.  It would need to be really good before merging.  At the moment the users View being edited has full working area and everything is done via shortcuts or context menu (right click).  All 'designer tasks' take the user to a fresh fullscreen view (e.g. 'pick what control to add').   So it is super clear what is designer elements and which are ones the user has created.

@tig are you able to enable Discussions on this repo? I have read/write but I cannot see the Settings option (so presumably I lack that privellege after transfering to gui-cs org).
Once Discussions are on I can move the 'floating toolbars / designer menus' there.

Done!

Thanks

Here is the discussion I have opened https://github.com/gui-cs/TerminalGuiDesigner/discussions/88


Email formatter

Great job on this library!
Would love to see e-mail formatter as well.

Thanks bro,
But if you want an e-mail validator, will be better to use a regex that a mask.


Fix unreachable code warning for functions that return !

The generated code for function bodies produces an unreachable_code warning if the function has a ! return type.
The offending bit is:
if let Some(__ret) == None::<!> {
  // unreachable
}

This PR fixes the warning by simply adding #[allow(unreachable_code)] to the return statement. It also adds a test for it.
This problem can only be triggered on nightly with the never_type feature enabled, but it is easy to fix here.

Published in async-trait 0.1.80.


Show example to build

Recently, I was trying out building libbpf-rs ran into https://github.com/libbpf/libbpf-rs/issues/300
I think it would be nice to show which system packages need to be installed, e.g. on Ubuntu
sudo apt install libelf-dev pkgconf

where pkgconf provides pkg-config executable.

Sure. In the readme, I do mention its dependencies a few times, but there's no harm in adding explicit examples.


openai: add gpt-4o_20240927 (after advanced voice model release)

for both of your PRs, I ask you two things please:

make sure you attribute it to the proper author if you are not the one who figured it out. for instance, I attribute elder_plinius in various places
make sure you also update the corresponding table of contents file (README.md) and in the proper folder

Finally, how did you verify the work if you are the one who did it?

I'm the one who figured it out? lol

Is this what you want? I don't really care if you accept this PR, honestly, was just trying to help the community.

We are on the same page. I don't mean to get you on the defensive side here. We both want to help the community and I appreciate your addition.
I am asking to make sure we have accurate stuff we share w/ the community.
So what is left is just to please update the corresponding README file and link your new prompts like it currently is.
Thank you and much appreciated.


Once Android Studio installed, how to get contents of a github repo loaded.

Put the source for the simplest Android Studio project that could possibly do anything useful into this repo.  Then, add instructions to README.md as to how to git clone it, load it up in Android Studio, compile, and then load either into an Android phone or an emulator.

F16 OK (100 pts)


[WIP] Observable Tree

This PR is a work-in-progress experiment to see if it's feasible to build an observable tree structure.
Feedback is welcome!

This is super interesting @tonyarnold! 💥
I wonder if ObservableTree could use CollectionOperation instead of TreeOperation and then get all the diffing for free. CollectionOperation has same set of cases as TreeOperation and it is generic over Index type so maybe we could fo typealias TreeOperation = CollectionOperation<IndexPath>?

Another idea: ObservableTree as ObservableCollection<TreeNode> where TreeNode is a Collection with IndexPath for Index.

Interesting ideas - I'll have a poke at it today and see what I can come up with. Thanks for the feedback and encouragement!

Or was your idea that this should replace ObservableCollection?

Oh geez, no. This is going to be pretty unoptimised in places - ObservableCollection will still (for now) be a faster, simpler option. I mean, I guess we could potentially use this to back the same ideas as ObservableCollection…

ObservableTree as ObservableCollection<TreeNode> where TreeNode is a Collection with IndexPath for Index

I think this might be the winner. I really wanted the various levels of the tree to do their own change tracking/sending, but I'm not sure that's going to work.

@tonyarnold I'm thinking what's the best way to port Observable2DArray to our new ObservableCollection type.
Currently Observable2DArray is backed by an array of Observable2DArraySection<Metadata, Item> but that will not work well with ObservableCollection.
What seems to be a natural data structure for something like that is actually a tree. I'm playing with your TreeNode, but I'm hitting a wall with child -> parent relationship so I'm wondering is that something we really need?

No, it’s not necessary to be honest. I need it for my use case, but I believe you could make the rest of tree node work without it.

I didn't make time to look at this last night, I'll see what I can do tonight once the kids are asleep - I also realise that children should be a Collection or Array of Self, not a direct reference to the type.

Oh, no worries, that was not my intention. I started playing with it on my own branch. Don’t have much yet though.

So the main issue I can see is that it doesn’t appear to be possible to construct a proper index path for the various events, ie.:
/// Append `newElement` at the end of the collection.
public func append(_ newElement: UnderlyingTreeNode.Element) {
    descriptiveUpdate { (node) -> [TreeOperation] in
        var parent = node as! UnderlyingTreeNode.Element
        parent.children.append(newElement)
        let insertionIndex = parent.children.index(parent.children.endIndex, offsetBy: -1)
        return [.insert(at: parent.indexPath.appending(insertionIndex))]
    }
}

My brain’s not firing on all cylinders, but perhaps there’s some way to make this work without having direct access to the parent’s index path? Do you have any ideas, @srdanrasic?


[WIP] Revert "Revert "Upgrade to Rails 5.1.4""

Hey Daniel, can you explain why this is being reverted?

This is to put the Rails upgrade back into master - as it was reverted as a result of the PR you linked above. The title could do with editing to make it clear though


xrpl.transaction.get_transaction_from_hash() should take optional min_ledger and max_ledger params

The min_ledger and max_ledger params to the tx method help to reliably determine the outcome of a transaction. The get_transaction_from_hash() helper function should at least take min_ledger (it can choose max_ledger based on the LastLedgerSequence) and use them to more smartly categorize failures:

Transaction isn't in specified range (searched_all is true)
Server doesn't have sufficient ledger history, which can be further split into more results if you know the server's current max validated ledger:

Result isn't final (max_ledger is not yet validated)
Server is missing necessary history

I have been working on this one and I am waiting to have access rights to push my local branch.
@mvadari fyi


Where do the results cited in the paper comparing to SOTA methods come from?

I read your paper carefully. When citing other methods for performance comparison (Table 1 and Table 10 in the original paper), I did not find the results of the other methods you cited in the original paper, such as CoOp. As a result, I only found in the original paper of CoOp that they gave a line graph on 11 datasets and a line graph of the average results of these 11 datasets. Can you tell me how you got these specific values? Thank you so much.

@samuelyu2002 either found the results from their paper or repo, or ran their code. Let us know if you run into issues when reproducing the results.


Hook after renderToString and/or app.mount

Heya, me again.
(vue.js 3.0 app)
I was reading the source code and noticed that our initialization hook is run early on, which is great, however, in my application (similar to https://pinia.esm.dev/ssr/#state-hydration example) I have my custom data stores.
Trouble is, those are filled with data by components at arbitrary levels deep, and I only have the data once the app has been fully rendered, as I rely on onServerPrefetch(async () => {})
That means that the initialState variable passed to the userland hook can't have the final data the server has fetched, as my hook is ran very early on. I need another hook right after this await
renderToString(app, context).then(deferred.resolve).catch(deferred.reject)
const body = await deferred.promise

To make things consistent on the client end, we could be running that hook after app.mount('#app', true)
Other than that, using this library has been a great experience so far!

@wucdbm Hey thanks. What's your use case for this exactly?
There's a transformState hook that runs at the very end and gets the filled initialState as its first argument. This is normally used to make arbitrary modifications to the initial state and it can also be asynchronous. Therefore, I think this can be used in most situations.
Would that work for you?

I'll have a look next monday, that could very well be something that I overlooked!

@frandiox Priorities shifted and it was left behind, I'll get back to the thread as soon as I'm back to that project
It's literally the only thing left before we have a stable project bootstrap and we must evaluate it against a custom solution

@frandiox No, unfortunately, that hook will not help, let me attemp to describe the issue
My main.ts looks like this
export default viteSSR(
    App,
    options,
    ({ app, router, initialState, axiosBaseUrl, axiosHost, request }: HookParams) => {"
    // some initialization code
    // ...

        const ssrCache = ssrExchange({
            isClient: !import.meta.env.SSR,
            // eslint-disable-next-line @typescript-eslint/ban-ts-comment
            // @ts-ignore
            initialState: !import.meta.env.SSR ? window.__INITIAL_STATE__?._urql : undefined,
            staleWhileRevalidate: true,
        })

        app.use(urql, {
            url: 'https://rickandmortyapi.com/graphql',
            exchanges: [
                dedupExchange,
                cacheExchange,
                ssrCache,
                fetchExchange,
            ],
        })

The issue here is, that in my components, I do this
<script lang="ts">
import { defineComponent, onServerPrefetch } from 'vue'
import { getCharacters } from '@/gql/queries'
import { useQuery } from '@urql/vue'

export default defineComponent({
    name: 'HelloWorldComp',
    setup() {
        const result = useQuery({ query: getCharacters })

        onServerPrefetch(async () => {
            await result
        })

        return {
            fetching: result.fetching,
            data: result.data,
            error: result.error,
        }
    },
})
</script>

The thing is, I'll have the data in the ssrCache I passed to urql earlier ONLY AFTER I have awaited all of its promises via onServerPrefetch.
So in that sense, I need to be able to, in addition to head, return a hook that will be ran by entry-server just after renderToString(app, context).then(deferred.resolve).catch(deferred.reject)
Then I am guaranteed that all of my promises will have been awaited, and then I still have access and can modify initialState, like so:
    if (ssrCache) {
        initialState._urql = ssrCache.extractData()
    }

(The reason I am not replacing initialState entirely is because I have other custom stores that hold other bits of data, these are simply fields in initialData and allows for future flexibility)
Essentially I am looking forward to a change such as
const { head, postRenderHook } =
      (hook &&

renderToString(app, context).then(deferred.resolve).catch(deferred.reject)
const body = await deferred.promise
(postRenderHook && (await postRenderHook()) // << this should do the magic trick if the user of the library has exported this postRenderHook from their main.ts hook

@wucdbm  Yeah I think I understand the use case. I've done this with Apollo before so I think it should work the same way with URQL.
Can you test something like this?
export default viteSSR(
  App,
  {
    routes,
    transformState(state, defaultTransformer) {
      if (import.meta.env.SSR) {
        // Make cache serializable in SSR
        state.urqlCache = state.urqlCache.extractData()
      }

      // Continue default serialization/deserializaion
      return defaultTransformer(state)
    },
  },
  ({ app, initialState }) => {
    // Main initialization hook

    initialState.urqlCache = ssrExchange({
        isClient: !import.meta.env.SSR,
        initialState: !import.meta.env.SSR ? initialState.urqlCache : undefined,
        staleWhileRevalidate: true,
    })

    app.use(urql, {
        url: 'https://rickandmortyapi.com/graphql',
        exchanges: [
            dedupExchange,
            cacheExchange,
            initialState.urqlCache,
            fetchExchange,
        ],
    })
  }
)

The key here is to save the ssrCache in the initial state object so you have access to it later in the transformState to serialize it.
There are other examples that follow this strategy with apollo and vue-query.
Please tell me if something like that works for you.

@frandiox That'd definitely work, yes, but looks ugly -- IMO we shouldn't mess with business objects attached to a container that contains pure state only
On one hand, with my solution it'd need some more documentation or people to browse the source code to figure things out (I've done a lot of that on this and other libraries), on the other though, as a project evolves and becomes more complex, this hacking around may end up a huge shotgun wound in your foot
It's your call ultimately, but I'd keep the state object and other containers that implement business logic completely separate

@frandiox Just to confirm, your solution works fine

The problem in returning that hook is that it's not isometric because it would not be used in the browser.
It would be nice if the cache instance implemented a .toJSON method that is automatically called by JSON.stringify 🤔
Regardless, I'll give it a thought anyway since it's always possible to improve the API to something that is easier to understand.
Closing this for now since the main issues is solved 👍

@wucdbm One more thing, can you try something like this?
  ({ app, initialState, isClient }) => {
    // Main initialization hook

    const ssrCache = ssrExchange({
        isClient,
        staleWhileRevalidate: true,
        initialState: initialState._urql, // undefined in SSR
    })

    if (import.meta.env.SSR) {
        ssrCache.toJSON = () => ssrCache.extractData()  // or ssrCache.toJSON = ssrCache.extractData , not sure
        initialState._urql = ssrCache
    }

    app.use(urql, {
        url: 'https://rickandmortyapi.com/graphql',
        exchanges: [
            dedupExchange,
            cacheExchange,
            ssrCache,
            fetchExchange,
        ],
    })
  }

Not sure if this is easier but at least it doesn't need to define transformState 🤔

Yup, the one in the comment with toJSON is actually great

@wucdbm Do you think that would be a better fit for official examples? 🤔 (instead of using transformState hook)

I think both -- some people may not like the "black magic" - If anything, at least include a link to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description
I wasn't aware of it myself, actually, but guessed it's something like that based off of your example and found the documentation later

@Moeriki  Ah right, this is only for JSON states. I think devalue outputs a JS object or function instead.
Out of curiosity, why do you need devalue?


Replace flatten_nested

Replace flatten_nested with NestedDataStructure.flatten.
This is a first step towards having all NestedDataStructure logic as a separated concern, independent of the caller/user of the data structure.
Eventually, all checks (whether the underlying data is list, dict, etc.) will be only inside this class.
I have also generalized the flattening, and now it handles multiple levels of nesting.

Hi @lhoestq. If you agree to merge this, I will start separating the logic for NestedDataStructure.map ;)


Update NavBar.jsx

fixed the links underline issue
Description
A clear and concise description of what the PR does.

This PR does the following:

Adds ...
Fixes ...
Updates ...

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #123"

Changes
List the detailed changes made in this PR.

Added a new feature to ...
Refactored the ...
Fixed a bug in ...

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)
Add any screenshots that help explain or visualize the changes.
Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I am working on this issue under GSSOC

[Bug]: Menu Options Underline Remove from Links #595

Which issue does this PR refer to? @muskiagrwal

[Bug]: Menu Options Underline Remove from Links #595

Which issue does this PR refer to? @muskiagrwal

[Bug]: Menu Options Underline Remove from Links #595

This issue has not been assigned to you. @muskiagrwal


not working

Describe the bug
A clear and concise description of what the bug is.
i set it to get telegram message notice
but from yesterday it is not working.. no telegram notice.
and  also not working manually speedtest.
i guess there is something wrong with ookla
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

OS: [e.g. Ubuntu]   docker in synology DSM 7
Architecture: [e.g. arm64, amd64]  amd64
Browser [e.g. chrome, safari]
Version [e.g. v1]

Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, check the logs for any error that might of occurred.
Additional context
Add any other context about the problem here.

Haven't heard from the OP in a couple weeks so going to close this out, @gerberanub if you circle back around feel free to reply and we can take another look.

what is OP ???

OP is original poster aka you.


3.0.4 bug fixes

Merging in bug fixes that will probably be the 3.0.4 release.

FYI @vincentritter, merging this to main.


fix: ignore deleted job when getting inferred dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7374

Relevant Lines:
9712

💛  - Coveralls


Support backticks in property values

Currently jsonic converts `string` to "`string`"

some example code would actually be useful here - thanks

Take the following JS:
{
    a: `b`,
}

copy it to JSON file
Run it through Jsonic
you'll get
{
  "a": "`b`"
}

instead of
{
  "a": "b"
}

Backticks should be stripped out

backticks now support multiline values


How I dealt with singularities

In order to avoid dividing by zero, I used the following:
def f(x):
# Replace zero values in x with a small positive value to avoid division by zero
x_safe = np.where(x == 0, np.finfo(float).eps, x)
return np.exp(-1 / x_safe)

It works perfectly. Feel free to use it.

Thank you for sharing your work. I will try this.

Thank you for sharing @AhmedCode99


docs(ci): update release steps with homebrew bump

This PR updates the ci docs with steps for updating the homebrew package more easily using brew bump-forumla-pr.
TODOS

[x] address feedback

Note: the ci/linux-arm64 failed because it ran out of space.


Prove It button placement should be independent of detail height

On the user profile, we should have all the "Prove It" buttons be the same height. I think this is a bug right now, but it still seems to be dictated by number of lines.

cc: @DFurnes @mikefantini

@mikefantini arent front-endy things @fender ?

oh yeah duh. sorry updating.

Github seemed to pick up my nickname and email me about this thread. What's interesting is that I am also a Drupal 7 developer. :laughing:

Hah @fender! Welcome :smiley:
Are those labels we're assigning hitting you with a lot of notifications? :grimacing: If so we could change them! We use "fender" as a shortened version of "front-ender".

Sorry my fault, original comment accidentally had @fender in it!

Haha, that would be why. Looks like the "fender" tag is good to use. It's actually my last name and to complicate things even more, I am about to release a book on front-end development.

Your book outline looks great @fender. Best of luck with the launch!


[BEAM-10917] Add support for BigQuery Read API in Python BEAM

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @kmjung

R: @aaltay, @chamikaramj

hey @vachan-shetty I've tried out a new BQ storage PTransform and found some issues. Let me know what do you think of them:
The pipeline code:
   # dataset_latencies dataset is 3.2TB
    with beam.Pipeline(options=options) as pipeline:
        (
            pipeline
            | ReadBQStorage(project= "GCP_PROJECT", dataset="telemetry", table="dataset_latencies")
            | 'Count all elements' >> apache_beam.combiners.Count.Globally()
            | beam.Log()
        )

The pipeline(let's call V1) run for 8 hours with 50 workers, machine type: n2-standard-8 with Datflow runner V1. Experiments options:
['use_beam_bq_sink', 'disable_runner_v2', 'shuffle_mode=service', 'use_monitoring_state_manager', 'enable_execution_details_collection', 'use_fastavro']

Also it log following exceptions:
Error message from worker: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 107, in next
    return six.next(self._wrapped)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 416, in __next__
    return self._next()
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 706, in _next
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "No status received"
	debug_error_string = "{"created":"@1627723826.888538925","description":"No status received","file":"src/core/lib/surface/call.cc","file_line":1081,"grpc_status":2}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/dataflow_worker/batchworker.py", line 649, in do_work
    work_executor.execute()
  File "/usr/local/lib/python3.7/site-packages/dataflow_worker/executor.py", line 179, in execute
    op.start()
  File "dataflow_worker/native_operations.py", line 38, in dataflow_worker.native_operations.NativeReadOperation.start
  File "dataflow_worker/native_operations.py", line 39, in dataflow_worker.native_operations.NativeReadOperation.start
  File "dataflow_worker/native_operations.py", line 44, in dataflow_worker.native_operations.NativeReadOperation.start
  File "dataflow_worker/native_operations.py", line 48, in dataflow_worker.native_operations.NativeReadOperation.start
  File "/usr/local/lib/python3.7/site-packages/terra/beam/io/beam_storage_api.py", line 294, in __next__
    self.read_rows_response = next(self.read_rows_iterator, None)
  File "/usr/local/lib/python3.7/site-packages/google/cloud/bigquery_storage_v1/reader.py", line 134, in __iter__
    for message in self._wrapped:
  File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 110, in next
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.Unknown: None No status received

Pipeline V2 with Dataflow runner V2, experiment options:
['use_runner_v2', 'use_beam_bq_sink', 'shuffle_mode=service', 'use_monitoring_state_manager', 'enable_execution_details_collection', 'use_unified_worker', 'beam_fn_api', 'use_fastavro', 'use_multiple_sdk_containers']

It runs for 10 hours and produced the following exception stack trace:
Error message from worker: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 107, in next
    return six.next(self._wrapped)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 416, in __next__
    return self._next()
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 706, in _next
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "No status received"
	debug_error_string = "{"created":"@1627723816.248565623","description":"No status received","file":"src/core/lib/surface/call.cc","file_line":1081,"grpc_status":2}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/sdk_worker.py", line 289, in _execute
    response = task()
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/sdk_worker.py", line 362, in <lambda>
    lambda: self.create_worker().do_instruction(request), request)
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/sdk_worker.py", line 607, in do_instruction
    getattr(request, request_type), request.instruction_id)
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/sdk_worker.py", line 644, in process_bundle
    bundle_processor.process_bundle(instruction_id))
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1001, in process_bundle
    element.data)
  File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/worker/bundle_processor.py", line 229, in process_encoded
    self.output(decoded_value)
  File "apache_beam/runners/worker/operations.py", line 356, in apache_beam.runners.worker.operations.Operation.output
  File "apache_beam/runners/worker/operations.py", line 358, in apache_beam.runners.worker.operations.Operation.output
  File "apache_beam/runners/worker/operations.py", line 220, in apache_beam.runners.worker.operations.SingletonConsumerSet.receive
  File "apache_beam/runners/worker/operations.py", line 828, in apache_beam.runners.worker.operations.SdfProcessSizedElements.process
  File "apache_beam/runners/worker/operations.py", line 837, in apache_beam.runners.worker.operations.SdfProcessSizedElements.process
  File "apache_beam/runners/common.py", line 1241, in apache_beam.runners.common.DoFnRunner.process_with_sized_restriction
  File "apache_beam/runners/common.py", line 742, in apache_beam.runners.common.PerWindowInvoker.invoke_process
  File "apache_beam/runners/common.py", line 880, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
  File "apache_beam/runners/common.py", line 1368, in apache_beam.runners.common._OutputProcessor.process_outputs
  File "/usr/local/lib/python3.7/site-packages/terra/beam/io/beam_storage_api.py", line 294, in __next__
    self.read_rows_response = next(self.read_rows_iterator, None)
  File "/usr/local/lib/python3.7/site-packages/google/cloud/bigquery_storage_v1/reader.py", line 134, in __iter__
    for message in self._wrapped:
  File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 110, in next
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.Unknown: None No status received

and there were also pipeline V3 that run with SELECT * FROM dataset for 1 hour, with Dataflow Runner V1 and AVRO export.
My questions:

Do you know what might cause following GRPC exceptions?
Why might there's such big difference between BigQuery Storage API client and regular QUERY-EXTRACT-READ Transform?

Let me know if you need more questions or have any suggestions how to debug BQ storage client pipeline futher.

@satybald do you have Gantt charts for the runs in question, or at least read session IDs? The initial source implementation doesn't support dynamic work rebalancing, which would presumably magnify the impact of stragglers on pipeline execution.

do you have Gantt charts for the runs in question, or at least read session IDs?

I belive read session ids already have expired as they for 24 hours. To be honest, I don't know how to obtain them? Should I log those read session ids in the PTransform?

do you have Gantt charts for the runs in question

Do you mean execution details page in Dataflow UI?

To be honest, I don't know how to obtain them? Should I log those read session ids in the PTransform?

The source should emit these logs -- if it doesn't currently, then we should add this in this PR. cc: @vachan-shetty

The source should emit these logs -- if it doesn't currently, then we should add this in this PR. cc: @vachan-shetty

I've double check worker logs in Dataflow, the transform doesn't log the read session ids in stackdriver logs.

To be honest, I don't know how to obtain them? Should I log those read session ids in the PTransform?

The source should emit these logs -- if it doesn't currently, then we should add this in this PR. cc: @vachan-shetty

Yep, I think there's a need to do so, otherwise those session ids are not apper in the logs. Java API explicitly logs those details.
https://github.com/apache/beam/blob/dce846b36a4fb9140c4c5d14e10b72f835f03d98/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryStorageSourceBase.java#L158-L161

@satybald it also looks like you're using fastavro with the export-based source, which isn't implemented for the storage API source yet. Out of curiosity, how fast is your v1 pipeline if you don't specify use_fastavro as an experiment?

@satybald it also looks like you're using fastavro with the export-based source, which isn't implemented for the storage API source yet. Out of curiosity, how fast is your v1 pipeline if you don't specify use_fastavro as an experiment?

Yes, the pipeline that I am running is using fast_avro library with export-based source. However, I didn't specify use_avro experiment flag. The SDK automatically set this flag on.

how fast is your v1 pipeline if you don't specify use_fastavro as an experiment?

Sorry for confusion, I believe you mean v3 the one with export-based source. To my knowledge, there's no option to turn off fast_avro usage as it's hard-coded for export based source i.e. _CustomBigQuerySource

fastavro` with the export-based source, which isn't implemented for the storage API source yet.

@kmjung @vachan-shetty Why not to implement a BQ storage PTransform using a fast_avro? fast_avro is a requirement for beam python SDK and BQ storage API also supports it.

Run PythonDocker PreCommit

@satybald Could you try running the pipelines with the latest changes? I've added support for fastavro and logging to the PTransform. Thanks! :)

@satybald Could you try running the pipelines with the latest changes? I've added support for fastavro and logging to the PTransform. Thanks! :)

thank you for adding support of fastavro. I belive it should speedup things a bit. I will try out the changes soon.
Out of curiosity, what's an average thoughtput of fetching data with BQ Storage API for us-central region? What would you consider an expectable benchmark numbers?

Out of curiosity, what's an average thoughtput of fetching data with BQ Storage API for us-central region? What would you consider an expectable benchmark numbers?

The single-stream throughput for the storage API depends heavily on your schema width and the data format you're using, as well as some other factors, but with a ~50 column schema I would expect that the API should be capable of sending 40-50 MiB/s (~30k rows/second) per stream. For Java-based pipelines, usually the limiting factor is gRPC flow control -- pipelines usually can't process data as fast as the API streams it -- and I would expect the same to be the case here.

@satybald Could you try running the pipelines with the latest changes? I've added support for fastavro and logging to the PTransform. Thanks! :)

I've run the job and found that the job is running pretty slow as the previous version. However, then realized that use_fastavro flag is False by default and I need to explicitly make it to True. I need to re-run the job. The result of the runs might be tomorrow.
In any case, I found that when the job encounter google.api_core.exceptions.Unknown: None No status received that I shared previously, the PTransform throughput drops from ~400MiB/s to 300MiB/s. Do you folks know why this error might occur?

In any case, I found that when the job encounter google.api_core.exceptions.Unknown: None No status received that I shared previously, the PTransform throughput drops from ~400MiB/s to 300MiB/s. Do you folks know why this error might occur?

Yes, we'll need to figure out what's going on with these exceptions -- I don't think we can merge this PR until the issue is root caused.

The fast Avro pipeline finished. And it indeed way faster than python Avro version. It's has the same ~5GiB/s thought put as a regular batch Extract job. So, I believe we're here worker bound(however, it's an assumption that would be nice to back up with data)
Elapsed time
Batch Extract Job - 58 min
BQ Storage with Fast Avro - 1 hours 27 min
But in terms of elapsed time, it got 30min slower. I believe this case because, the job has 3 GRPC errors. Thus, the master had to fail work item and retry on the different place. Each such fail contributed to ~10 min to the total execution time.

Excellent, I'm glad that fastavro has had the desired impact on steady-state throughput. I believe you are correct that the combination of no dynamic work rebalancing and transient work item failures is leading to the increase in overall runtime. We'll look into the latter first.

Excellent, I'm glad that fastavro has had the desired impact on steady-state throughput. I believe you are correct that the combination of no dynamic work rebalancing and transient work item failures is leading to the increase in overall runtime. We'll look into the latter first.

Awesome! Thank you so much for help! I've mailed @vachan-shetty the BQ storage API session ID that processed the failed work item. I hope it helps with troubleshooting

Re:  google.api_core.exceptions.Unknown: None No status received: The package google-cloud-bigquery-storage version 2.6.3 has been released, which adds the "Unknown" gRPC transport error to the list of resumable exceptions. https://github.com/googleapis/python-bigquery-storage/blob/master/CHANGELOG.md#263-2021-08-06

Re: google.api_core.exceptions.Unknown: None No status received: The package google-cloud-bigquery-storage version 2.6.3 has been released, which adds the "Unknown" gRPC transport error to the list of resumable exceptions. https://github.com/googleapis/python-bigquery-storage/blob/master/CHANGELOG.md#263-2021-08-06

Thank you @tswast addressing the issue in PR. I've read description of  https://github.com/googleapis/python-bigquery-storage/issues/262, is there an option to define an exception that related to the stream unexpected closed instead of being a generic "no status" error?
I am wondering, what's the retry policy for this error?

is there an option to define an exception that related to the stream unexpected closed instead of being a generic "no status" error?

@satybald this would be a change in the gRPC core, rather than something in a BigQuery client library. I don't think that it's an unreasonable proposal, but it's a larger discussion than I think we want to tie to this PR.

this would be a change in the gRPC core

That's right. At the moment I'm not seeing a way to disambiguate connection closed from other "unknown" errors.

I've tried to run the pipeline with the new client, and for my case those "no status" gRPC errors are gone. However, the pipeline still runs for 1 hours and 20 min for Runner V2.
However, I am thinking that this issue might be related to Dataflow autoscaler. It took ~30 min for the pipeline to scale to 50 workers.
Autoscaling with 2.6.3 BQ storage client. Pipeline started at 11:50 AM PST

Autoscaling graph for Export pipeline

While running the pipeline with runner V2, I found that pipeline logs significant amount of error i.e. 5K log lines per 5min in the end of the job.
apache_beam.runners.common.PerWindowInvoker.try_split File "apache_beam/runners/common.py", line 1036,
 in apache_beam.runners.common.PerWindowInvoker._try_split
File "/usr/local/lib/python3.7/site-packages/apache_beam/runners/sdf_utils.py", line 124,
in try_split return self._restriction_tracker.try_split(fraction_of_remainder)
File "/usr/local/lib/python3.7/site-packages/apache_beam/io/iobase.py", line 1519,
in try_split return self.restriction.try_split(fraction_of_remainder)
File "/usr/local/lib/python3.7/site-packages/apache_beam/io/iobase.py", line 1459, in
try_split position = self.range_tracker().position_at_fraction(fraction)
File "/usr/local/lib/python3.7/site-packages/apache_beam/io/range_trackers.py", line 325, in position_at_fraction return self._range_tracker.position_at_fraction(fraction)
File "/usr/local/lib/python3.7/site-packages/apache_beam/io/range_trackers.py", line 199,
in position_at_fraction 'get_position_for_fraction_consumed is not applicable for an
' Exception: get_position_for_fraction_consumed is not applicable for an unbounded range

Run PythonDocker PreCommit

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit

Run Python PreCommit

The proposal detailing the changes needed to add Read API support in the Python SDK can be found here.

Is there a consensus on the next steps?


Mono repo support?

With a structure like this:
.
├── .git
├── api/
│   └── package.json
└── app/
    ├── hasLintError.js
    └── package.json

In app/package.json, using @zeit/git-hooks with lint-staged has no effect.
Checking the .git/hooks directory, there are only .sample files in there.
Does that mean @zeit/git-hooks does not work for monorepo packages?

IMO described problems aren't.

What happens when two package.json files use @zeit/git-hooks?

Nothing, it's not your concern.

What happens when two package.json files use different versions of @zeit/git-hooks?

Nothing, it's not your concern too.

What happens when two different projects (not necessarily even package.json-based projects) need to install Git hooks?

This part is a bit hard to implement, but IMO the right way is manage hooks dynamically. Nothing disallow your lib to generate some files. So instead of creating one big hook, generate small dedicated sub-hooks which will be called by git hooks.
It can results to this kind of FS:
/.git/hooks
=> pre-commit
=> pre-commit-scripts/
=> => project1
=> => project2

Where project1 and project2 are the package name into the package.json file.

How do we determine which package.json to evaluate for hooks? By file? What if there are cross-sub-repo dependencies (e.g where something in api/ depends directly on app/)?

Yup, exclusively by the file path nothing else, this is the only way to do something easily compliant with most of monorepo projects and easy to understand. If someone need something more specific he can fork this project and made a PR if it's approach is enough generic for some uses case. Your main goal as maintainer is providing a reliable feature, not considering each exotic cases.

If we evaluate all hooks on commit, then projects with many sub-projects will have all of their hooks run for each Git operation, which means potentially high Git times for simplistic changes.

Point 3 solve this problem naturally

@antoine-pous Unless I'm missing something with how Git works, what you're describing isn't possible in a portable way. It is our concern if we're going to support other projects to use git hooks too - node.js or otherwise.
If you can PR something that proves what you're describing is possible then cool, but AFAIU that's not possible.

I'll made some tests soon to validate my approach, but i don't see why this isn't possible. Hooks files managed by git should be usable as router 🤔

I would like to throw some ideas that could be useful in this discussion.
I have a a repo with 4 micro-services each with his own package.json. I wanted to run some lints rules before do a commit in /app micro-services, but I have the problem that if some of my workmates works in other micro-service, the the hook was triggered.
so i did this small script and change my package.json configuration to run it.
I need it to use husky to make it work
"husky": {
    "hooks": {
      "pre-push": "sh husky.sh"
    }
  },

#!/bin/bash

SRC_PATTERN="app/"

if git diff @{push} --cached --name-only | grep --quiet "$SRC_PATTERN"
then
  npm run lint && npm run type-check
else
  exit 0
fi

this will check if the changes to be pushed is part of the folder that this hook belong.
that would be the ideal solution.

If you have a monoRepo, the hook would check where the git-hooks was installed or where you have packages.json with a valid git-hooks configuration and save this locations for later use.
git-hooks will then check which paths changes happen and trigger the task in each package.json where the files where modify.
e.g.
this is your repo structure

-app
  |- app.js
  |- package.json // pre-push: "npm lint"
- api
  |- api.js
  |- package.json  // pre-push: "npm test"
- utils
  |- index.js
  |- package.json  // no hook

if you modify api.js only npm test is execute,
if you modify any file inside /app then npm lint is execute
if you change any file in /utils  nothing happen
if you modify app.js, api.js and utils/index.js, then npm lint and npm lint is executed

Been nearly a year, any update on monorepo support or is husky v4 still the way to go?

@itpropro Any updates would otherwise show up on this issue, so no. If you need that support, Husky might be able to do it for you.


License a bit annoying for a template: consider CC0, instead?

Obviously, this is entirely up to you, but I do think imposing permanent license requirements, including attribution, on projects created from a template is a bit onerous.
I went from "oh neat, a template I can use to get started quickly" to "oh, it dropped a LICENSE file in there, I wonder what it chose for me... oh, I don't mind MIT but now I'm thinking about what license I want to use for this project, rather than what I wanted to build and that feels pretty derailing."
You might consider CC0, instead. And just mention that in the readme and that folks are free to choose their own license for their project, instead of pre-creating a LICENSE file in the project for them.
Regardless, thanks so much for such a helpful starter template!

Thanks for pointing this out -- this was not something that any thought has been put into. I've switched it to the Unlicense and will add a note to the README.


Howdy from TX!

My name is Noah Labhart, I'm the Owner, Lead Mobile Developer at Touchtap (http://touchtap.io). We develop beautiful native mobile experiences (apps) for iOS & Android. I've been developing software for 10ish years, and mobile apps for 3ish. I've been using git for the last couple of years, and really dig it.
Interesting fact about me is for stress relief, relaxation, I like to split wood.

Look forward to seeing you tomorrow, Noah!


Update documentation

This adds installation instructions to the README, fleshes out the
contributing guide, and adds the github url to setup.py.
Rendered version here: https://github.com/JordonPhillips/awsprocesscreds/tree/installation

Codecov Report

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

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   98.07%   98.07%
=======================================
  Files           5        5
  Lines         311      311
  Branches       42       42
=======================================
  Hits          305      305
  Misses          3        3
  Partials        3        3

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 bd4c0a4...605e47c. Read the comment docs.


how to detect if lsp is enabled?

Say I wanted to automatically format and lint on file operations for several filetypes.
Depending on the machine, I could have lsp configured or not.
To integrate this logic, how would I find out if lsp is enabled and/or running?

You can check if lsp is loaded with something like this
try %{
    nop %opt{lsp_cmd}
    echo using lsp
} catch %{
    echo no lsp
}

As for checking if it is enabled, I'm not sure if there's a proper way yet. You can use the same hack that lsp-enable uses:
try %{
    add-highlighter global/lsp_references ranges lsp_references
    echo lsp is not enabled globally
    remove-highlighter global/lsp_references # clean up
} catch %{
    echo lsp is enabled globally
}

Thanks.
Would be great if there was a way, like an option that was set by lsp if it was enabled.


fix: SubNav background should be white

Fixes #24.

Already fixed in https://github.com/containous/faency/pull/27


[WIP] Reduce .NET Core deps, handle running as root, conditional install

This is an improved install script that addresses the following issues:

.NET Core 2.1 has fewer dependencies than 2.0, so the script is now reduced to known 2.1 deps only.
The script no longer requires sudo when running as root
The script can optionally skip keyring or browser integration dependencies (via args)
The script gracefully waits for existing dpkg operations to complete on Debian/Ubuntu based distros
Adds Alpine Linux support

Testing on Linux desktop distros:

Open a terminal in the distro you want to test
Be sure wget is available - install it if not
Run:   wget -O ~/vsls-reqs https://raw.githubusercontent.com/MicrosoftDocs/live-share/netcore21-linuxdeps-update/scripts/linux-prereqs.sh && chmod +x ~/vsls-reqs && ~/vsls-reqs

Testing with Debian/Ubuntu based Docker images:
docker run -it --rm <image> bash
apt update && apt install wget
wget -O ~/vsls-reqs https://raw.githubusercontent.com/MicrosoftDocs/live-share/netcore21-linuxdeps-update/scripts/linux-prereqs.sh && chmod +x ~/vsls-reqs && ~/vsls-reqs

Testing with Alpine Linux based Docker images:
docker run -it --rm <image> sh
apk add wget
wget -O ~/vsls-reqs https://raw.githubusercontent.com/MicrosoftDocs/live-share/netcore21-linuxdeps-update/scripts/linux-prereqs.sh && chmod +x ~/vsls-reqs && ~/vsls-reqs

At this point, I’ve tested it on:

Ubuntu 18.04, Kubuntu 18.04, Xubuntu 18.04
Debian 9 (with libssl1.0.0 installed too)
Fedora 28
CentOS 7
openSUSE Leap 15
Manajro XFCE 17.1 (Arch Linux)
Solus 3

It has also been tested with the following Docker images:

debian
ubuntu
node
alpine
node:alpine


Can the cards implementation be released to a closed alpha?

The implementation of few of the card types is finished #709
They are still things to fix #754
After items on #754 are finished.
Can we release that as part of a closed alpha as stand alone component?
We can use swinkas front-end devs to try it out.

@joseegm See #775.

@xak
Any date on that?

@joseegm See #775

@xak
#775 have no date anywhere.

It is in progress. It can be released once the dependent reviews are complete. See #775


⚠ Samsung has degraded performance

In c83548d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2577 ms

Resolved: Samsung performance has improved in bb32dbe.


requesting apoc-#.#.#.#-core.jar be available from maven

 Issue by Dcanzano
Wednesday Aug 04, 2021 at 19:46 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/2147

Feature description (Mandatory)
requesting apoc--core.jar, i.e. the same which is delivered to labs/ be available via a maven repository.  Today the only thing available it apoc--all.jar
How this feature can improve the project?
Would like to download apoc--core.jar via maven as it is same as what is in labs\

 Comment by klauspgross
Friday Aug 20, 2021 at 18:47 GMT

We are using only the capabilities exposed in the core in our product and don't want to include the entire tar ball of apoc in our deployment.  To do this, our CI/CD pipeline requires a maven repository and we don't want to maintain our own for apoc-core maven repo

Hey @Dcanzano, the jars for core will be published for the 5.x version onwards: https://mvnrepository.com/artifact/org.neo4j.procedure/apoc-core/5.0.0 💃


How to draw bi-directional and unidirectional channels?

In the TAM / Block section, I can find request-response channels but I am missing bi-directional (no R ▶) and unidirectional (→○→) channels.

The plug-in adds two buttons to the toolbar. One of them is changing the directions of request-response arrow. It has 3 states: bidi, and two uni-directional.
in bidirectional, the R is removed.
mare you expecting something more?

Thank you for your prompt reply! In fact, I was not aware of the "Flip Use Direction" menu item.
I am still missing the "unidirectional communication channel" as visible here.


Update @azure/msal-node to v1.16.0

Hopefully addresses https://github.com/microsoft/azuredatastudio/issues/22227 (reported issues) with v1.16.0 of @azure/msal-node npm package.
v1.16.0 Release notes for ref: https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-node-v1.16.0
The previous update attempt could have been fine, but due to today's AAD issues, it got me worried if insiders was reproducing issues due to this update. But I updated and verified again and it looks good to go!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.01%) to 41.96%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/dialog/configurePython/configurePathPage.ts
1
57.02%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28811

Relevant Lines:
63751

💛  - Coveralls


Strip padding from ffe-grid

Which package is this issue related to?
ffe-grid
Describe your issue (screenshots welcome!)
I'm using the .ffe-grid class on a <ul> element. In webkit, padding is then added to the <ul> element via -webkit-padding-start which is applied by the browser directly to the element.

What is the expected behavior?
I expect my grid to occupy the full width of the screen, it does not do that when the content gets padding.

Seems like stripping / setting padding and margin values is a fair assumption to make.

Ah, perfect. I just came to create an issue for this now and someone was nice enough to have already done it yesterday. I'll look into this right now! 😜


update MSRV to 1.75.0 in Cargo.toml

Follow-up to ddfa81ea8323f0886a6f7212955d7504d4968083. Ran into this when trying to run tests on master.

Thanks


Package Requested SQL Server Express [2019]

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information if you can:
Publisher: Microsoft
Publisher Url: https://www.microsoft.com
Package Name: Microsoft® SQL Server® 2019 Express
Package Url: https://www.microsoft.com/en-us/Download/details.aspx?id=101064 (just installation helper, not program itself)
Description: Microsoft® SQL Server® 2019 Express, ideally add other versions (2017, ...) too
Package Version: tbd
Installer URL: tbd

Fixed by #30090

Package name: Microsoft.SQLServer.2019.Express was deleted by #59196, so this issue requires triage.
cc: @denelon

Individual package requests:

#69114
#69115
#85885
#85884

I saw that there was already 2019, but I listed 2022 yesterday. Do you still need 2017?
Ps. The MSSQL has no full .exe install type, only the initial install .exe type.

In that case, I will try to launch it online.

@xtqqczze confirm it.

As shown in the screenshot above, the package has been added
Close with reason: Package added;


cmake: use swig_add_modules if cmake > 3.7

swig_add_module has been deprecated
Signed-off-by: Brendan Le Foll<EMAIL_ADDRESS>

Thanks very much, Merged.


rerunning pull on a modifiable yes project prompts for profile selection three times

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
12.4.0
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Describe the bug
On studio disabled project, running amplify pull --appId  and selecting yes and rerunning the command prompts for profile three times
https://github.com/aws-amplify/amplify-cli/assets/87995712/a08f816c-9eb6-4568-966c-8704e1e28d3d
doesnt occur on a project that didnt have studio enabled before.
Expected behavior
prompt for profile one time.
Reproduction steps

create a new application on AWS console
disable studio
create empty folder locally
run amplify pull --appId <app-id> with the app-id filled in. select yes for allow modifying backend
rerun command and observe it prompts for profile three times

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

I was able to reproduce this using the following steps:

create a new Amplify app in the AWS Console with Amplify Studio enabled
pull the app into a directory amplify pull --appId <your-app-id> --envName dev
the CLI will prompt to log in with Studio, complete this flow
(you will see an entry created in ~/.amplify/admin/config.json -- shown below)
in AWS Console, disable Amplify Studio for this app
create a new, sibling directory pull the same project using the same command from step 2
the CLI will prompt for an AWS Profile, choose a profile
(you will see amplify/.config/local-aws-info.json is set to amplifyAdmin)
run the same pull command to fetch updates, notice the CLI prompts for AWS profile 3 times and allows you to eventually proceed
amplify/.config/local-aws-info.json is never updated with the AWS profile choice despite not selecting Amplify Studio in the pull flow in this new directory

➜  cat ~/.amplify/admin/config.json | grep 'd41edawdugrvo'
  "d41edawdugrvo": {

marking as a bug


[fix] CI's error

Description
Please explain the changes you made here.
Requirements / Checklist

[ ] Read the Contributing Guidelines
[ ] Read or at least glanced at the FAQ
[ ] Read or at least glanced at the Wiki
[ ] Scripts execute without error (if necessary):

If any of the scripts were modified they have been tested and execute without error, e.g.:

./font-patcher Inconsolata.otf --fontawesome --octicons --pomicons
./gotta-patch-em-all-font-patcher\!.sh Hermit

[ ] Extended the README and documentation if necessary, e.g. You added a new font please update the table

What does this Pull Request (PR) do?
How should this be manually tested?
Any background context you can provide?
What are the relevant tickets (if any)?
Screenshots (if appropriate or helpful)

CI has passed.


Use node16 for GitHub Actions, instead of deprecated node12

Context
GitHub Actions log warnings about using deprecated node 12. This is the message:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: game-ci/unity-builder
Suggested solution
Update the actions to use node 16.
Additional details

Fixed by https://github.com/game-ci/unity-builder/pull/465


add: gamescope-git

missing libopenvr-dev in trixie

Please merge vkroots

oh no bug found :(

I think https://github.com/pacstall/pacstall/blob/af069bc541d90a7c0f382c8cffd8125e99c95a75/misc/scripts/fetch-sources.sh#L434 needs to be [@] instead of [*] to fix this

@oklopfer are we good for unblocking this?

Not sure why provides is not catching here. Will see if we check makedepends differently.

@Xdavius noble + bookworm both failing with:
Dependency wayland-server found: NO found 1.22.0 but need: '>=1.23' (cached)

@Xdavius noble + bookworm both failing with:
Dependency wayland-server found: NO found 1.22.0 but need: '>=1.23' (cached)

I see 🙈

@Xdavius noble + bookworm both failing with:
Dependency wayland-server found: NO found 1.22.0 but need: '>=1.23' (cached)

https://gitlab.archlinux.org/archlinux/packaging/packages/wayland/-/blob/main/PKGBUILD?ref_type=heads
Well... When I got time...

https://github.com/pacstall/pacstall-programs/pull/6389

ERROR: File //usr/share/wayland-protocols/stable/linux-dmabuf/linux-dmabuf-v1.xml does not exist.
wayland-protocol pacdeps missing

wayland-protocols package is on the apt repos (at least on noble)

On 24.04 but not the others. I'm ill and when I will better I will have a look to everything...


Best Practices- missing links

Some of the Identity Best Practices do not have links to the supporting documentation, please add them.
Actually, having the separate Implementing Identity Best Practices section with the links at the end of the document in a little bit confusing, it would be a little bit easier to follow the text if those links were included in the specific section, maybe as a link to Implementation Guidance/Instructions or something similar

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: def43e94-5049-5848-e385-dda52e7bd3dc
Version Independent ID: 32cea313-ec24-f5b2-02bf-3cbe5a355a13
Content: Identity and Access Management in Azure
Content Source: docs/security/identity.md
Service: architecture-center
Sub-service: cloud-design-principles
GitHub Login: @PageWriter-MSFT
Microsoft Alias: pnp

Hi @DeanGross - Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

AB#160264 - Thanks for reporting - this issue is under review

Thank you for this feedback, I've cleaned up the article and it will be updated in the next publish.


Default for model not applied to command line

When omitting --model from the command line (I have no config file), I get the following error:
error: the following required arguments were not provided:
  --model <MODEL>

Usage: heygpt --model <MODEL> --api-key <API_KEY> --api-base-url <API_BASE_URL> [PROMPT]...

For more information, try '--help'.

despite these https://github.com/fuyufjh/heygpt/blob/3be31cb78971380de02f8f370658be931f1c645c/src/main.rs#L33-L35
I've never worked with ClapSerde, and it looks like an issue on their part, but the following dublication fixes it for me.
diff --git a/src/main.rs b/src/main.rs
index 7263c4c..f0ba36d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -31,7 +31,7 @@ struct Options {

     /// The model to query (default: gpt-3.5-turbo)
     #[default(String::from("gpt-3.5-turbo"))]
-    #[arg(long)]
+    #[arg(long, default_value = "gpt-3.5-turbo")]
     pub model: String,

     /// OpenAI API key

Thanks for your work!

Right. It's the problem of upstream ClapSerde. However, the changes proposed above may cause another problem - the value of "model" in config file (if exists) will always be overridden by "gpt-3.5-turbo".
To work around the problem, the only solution I can think of is to write lots of boilerplate code to manually parse arguments, such as
let opts_from_file = { ...read opts... }
...
clap::Arg::new("model")
    .long("model")
    .default_value(opts_from_file.model)

That means we can't use the macro to derive clap args anymore...


Formula Driven Definitions & Schema Tree Enhancement

Problem description
The current schema tree doesn't directly correspond to methodological formula's, although methodologies are invoked via schema's and tools this could be improved from a definition alignment to the formula that exists in the PDF.
The objective is to enable users to view human readable mathematical representations of the calculation functionality of policies whenever they look at relevant schemas, policies or documents with data. Furthermore, they should be able to see how the values are calculated, i.e. which field in a schema or a document maps to what variable in the displayed math formula so they have an opportunity to manually check the result.
Schema tree view should display a hierarchy of formulas it represents, mapping variables in the formula to fields in schemas.
Requirements

Introduce a UI component, or 2 separate but compatible components, into the Guardian which can display mathematical formulas in a format familiar to the user (like formulas in a LaTex documents of PDFs). These formulas should be interactive, i.e.:

at the viewing time individual elements of the formulas should be clickable so users can drill into the variables and see corresponding schemas/documents.
users should be able to input formulas (in a formula editor) of sufficient complexity to cover all VCM cases

Enable policy authors to map schema tree structures to formulas, linking the fields and variables so Guardian UI can display them as per point above
Enhance Guardian schema, policy and VC/VPs views to display the formulas whenever they are available.
Introduce the ability for policy authors to generate schema templates/trees based on the formulas they input into the formula editor (see above). These generated schemas should be generated in a way that they are automatically linked with the formula definition which enables interactivity.
Introduce the ability to attach a PDF file to the schemas/formulas at the policy/schema creation time so the original source of the math can be traced to the original paper.
Enhance schema tree view to display the formulas alongside schemas.

Definition of done

Policy authors can input a formula, generate new or link it to the existing schema tree structure, enhance it with additional properties (e.g. attach a 'source document' or add more fields), and use it in the policy as if it's been manually created by them (as it is done now).
Users viewing policies, schemas, and documents can see the formulas are associated with them, explore the components of these formulas all the way down to the fundamental data level, and see the source document if available.

Acceptance criteria
Users can link formulas in paper documents/standards to the exact elements of policies that implement them.

@Neurone @justin-atwell @sergmetelin FYI

@anvabr File is good, maybe we should make link optional? What I'd suggest is we find a way to push page (similar to archive.org) + File separately


Allow Honda Nidec vehicles with comma pedal to drive at max speed.

Description
Without this fix Honda Nidec vehicles with the comma pedal will drive around 2 mph under the max speed. Current code does not take into account if your are using a comma pedal with a Nidec vehicle and doesn't allow acceleration near cruise_speed. This fix removes those limits if you are using a comma pedal.
Verification
Drove around for weeks with this fix. Temporarily reverted this fix to check if this was indeed the culprit.
Route
Route: f1aabec98068b718|2023-01-08--15-28-36--2

This has bugged me to no end. So excited!

@VirtuallyChris let me know with a route if you can test it!

@sshane sent on Discord!


Not yet authorized after power down/power up device

Briefly summarize your issue:
AVS 1.7.1 works on my device.
But there's a strange issue, It will show NOT YET AUTHORIZED if I power down then power up device.
Even if I authorized it and it worked before power down.
What is the expected behavior?
It should not show NOT YET AUTHORIZED and let AVS on my device work.
What behavior are you observing?
If I type "reboot" to reset my device in Linux shell, AVS will work and won't show NOT YET AUTHORIZED.
Provide the steps to reproduce the issue, if applicable:
1.Boot up the device,run AVS and enter the authorize code if needed.
2.Power down the device by unplug the AC charger.
3.Power up device and run AVS, it will show NOT YET AUTHORIZED.
Tell us about your environment:
Generic Linux, Debian.
What version of the AVS Device SDK are you using?
  <1.7.1>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[V] Other - tell us more: Embedded Linux

Tell us about your OS (Type & version):

[V] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

alexa_power_on_not_authorize_report.log

Hello askquestin,
The log you provided only shows activity after the reboot.  In that log it appears that the database for CBLAuthDelegate does not contain a refresh token.  Without a saved refresh token the authorization process needs to start over.  You might look in to where you have located the CBLAuthDelegate database (it is specified in AlexaClientSDKConfig.json) and see if there is something in your workflow that is somehow overwriting that database.
There could also be a problem with the saving of the refresh token in your database.  To look for that we would need logs from the session before you power off the device.
And, of course, abruptly powering off your device may be causing the contents of the file to be lost.  You may need to specialize the the storage object used by CBLAuthDelegate to assure that the contents are flushed at each update such that the update will persist across pulling the plug on your device.
Best regards,
-SWH

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Display environment idling status in the Dashboard

This feature request is coming from the GovCMS-land:
We have tickets raised by customers, to report that their secondary environments "are not working". 99% of the times, this is because the environment has been auto-idled. So the environment comes back up after a while.
The problem here is that there is no way to indicate that the environment is idled and will spin back up in a few minutes. So this request is to at the very least display an indicator in the Dashboard, showing the idling status of each environment. This can be either one or both of the following:

Display an indication in the Dashboard, in each environment tile in the environment overview page of each project.
Display blue ribbon message across the top of the page when drilling down to each individual environment in the Dashboard.

PS: Something to consider implementing in the future if possible, is the same sort of indication tagboat.qa has, which is shown to the person trying to access the actual site:

Unfortunately showing the idling status of an environment in the UI is not that easy, as the idling is triggered by Lagoon (so we could show an indication that an environment has been idled) but the un-idling is completely controlled and executed internally by OpenShift. Right now there is no webhook or other system that Lagoon could connect too that would inform Lagoon as soon an environment is un-idled.
Another problem is that the unidling actually happens on service level and not environment level, so technically it is possible that some services (like redis) are idled, while other services (nginx/php) are not (for example in the case where a redis is defined in docker-compose.yml but actually not connected in Drupal. So again this would make it very hard for Lagoon to actually know if an environment is idled or not.
Overall the problem with customers reporting that the environments are not working has mostly to do with a slightly overloaded cluster. The triggering of the unidling actually happens within 10ms, but what takes time is the scheduling and starting of the pods, which is slow if the cluster is overloaded. So on clusters that have enough resource capacities available the unidling happens within 1-2 secs and customers are not complaining (we use unidling on other clusters at amazeeio).
Plus we are working on reimplementing the idle/unidle system for Kubernetes as within Vanilla Kubernetes there is no such system at all (we're using a feature only available for OpenShift). Our plan with the Kubernetes implementation is to have a visual indicator for visitors that their environment is currently unidling. So as soon as this is ready we could use the same system also for OpenShift and would provide a better experience for everybody. Until then (probably couple months), the best would be to give the cluster more capacity and therefore faster pod start times.

With the idling in Kubernetes, it could be possible for us display if an environment is idled in the UI/API. The new lagoon-idler/aergia controller could potentially handle this action when it does the idling/unidling operations.


[Question] is it possible to run this on an Ubuntu cloud server?

I've been trying to run this on Ubuntu, and everything seems to be working fine up until it detects an item in stock, and then I get errors. I've tested the SMTP relay and Docker and they both seem to be working fine. I don't have a raspberry pi but I already had the Ubuntu server for another project and figured it could do.
After I run the program with ./docker_run.bash -c /root/inventory-hunter/config/newegg_rtx_3070.yaml -e<EMAIL_ADDRESS>-r [smtp.gmail.com]:587, the logs look normal until it gets to the 2070 Super, then it logs it as in stock and then I get the following errors:
Traceback (most recent call last):
  File "/src/run.py", line 32, in main
    hunt(args, config, driver)
  File "/src/hunter.py", line 121, in hunt
    engine.run()
  File "/src/hunter.py", line 43, in run
    self.scheduler.run(blocking=True)
  File "/usr/local/lib/python3.9/sched.py", line 151, in run
    action(*argument, **kwargs)
  File "/src/hunter.py", line 58, in tick
    self.process_scrape_result(s, result)
  File "/src/hunter.py", line 95, in process_scrape_result
    self.send_alert(s, result, f'now in stock at {current_price}!')
  File "/src/hunter.py", line 116, in send_alert
    self.alerter(result.alert_subject, result.alert_content)
  File "/src/hunter.py", line 27, in __call__
    with smtplib.SMTP(self.relay) as s:
  File "/usr/local/lib/python3.9/smtplib.py", line 253, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/local/lib/python3.9/smtplib.py", line 339, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/local/lib/python3.9/smtplib.py", line 310, in _get_socket
    return socket.create_connection((host, port), timeout,
  File "/usr/local/lib/python3.9/socket.py", line 822, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

I tried looking at the source code and I couldn't figure out if it was a compatibility problem or it I was missing something, but my python knowledge is very limited. Any help would be appreciated.

Replace -r [smtp.gmail.com]:587 with -r <IP_ADDRESS> - that server and port should be configured already in the SMTP relay you configured.

I used -r 127.0.01 instead and I get an almost identical error. I'm running on a more recent version of Ubuntu (20.10), I'm not sure if that could be causing problems.

In case you are still having issues setting up an SMTP relay, please consider using Discord or Slack: https://github.com/EricJMarti/inventory-hunter/issues/37#issuecomment-736900742


Add zlib 1.2.12

This yanks version 1.2.11 due to CVE-2018-25032

@Wyverald @meteorcloudy I'm guessing that yanked_versions isn't implemented yet given that this is attempting to build zlib at 1.2.11 after yanking it?
Has bazel upstream updated to 1.2.12 zlib yet?

Ah this is because bcr_presubmit.py sees zlib 1.2.11 as having been changed and so tries to build it. Should I be leaving the build files in place for 1.2.11 when yanking it?

as of right now, Bazel itself uses 1.2.11 (https://github.com/bazelbuild/bazel/tree/master/third_party/zlib)
Our original vision of yanking is simply that new usages will be disallowed, but the module still remains in the registry for whoever had already been using this version. So what we need to implement in Bazel is the "disallow new usage" part.

Ok - so I've updated the PR now to leave the 1.2.11 build files present to make bcr_presubmit.py happy. However, I have removed 1.2.11 from the versions list and this seems to work ok, packages with a dep on 1.2.11 are resolving to 1.2.12 from what I can see.

packages with a dep on 1.2.11 are resolving to 1.2.12 from what I can see.

That sounds strange. I'm pretty sure the "versions" field is not read by Bazel at the moment.

packages with a dep on 1.2.11 are resolving to 1.2.12 from what I can see.

That sounds strange. I'm pretty sure the "versions" field is not read by Bazel at the moment.

Ah my bad - the repo I was testing it with had an explicit dep on 1.2.12.

@meteorcloudy I've added 1.2.11 back into the list of versions on this PR. Given bazel doesn't currently do anything with the yanked_versions field I think its ok to leave it marked as yanked here to show the future intent to actually handle this.
I think this PR is good to go though otherwise?


feat: add function to plot wordcloud

I will add tests for generate_cloud soon

Please don't merge this into the main branch yet. I still need to include the extract_hashtag function and include tests

This branch is ready for merging now


Update acme_diags to v1

Once @chengzhuzhang and @zshaheen give the green light, update acme_processflow to use acme_diags v1. (Can't wait to make use of it).

@sterlingbaldwin : do you have an estimate when you might be able to get this to work? I need to decide whether I should generate the figures by hand.

@chengzhuzhang and I are okay with Sterling integrating acme_diags into the processflow.
@sterlingbaldwin, to get the latest version in your env, do the following:

conda clean --all: removes all downloaded Ananconda packages that were cached. This is because the new package is also 1.0.0 and otherwise, it won't get the latest one.
conda install acme_diags -c acme -c conda-forge -c uvcdat: make sure you're getting 1.0.0 and not some older version.
conda install mesalib -c conda-forge -c uvcdat: used for the vcs backend.

where there any changes from how users interact with it? Like any commandline arg changes, or changes to the parameter file?

From the version you were using, no. The only changes were how we handled colormaps, so nothing you really need to worry about.


fibo-fnd-acc-cur:Currency specializes Identifier

It can be inferred that fibo-fnd-acc-cur:Currency is a subclass of LCC's identifier:

I feel that this is not correct as currencies do not uniquely identify anything.
The reason for this misclassification is, I think, that hasNumericCode property, which describes fibo-fnd-acc-cur:Currency, is a subproperty of hasTag property, whose domain is LCC's identifier.
Anyway, if this is the correct specialization, perhaps we should make it explicit by adding the appropriate tripe to the ontology.

@mereolog I ran into this recently as well, and corrected the hasNumericCode property such that it is no longer a subproperty of hasTag.  You might want to pull from master and see if the problem has been fixed.

@mereolog I ran into this recently as well, and corrected the hasNumericCode property such that it is no longer a subproperty of hasTag.  You might want to pull from master and see if the problem has been fixed.

Yes, this is now fixed.


arbiterList pointer clearing added

This change fixes endless CP_BODY_FOREACH_ARBITER loop bug.

That prevents the infinite loop from happening, but it does so by deleting the contact graph and breaking the sleeping objects feature. For now, you are better off using the space->sleepTimeThreshold = INFINITY workaround.


Remove unused files from npm package

Keep downloaded tarball small.

@davepacheco  this change would be much appreciated!

My apologies (as always) for the slowness on this.  This is a good idea, but I'll probably change this to use .npmignore rather than whitelisting files because I think it would be surprising behavior if we added new files and that broke the published package.  I have not gotten a chance to do this because I've got some substantial changes on a separate branch that I've been hoping to integrate "any day now" for several weeks.

Closing in favor of #34.


Headers required for api

How to find required headers for an api of flower in format api/tasks .
When api is running and server have no task/data then it runs successfully and show empty dictionary but when there is some tasks/data on server then it shows error  500:internal server error. How I can solve this issue?

Check your front end part. Data keys should be the same with backend.

Try to host the API in a different place.

Hi @Poojakalher
Thanks for opening this issue ;)
We have some problems with Public APIs, so we won't be able to review/add this improvement right now.
Read this issue for more information, please: https://github.com/public-apis/public-apis/issues/3104