About dealing with an exception

When I invoke the procedure 'semantics.importRDF' it reports:
org.neo4j.driver.v1.exceptions.ClientException: Failed to invoke procedure semantics.importRDF: Caused by: org.openrdf.rio.UnsupportedRDFormatException: Did not recognise RDF format object Turtle (mimeTypes=text/turtle, application/x-turtle; ext=ttl)

I have changed a little bit about the code,but I didn't change anything about the interface of the code,why does this happen and how to deal with it?

Hi,
I'm afraid I'm going to need some more info to try and help you.
Can you send the complete invocation semantics.importRDF(...) and the source RDF file you're trying to load (or at least a sample of it).
Also when you say you've changed the code you mean you've branched the source modified and compiled your own jar? If that is the case I'd need the source too ;-)
Cheers,
JB.

I didn't create a new branch.I just download the source code,create a new maven project,copy the pom.xml and the source code to my new project,and then change some code,and then package it.Here are a list about my change,after that I'll show you my code:
1.I changed the 'languageFilter' so that it can filter more than one languages;
2.My purpose of using this procedure is to import Freebase into the community edition of neo4j,so I change something about the namespace mapping on the creatation of prefix;
3.I also changed the 'shorten' concept so that it can 'shorten' both of the sub,obj and pre of a triple;
4.According to the freebase data dump,I add the freebase's type concept as Label for nodes;
5.For multivalued properties,I don't overwrite it but store it using ';' as values' seperator;
By the way,I'm chinese and I hope you can understand my pool English's meaning.....
When I invoke the procedure I use:
call semantics.importRDF("file:///home/xhx/freebase/freebase_0000","Turtle",
{shortenUrls:true,typeToLabels:true,languageFilter:['en','zh']})
I only changed the RDFImport.java and DirectStatementLoader.java with the procedures no parameter and their data type has been changed.Here are the files:
DirectStatementLoader.txt
RDFImport.txt
pom.txt
Just change the file's suffix you can get the original file.
If you still have question,just ask me.I will be very thankful if you can help me.

I cut the freebase data dump into 1044 pieces,and here is one of them,it is a little large:
freebase_00000.txt
The original file name is 'freebase_0000' without the '.txt' suffix.

I cut the freebase data dump into 1044 pieces,and here is one of them,Here are a sample:
freebase_00000.txt
The original file name is 'freebase_0000' without the '.txt' suffix.

I'll be left about 20 minutes  for dinner, waiting for your reply ,thank you!

Hi, can you post the full stack trace?
Check in the neo4j.log for the details of the UnsupportedRDFormatException

just wait for a moment...

I found a new problem in my project,I have to know the edition of the maven-shade-plugin that you use when you package the JAR....

I am now trying another time.....

Yes, it looks like a build issue.
Make sure you bundle in the jar all the different dependencies for all the RDF serialization formats (RDFXML, Turtle, NTriples, etc.)
Let me know how it goes.

BTW, this Idea of extending the language filter to a list of values to enable multi-language filter sounds interesting, if you want to create a PR, I'd be happy to include it.

Ok,I will fix the build problem first,after that I will create a PR.

Yes!!! It is a build problem,I just fixed it!!Thank you for your help!!

Glad to hear.
Enjoy.
JB.


Improved search API

Improved search API
The ability to use all features of the API through a regex-like design (such as functional conditions to filter things like class names, member name/types, etc.) would allow for high-precision searches.
Other potential changes:

The ability to combine search queries together with differing aggregation modes

Merging all results, keeping only the common results, etc.

Configs for saving search patterns allowing commonly occurring searches to be easily accessible with minimal effort
Simplified search window

Not tabbed, instead a dropdown of the saved pattern configs would dynamically swap out controls for filling out search parameters
Advanced features hidden under something like "Show advanced options" for a simplified presentation

Running actions on the results

See #151 for more details

Originally from: #116 - Efficiency Improvments

Are some of these points overkill? I've been trying to make the UI simpler and easier to use, so I'm going to air on the side of yes, they are. Programmatically, result aggregation is supported.
These points may be revisited later after some consideration.


I see output like \�&�x�5�;�*D��3�A� on page

Hello,
I see output like \�&�x�5�;�*D��3�A� on page while tring to download excelsheet. Am I missing anything?

use exit() afer $xlsx->downloadAs

use exit() afer $xlsx->downloadAs

Thanks a lot!


Forget password feature

Add forget password feature
Some columns are added, please try to migrate if you want to test.

I got an OperationalError when I wanted to reset password.

It should be fixed now, please check it.

I received an email, but after clicking the link, I got

I didn't encounter that problem QAQ

It's ok now @@
However, no matter which user I use, the URL always bring me to henry's profile

Both URLs redirect to this page

This is because I made a terribly stupid mistake.
You should have witnessed it!

It's fixed now

My omission QQ

I got 403

How did you get this?

I can not re-produce the bug..
+1

@bruce3557 please check

+1, going to merge


Filter service groups and services by disconnected status

:nut_and_bolt: Description: What code changed, and why?
Users want to know which services are disconnected from automate so they can remediate problems. We currently have badges for disconnected services but no way to filter for them.
:chains: Related Resources
#1780
:athletic_shoe: How to Build and Test the Change
Build:

build components/automate-ui
start_all_services

Sample Data:
Generating the sample data is time-sensitive since the data generator doesn't create health check messages with timestamps in the past. What I did was:

run applications_populate_database
Wait 5m
run it again

Then within the next 5 minutes:

Filter for environment: production, this reduces the data down to 5 service groups
Click the service groups disconnected status filter, there should be only 4 matching service groups (the group wizrd.default should be filtered out and not visible)
All the service groups visible on the page should have 1/2 of the services disconnected. Select one of the service groups, then click the services disconnected status filter, the services list should be refreshed with only the disconnected service(s) visible.

:camera: Screenshots, if applicable
not-selected:

hover:

selected:

lean version in the side panel:

Dan demoed it to me, everything looks perfect! 🎆 🍾 🎊


Use it at GitHub Pages

Hello! Can it support GitHub Pages? Just let github to deploy it and use git to manage content/blogs. I forked this repo but GitHub deployed README.md as homepage. How can I use app.vue as homepage?

For github you need to generate file using "npm run generate" command. And
serve the generated dist file.
On Mon, Apr 8, 2024, 2:43 PM Zheng Yixiao @.***> wrote:

Hello! Can it support GitHub Pages? Just let github to deploy it and use
git to manage content/blogs. I forked this repo but GitHub deployed
README.md as homepage. How can I use app.vue as homepage?
—
Reply to this email directly, view it on GitHub
https://github.com/nurRiyad/nuxt-blog/issues/48, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKY6LIWZKVLYXQB7E7CJJY3Y4JKDLAVCNFSM6AAAAABF4IF6K2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTANRRGIZTKNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Command to test connection string and help debug

Getting the connection string of your database right can be quite a challenge if you never had to deal with that in the past. Typical problems are the hostnames, the general syntax of the connection string, and especially special settings for SSL and similar.
We could build a command that just tries to connect to the database and tries to help debug the connection string. It could check for: Protocol, Hostname, Port, correct format of query string (?..=..?..=.. vs ?..=..&..=..), correct usage of SSL query strings, missing schema etc.

This should be a part of prisma status (see https://github.com/prisma/specs/issues/400)

Related: https://github.com/prisma/prisma/issues/1994

@janpio If I have not mistaken, is https://github.com/prisma/prisma/blob/master/src/packages/client/src/utils/setupMSSQL.ts the correct file to operate? I'm new to the codeBase and if you could guide me to fix this issue, I would be very happy.

What I described above, is probably not super interesting to us any more - it does not seem to be a big problem to users after all.


OSX docs for generic installation of app generator

Added OSX documentation for app generator generic installation
Fixes #1574

@Shailesh351 I think separation of docs will be better as linux one is fairly simple

@mahikaw Please add common docs in one place as Shailesh suggested

@iamareebjamal As you had pointed out earlier wouldn't there be less confusion for newcomers if we do them separately.

I saw this now that most of the part is same. You can write pointers for OSX users below each point

okay cool. I am clubbing the common part then.


[PREVIEW] ISPN-9723 Passivation and Activation needs to be non blocking

Unfortunately Passivation touches many other parts of the system and couldn't be converted just piece meal. This includes non blocking eviction (allowing notifications to be done outside of the actual eviction), write skew and non blocking CacheLoader loading (and subsequently storing to DataContainer).

Write skew still has a few code changes to propagate the non blocking aspect, but will be added soon.

Also I noticed I forgot about off heap segmented off heap eviction and explicit evict for DataContainer to be non blocking.

Only 1 related test failure still left https://ci.infinispan.org/job/Infinispan/job/PR-7168/5/testReport/junit/org.infinispan.stats/ClusteredStatsTest/testStats_StorageType_OBJECT__EvictionType_COUNT_/
I am currently unable to reproduce it though.

Tests all passed last run, but one. https://ci.infinispan.org/job/Infinispan/job/PR-7168/8/testReport/org.infinispan.server.test.configs/ExampleConfigsIT/testRemoteCacheStoreConfig/ I am not sure if it is related, but will check into it.

I also have to clean up PR a bit to remove comments and other housekeeping.

With a fix for https://issues.jboss.org/browse/ISPN-10454 included CI appears to be passing now.

Ran an additional run last night and another intermittent failure has shown up. From the error I am assuming the problem is that the entry was not passivated to the store before the cache was stopped and the entry was lost. I need to handle this case.

run performance tests please

Updated to clean up code - still no docs, but that can be added later.


Use DAD for IPv6 address assignment

Use DAD, but now we're on a newer kernel we can use optimistic addresses while the kernel is settling.
This should make IPv6 networking available / come up faster.

I need to fix the buildkite build by having it pull in a newer kernel. :|.

I need to fix the buildkite build by having it pull in a newer kernel. :|.

Alternatively, I could add logic to check if /proc/sys/net/ipv/default/optimistic_dad exists. Does anyone have a preference?

Alternatively, I could add logic to check if /proc/sys/net/ipv/default/optimistic_dad exists. Does anyone have a preference?

Alternatively, I could add logic to check if /proc/sys/net/ipv/default/optimistic_dad exists. Does anyone have a preference?

Let's add this check - I'm betting that I'm not the only one that's running tests on an older kernel.

Alternatively, I could add logic to check if /proc/sys/net/ipv/default/optimistic_dad exists. Does anyone have a preference?

Let's add this check - I'm betting that I'm not the only one that's running tests on an older kernel.


Fix #11681. Emit change event when multiple kernels are registered.

Fixes #11681.
This PR made two changes:

Emit change event when multiple notebook controllers are created in a kernel finder update event cycle.
Ensure that we have controllers registered from a remote server when the remote server is added

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #11685 (df8a2ac) into main (ecad7ae) will increase coverage by 0%.
The diff coverage is 23%.

@@           Coverage Diff           @@
##            main   #11685    +/-   ##
=======================================
  Coverage     61%      62%
=======================================
  Files        483      483
  Lines      34362    34397    +35
  Branches    5571     5578     +7
=======================================
+ Hits       21245    21574   +329
+ Misses     11018    10761   -257
+ Partials    2099     2062    -37

Impacted Files
Coverage Δ

src/notebooks/controllers/types.ts
100% <ø> (ø)

src/standalone/api/api.ts
33% <3%> (-15%)
:arrow_down:

...rc/notebooks/controllers/controllerRegistration.ts
85% <80%> (+6%)
:arrow_up:

src/notebooks/controllers/controllerLoader.ts
92% <100%> (+4%)
:arrow_up:

.../standalone/survey/dataScienceSurveyBanner.node.ts
66% <0%> (-6%)
:arrow_down:

...c/platform/common/process/pythonDaemonPool.node.ts
78% <0%> (-2%)
:arrow_down:

src/platform/common/cancellation.ts
66% <0%> (-2%)
:arrow_down:

src/kernels/debuggerStartupCodeProvider.ts
100% <0%> (ø)

...c/kernels/execution/cellExecutionMessageHandler.ts
77% <0%> (+<1%)
:arrow_up:

src/kernels/kernel.ts
82% <0%> (+<1%)
:arrow_up:

... and 45 more


Business rules engine implementation

System Increment Definition of Ready (DoR)
Before being accepted into a Program Increment each feature:

[ ] Meets the INVEST criteria (Independent, Negotiable, Valuable, Estimate-able, Small, Testable)
[ ] Has a clearly defined user
[ ] Has an estimate
[ ] Has acceptance criteria
[ ] Has sufficient context, such as
User Research
Wireframes/UI Design
Data Conversion (completed)
System Requirements (in progress)
[ ] Traceable to feature, epic or PI
[ ] Dependencies are identified
[ ] Component reusability assessed

Feature Benefit
Validate submitted data against EPA check specifications
Context
BRE architectural diagram: https://github.com/US-EPA-CAMD/diagrams/blob/develop/EPA CAMD BRE Check Engine.pdf
Outcome by end of PI4:

[ ] Figure out the structure of the table and storing rules for the database design model.
[ ] Understand how engine works in queuing work and knowing how to pick up work. Understand order of magnitude for checks
[ ] Figure out best way to populate source objects
[ ] Figure out hierarchical structure of source objects and how to feed into rules
[ ] Tool is purchased: confirmation that this will happen relatively soon. The license will be purchased under the ERG contract as EPA property.
[ ] Work plan for loading rules (what rules get loaded, who is doing what)
[ ] Create a design of the engine that will pull the data through the rules in the proper order.
[ ] Set up the UI front-end to create rules, write them, and store them in a Postgres database.

Previous steps taken:
For discussion during Program Backlog Refinement (3/8/21)

High-level timeline for BRE work in future PIs
When to engage with ERG and hold a kickoff meeting with them - confirmed that will be in the week of March 22.
When to obtain the BRE licenses

Pre-Reqs:

Project kick off - CVP and EPA will have a meeting before the ERG kickoff meeting to determine agenda.
Determine scope for BRE - Dwayne will send an estimate for existing checks for Monitoring Plan by Friday 3/12.
ERG engagement plan - ERG engagement meeting will be scheduled for the week of March 22 (sprint 3.4). CVP and EPA will meet once before to determine agenda.

Outcome by end of I&P sprint before PI4:

Maintain an understanding of what the work will look like.

Epic no longer needed


I cannot edit a record that has been registered by me but is from an other researcher (without admin rights)

Bug
I cannot edit a record that has been registered by me but is from an other researcher (without admin rights)
If possible, can this be fixed by Tuesday? If not, I'll communicate some plans have to change.
Steps to reproduce

Go to Biblio
View as https://telefoonboek.prd.rad.ugent.be/nl/people/801001529425
Search for publication number 8770669 https://backoffice.biblio.ugent.be/publication/8770669?redirect-url=%2Fpublication
Try to edit it

None of the publications that were added by this person are editable by them – even if they are not unlocked.

This record is marked as "legacy".  These records can't be edited by researchers. They can be edited by librarians. This user doesn't have a librarian role.

A record can not be edited by a researcher when:

its status is "deleted".
it's marked as "legacy".
it's locked.
the user didn't create the record.
the user isn't added as an author, editor or supervisor.

The record can be edited by librarians, except when it is marked as "deleted".  Deleted records are kept in the database as a tombstone and shouldn't be visible via the search index.

Thanks @netsensei!
@nics was there a reason to not let researchers edit "legacy" records? The person that needs to edit is not allowed to have a librarian account.
If we could remove that for legacy records, that would be great. Reason:

People from the public services help out with adding and editing old records (postkotje)
A lot of those records are old records, created before the new Biblio.
Some got flagged as "legacy"
People from the public services, without a librarian account, cannot edit these records.

This is a hierarchy and rights management issue


[ISSUE-176][BUG] Handle RegisterWorker use wrong worker info when trigger lost event

What changes were proposed in this pull request?
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

LGTM. Thanks.


Added a logger for the schema endpoint v2 route

This is a temporary logger for the "src = null" problem research

here is how it looks like
SchemasEndpoint v2: Request url http://... with header User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36


Use dot to get value by object property name for components

What do you think if we allow using components nested in objects. Like for React.Fragment?
React.Fragment
  Icons.Open
  Icons.Close

I'm not sure but there is a chance that we can understand if React or Icons in example above are not components and then go deeper and provide real components by resolving the whole chain: React.Fragment and Icons.Open. I can investigate this.
The other option is to prohibit class names start with up-case. It's a serious restriction, so I would like to investigate the first option and discuss both with you before creating a PR.

Hm, I made a mistake. It must be not possible to get any extra field from imported things, because babel does not resolve imports itself, or it will be extremely complicated. So we have only one way to do that: treat class names which start from up-case as a property always.

The other option would be to use xml style namespacing:
React:Fragment
  Icons:Open
  Icons:Close

@ForbesLindesay I like this option but I had been afraid that it might confuse, so I asked some feedback from my colleagues. No one was positive about this, mostly because it's unusual and not obvious.
For our purposes I created a separate plugin for babel which takes jsx and convert it to what we need by checking the first letter: ezhlobo/babel-plugin-transform-jsx-classname-components.
It requires more work on babel end, so it might be not ideal for everyone. So my final suggestion is not to do anything with this. But what thoughts do you have?

I think on the whole, you can handle this by just doing const Fragment = React.Fragment; so it's probably fine to just leave this as is.

Agreed.


🐛 [Design Fix]: Page is not working without refreshing page after resized browser window when hamburger menu is open

Descrcibe the bug?
Any page is not working without refreshing the page after resized browser window to greater than 768px when hamburger menu is expanded.
Steps to reproduce the bug?

Resize browser window less than 768px on desktop.
Click on hamburger menu
Resize browser window greater than 768px.
The page breaks

Expected behavior
Hide expanded hamburger menu after resized browser window greater than 768px
Desktop (Please provide your system information)

OS: MacOS
Browser safari, chrome, mozilla

Mobile (Please provide your device information)
No response
Screenshot / Screenshare
less than 768px

greater than 768px

Relevant log output
please assign to me

Code of Conduct

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

I fixed the issue and ready to create pull request. please assign to me


Error running the generator script

Script:
//> using dep "com.olvind.typo::typo:0.3.0"
//> using dep "com.olvind.typo::typo-dsl-doobie:0.3.0"
//> using scala "3.3.1"

import typo.*

// adapt to your instance and credentials
implicit val c: java.sql.Connection =
  java.sql.DriverManager.getConnection("jdbc:postgresql://localhost:5432/postgres?user=postgres&password=***")

val options = Options(
  // customize package name for generated code
  pkg = "com.prx.db",
  // pick your database library
  dbLib = Some(DbLibName.Doobie),
  jsonLibs = Nil,
  // many more possibilities for customization here
  // ...
)

// current folder, where you run the script from
val location = java.nio.file.Path.of(sys.props("user.dir"))

// destination folder. All files in this dir will be overwritten!
val targetDir = location.resolve("generator")

// where typo will look for sql files
val scriptsFolder = location.resolve("sql")

generateFromDb(options, scriptsPaths = List(scriptsFolder))
  .overwriteFolder(folder = targetDir)

The error I've got is:
typo: fetched tableConstraints from PG in 192ms
typo: fetched keyColumnUsage from PG in 9ms
typo: fetched referentialConstraints from PG in 25ms
typo: fetched pgEnums from PG in 5ms
typo: fetched tables from PG in 49ms
typo: fetched columns from PG in 258ms
Exception in thread "main" org.postgresql.util.PSQLException: ERROR: IN could not convert type character to "char"
  Position: 650
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2401)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:368)
        at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:498)
        at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:415)
        at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:190)
        at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:134)
        at anorm.Sql.resultSet$$anonfun$1$$anonfun$1(Anorm.scala:97)
        at resource.DefaultManagedResource.open(AbstractManagedResource.scala:107)
        at resource.AbstractManagedResource.acquireFor(AbstractManagedResource.scala:84)
        at resource.ManagedResourceOperations$$anon$1.$anonfun$acquireFor$1(ManagedResourceOperations.scala:47)
        at resource.AbstractManagedResource.$anonfun$acquireFor$1(AbstractManagedResource.scala:85)
        at scala.util.control.Exception$Catch.$anonfun$either$1(Exception.scala:251)
        at scala.util.control.Exception$Catch.apply(Exception.scala:227)
        at scala.util.control.Exception$Catch.either(Exception.scala:251)
        at resource.AbstractManagedResource.acquireFor(AbstractManagedResource.scala:85)
        at resource.ManagedResourceOperations$$anon$1.acquireFor(ManagedResourceOperations.scala:47)
        at resource.DeferredExtractableManagedResource.acquireFor(AbstractManagedResource.scala:25)
        at resource.ManagedResourceOperations.apply(ManagedResourceOperations.scala:31)
        at resource.ManagedResourceOperations.apply$(ManagedResourceOperations.scala:31)
        at resource.DeferredExtractableManagedResource.apply(AbstractManagedResource.scala:22)
        at resource.ManagedResourceOperations.acquireAndGet(ManagedResourceOperations.scala:29)
        at resource.ManagedResourceOperations.acquireAndGet$(ManagedResourceOperations.scala:29)
        at resource.DeferredExtractableManagedResource.acquireAndGet(AbstractManagedResource.scala:22)
        at anorm.Sql$.asTry$$anonfun$1(Anorm.scala:263)
        at scala.util.Try$.apply(Try.scala:210)
        at anorm.Sql$.asTry(Anorm.scala:263)
        at anorm.WithResult.asTry(SqlResult.scala:215)
        at anorm.WithResult.asTry$(SqlResult.scala:47)
        at anorm.SimpleSql.asTry(SimpleSql.scala:6)
        at anorm.WithResult.as(SqlResult.scala:205)
        at anorm.WithResult.as$(SqlResult.scala:47)
        at anorm.SimpleSql.as(SimpleSql.scala:6)
        at typo.generated.custom.view_find_all.ViewFindAllSqlRepoImpl$.apply(ViewFindAllSqlRepoImpl.scala:33)
        at typo.MetaDb$Input$.fromDb$$anonfun$7(MetaDb.scala:57)
        at typo.MetaDb$Input$.timed$1(MetaDb.scala:44)
        at typo.MetaDb$Input$.fromDb(MetaDb.scala:57)
        at typo.MetaDb$.fromDb(MetaDb.scala:66)
        at typo.generateFromDb$.apply(generateFromDb.scala:12)
        at GenDb$_.<init>(GenDb.sc:30)
        at GenDb_sc$.script$lzyINIT1(GenDb.sc:47)
        at GenDb_sc$.script(GenDb.sc:47)
        at GenDb_sc$.main(GenDb.sc:51)
        at GenDb_sc.main(GenDb.sc)

It would have been very nice if it showed more information about the current context.

This query fails:
SELECT nc.oid                                        as table_oid,
                   nc.nspname::information_schema.sql_identifier AS table_schema,
                   c.relname::information_schema.sql_identifier  AS table_name,
                   c.relkind,
                   CASE
                       WHEN pg_has_role(c.relowner, 'USAGE'::text) THEN pg_get_viewdef(c.oid)
                       ELSE NULL::text
                       END::information_schema.character_data    AS view_definition
            FROM pg_namespace nc,
                 pg_class c
            WHERE c.relnamespace = nc.oid
              AND c.relkind in ('m'::"char", 'v'::char)
            order by 1, 2, 3

ERROR:  IN could not convert type character to "char"
LINE 12:               AND c.relkind in ('m'::"char", 'v'::char)
I am executing it against a postgresql 12 database.

This one works:
SELECT nc.oid                                        as table_oid,
                   nc.nspname::information_schema.sql_identifier AS table_schema,
                   c.relname::information_schema.sql_identifier  AS table_name,
                   c.relkind,
                   CASE
                       WHEN pg_has_role(c.relowner, 'USAGE'::text) THEN pg_get_viewdef(c.oid)
                       ELSE NULL::text
                       END::information_schema.character_data    AS view_definition
            FROM pg_namespace nc,
                 pg_class c
            WHERE c.relnamespace = nc.oid
              AND c.relkind in ('m'::"char", 'v'::"char")
            order by 1, 2, 3

I added double-quotes: 'v'::"char"

Thanks! I haven't tested it against anything older than 14.

Are you going to "fix" the query so it's going to work with older versions of the database?
Thanks

I can do a PR if you want

Absolutely, let's fix it! If it's easy for you to update the sql file, rerun bleep generate-sources and so feel free to give it a shot, if not I can fix it tonight I think.
I'm not sure if the contributing docs are up to par, but you would be a fine guinea pig for that

It would be great if you can fix it (whenever you have time).

Thank you!


Handle large multiline string with backquotes

See #6

The file you manually changed is generated (by js/build-browser.js)
You'll want to change js/build-browser.js rather than just the generated file.

FYI e58a0097fefd4afbca73940b24ddd777b5f379e9 should fix your issues with the go compiler crashing on windows — no more string concatenation in gotalk.js.go.

Thanks!


[k8s-extension] Update extension CLI to v1.3.0

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

k8s-extension

Could you add some test cases for those change?

Could you add some test cases for those change?

Currently we test for each partner extension in our forked repository (pr creation) before requesting for merging changes upstream, unfortunately currently we cannot include provisionedClusters in our tests as they need special hardware requirements which is not currently supportable. It is being worked on and could be added in the future.
pr initiated CI check - https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/k8s-extension/public/testing/pipeline/k8s-custom-pipelines.yml
CI check for each partner extension - https://github.com/AzureArcForKubernetes/azure-cli-extensions/tree/k8s-extension/public/testing/test/extensions/public

Also, all the extension requests for provisionedcluster works in the same way(same behavior) as for other cluster types


Expose pointer to underlying AVCodecContext

In fact, I propose adding similar methods to all C wrapper structs for better interoperability with client codes. Also, a reciprocal method/function to convert client's unsafe.Pointers to their corresponding go-astiav bindings.

Good idea, could you also add a test similar to this?

Thanks for the PR ❤
Let me know whether you need a tag 👍


New PR to test SignCLA at 2018-03-07 10:45:16.448613422 -0800 PST m=+5.578178590

Body of PR

corp-pass-staging: test succeeded


⚠ Spryr has degraded performance

In 32a4a6d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3211 ms

Resolved: Spryr performance has improved in 8f2e404 after 10 minutes.


Display volunteer count

Display total registered volunteers count in the home page or sub pages will be goood

Am working over it

https://keralarescue.in/dmodash/ .. has the stats but a volunteers count in the main page would be nice

Make sure it's not db intensive, if its on the main page

The total count is calculating in the below page for pagination purpose. Show the total there.  One more thing, make the search filter "district" mandatory, otherwise, it will count the entire 75600 records from DB which is not necessary.
https://keralarescue.in/volunteerdata

Is this okey?  Everything is cached!

@jerinisready How is the cache invalidated?

The total count is calculating in the below page for pagination purpose. Show the total there. One more thing, make the search filter "district" mandatory, otherwise, it will count the entire 75600 records from DB which is not necessary.
https://keralarescue.in/volunteerdata

what about applying view caching accross this data?

?

with default timeout! should i manually invalidate with updation on creation of records??

Yes. The cache should be invalidated on every update/creation of records.
Does showing the count on the home page really useful?

Yes. The cache should be invalidated on every update/creation of records.
Does showing the count on the home page really useful?

@sreenadh  Probably this will take a lot of public interest. what about continuing communication at slack? share handles here @sreenadh @vigneshhari @tomahawk-pilot. so that we can take care of more issues now! including optimization.

@jerinisready which channel?

'issue1017'   its a locked channel,

started a new one issue1030

started a new one issue1030

@syam in slack

@sreenadh all we need is a volunteer count somewhere in the main site. just to boost morale and more people will signup

Is this done? or is work required?

https://github.com/IEEEKeralaSection/rescuekerala/pull/1036


added kuskClient create staticroute and expanded respective controller

First swing at it.
Still missing testing and unit mock tests.
Signed-off-by: Jasmin Gacic<EMAIL_ADDRESS>

Will (partially?) address #45.


Animals and Plants in Egyptian Hieroglyphs

It has been pointed out that Unicode already contains several pictograms of objects that are also available as emojis. It has been decided to decline L2/15-208 and therefore not make existing hieroglyph characters etc. into emojis but add them separately. Existing sets from actual scripts are however a solid case to build proposals upon or to use for inspiration.
Mammals

[ ] donkey #232
[ ] jackal
[ ] panther (:leopard:)
[x] hippopotamus #105 (Unicode 11)
[x] elephant :elephant:
[x] giraffe :giraffe:
[ ] oryx
[ ] gazelle
[ ] ibex
[x] goat :goat:
[x] baboon (:monkey:  :monkey_face:)
[x] hare (:rabbit:)
[ ] hartebeest

Birds

[ ] vulture, Egyptian vulture #91
[ ] buzzard #229
[ ] falcon #229
[ ] guinea-fowl
[ ] hoopoe
[ ] lawping
[ ] northern bald ibis, sacred ibis, glossy ibis #344
[ ] flamingo #92
[ ] saddle-billed stork #209
[ ] heron
[ ] cattle egret
[ ] ostrich #93
[ ] cormorant
[ ] swallow
[ ] sparrow
[ ] white-fronted goose #95
[ ] pintail
[ ] widgeon
[ ] quail chick
[x] duckling :baby_chick: :hatched_chick:
[ ] plovers
[ ] crested bird
[ ] spoonbill

Reptiles etc.

[x] gecko :lizard:
[x] turtle :turtle:
[x] crocodile :crocodile:
[x] frog :frog:
[ ] tadpole :frog:
[x] horned viper :snake:
[ ] cobra :snake:
[ ] tilapia

Fish

[ ] barbel
[ ] mullet
[ ] elephant-snout fish
[ ] Petrocephalus bane
[ ] puffer :blowfish:
[ ] catfish #321

Insects etc.

[ ] dung beetle :beetle:
[x] bee :bee:
[ ] fly #150
[x] locust :crickets:
[x] centipede :bug:
[x] shell :shell:

Plants

[x] palm :palm_tree:
[ ] lotus :white_flower:
[ ] papyrus
[ ] reed
[ ] rush
[ ] sedge
[x] lily :blossom: :fleur_de_lis:
[ ] flowering sedge
[ ] emmer :ear_of_rice:

Proposals

L2/15-208

Standard References

Unicode Technical Standard 51 “Unicode Emoji” (beta)
How to propose emojis to Unicode
Unicode document submission form

The decision of the UTC was correct.
Dingbats, which are intended for text decoration and ornaments may also have a rather strict appearance, but they do not have any meaning. On the other hand, map and transport symbols and smilies may have a meaning, but give the font designer much more freedom.
Hieroglyphs, however, do not qualify to either of these categories, since they are graphemes with a fixed appearance and a fixed meaning. Emoji, however, explicitly are not graphemes as they lack a meaning or a defined appearance and therefore may have different interpretations or their look vary among different vendors.

I agree, for what it’s worth.

Tilapia is listed as a proposal under reptiles. It is a fish, not a reptile.


controller not working

I am using an xbox 360 controller with windows 10

Please provide more details than just one sentence. Which framework game were you trying to use the controller on in particular? What does "not working" mean?

Also please provide the specific model of xbox 360 controller, and whether you were using it in wired or wireless mode.


Feature: Add createDocumentJSON Function in @lexical/file for Generating .lexical JSON in Headless Environments

I have a trouble during creating a AWS lambda function to generate a .lexical formatted JSON file from a yjs shared type(YDoc).
The existing exportFile function in the @lexical/file package is designed for browser environments and includes functionality for downloading files, which is not suitable for my headless environment needs.
So I wrote function that make .lexical alternatively but I concern about the long-term compatibility.
https://github.com/facebook/lexical/blob/5d61ab28edcd8ffe44e5411dcdf089e44dae4bc9/packages/lexical-file/src/fileImportExport.ts#L66
So I want  createDocumentJSON function in the @lexical/file package. This function should enable the export of .lexical compatible JSON specifically for headless environments like below.
createDocumentJSON(editor, config): DocumentJSON

serializedDocumentFromEditorState from #6028 does this


_puppet$ is not defined

What version of million are you using?
2.6.0-beta.10
Are you using an SSR adapter? If so, which one?
Nextjs
What package manager are you using?
yarn
What operating system are you using?
Mac
What browser are you using?
Arc
Describe the Bug
I run yarn dev
I see error
- error components/user-auth-form.tsx (141:16) @ _puppet$
- error ReferenceError: _puppet$ is not defined
    at _puppet$2.svg (./components/user-auth-form.tsx:286:89)
  139 |   _3
  140 | }) => {
> 141 |   return <slot><_puppet$ _={_} _2={_2} />{_3}</slot>;
      |                ^
  142 | }, {
  143 |   svg: false,
  144 |   shouldUpdate: (a, b) => a?._ !== b?._ || a?._2 !== b?._2 || a?._3 !== b?._3

I narrowed it down by commenting out code in my component. I commented this out and it worked.
https://github.com/dillionverma/llm.report/blob/5e06c37d0a09fcf745a809e0d09bc4b7f8526111/components/user-auth-form.tsx#L122-L131
    {/*

            Or continue with

 */}

And then it works fine
- event compiled client and server successfully in 1242 ms (1728 modules)
- wait compiling /api/auth/[...nextauth] (client and server)...
- event compiled successfully in 51 ms (875 modules)

What's the expected result?
yarn dev should start server
Link to Minimal Reproducible Example
git clone https://github.com/dillionverma/llm.report
cd llm.report
yarn
yarn dx

# uncomment million.js in next.config.mjs

yarn dev

Participation

[ ] I am willing to submit a pull request for this issue.

I have the same issue.

const _puppet$2 = /*million:transform*/_block$(({
  _,
  _2
}) => {
  return <slot><_puppet$ _={_} />{_2}</slot>; // <------- this error
}, {
  svg: false,
  shouldUpdate: (a, b) => a?._ !== b?._ || a?._2 !== b?._2
});

I'm using SVGR Playground to create SVG component:
https://react-svgr.com/playground/?typescript=true
I also had warnings about {...props} in svg.
import { SVGProps } from "react";

function SvgComponent(props: SVGProps<SVGSVGElement>) {
  return (
    <svg
      {...props}   //  <----- this, compile error message stating that it is not fully supported.
      viewBox="0 0 91 63"
      >
      <path d="..." />
    </svg>
  );
}

@dillionverma @CamiloGPT Pushed a fix in v2.6.0-beta.11, let me know if it fixes the issue

tried it again - fix worked 🎉
million is back in llm.report


File transport's logstash format creates logstash events in outdated format

The format of logstash events has been changed as of logstash v1.2.0. Please find a detailed description overthere: http://blog.tpa.me.uk/2013/11/20/logstash-v1-1-v1-2-json-event-layout-format-change/
As  the logstash option will be dropped from the File transport with v1.0.0 of winston (see #452),
I don't want to raise a "change issue" but instead document how to solve this with custom Formatters:
var winston = require('winston');
var logger = new (winston.Logger)({
  transports: [
    new (winston.transports.File)({
      filename: 'somefile.log',
      formatter: function(options) {
        var logstashOutput = options.meta;
        logstashOutput['@timestamp'] = new Date().toISOString();
        logstashOutput.level = options.level;
        logstashOutput.message = options.message || '';
        if (options.label) { logstashOutput.label = options.label; }
        return JSON.stringify(logstashOutput);
      }
    })
  ]
});

Any suggestions how to improve this?

Thanks @goerge. Will add the "faq" label so folks can find this more easily.


The endpoint "/collector/item/type/{collectorType}" is only working for build collector items

I have Build, AgileTool and SCM collector items in the database, but the endpoint "/collector/item/type/{collectorType}" only returns the collector items for "Build" type.
Build -

SCM -

AgileTool -

Hi pasan96, can you post the logs of your scm collector? My initial guess is that your collector isn't successfully connecting to your db instance.

@pasan96: Please feel free to respond to Matt. Also could you please share your collectors data as it exists in your database . Thanks !

@matthewbeasley @subodhbattina  Sorry for the delay, I'm pretty sure that the collector is runing fine, all the data is available in the db,
Collector Items collection-

Collectors collection-

I'm also receiving the relevant data such as commits and features from the relevant tools...

Hi @pasan96:
Following up on this issue:
After some research in my local environment what I noticed is:
In the mongo db, in the document "collector_items" there is a property called "description".
If that property has a non-empty value, you will most likely see the response coming back. On the other hand if the property is empty you will get an empty response.
If you manually enter any value into the "description" property in the database, you will see a response.
I am going to have to get back to you how this value gets populated for different collector types.

Its possible that at this point only the build collector has the logic to populate a "collector_item" record with a non-empty value for the "description" property, whereas other collectors don't do that and so don't have a response coming back. Thanks !


internal/core/eval: value alias does not work with list value

What version of CUE are you using (cue version)?

$ cue version
cue version +37bf801b linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
exec cue export x.cue

-- x.cue --
package x

y: X = [1, 2, X[0]]

What did you expect to see?
{
    "y": [
        1,
        2,
        1
    ]
}

What did you see instead?
y.2: index out of range [0] with length 0:
    ./x.cue:3:17

My understanding from the spec is that this should work, because only the value alias before a list element is not yet implemented: this is before the list itself.

It is correct that this should be supported. At the present it is not, though.

This issue has been migrated to https://github.com/cue-lang/cue/issues/1003.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Error Handling (WIP)

So far I've added exceptions for errors occurring in the RestClient layer. I've also added some tweaks for handling nulls in case of not founds, as well as a property to determine whether or not to throw exceptions when items aren't found.
I'm not done testing yet and would like some feedback on how to handle nulls as well as any other errors that I haven't considered yet.
In relation to issues: #182 #194 #235 #270

Looks really good.
Nulls
For nulls, I'd prefer that if the ThrowOnNotFound option was set, we threw errors on api calls (which this PR does, iirc). When it's not set, we return nulls and generally try as much as possible to not throw errors.. Perhaps we should go through all "throw new" statements...
Internally. There was one place in RestResponse where you returned default. This should not happen. Calling "GetObject" or anything like it is an error, if the IsValid is false.
Perhaps ThrowOnNotFound should be ThrowOnApiErrors, or even ThrowExceptions. We probably shouldn't constrain ourselves to "Not Found" in particular.
Exceptions
As for exceptions, I imagine we can do something like this:

TMDbException -- Our base, just inherits from Exception

APIException -- Our base for all things API (higher level stuff); Includes the TMDb Status Message object

NotFoundException
APIRequestRateLimitException -- One could argue that this doesn't fit in API, but should be in protocol

ProtocolException -- Our base for all things protocol

GeneralHttpException -- An exception with HTTP Status Code, for all the other things in http

Another more flat approach:

TMDbException -- Our base, just inherits from Exception

APIException -- Our base for all things API (higher level stuff); Includes the TMDb Status Message object

NotFoundException
APIRequestRateLimitException

GeneralHttpException -- An exception with HTTP Status Code, for all the other things in http

The problem with returning nulls directly from SendInternal is that there is quite a lot of code that still runs to deserialize and transform the result into an object. I wasn't exactly sure how to handle it, making sure that the actual result returned is null (hence the default(T)).
Furthermore, wouldn't we like to distinguish between throwing errors on "not founds" and general errors?

Throwing not founds, generals etc. happens all the way down in RestResponse. So that's already "handled".
What we need to figure out is what happens when we don't throw errors.
I now remember all the touchup happening afterwards. Jibbers. That code shouldn't run if there is no object to run on. Having a default(T) and then patching in something afterwards is bad -- then we'll end with something with nothing of value, except and identifier stating that this (empty) object represents something something of "this" id.
Encapsulating this patchning to an action would equally be bad, as it's more complex and less forgiving .. (something like client.DoRequestInternal<T>(uri, Action<T> postProcessAction) -- postProcess will only be called if no errors happened).
Hrmm.. We could change the internal request, to a Try* pattern. Something like this.
bool client.TryDoRequest<T>(uri, ..., out T result)

This will force the consumers (us, internally) to remind ourselves that this can "not-fail" but still "fail".

I think I might have covered most of the cases where we should return null now. Any further comments, changes etc?

I'm looking through the code now in VS with R# - I'm doing a number of its suggested changes. I'll also take a look at the SendInternal method.. :)

Wow. The test suite needs a serious round of cleanup.

@FrederikBolding I've tried reordering the operations a bit in the SendInternal. I've tried combining the error handling to one place, while returning quickly for successes.
Likewise, I now only consider responses with JSON as being successfull, as iirc we never return streams of stuff (The images are links to elsewhere).

Looks good! 😄 - With regards to testing I've attempted to clean up and fix a bunch of tests in #253


Setup a docker container for Web Server

Build container with a fresh copy of a specified version of Ngnix
Uses a “secret” configuration including:

Specified IP and port to allow web traffic (possibly non-standard)
Specified IP and port to send web traffic to the Django container (possibly non-standard)

Includes X509 certificates to enable HTTPS - possibly from Let’s Encrypt
Includes any hardening needed for production

After further research by Shelby, the web server will probably not be Nginx.

I am not sure of that either, I just wanted the issue title to be more server-agnostic


Fix a bunch of clippy lints

I'm planning on working on more, but there are some that I'm not sure about:
warning: large size difference between variants
    --> vm/src/pyobject.rs:1251:5
     |
1251 | /     Frame {
1252 | |         frame: Frame,
1253 | |     },
     | |_____^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
help: consider boxing the large fields to reduce the total size of the enum
     |
1252 |         frame: Box<Frame>,
     |                ^^^^^^^^^^

There are a few of ^these, and I don't know what the tradeoff would be between size/box performance. I'll probably do it, it'll just take a lot of refactoring.
warning: the function has a cyclomatic complexity of 33
   --> vm/src/compile.rs:150:5
    |
150 | /     fn compile_statement(&mut self, statement: &ast::LocatedStatement) -> Result<(), CompileError> {
151 | |         trace!("Compiling {:?}", statement);
152 | |         self.set_source_location(&statement.location);
153 | |
...   |
671 | |         Ok(())
672 | |     }
    | |_____^
    |
    = note: #[warn(clippy::cyclomatic_complexity)] on by default
    = help: you could split it up into multiple smaller functions
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity

Also 2 of ^these; basically just saying that the function is 500 LOC and you should probably split it up. I might tackle this one too, it'll just take some time.
warning: consider using `Option<T>` instead of `Option<Option<T>>` or a custom enum if you need to distinguish all 3 cases
  --> vm/src/bytecode.rs:22:18
   |
22 |     pub varargs: Option<Option<String>>, // *args or *
   |                  ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(clippy::option_option)] on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_option

For this and varkwargs, are the three states: No varargs, varargs without a variable to bind to, and varargs with a variable to bind to? I'm not really familiar with the rustpython bytecode.

Codecov Report

Merging #580 into master will decrease coverage by 0.03%.
The diff coverage is 31.57%.

@@            Coverage Diff             @@
##           master     #580      +/-   ##
==========================================
- Coverage   41.81%   41.77%   -0.04%
==========================================
  Files          73       73
  Lines       16557    16557
  Branches     4362     4362
==========================================
- Hits         6923     6917       -6
- Misses       7659     7661       +2
- Partials     1975     1979       +4

Impacted Files
Coverage Δ

vm/src/vm.rs
52.57% <0%> (-0.25%)
:arrow_down:

vm/src/obj/objstr.rs
38.68% <0%> (ø)
:arrow_up:

vm/src/obj/objtype.rs
41.07% <0%> (ø)
:arrow_up:

vm/src/pyobject.rs
59.42% <0%> (-0.76%)
:arrow_down:

vm/src/obj/objcomplex.rs
49.65% <0%> (ø)
:arrow_up:

vm/src/compile.rs
45.84% <100%> (+0.18%)
:arrow_up:

vm/src/obj/objgenerator.rs
44.44% <100%> (ø)
:arrow_up:

vm/src/sysmodule.rs
42.16% <100%> (ø)
:arrow_up:

vm/src/obj/objset.rs
51.72% <100%> (ø)
:arrow_up:

vm/src/import.rs
68.85% <100%> (ø)
:arrow_up:

... and 10 more

Continue to review full report at Codecov.

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

Hey, the clippy build passes now! https://travis-ci.org/RustPython/RustPython/jobs/500644620
It's just warnings, no errors that cause it to completely fail.

warning: large size difference between variants

Note that after #572 and followups, this enum will disappear anyway, so I wouldn't worry about it.
As for the long, core "switches" in compiler and interpreter loop, I'd rather leave them as they are.

Agreed with adrian, I would leave as much as it is. The payload will be refactored to the any type, as suggested elsewhere, so this will solve itself then.


Please update CHEBI:60492 structure (Mg-protoporphyrin)

Hi Adnan,
Please could you update the Mg-bonds of CHEBI:60197 (magnesium protoporphyrin(2−)) accordingly to  CHEBI:60491. There is an issue with CHEBI:60197 Molfile. We cannot process it correctly and it cannot be loaded in the Advanced search of the public website.
Error message:
Error loading molfile.
Error: Assertion failed: s-group forest invalid
Thank you for your support
Best regards, Anne

Structure now updated.


remove link for bugsnaxapi (virus/crypto)

url leads to a dangerous website. one time leads to crypto and other time lead me to a "warning: virus on your computer" page

❤


Generate artificial span information, including source code

Is there any way to generate errors nicely like rust does, that reference the source code and span information, when the code is being embed with quote!() inside a macro that loads that code from an external file?
Context: I'm loading some code from a yaml file within a macro. The file is loaded with serde, and then the macro generates some code with quote taking in some cases rust code input directly from the yaml file. I know it sounds a bit crazy but that's what I need to do.
I wouldn't mind using something like codespan, but the best I think I can manage to do is to show an error referencing the first line of the source code using serdes' "deserialize_with" as proposed by @dtolnay  in https://github.com/alexcrichton/toml-rs/issues/236#issuecomment-386837860 . Which is not ideal although it's a start.
Currently I've got it even worse. the errors I get are similar to this (does not even reference the source code line, as it is from a yaml file):
error[E0616]: field `name` of struct `Misc` is private
 --> my_project/tests/a_test/main.rs:7:1
  |
7 | load_file!("my_project/tests/a_test/main.yml");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |

Currently only files that are loaded and parsed by rustc are given spans that make sense in diagnostics drawn by rustc. If the compiler isn't the one parsing the file, you would need to draw the diagnostics yourself using something like codespan and Span::start / Span::end.


Intermittent error: UNAUTHENTICATED: Request had invalid authentication credentials.

We've been using google cloud speech alongside these nodejs client bindings in production for many months now. Intermittently, we get the following error:
Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

at Object.exports.createStatusError (node_modules/grpc/src/common.js line 87 col 15)
at ClientDuplexStream._emitStatusIfDone (node_modules/grpc/src/client.js line 235 col 26)
at ClientDuplexStream._receiveStatus (node_modules/grpc/src/client.js line 213 col 8)
at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js line 1290 col 15)
at InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js line 564 col 42)
at InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js line 614 col 8)

In the last 30 days, we've received ~100 of these errors from about over 40,000 streaming recognize sessions, so this only happens in about ~0.25% of cases. In all the remaining cases, the streaming recognize works as expected. Note that this problem has been going on since we started using this library, not just for the past month.
Environment details

OS: debian jessie on GCE
Node.js version: 10.13.0
npm version: 6.4.1
@google-cloud/speech version: 2.0.0

Steps to reproduce
There's not a clear reproduction case--this error comes about naturally after running streaming recognizes for some extended period of time. My guess here is that the access tokens are sometimes not refreshed in a timely manner, or perhaps some clock skew is causing them to be invalid.
Here are some issues I've found in the python client libraries that resemble the problem I'm seeing, in case this is useful:

https://github.com/googleapis/google-cloud-python/issues/5014
https://github.com/googleapis/google-cloud-python/issues/2684
https://github.com/googleapis/google-cloud-python/issues/3259

I'll definitely try upgrading to the latest library version as a first step.

We're not seeing this in other languages, so I'm hesitant to think it's a server or frontend issue.
I'm wondering a few things:

Does this library eagerly refresh credentials if expire_time < now - clock_skew_buffer?
How long are these streaming requests?
How long are the clients your using hanging around?
Is it possible that the credentials expire during the stream and the service then closes the stream with unauthenticated?

@sduskis @ajaaym just an FYI, this sounds pretty similar to what we're seeing in PubSub.

@callmehiphop, I agree.  Streaming RPCs need some sort of retry on UNAUTHORIZED, if they've been open for a while.
https://github.com/googleapis/nodejs-pubsub/issues/318 showed similar issues, and it references this same behavior in different languages.

Bringing in @jadekler for the retry grpc discussion 🙃

As @theacodes alluded to in https://github.com/googleapis/nodejs-speech/issues/243#issuecomment-459553924 (question #1), I expect not to need retry on UNAUTHORIZED as long as the auth library is refreshing credentials before the deadline.
Is that not the case in python/java auth? Or, perhaps I'm missing something.
(I defer to @theacodes and @broady who know more about auth and auth refresh than I do, though)

@jadekler, long running streaming APIs have interesting failure modes relating to credentials.  The Token is passed with the RPC is started, but it never changes even when the auth token expires.
Let's say the auth token is 50 minutes old, and a new streaming RPC is started.  If the RPC is open past the auth expiration, the service may send UNAUTHORIZED.

That makes sense, but it doesn't seem like we need that in Go. I guess I don't really understand why. @broady do you know how this stuff works? cc @dfawley

@dfawley mentions it's server-implementation specific. It's definitely plausible that a server might just check once - at the start of the RPC (the long-lived stream). I naively expect this to be the norm? It might be good for a support engineer to help debug the user's project to understand where the error code is coming from, and what exactly caused it.

@bcoe FYI

@callmehiphop aha! this does sound like the same thing; I'm seeing this crop up about 1,000,000 pub/sub requests in the pub/sub API.

@karthikv, we have pushed a fix recently that more eagerly refreshes an access token. Have you still been experiencing this issue using the latest dependencies?

@stephenplusplus We'll try the new version (I assume you're referring to<EMAIL_ADDRESS>or later) and report back if we see the same issue arise!

Yes, exactly. Thank you for linking that, and sounds good!

@stephenplusplus Thanks. I haven't seen this error since switching to the updated auth library, though it occurred quite infrequently for me. The update did take some fiddling though since both nodejs-common and nodejs-pubsub have "google-auth-library": "^5.0.0" - so yarn didn't update the library by default..

@stephenplusplus We haven't experienced any issues in the past week of using the updated library. Thank you!


Comprehend Moderation 0.2

This PR replaces the previous Intent check with the new Prompt Safety check. The logic and steps to enable chain moderation via the Amazon Comprehend service, allowing you to detect and redact PII, Toxic, and Prompt Safety information in the LLM prompt or answer remains unchanged.
This implementation updates the code and configuration types with respect to Prompt Safety.
Usage sample
from langchain_experimental.comprehend_moderation import (BaseModerationConfig,
                                 ModerationPromptSafetyConfig,
                                 ModerationPiiConfig,
                                 ModerationToxicityConfig
)

pii_config = ModerationPiiConfig(
    labels=["SSN"],
    redact=True,
    mask_character="X"
)

toxicity_config = ModerationToxicityConfig(
    threshold=0.5
)

prompt_safety_config = ModerationPromptSafetyConfig(
    threshold=0.5
)

moderation_config = BaseModerationConfig(
    filters=[pii_config, toxicity_config, prompt_safety_config]
)

comp_moderation_with_config = AmazonComprehendModerationChain(
    moderation_config=moderation_config, #specify the configuration
    client=comprehend_client,            #optionally pass the Boto3 Client
    verbose=True
)

template = """Question: {question}

Answer:"""

prompt = PromptTemplate(template=template, input_variables=["question"])

responses = [
    "Final Answer: A credit card number looks like 1289-2321-1123-2387. A fake SSN number looks like 323-22-9980. John Doe's phone number is<PHONE_NUMBER>.",
    "Final Answer: This is a really shitty way of constructing a birdhouse.
]
llm = FakeListLLM(responses=responses)

llm_chain = LLMChain(prompt=prompt, llm=llm)

chain = (
    prompt
    | comp_moderation_with_config
    | {llm_chain.input_keys[0]: lambda x: x['output'] }
    | llm_chain
    | { "input": lambda x: x['text'] }
    | comp_moderation_with_config
)

try:
    response = chain.invoke({"question": "A sample SSN number looks like this<PHONE_NUMBER>. Can you give me some more samples?"})
except Exception as e:
    print(str(e))
else:
    print(response['output'])

Output
> Entering new AmazonComprehendModerationChain chain...
Running AmazonComprehendModerationChain...
Running pii Validation...
Running toxicity Validation...
Running prompt safety Validation...

> Finished chain.

> Entering new AmazonComprehendModerationChain chain...
Running AmazonComprehendModerationChain...
Running pii Validation...
Running toxicity Validation...
Running prompt safety Validation...

> Finished chain.
Final Answer: A credit card number looks like 1289-2321-1123-2387. A fake SSN number looks like XXXXXXXXXXXX John Doe's phone number is<PHONE_NUMBER>.

@baskaryan need your help to move this PR forward. thanks.

cc @3coins

@baskaryan - can you help with this one please?
3coins - anything you would like us to look into or confirm you are good  from your end to move forward ?


未考虑window的兼容性

Clear and concise description of the problem
在处理package.json文件时未考虑windows的路径符问题，match不到直接return了是否可以考虑使用basename进行匹配或者其他方式兼容windows
Suggested solution

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

偶像有空可以处理一下pr，我暂时先修改了发布了一个PNPM Catalog Lens-re自己用着


Add Dependency-Injection Higher-Order Component

RFC: https://github.com/fusionjs/rfcs/pull/11
Depends on: https://github.com/fusionjs/fusion-core/pull/290

@ganemone I've added support for the legacy api if the new context api isn't available. This is easily removed once support for older versions of react is dropped.

That coverage report is wrong.

!merge

Nice! This actually solves this issue https://github.com/fusionjs/fusion-react/issues/106.
Good Job!


fix(react): Campaign introduction text fixes

#500

Pull Request Test Coverage Report for Build 164325930

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 70.432%

Totals

Change from base Build 163443831:
-0.01%

Covered Lines:
1371

Relevant Lines:
1740

💛  - Coveralls


WIP: browser build and tests

Also waiting on: https://github.com/yarnpkg/yarn/pull/2420 (For a cleaner solution to https://github.com/bitjson/typescript-starter/issues/11)

TODO:

hide adapters directory from typedoc
yarn watch seems to be triggering AVA twice on some rebuilds


Liveness and Readiness Documentation, Samples and Small Changes

Changes

Expanded the schema.md document to contain liveness and readiness configuration
Added a sample project and a recipe
Added basic deserialization and validation tests
Changed some logs in ReplicaMonitor to debug, and some logs to information.

About the last point, If service has liveness/readiness with initialDelay of zero, when running tye run you will see some warnings, because it takes time for the service to start accepting requests.
This is okay since the fact that the default for failureThreshold is 3 (and the minimum is 1) accounts for it.
Still, no reason to show warning logs so I've changed these logs to Debug, and other logs that the user should see, to Information.
Problem is that tye run shows debug logs, and there is no way to control it.
Should I create a PR that makes the verbosity of the logs configurable?

Problem is that tye run shows debug logs, and there is no way to control it.
Should I create a PR that makes the verbosity of the logs configurable?

Feel free to change the default to informational and add a way to have different verbosities for logs for run.

Problem is that tye run shows debug logs, and there is no way to control it.
Should I create a PR that makes the verbosity of the logs configurable?

Yeah, feel free to create a follow up PR. Tye deploy currently has -v/ --verbosity option to specify the log level.

@jkotalik any news on this?

This is really good @areller I think we're good to merge this now but I have some general feedback:

We should show using this with the health checks library that ASP.NET Core ships.
Do we avoid the proxy when there are no probes? (We should)

@davidfowl 1. wasn't familiar with the library. going to check it out and make an health check with it.
2. you mean, if a service has a single replica and no probes, do we not create a proxy? we don't https://github.com/dotnet/tye/blob/fc4dc9281665f3274cc8cec3ae9bc572d163e08c/src/Microsoft.Tye.Hosting/ProxyService.cs#L60

you mean, if a service has a single replica and no probes, do we not create a proxy? we don't

Sweet!

@areller I'm going to merge this and then you can send an update based on the ASP.NET Core library,


Update neo4j config in k8s setup to load apoc plugin

Our last migration script in entity-service required the apoc library to be loaded, which is done for docker-compose config (NEO4JLABS_PLUGINS=["apoc"]), but not k8s one.
Add the necessary similar config in kubernetes/neo4j-deployment.yaml.

I tried to provide the required env variables (as in docker-compose.yml) but there were an error in parsing the value of NEO4JLABS_PLUGINS: ["apoc"]
I think we should either:

Use init containers
Build a custom docker image of Neo4j which layers the plugins on top it.

I tried to provide the required env variables (as in docker-compose.yml) but there were an error in parsing the value of NEO4JLABS_PLUGINS: ["apoc"]
I think we should either:

Use init containers

Build a custom docker image of Neo4j which layers the plugins on top of it.

What was the error?

With:

env:
- name: NEO4JLABS_PLUGINS
value: "[apoc]"
parse error: Invalid numeric literal at line 1, column 6

And with:

env:
- name: NEO4JLABS_PLUGINS
value: ["apoc"]
error validating data: ValidationError(Deployment.spec.template.spec.containers[0].env[4].value): invalid type for io.k8s.api.core.v1.EnvVar.value: got "array", expected "string"

* NEO4JLABS_PLUGINS

Did you try such a notation: https://github.com/xclemence/dependencies-graph-chart/blob/f9e89531b221c08008b482ff41f2c7f598dfce85/dependencies-graph/templates/neo4j.yaml#L25?
(which looks similar to what is in https://github.com/helm/charts/blob/master/stable/neo4j/templates/core-configmap.yaml)


rebuild the tutorial implementation completely from scratch with the latest Laravel

I was following the tutorial and the code generated by the latest Laravel differs quite a bit from the code in the tutorial.
Amongst other things, some notable differences are in the routes.php file and all the stuff around Laravel's native auth system.
I'm a Laravel newbie. @lagbox helped me quite a bit in the IRC channel to fill in some blanks that are not mentioned in the tutorial. I plan on sending a pull request for the tutorial repository to add the missing bits.

Why did you delete all the unit tests?

Deleting all the unit test was accidental. I've restored them.
(The tutorial does not mention writing tests.)


Angular 6 support

Bug, feature request, or proposal:
Upgrade dependencies to support NG6
What is the expected behaviour?
Should support angular 6
What is the current behaviour?
It does not support angular  6
What are the steps to reproduce?

NG6 app with @material-extended/mde

What is the use-case or motivation for changing an existing behaviour?
Angular 6 has been released
Which versions of Angular, Material-Extended, OS, TypeScript, browsers are affected?
Angular 6
Other Comments

bump

@skrtheboss @tosehee75
Thanks for the reporting this issue.
If you tag/ping me directly in future I'll see the notifications sooner.
You're welcome to create pull requests with the required Angular 6 changes. I'll get this updated and I should have it published today.

@joejordanbrown Hi, i see that you made the changes, but didn't publish to npm yet?

Looking forward to this update!

same here. Looking forward to it.

@skrtheboss @tosehee75 @eyalhakim @sdornan
Great news the @material-extended/mde package has been released to npm.

@joejordanbrown
Looks awesome, but you forgot to put the @angular/animations in your peer dependencies, or am I wrong?

Cannot find module '@material-extended/mde/popover
I get this error with latest mde 2.0.0

import {MdePopover} from "@material-extended/mde/lib/popover";
Does it change to above?

@tosehee75
Why are you doing deep import of the MdePopover component? Just import it like so import {MdePopover} from "@material-extended/mde";.

@tosehee75
I've done a  StackBlitz here.
Don't know what you are doing wrong, but to me is seems to be working perfectly.

Thanks.
I must have missed it somehow.. Thanks again.

@skrtheboss
Yes, that's correct @angular/animations should have been a peer dependency. It's now amended.


Fixing binge likes

Not sure how this one escaped for so long, but the callback the likes binge passed to getAllPosts should have had three parameters, not two; the posts collection was coming through as NULL, and hard-crashing the bot

huh... yep that's a bug.
it's probably survived because i haven't had the binge option on in my bots for ages.....
and they do tend to auro respawn.
merging.


Additional Message Data for signing only.

So I would like to know If it would be OK to update the Signed and Encrypted Cookies to allow an Addition &[u8] or &str to the Functions parameters to allow users the ability to Append things like IP, UserAgents, JA3 hash to the Message Portion of the Signing procedure. I think by doing it with a &[u8] or &str would allow the users to add whatever Additional information needed for signing without having to insert this information into the cookies value. This will help secure cookies and tie them more Directly to the browser they were created for.
We could do this by creating some new functions that could handle the signing with additional information for the message. Or we could do API breaking changes. Either way I see this as a good way to enhance Security for Cookies.

I'm not sure I follow. Why can't that information be part of the cookie value?

For encrypted cookies it wouldn't matter since it is encrypted, But for signed cookies you don't want this there. If someone were to intercept this then they could simply ensure their IP, User Agent, JA3 finger print all match the end user to be able to reuse the cookie as is. The purpose is so we can make sure an outside threat cant just steal the cookie and reuse it else where. The only time this can not be fully prevented is if they can get all of that information OR if they were capable of using the browser that requested the cookie directly. If they are able to use the browser directly then you are already compromised and there is not much we can do.

It seems you can accomplish what you want by simply hashing those values and then putting the hash in a signed cookie. I don't think we need anything special in this library to support your use-case.


Improve about section

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Let's improve the about text. I feel like we can do better at encouraging students from all backgrounds to apply. An example for this would be https://2018.hackatbrown.org/#section2-about which has a similar goal than ours. Welcome people from all backgrounds on a weekend for learning and experimenting with technology.
Proposal:

HackCU is all about learning, about improving yourself. Spend a weekend with us at the University of Colorado Boulder. We encourage students to take a step out of their comfort zone, to go beyond. Make HackCU your event by experimenting with a new platform, API, or that idea that’s always been in the back of your mind! We will provide the space and the resources for you to express your creativity, ingenuity, and determination to create anything you want to. Whether you’re building your first website, dabbling in Photoshop, or hacking with an Oculus Rift, HackCU is for individuals of all backgrounds and experiences. Join us!

Love it! I say go for it.


Need to update google provisioning doc with recent Gsuite dashboard changes

Is your suggestion related to a missing or misleading document? Please describe.
Gsuite dashboard has changed  it dashboard view now. Need to update this https://is.docs.wso2.com/en/5.11.0/learn/outbound-provisioning-with-google/#configuring-google doc with the recent changes

I've added the instructions on adding new scopes to API clients in the new GSuite console.
Please check issue #10405

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Better handling of /etc/libvirt/qemu.conf configuration file

Author Name: Maciej Delmanowski (Maciej Delmanowski)
Original Redmine Issue: 4947, https://dev.opennebula.org/issues/4947
Original Date: 2016-12-01

The openebula-node Debian package does not handle the /etc/libvirt/qemu.conf configuration file in a sane way. There are two issues:

The opennebula-node postinst script checks the existence of the qemu.conf configuration file, and if it finds one, the existing configuration file is moved out of the way and replaced by a stub configuration file with minimum set of configuration options required by OpenNebula. This completely destroys existing configuration created by the local system administrator, without confirmation.

The /etc/libvirt/qemu.conf configuration file, in Debian Jessie, is managed by the libvirt-qemu-system package and is marked as a Conffile. After the opennebula-node package changes the existing configuration file, future libvirt-qemu-system package upgrades might be interrupted by the debconf system asking the user what to do with the changed configuration file.

The above issues affect automated installation and management of OpenNebula nodes to the point, where potential users (me included) might drop the usage of the opennebula-node package completely and just apply the required changes using their configuration management system of choice. Therefore I think that the current postinst script included in the package should be fixed. Suggested solutions:

Check if the /etc/libvirt/qemu.conf configuration file contains the desired configuration (user/group/dynamic_ownership) before blindly overwriting it.

If the script decides to write the new configuration file with the required changes, don't overwrite the /etc/libvirt/qemu.conf configuration file directly. Instead, check potential diversions using the dpkg-divert command and operate on that. If there are no diversions, create a diversion before writing the new configuration - this will ensure that upgrades of the libvirt-qemu-system package work correctly.

This has been fixed by https://github.com/OpenNebula/one/issues/1768, Libvirt configuration is now managed by the Augeas. It's not replaced as a whole, but only modifies the particular parameters. Closing as fixed.
Note about the:

future libvirt-qemu-system package upgrades might be interrupted by the debconf system asking the user what to do with the changed configuration file.

If you are running apt-get non-interactively, you also need to instruct the apt-get to use the non-interactive interface (via env. variable DEBIAN_FRONTEND=noninteractive), and how to deal with the configuration file changes (via parametrs --force-confnew, --force-confold, --force-confdef). Please check:

https://debian-handbook.info/browse/stable/sect.automatic-upgrades.html
https://debian-handbook.info/browse/stable/sect.package-meta-information.html#sidebar.questions-conffiles


Required permissions for adding Teams phone numbers

Describe the bug
I seem to be a document bug in the article below.
https://docs.microsoft.com/en-us/microsoftteams/getting-phone-numbers-for-your-users
wrong: You must be a Teams service admin to make these changes.
correct: You must be a Teams service admin and Teams Communications Administrator to make these changes.
===
I confirmed that it was possible to get new phone numbers even with 'Teams Communications Administrator'.
And then, The article below states that 'Teams Communications Administrator' can also access pone number inventory and assignment.
URL: https://docs.microsoft.com/en-us/microsoftteams/using-admin-roles
Excerpt: Manage voice, including calling policies and phone number inventory and assignment.
To Reproduce
Steps to reproduce the behavior:

Go to "Microsoft 365 admin center"
Add user, and assign role "Teams communications administrator"
Go to "Microsoft Teams Admin Center" by 'Teams Communications Administrator' user
Go to [Voice]-[Phone numbers]
The user can get new phone numbers

Expected behavior
I expect 'Teams Communications Administrator' to be able to add numbers.
However, the document below states that "Teams Service Admin" permission is required. I think that the document is incorrect.
https://docs.microsoft.com/en-us/microsoftteams/getting-phone-numbers-for-your-users
Excerpt: You must be a Teams service admin to make these changes.

@CarolynRowe looks like this issues is for a Teams voice page you are listed as author of.

Any update on this?

@JasonWHowell Any update on this?


fix force push and node_Modules

I create a new pull request and did the Issue new and fresh

@kirandash i did the pre hook and made a pull request ( # 60)


How to force an indent?

So i'm working on an adventure and i'm wanting to have the first line always indent like most of the paragraphs do however some of them don't do this automatically so i was wondering how to force the indent without adding something stupid like a line with a dot or something like that.
Example: (ignore the {Line} stuff)
{!Line1}The adventure starts with the group walking through [Redacted] in order to reach their destination of [Redacted].
{!Line2 - for a paragraph break}
{!Line3}[Redacted] is normally just a trade route so seeing merchant wagons on this road is common. Others travelling this road are uncommon but most of the rocky terrain is stable enough to allow other types of traffic.
Line 3 will automatically indent but Line 1 won't.

Try adding this to your

You can alternately exchange '2em' with 'Zpx', where 'Z' equals the number of pixels you want to indent for very fine control.

cool, thank you for helping me solve this :)


Portage installs outdated memcached binary package

Apparently there is an issue with binary packages when it's dependencies update. With the last memcached update a new libevent version got pulled in but as the memcached version remained the same the binary package linked to the old libevent version was used, resulting in runtime errors.
This is the first time this happened in 2 years, maybe related to enabling binpkg-multi-instance? /cc @berney

I haven't experienced any issues with binpkg-multi-instance in the past, but that was predominately on full gentoo installs sharing packages off one master builder (the "slaves" could also build but if the master had already they'd use it's binary package). I'd have to analyse the gentoobb dock tree. Maybe --with-bdeps=y will make a difference. Is libevent coming from a parent image or the memcached image?
In single-host usage, the usebinpkg and binpkg-multi-instance stuff will realise if the dependent libraries are changing and @preserve-rebuild will get updated and logs in the emerge etc.

Is libevent coming from a parent image or the memcached image?

Same image.

In single-host usage, the usebinpkg and binpkg-multi-instance stuff will realise if the dependent libraries are changing and @preserve-rebuild will get updated and logs in the emerge etc.

I see, hmm should work then as the build container is not much different in that regard. The differing ROOT shouldn't matter in this context I would guess.
To reproduce the issue masking dev-libs/libevent-2.1.8 for the memcached build first before rebuilding without the mask should do the trick.

Seems not related to binpkg-multi-instance, got the same behaviour without it.
./bin/bob_interactive.sh gentoobb/memcache
source /etc/profile
rm -r /packages/x86_64-pc-linux-gnu/dev-libs/libevent*
rm -r /packages/x86_64-pc-linux-gnu/net-misc/memcached*
echo ">=dev-libs/libevent-2.1.8" > /etc/portage/package.mask/foo
ROOT=/foo emerge -pv memcached
ROOT=/foo emerge -v memcached
rm /etc/portage/package.mask/foo
ROOT=/fooa emerge -pv memcached
emerge -pvuD memcached

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-devel/libtool-2.4.6-r3:2::gentoo [2.4.6-r2:2::gentoo] USE="-vanilla" 0 KiB
[ebuild     U  ] dev-libs/libevent-2.1.8:0/2.1-6::gentoo [2.0.22:0/0::gentoo] USE="ssl threads -debug (-libressl) -static-libs {-test}" 0 KiB
[binary  N     ] net-misc/memcached-1.4.33-1::gentoo  USE="-debug -sasl (-selinux) -slabs-reassign {-test}" 0 KiB

Total: 3 packages (2 upgrades, 1 new, 1 binary), Size of downloads: 0 KiB

I guess portage thinks it's ok to use the binary package as a suitable libevent version is already installed on the host?

Nope, something seems borked. Updated libevent in the build container, only available version is 2.1.8 yet it still happily installs the memcached binary package linked to 2.0.22.

@berney If you got a couple of minutes to spare could you try to reproduce this on one your native Gentoo hosts with binary package setup? The steps outlined above should be the same. Just to make sure if this a Portage bug that should be reported upstream or related to this project. Thanks!

I'll give it a shot today and update for you.

On my gentoo box, I already have libevent-2.1.8 installed, I masked it, installed memcached into a separate root, and it emerge libevent-2.0.22 but memcached is linked to libevent-2.1.so.6.
I'll unmerge libevent and try again.
I see memcached depends on libevent >= 1.4, so I suspect that because it's all one slot emerge will not see a problem with libevent-2.1.8 being installed and the binary package of memcached. I think if libraries are changing ABIs and need a so number bump maybe they should be in different slots? This is getting into the limits of my knowledge about how it everything really works.

I can reproduce the issue after I uninstalled libevent, I did same as your instructions masked 2.1.8, emerged and got 2.0.22, later I removed the mask and the memcached is linked to old SONAMEs but new libevent is installed.
If I install the without a ROOT envar I get the same problem. revdep-rebuild (the new python version) finds the issue.
I think the problem is that memcached says it needs >= libeven-1.4, and between libevent-2.0.22 and libevent-2.1.8 the SONAMEs have changed but it's the same slot. If it was installed into / rather than ROOT being overridden preserved-libs feature would keep the old libs for memcached around on upgrading libevent but only if memcached was already installed, and it should get added to the preserved-rebuilds set.
I don't know how to run revdep-rebuild in an alternative root that's minimal (missing gentoolkit etc). The source might need modifying. It would be nice if upstream gentoo added the feature, lddtree has a -R for example and emerge has ROOT= envvar.

I found this: https://dev.gentoo.org/~zmedico/tmp/Portage_Improvements.pdf
if you do  ROOT=/foo emerge -vatK --ignore-soname-deps=n memcached then it will pull in libevent-2.0.22 because the binary package of memcache needs the older sonames that the older libevent provides.
The problem is it needs to be --usepkgonly (-K), it won't work with --usepkg (-k) because it needs the soname metadata that only exists in binary packages, so if the any unbuilt packages are included in the dependency graph it would be missing the necessary information.

I think for QA and testing we will want an introspective revdep-rebuild like too that will look for broken linkage.
For speedy rebuilds we want a way to use binary packages when possible, and for robustness without breaking dynamic linkage. We need a way to detect that the linkage is broken ideally ahead of time before emerging, then there's two choices, emerge the correct version dependency for the existing binary package, or rebuild from source to match the binary dependency. As it stands today I don't think we can do this ahead of time.
We can try to emerge binary packages only (-K) with soname dependency checking, if binary packages don't exist we can emerge with binary packages (-k) and then once the binary packages have been built we can try again with binaries only and soname dependency checking, this should detect breakages. Then we can exclude the the binary package to have it rebuilt, creating a new binary package that links to the dependency that emerge chooses this time - future rebuilds with soname checking will get this combo.
Post build we should scan with a revdep-rebuild like tool too, doesn't hurt if it's redundant IMO.
To complicated things if images are going to be layered, missing libraries might be expected. Emerge/Portage has somethings to help there like soname.provided, PROVIDES_EXCLUDE, and REQUIRES_EXCLUDE in portage(5) that might help.

Thanks for confirming my suspicion, much appreciated. I have created an issue upstream.

I found this: https://dev.gentoo.org/~zmedico/tmp/Portage_Improvements.pdf
The problem is it needs to be --usepkgonly (-K), it won't work with --usepkg (-k) because it needs the soname metadata that only exists in binary packages, so if the any unbuilt packages are included in the dependency graph it would be missing the necessary information.

Nice find, so close, but no cigar yet. I wonder why Portage not just assumes it needs to rebuild if it can't find all the required binary packages. Seems like a logical conclusion.

I think for QA and...

I was entertaining the thought to always install at the build container's / first before installing at the custom ROOT for a while, this would basically remove all friction with missing build dependencies, etc. But the impact on build time is quite high. Something I would like to avoid. revdep-rebuild could be nice, but as you said I'm not sure how will this work with a custom ROOT. Something for the ever growing backlog. :cry:

To complicated things if images are going to be layered, missing libraries might be expected. Emerge/Portage has somethings to help there like soname.provided

package.provided was enough so far, but yea in some cases depending builds will need to install a package  from a previous image again if it is needed at build time. Can't think of a good way around that and it's actually not that often required, well at least for my images so far.

Let's everybody subscribe on upstream bug report to resolve it faster

I was entertaining the thought to always install at the build container's / first before installing at the custom ROOT for a while, this would basically remove all friction with missing build dependencies, etc. But the impact on build time is quite high. Something I would like to avoid. revdep-rebuild could be nice, but as you said I'm not sure how will this work with a custom ROOT. Something for the ever growing backlog. 😢

I think my algorithm I stated above should work for emerging correct packages with working soname dependencies whislt trying to minimal wasted time rebuilding packages that have already been built..To reiterate more clearly it would be: -

Try emerging binary packages only with soname dependency checking: emerge --usepkgonly --ignore-soname-deps=n ....
If above worked to goto end else goto 3
emerge packages from binaries and source: emerge --usepkg ....

This will generate soname metadata

Try emerging binary packages only with soname dependency checking: emerge --usepkgonly --ignore-soname-deps=n ....
If above worked goto end else goto 6
try emerging packages with binary package ignored: emerge --usepkg --usepkg-exclude $atom ..., where $atom is the main package like memcached.

This should build main package from source, and dependencies from binaries if they exist and/or source if not

Try emerging binary packages only with soname dependency checking: emerge --usepkgonly --ignore-soname-deps=n ....
If this works goto end else...
...
10. Try emergy from source only: emerge ... (no --usepkg)
11. Try emerging binary packages only with soname dependency checking: emerge --usepkgonly --ignore-soname-deps=n ....

This should work otherwise portage/ebuilds/packages or gentoo/system are broken.

The above is a bit recursive, at some point it's probably best to switch to rebuilding it all from source and not using any binary packages, producing new binaries packages.
Alternatively a revdep-rebuild-like tool that works on specified roots. I think this should be done for QA purposes anyway. When it detects breakages, something like the algorithm above could be used to automatically find a solution as long as the portage, the ebuilds, and the packages themselves are not broken.

For anyone not following the Gentoo bug tracker, this was an issue with the memcached ebuild, already fixed but not yet with a stable keyword.
@berney Step 1 combined with --pretend, before installing at the host should do the trick. The rest might be a bit overkill, not sure yet. I should have a bit more time on my hands the coming days, will play around with the described process for a bit. Thanks for the suggestion!

@berney Step 1 combined with --pretend, before installing at the host, should do the trick.

I suspect that won't be enough, as it won't know until it has done a real emerge what the SONAMEs are. Once it's done that, portage will have the metadata in /usr/portage/packages/Packages regarding PROVIDES and REQUIRES. I don't think --pretend will generate these.  Should be easy to test to verify.
You're welcome. I'm happy to help. I really like your tool so thanks for sharing it.


curse(option): declare None as a constant

I thought it would be nice to have a NONE constant, but i don't think maintaining this cursed code is worth it.
use Psl\Option;

/**
 * @return Option\Option<string>
 */
function get_some_string(): Option\Option
{
    return Option\some('some string');
}

/**
 * @return Option\Option<string>
 */
function get_none_string(): Option\Option
{
    return Option\none();
}

$some = get_some_string();
$none = get_none_string();

Psl\invariant($some->isSome(), 'Expected $some to be some.');
Psl\invariant($none === Option\NONE, 'Expected $none to be none.');

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 99.057%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Psl/Option/Option.php
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
3780

Relevant Lines:
3816

💛  - Coveralls


[MacOS] build Warning

Issue Description
App can't be archived using XCode 15.0.1 with MacOS 14.
Command executed
Using gym to upload to AppCenter:
gym(
      scheme: "...",
      clean: true,
      output_directory: "build",
      export_method: "enterprise",
      xcodebuild_formatter: ""
    )

Complete output when running fastlane, including the stack trace and command used
The log contains multi messages like this:
[09:52:56]: ▸ Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[09:52:56]: ▸ Function: createItemModels(for:itemModelSource:)
[09:52:56]: ▸ Thread:   <_NSMainThread: 0x600000efc240>{number = 1, name = main}
[09:52:56]: ▸ Please file a bug at https://feedbackassistant.apple.com/ with this warning message and any useful information you can provide.
[09:52:56]: ▸ 2023-10-25 09:52:56.435 xcodebuild[2669:10441] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103

and
Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread:   <_NSMainThread: 0x600000efc240>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com/ with this warning message and any useful information you can provide.
2023-10-25 09:52:56.382 xcodebuild[2669:10441] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103

 Flutter is also facing that problem (https://github.com/flutter/flutter/issues/135277)

Related issue https://github.com/mogol/flutter_secure_storage/issues/600 which it seems some people solved by renaming DT_TOOLCHAIN_DIR to TOOLCHAIN_DIR

This is now fixed on Flutter master branch as of https://github.com/flutter/flutter/pull/138243

@cbracken if I read the commit correctly they are just filtering it from the output logs it seems?

Correct this is an Xcode issue rather than a flutter issue. The warning is asking the reader to file a Radar against Xcode at feedback.apple.com. The build itself proceeds correctly. Xcode is doing the same in its own console within the IDE.

@cbracken initial issue here seems to be that @car5ten  can't archive his app due to this?
So possibly another issue may be blocking the archiving then - or if this is the main blocker then hiding the log doesn't seem like a solution

Hey, i also have issues with this (on some VMs only, weirdly).


chore: lock webpackbar version

Codecov Report

Merging #881 (88da57e) into master (53d1349) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #881   +/-   ##
=======================================
  Coverage   48.40%   48.40%
=======================================
  Files          49       49
  Lines        1349     1349
  Branches      314      314
=======================================
  Hits          653      653
  Misses        696      696


Help messages flash by really quick

When I press any of the F2 to F5 buttons, I see a quick flashing red text with an error. I've created a screencast to capture it.
I'm running Debian with Wayland.
https://github.com/subalterngames/cacophony/assets/2574730/d044a39a-58cc-48e5-96ac-1741f74d68de

@tversteeg This should be fixed in this PR: https://github.com/subalterngames/cacophony/pull/7
You just need to apt install speech-dispatcher, which wasn't listed in the install requirements.

That works, thank you!


Evals for Create New Code mode

Created code for running evals in new code mode.

This is fantastic 🏃
Good job @pbharrin


Flaky test: TestRunStdinPipe (gccgo)

Flaky test on gccgo, or actual error? https://jenkins.dockerproject.org/job/Docker-PRs-gccgo/3540/console. Seen failing on https://github.com/docker/docker/pull/21354
01:19:42 PASS: docker_cli_run_test.go:3905: TestRunStdinBlockedAfterContainerExit.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.469s
01:19:45
01:19:45 ----------------------------------------------------------------------
01:19:45 FAIL: docker_cli_run_test.go:88: TestRunStdinPipe.pN52_github_com_docker_docker_integration_cli.DockerSuite
01:19:45
01:19:45 docker_cli_run_test.go:105:
01:19:45     c.Errorf("logs didn't print the container's logs %s", containerLogs)
01:19:45 ... Error: logs didn't print the container's logs
01:19:45
01:19:46
01:19:46 ----------------------------------------------------------------------

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Also just seen on experimental, so not a gccgo only issue

This will be fixed by the next containerd vendoring (cc @tonistiigi).

I believe this is closed by #21457.


fix(Snackbar): Prevent unknown prop warning

delete onTimeout and timeout from otherProps to prevent warning.

[Current coverage][cc-pull] is 99.47%

Merging [#343][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master       #343   diff @@
==========================================
  Files           105        105
  Lines          2096       2098     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2085       2087     +2
  Misses           11         11
  Partials          0          0

Powered by Codecov. Last updated by [542310a...55c3bc1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/tleunen/react-mdl/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/tleunen/react-mdl/compare/542310afe210a2c25e12098d28870365248e49b0...55c3bc178c9b5307b7ca66bd9b94c8669556cd1b
[cc-pull]: https://codecov.io/gh/tleunen/react-mdl/pull/343?src=pr

Perfect, thanks @elasim :)