any event for new data coming for read without HTTP server

Hi,
I am try to use your quic-go to my server to replace a UDP communication part. And I did some updating to test your echo server. It seems there is no event for new data coming for read. Correct?
As the below code in while loop
`		stream, err := session.AcceptStream(context.Background())
if err != nil {
fmt.Println("AcceptStream err", err)
return
}
go func() {
b := make([]byte, 1500)
for {
n, err := stream.Read(b)
if err != nil {
fmt.Println("Error in read", err)
}
			fmt.Println("server Received ", string(b[:n]))
			stream.Write([]byte("quic-go server reply you:"))
			_, err = stream.Write(b[:n])
			if err != nil {
				log.Println("Stream write error: ", err)
			}
		}`

Thanks
David

You probably want to have a Go routine that blocks on Read. I can't read your code, please familiarize with how to use Markdown before pasting code here.


Setting to force rebase

Hey this is Oskar from JSFiddle.
Love Legit, one thing that annoys me and kills the workflow we have set is the smart-rebase that's not so smart.
Long story short, we always use rebase, we even have pull.rebase = true in gitconfig, unfortunately Legit, completely ignores this setting.
Any chance we could get a Legit setting that enforces rebasing all the time?
I see, I'm not the only one here who would like this to be there.

+1

Currently, scm:smart_pull() does Fetch, Rebase/Merge.
So this is equivalent to
$ git checkout branch0
$ git fetch origin
$ git rebase origin/branch0 || { git rebase --abort ; git merge origin/branch0 }

And in my understanding, you'd like to use pull.rebase=True and this is same as:
$ git checkout branch0
$ git pull --rebase origin branch0

Are there differences between the two workflows results?
@oskarkrawczyk


Implement instance hydration

Implements #34, pretty simple code-wise.
Just need to write one or two unit tests for this and then it'll be golden!

Unit tests passing all fine - mostly already covered by applyInstanceProps.spec.lua so only testing a couple bits here:


fix: Add Session Statistics Chart

Fixes #1310
Checklist:

[ ] I have checked for PMD and check-style issues
[ ] I have read the Contribution & Best practices Guide and my PR follows them.
[ ] My branch is up-to-date with the Upstream development branch.

Changes:
Screenshots for the change:

@mishuvs @sridharjajoo Please review.


Create an Instagram account

I would see us posting pictures of the team, new office, when we do team activities (when we can finally meet), when we are at events, even the graphic (when we will have a designer) to announce new blog post or huge new release… I don’t mind management one more media. It won’t be as active as the others, but still nice to have IMNSHO.

https://www.instagram.com/meilisearch/
I want to add some initial photos before closing this issue and promoting it

https://www.instagram.com/meilisearch/
I want to add some initial photos before closing this issue and promoting it


Ping problem with Bloxstrap installed

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Normally my ping is about 60-80ms but with Bloxstrap installed, it is 300-2000ms. I've tried turning off all the features and setting the fps unlocker to 0 but it doesn't fix anything. When I uninstall it, Roblox runs normally again. Maybe this has something to do with Roblox patching FPS unlockers?

When I uninstall it, Roblox runs normally again.

I'd like to get a better idea of what config you're using if setting the framerate limit to zero doesn't work. Can you show a screenshot of what your flag editor looks like please?

When I uninstall it, Roblox runs normally again.

I'd like to get a better idea of what config you're using if setting the framerate limit to zero doesn't work. Can you show a screenshot of what your flag editor looks like please?

What about if you disable all of Bloxstrap's integrations?

What about if you disable all of Bloxstrap's integrations?

Even then, the ping spikes doesn't stop occurring

but still had ping spikes every 4 or 5 seconds

Are you sure you don't encounter those with the standard Roblox launcher?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


Executing "parts" of a big circuit after each other doesn't yield the same results as when executing the whole circuit in one go.

Has this been sorted out?

Has this been sorted out?

Yeah, I just need to cleanup the code and create the pull request


chore/nr snmp base

adding new minimalist example for snmp-base.yaml to the /deployment dir to show recommended settings for NR
updating NR k8s example to add discovery settings

questions:

@jbeveland27 - are these the right settings to go forward on?
@i3149 - will this minimalist config work? several fields that we don't ever change have been redacted, do we need to put them back or update ktranslate to have default values for them by chance?
@i3149 - please confirm k8s supports discovery. I assume it does but can't recall why the settings weren't in the config example already.

changes made - pending @jbeveland27 confirmation on the poll_time_sec and check_all_ips settings being the new standard recc and we can move forward on this one.
removing the wip tag


new pr

This a new PR from a main branch, whit some builds, updates and improve.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add Option to Search for Nether Biomes

The problem
When using mods that add biomes to both the overworld and the Nether to game, you cannot use the Nether biomes with TerraForged enabled; TerraForged seeks out overworld biomes to incorporate into world generation, but it does not do the same for Nether ones.
An example of this would be Biomes o' Plenty: BOP biomes are present in the TerraForged overworld, but not the Nether. This means that the only way to get BOP Nether biomes is to use the BOP world type and eschew TerraForged altogether.
Describe the solution you'd like
I think a toggle in the "Customize" menu for TerraForged that disables or enables the ability to seek out Nether biomes in addition to overworld ones would solve this.

I don't touch other dimensions, those just use the vanilla nether/end generators.
There could possibly be an option to redirect to another mod's worldtype for these dims though.

There could possibly be an option to redirect to another mod's worldtype for these dims though.

That's exactly what I'm proposing. IIRC Realistic Terrain Gen used to do the same.


[networks] Separate HTTP eBPF code from tracer code

What does this PR do?
Reorganize the HTTP monitoring code to decouple it from the network tracer.
In addition to that the eBPF bytecode related to the HTTP monitoring is compiled to a separate object file.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Write there any instructions and details that should be tested during the QA.

It looks like you are missing the runtime compiled version. If you need help setting that up, let me know!


Integrate a 3rd party data generator into data helix

Feature Request
This is blocked by #1431 which is an investigative task into what 3rd party generators are available and also involves doing a  stand alone java program to test ones want to use.
We want to make use of existing opensource data generators such as FAKR or javaFaker.  This comes from EPIC #1326
Description of Problem
As a Data Helix user, I want to be able to do things such as generate valid addresses so that I can create realistic data
As a Data Helix developer, I want to leverage 3rd party libraries such as  FAKR or javaFaker rather than re-invent the wheel
Potential Solutions

Ideally we would use 3rd party libraries like an API and just leverage them in our internal custom generators (like names, addresses etc).
At this stage its hard to know what is involved in using them but it would be good to hide the 3rd parties we use behind a common interface so we integrate different libraries in similar way
There is a high chance the 3rd party libraries will be apis but need to connect to the internet behind the scenes or they may just be web services that we ourselves need to connect to

Before bringing the story into 'Ready' please consider the following:
Acceptance Criteria - Given, When, Then

The ability to generate data in data helix using 3rd party generators rather than our own custom code.
A good aim would be the ability to generate valid uk addresses in this way (all as one field is fine at this stage)

Estimate
3
Tasks

[ ] wait for #1431 to be done which should tell us what 3rd party generators to use
[ ] design (and discuss with team) a framework for fitting these 3rd party generators into data helix and list out the potential issues or things need to consider (eg having to connect to the internet, maybe only works in certain types of generation, how can we do search criteria so can narrow down addresses to a county or post code etc)
[ ] Integrate a specific generator into datahelix (say for addresses) and write a test for it.  This is a full PoC of integrating 3rd party data generators into data helix.  If want to use more than one 3rd party library should do one of these for each 3rd party library.

Dependencies
3rd party libraries (like FAKR) and possibly web services and the internet
Testing - Can any tests be written up front?
Probably - after some initial investigation.  Talk to Tom about this
Risks - Likelihood of a bug and impact
Possibly could expose ourselves to the internet which means need to consider if tehre are any security risks.
Documentation - Does it need updating?
Need to update our user and developer documentation and check that our custom generators are in this documentation too
Demo - Should we demo this change? To who?
Yes, this should definitely be demo'd to colin/andrew or steering committee
Is this feature done?
Please run through the Definition of Done checklist

blocked by #1431

Work completed under #1555.


[terra-dev-site] fix card scrolling in terra-dev-site

Summary
The card container that displays content wasn't scrolling for me, and by setting terra-dev-site card overflow from hidden to
Testing
Loaded up the terra-dev-site in Chrome and Firefox before and after the fix to show that it was not scrolling before, and it does after changing overflow to auto.
Before:
Chrome:

Firefox:

After:
Chrome:

Firefox:

Since the similar changes were already approved by UX on PR https://github.com/cerner/terra-application/pull/316
Merging this one to fix dev-site issue on dev-site v8


Blogpost - Tips for Writing Fast Rails Part 2

Re: https://trello.com/c/CVZdIOlG/1-tips-for-writing-fast-rails-part-2
Please check it out. Thanks!

@etagwerker Thanks for the feedback! Just updated this PR. Let me know what you think.

@etagwerker I'll merge this PR. I already updated the last small typo that you mentioned.


adding new permissions to user-store

Fixed in identity-framework with https://github.com/wso2/carbon-identity-framework/pull/590


BeforeSuite/AfterSuite run even if there are no tests

Hi,
A few days ago I found some behaviour of which I'm not sure whether it's a bug or a feature. In my behat.yml I have defined multiple suites, and in my contexts I have also defined a @BeforeSuite hook. When I run a test passing the path of the feature file and no --suite= option, Behat will cycle through all my suites executing the @BeforeSuite (and I presume, but I did not test, also the @AfterSuite) for every suite in my behat.yml. Even though via the paths: configuration the feature I was running is only defined for one suite.
If running without --suite, but with a filter (whether it's passing a specific feature file or using something like --tags) I would expect Behat to ignore any suites that don't have any matching features or scenario's. And if a suite is ignored, you also don't need to run any @BeforeSuite and @AfterSuite.
Can this be considered a bug, or it is an intentional feature? For example is it possible to manipulate the filters or paths or something in the @BeforeSuite that might cause Behat to run scenario's for the suite even though initially nothing would have matched?
If this can be considered a bug (or unintentional behaviour) I don't mind diving into the code to see if I can create a PR for it, but I'm not sure where to start looking where something like this can be changed.

Hm, not sure what the correct behaviour here would be

I think this should be considered a bug. I really don't think that Behat should be calling any of the suite hooks if it is not running any feature or scenario in the suite. We probably need to confirm if a similar thing is happening with the feature hooks, if they are being called for features even if no scenario is run. @acoulton what do you think?

IIRC, Behat is not eagerly loading the list of scenarios that will be run. It relies on an iterator, which allows it to scale to a huge amount of features without consuming tons of memory (assuming you don't use a formatter that buffers huge amount of memory).
Because of that, by the time the BeforeSuite hook is due to be run, Behat has no idea how many features will be run in the suite (which can be 0). And if we run BeforeSuite for empty runs, it makes sense that AfterSuite also runs.
note that this is also what happens in PHPUnit when you have a testsuite with 0 tests: https://github.com/sebastianbergmann/phpunit/blob/f3d49bb34256407cbcd256aa0e71f1079b4d08b5/tests/end-to-end/event/data-provider-exception.phpt#L23

@stof you are probably right. Let me confirm this and if it is as you explain I'll close this ticket

If we close this maybe we should just mention the behaviour in the hooks documentation.

Confirmed that with the current implementation it is not possible to know in the beforeSuite hook if there are any tests to run. Changed the type of the issue to documentation so that we can at least document this behaviour


blank line between angular and regular imports

Hi,
versions
    "angular-tslint-rules": "^1.12.0",
    "tslint": "^5.12.0",
    "typescript": "^2.8.0"

I believe Angular Style Guide forces us to use a blank line between @angular imports and regular imports.
So grouped-imports should be
"grouped-imports": false

Else tslint says:
Import sources of the same type (package, same folder, different folder) must be grouped together.tslint(ordered-imports)

example, this fails with grouped-imports: true
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

import * as _ from 'lodash';
import { Subject } from 'rxjs';

available as of v1.12.1


dbeaver/pro#3021 Don't disable Compress option if Append on filename conflict has bee chosen

Now if you have Append option chosen and check Compress checkbox, Append will be disabled and selector will select Autofix name option

Selector changes to autofix regardless of initial choice when compress is checked
https://github.com/dbeaver/dbeaver/assets/82543000/54c697cd-8d43-41a1-9f25-9463717eab43

It's intentional, we can't left selector on Append option


Add (javax.)Validation Support for functional interface

For Stream binder there for support for the javax validation:
https://github.com/spring-cloud/spring-cloud-stream/commit/d93f170f2e82319300b825c0437523353fc3c590
But it seams for the functional interface it is gone.
It would expect this throwing a error when a message with invalid person name was received instead calling the log() method.
@SpringBootApplication
public class LoggingConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(LoggingConsumerApplication.class, args);
    }

    @Bean
    public Consumer<Message<@Valid Person>> log() {
        return msg -> {
            System.out.println("Received: " + msg.getPayload());
        };
    }

    public static class Person {
        private String name;
        public String getName() {
            return name;
        }
        @Pattern(regexp = "^[a-zA-Z_:][a-zA-Z0-9_:]*$")
        public void setName(String name) {
            this.name = name;
        }
        public String toString() {
            return this.name;
        }
    }
}

I don't think that can work. You can't access the Annoations of a consumer according to my understanding (https://stackoverflow.com/questions/25702618/java-8-get-consumer-underlying-function-annotation). Spring CloudStream only can access the adhoc Implementation of the consumer which hides the real implementation.

Shure it can, it use very advanced reflection usage.

@GreenRover Do you have a tip for me on how to search? I have looked at the objects during debugging and have not found a starting point.


Staked pool not shown immediately

Report by user:
After stake, it will not be shown in the staked pools immediately.  It takes a while and need refresh to see.

Thanks for reporting this @joeywongt3ch, it's a known issue and is because we rely on the subgraph to fetch the user's staked positions. Since the subgraph lags the latest block by a little bit it's not 'live' data and so these delays exist. The same issue exists when you invest, it won't show up on the home page for the same delay but it's less visible because you don't invest from the home page whereas you can stake directly on the home page.
I'll close this for now, but we will be looking into potential solutions, however, I can't promise anything will change in the short term.


Workflow for publishing code coverage using codcov

Implemented in https://github.com/snypy/snypy-backend/pull/68


(BOLT-316) Batch tasks, etc when using the orch transport

This pull request adds new methods batch_task, batch_script, batch_command and
batch_upload to transports. These methods are used to indicate to a transport
that it should perform an operation on multiple nodes as part of a single
batch. This is specifically useful for the orch transport, which can run many
nodes as part of a single orchestrator job. Previously, it would create one
orchestrator job for each node.
Currently, output for the orchestrator transport waits until the whole job has
finished before printing the result for any node, as opposed to handling
incremental updates as nodes complete.
Transport authors now have two options to implement their transport:

Inherit from Transport::Base, which provide default batch implementations that call
the corresponding run_* method for each node. They then should implement the run_* methods.
Implement the batch methods directly, and take on responsibility for handling concurrency.

We now use a CachedThreadPool for the executor rather than a FixedThreadPool,
and keep it alive between invocations. The previous behavior was to queue up
all the work on the threadpool and then stop it and wait for everything to
finish. We now require that batch methods return lists of Concurrent::IVar (in
the form of futures and promises) that we can block on to determine when the
work has fininshed.

CLA signed by all contributors.

Fixed the issue with $ERROR_INFO not being actually turned into a Bolt::Result object.


Using Docker as local environment

Hi @kiwiz,
I see that there is a repo with all the Docker config to get the 411 up and running, but it's in a separate repo (https://github.com/kiwiz/411-docker), why don't we have these configurations within 411 code?
It should facilitate a lot in how we can get the project up to start helping with the issues.

Hey there. I had it set up as a separate repo mostly for the README. I couldn't figure out how to get automatic builds working and provide an alternate README on the dockerhub side.

It's configurable in the Docker Hub page, you could create a different README file for this, what do you think?

I only see an option to configure the location of the Dockerfile. The README has to be in the same directory which won't work if I want the Dockerfile in the root. :[

Closing for now.


How to use WHERE caluse after a (WITH .. AS ...)

How to use WHERE caluse after a (WITH .. AS ...)
The following query fails whenever I add WHERE caluse inside it
SELECT * from cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m as watchedMovies
	MATCH (g:Genre)<-[]-(watchedMovies)
	WITH DISTINCT g as genre
		MATCH (genre)<-[:BELONGS_TO]-(am)
		WITH DISTINCT am as allMovie
			WHERE (u:User {id: 'user1'})-[:WATCHED]->(allMovie)
			RETURN allMovie
$$) as (V agtype);

Result
Syntax error at or near ":"

Nodes Added as follow
SELECT * from cypher('munmud', $$
CREATE
(:User {id: 'user1'}),
(:User {id: 'user2'}),
(:Movie {id: 'movie1', name: 'The Shawshank Redemption'}),
(:Movie {id: 'movie2', name: 'The Godfather'}),
(:Movie {id: 'movie3', name: 'The Dark Knight'}),
(:Movie {id: 'movie4', name: 'Army of Thieves'}),
(:Movie {id: 'movie5', name: 'Oceans Thirteen'}),
(:Movie {id: 'movie6', name: 'Heat'}),
(:Genre {name: 'Drama'}),
(:Genre {name: 'Crime'}),
(:Genre {name: 'Action'})
$$) as (V agtype);

Edges added as follow
SELECT * from cypher('munmud', $$

MATCH
(u1:User {id: 'user1'}),
(u2:User {id: 'user2'}),
(m1:Movie {id: 'movie1'}),
(m2:Movie {id: 'movie2'}),
(m3:Movie {id: 'movie3'}),
(m4:Movie {id: 'movie4'}),
(m5:Movie {id: 'movie5'}),
(m6:Movie {id: 'movie6'}),
(gD:Genre {name: 'Drama'}),
(gC:Genre {name: 'Crime'}),
(gA:Genre {name: 'Action'})

CREATE
(u1)-[:WATCHED]->(m1),
(u1)-[:WATCHED]->(m2),
(u2)-[:WATCHED]->(m1),
(m1)-[:BELONGS_TO]->(gD),
(m2)-[:BELONGS_TO]->(gC),
(m3)-[:BELONGS_TO]->(gA),
(m4)-[:BELONGS_TO]->(gD),
(m5)-[:BELONGS_TO]->(gC),
(m6)-[:BELONGS_TO]->(gA)

$$) as (V agtype);

It seems like AGE does not yet support filtering on patterns with properties. According to the Neo4j documentation for the WHERE clause, properties can also be added as patterns, as such:
MATCH (n:Person)
WHERE (n)-[:KNOWS]-({name: 'Timothy'})
RETURN n.name, n.age

However, this returns the following error in AGE:
ERROR:  syntax error at or near ":"
LINE 3: WHERE (n)-[:KNOWS]-({name: 'Timothy'})
                   ^

You would have to find a different way to set the filter by using a different clause or changing the contents for your WHERE clause. Refer to the documentation earlier for a guide on using the clause.

It would seem that the problematic part is the attempt to use a relationship pattern (u:User {id: 'user1'})-[:WATCHED]->(allMovie) directly within the WHERE clause. which could be as a result of a slight variations in the AGE syntax. In order to fix this you should avoid  using the relationship pattern directly within the WHERE clause. Instead, add an additional MATCH clause (u)-[:WATCHED]->(am) to achieve the desired filtering as I did below.
demo=# SELECT * FROM cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m AS watchedMovies
MATCH (g:Genre)<-[]-(watchedMovies)
WITH DISTINCT g AS genre, watchedMovies
MATCH (genre)<-[:BELONGS_TO]-(am)
MATCH (u)-[:WATCHED]->(am)
RETURN am
$$) AS (V agtype);
                                                           v
------------------------------------------------------------------------------------------------------------------------
 {"id":<PHONE_NUMBER>842625, "label": "Movie", "properties": {"id": "movie1", "name": "The Shawshank Redemption"}}::vertex
 {"id":<PHONE_NUMBER>842625, "label": "Movie", "properties": {"id": "movie1", "name": "The Shawshank Redemption"}}::vertex
 {"id":<PHONE_NUMBER>842626, "label": "Movie", "properties": {"id": "movie2", "name": "The Godfather"}}::vertex
(3 rows)

By using an additional MATCH clause, you can specify the relationship pattern separately and include it in the WITH and RETURN clauses to achieve the desired result.

In your particular case, you don't need to use a WHERE clause, it's simply replaced with a MATCH clause, like this:
SELECT * from cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m as watchedMovies
	MATCH (g:Genre)<-[]-(watchedMovies)
	WITH DISTINCT g as genre
		MATCH (genre)<-[:BELONGS_TO]-(am)
		WITH DISTINCT am as allMovie
			MATCH (u:User {id: 'user1'})-[:WATCHED]->(allMovie)
			RETURN allMovie
$$) as (V agtype);

However, I didn't get why you need all this MATCH clauses if your query would return the same result with a simple query like this:
SELECT * from cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
RETURN m
$$) as (V agtype);

If you want to get all movies genres watched by a particular person than return all movies that another person watched from those same genres using a WHERE clause, you could do this:
SELECT * from cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m as watchedMovies
	MATCH (g:Genre)<-[]-(watchedMovies)
	WITH DISTINCT g as genre
		MATCH (genre)<-[:BELONGS_TO]-(am)
		WITH DISTINCT am as allMovies
			MATCH (u:User)-[:WATCHED]->(allMovies)
			WITH u as user, allMovies as movie
				WHERE user.id = 'user2'
				RETURN movie
$$) as (V agtype);

The syntax error is happening because the WHERE clause is trying to match a user with a movie. The WHERE clause can only be used to filter the results of a MATCH clause. In this case, the WHERE clause should be applied to the results of the first MATCH clause.

It would seem that the problematic part is the attempt to use a relationship pattern (u:User {id: 'user1'})-[:WATCHED]->(allMovie) directly within the WHERE clause. which could be as a result of a slight variations in the AGE syntax. In order to fix this you should avoid using the relationship pattern directly within the WHERE clause. Instead, add an additional MATCH clause (u)-[:WATCHED]->(am) to achieve the desired filtering as I did below.
demo=# SELECT * FROM cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m AS watchedMovies
MATCH (g:Genre)<-[]-(watchedMovies)
WITH DISTINCT g AS genre, watchedMovies
MATCH (genre)<-[:BELONGS_TO]-(am)
MATCH (u)-[:WATCHED]->(am)
RETURN am
$$) AS (V agtype);
                                                           v
------------------------------------------------------------------------------------------------------------------------
 {"id":<PHONE_NUMBER>842625, "label": "Movie", "properties": {"id": "movie1", "name": "The Shawshank Redemption"}}::vertex
 {"id":<PHONE_NUMBER>842625, "label": "Movie", "properties": {"id": "movie1", "name": "The Shawshank Redemption"}}::vertex
 {"id":<PHONE_NUMBER>842626, "label": "Movie", "properties": {"id": "movie2", "name": "The Godfather"}}::vertex
(3 rows)

By using an additional MATCH clause, you can specify the relationship pattern separately and include it in the WITH and RETURN clauses to achieve the desired result.

What if I use WHERE NOT
SELECT * from cypher('munmud', $$
MATCH (u:User {id: 'user1'})-[:WATCHED]->(m:Movie)
WITH DISTINCT m as watchedMovies
	MATCH (g:Genre)<-[]-(watchedMovies)
	WITH DISTINCT g as genre
		MATCH (genre)<-[:BELONGS_TO]-(am)
		WITH DISTINCT am as allMovie
			WHERE NOT (u:User {id: 'user1'})-[:WATCHED]->(allMovie)
			RETURN allMovie
$$) as (V agtype);

The problem in your query is due to the use of where clause directly with the WITH clause.

That is what I was talking about.. What about Where caluse in a With clause

The issue you encountered in your query is due to the incorrect placement of the WHERE clause. In the given query, the WHERE clause is used directly after the WITH clause, which is not allowed in this context.
To resolve this issue, you need to make a slight adjustment to your query. Instead of using the WHERE clause directly after the WITH clause, you can incorporate the filtering condition into the preceding MATCH clause.


chore(deps): remove unused provider

what

This PR is just to remove the unused provider in versions.tf and that will

why

Download unused providers to terraform project
Break projects running on Apple Silicon chip

references

Closes #129

/test all

@tobernguyen our CI got stuck... mind doing us a favor and pushing an empty commit like so?
git commit --allow-empty -m "Trigger CI"
git push

Thanks!

/test all


Improve performance of NBT String parsing

Currently, performance with many string-dependent CIT items being rendered is pretty much unplayable on any system.
I have a Ryzen 7 3700x and an RTX 3060ti, and this is my performance in the Hypixel Skyblock lobby with a CIT-dependent resource pack. The cache invalidation time is at the default 50ms.

With these changes:

The performance could be improved more by implementing a less naïve cache system, but this fixes a few fatal performance flaws.

Although I fully agree that this is a very serious issue that will be looked into, this PR has several issues which stop it from being merged on its own.

https://github.com/SHsuperCM/CITResewn/blob/a55d205fb9f38bfdf1c21620db7694dcdad63c8e/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java#L3-L7

The added imports are irrelevant

https://github.com/SHsuperCM/CITResewn/blob/a55d205fb9f38bfdf1c21620db7694dcdad63c8e/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java#L131-L144

This implementation does not take non text components into account
Does not take into account json texts with array root elements
Introduces an unnecessary regex based matching which although together is faster than attempting to match every string; still causes unneeded lag.

I will look into optimizing the string matching code as soon as I'm able to. Thank you for bringing this to my attention.

My bad, that whole thing was pretty much a micro-optimization. You can still improve the performance by about 2000% in the case above by using Text.Serializer.fromLenientJson() instead of letting it throw an error and proceeding to ignore it.


Deploy docs to GitHub Pages

Summary
This PR changes the deploy-docs.yml workflow to deploy the documentation to GitHub Pages to migrate the project away from the qiskit.org domain.
The deployment to the gh-pages branch will not overwrite the locale folder, where I will save all the translations in a follow-up once the first deployment is done.
More information about the change and a quick guide to set up GitHub pages can be found at: https://github.com/Qiskit/ecosystem/issues/578
Reminder task for maintainers here to update the doc link in the About text for the repo on the main page once this change happens and the docs are re-deployed.

[ ] Update About text doc link

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 86.765%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
8785

Relevant Lines:
10125

💛  - Coveralls


Updated to bootstrap 3.3.2 and added bootstrap accessibility plugin

Combined the changes for feature/bootstrap and feature/bootstrapA11y into this new branch.  Since bootstrap 3.3.2 was available I upated to it.  I added the bootstrap a11y plugin. This will be used for tab panel implementation of the bookmarks UI . It also fixes the tab/shift-tab traversal of dialogs. Although there is still one extra tab stop through the URL bar that needs addressing.

Note to self (source code diff, to double-check):
https://github.com/readium/readium-js-viewer/pull/183/files#diff-1
https://github.com/readium/readium-js-viewer/blob/feature/bootstrapA11y2/css/viewer.css
(I think that the CSS rule background-size: auto 28px !important; must be changed in the correct selector .navbar .icon-logo, .navbar .icon-logo:active, not .navbar-right, and there are a couple of other fixes as well)

Hi @becka11y
I backported the CSS fixes from the original feature branch / Pull Request.
I've tested your code and it all seems to work as expected.
Closing the obsolete Pull Request: https://github.com/readium/readium-js-viewer/pull/183
Deleting the obsolete feature branch: https://github.com/readium/readium-js-viewer/tree/feature/bootstrap

Hello @becka11y I added missing CSS references to bootstrap-accessibility, sorry I did not catch that before:
https://github.com/readium/readium-js-viewer/commit/9e10733168930ebd37bb761de232c2fb909cafbd

Thanks, Daniel - sorry I missed it. I totally forgot about simplerviewer.html!

No problems @becka11y (I should have noticed that too)
PS: not just the simpleviewer, also cloud reader(s) and the chrome app!


Icons - Add tracks to tramway (like train)

Trams would be nicer with tracks (like the trains) to be distinguished from buses.

Hi, @chatelao!
Sorry if I've got it wrong. Which tag do you mean exactly? It looks like railway=tram is supported.

@chatelao, feel free to reopen if I got it wrong.


Weird performance when using shared memory in GEMV

I try to optimize GEMV using shared memory to speed up I\O，theoretically speaking，GEMV with sram will have better bandwidth. BUT here comes a weird performance result.
Device: M2 Ultra 128GB
kernel cost from: GPUEndTime and GPUStartTime

Fistly, i build a xcode metal project for original GEMV(your codes) and sram GEMV(my codes)，I found sram GEMV is 30% faster than original GEMV；

// transA = false, transB = true.
// and this optimization on performance is as my wish
gemv [1,2048] @ [4096,2048] **0.098ms(original) --> 0.068ms(sram)**
gemv [1,2048] @ [11001,2048] **0.271ms(original) --> 0.195ms(sram)**

Secondly, I add my sram GEMV kernel into your project(because i want to combine them into one metal lib)，and call then in my other C++\OC project，then comes the strange thing：

// original much fast than xcode project test, and even faster than sram GEMV
gemv [1,2048] @ [4096,2048] **0.040ms(original) vs. 0.047ms(sram)**
gemv [1,2048] @ [11001,2048] **0.175ms(original) vs. 0.173ms(sram)**

my kernel code is :
warpPerBlock: 4, GridSize: {UP_ROUND(K, warpPerBlock), 1, 1}，GroupSize: {32 * warpPerBlock, 1, 1},

// ONLY support M = 1, tranA = false, transB = true now.
template <typename T, int Align>
void _gemv_sram_impl(device T *A [[buffer(0)]],
                device T *B [[buffer(1)]],
                device T *C [[buffer(2)]],
                device void *D [[buffer(3), function_constant(use_activation)]],

                threadgroup T *threadgroup_block [[threadgroup(0)]],
                constant ulong4 *matrix_offsets [[buffer(10), function_constant(batched)]],
                constant uint *activation_type [[buffer(13), function_constant(fused_activation)]],
                uint3 gid [[threadgroup_position_in_grid]],
                ushort warp_num [[dispatch_simdgroups_per_threadgroup]],
                ushort sidx [[simdgroup_index_in_threadgroup]],
                ushort lane_id [[thread_index_in_simdgroup]])
{
    if (gid.x * warp_num + sidx >= N || gid.y >= M) return;
    if (batched) {
        // TODO: Re-compute every inner loop iteration for FP64 accumulate.
        ulong3 offsets = matrix_offsets[gid.z].xyz;
        A = (device T*)((device uchar*)A + offsets[0]);
        B = (device T*)((device uchar*)B + offsets[1]);
        C = (device T*)((device uchar*)C + offsets[2]);
    }

    B += gid.x * warp_num * K;

    C += gid.y * N  + gid.x * warp_num + sidx;
    T acc_sum = 0;
    device vec<T, Align> * Aalign = (device vec<T, Align> *)A;
    device vec<T, Align> * Balign = (device vec<T, Align> *)B;
    // move data into smem
    threadgroup vec<T, Align> * smem = (threadgroup vec<T, Align> *)threadgroup_block;
    for (uint k = sidx * 32 + lane_id; k < K / Align; k += 32 * warp_num) {
        smem[k] = Aalign[k];
    }
    threadgroup_barrier(mem_flags::mem_threadgroup);

    for (uint k = lane_id; k < K / Align; k += 32) {
        device vec<T, Align> * BalignSIMD = Balign + K / Align * sidx;
        for (uint i = 0; i < Align; ++i) {
            acc_sum += smem[k][i] * BalignSIMD[k][i];
        }
    }
    T all_sum = simd_sum(acc_sum);
    if (lane_id == 0) {
        device T* BWarp = B + sidx * K;
        for (uint k = Align * (K / Align); k < K; ++k) {
            all_sum += A[k] * BWarp[k];
        }
        if (use_bias) {
            // not supported now...
        }
        if (fused_activation) {
            // not supported now...
        }
        *C = all_sum;
    }
}

Question:

Why is different between xcode testbed and metallib call？sram GEMV basiclly the same in xcode and metallib call, but orignal GEMV is much better in metallib call
Is there any compiling optimization i missed in sram GEMV？
According to my code and the situation i described, could you give me some advise about the potential cause of the performance gap？

Thank you for your help!

GEMV is different than GEMM, in that it is bandwidth bound instead of compute bound. This requires different types of GPU kernels to reach better performance. Your best bet is copying the GEMV kernels from LLaMA.cpp instead of the code from MFA.

I looked at your issue a bit more closely, and I don't think I properly addressed your questions. I might get around to answering your questions another time.
Generally, here are some quick tips for optimization. Always perform multiple trials, with ~100 commands encoded into a single command encoder. Divide the total execution time by 100 to get the per-kernel execution time. Also, tie the performance metric to something physical. What percent of max bandwidth is it reaching? Just saying one kernel is faster than the other provides no physical grounding. Perhaps both only reach 10% of maximum performance.
Second, most optimizations people attempt will fail. You need a method to quickly evaluate whether a change consistently improves performance, or whether suspected speedups are simply random noise. Start with a well-known implementation and make changes line-by-line if possible. Also, rigorously test that your kernel is producing correct output. I made a mistake with a kernel for LLaMA.cpp, where I erroneously reported ~95% bandwidth. Only later, I realized there was an unidentified bug when speed exceeded 100% bandwidth on somebody else's machine.

I looked at your issue a bit more closely, and I don't think I properly addressed your questions. I might get around to answering your questions another time.
Generally, here are some quick tips for optimization. Always perform multiple trials, with ~100 commands encoded into a single command encoder. Divide the total execution time by 100 to get the per-kernel execution time. Also, tie the performance metric to something physical. What percent of max bandwidth is it reaching? Just saying one kernel is faster than the other provides no physical grounding. Perhaps both only reach 10% of maximum performance.
Second, most optimizations people attempt will fail. You need a method to quickly evaluate whether a change consistently improves performance, or whether suspected speedups are simply random noise. Start with a well-known implementation and make changes line-by-line if possible. Also, rigorously test that your kernel is producing correct output. I made a mistake with a kernel for LLaMA.cpp, where I erroneously reported ~95% bandwidth. Only later, I realized there was an unidentified bug when speed exceeded 100% bandwidth on somebody else's machine.

thank you for your reply, I found that M2 Ultra has 800 GB/s bandwidth of GPU Core, which means data transfer from global memory to register, so when i use shared memory to optimize the bandwith of gloabl memory access, there is small gain because the BW gap between global & shared memory, so the BW gain is not large enough to cover the barrier sync in using shared memory. So the performance of sram_GEMV is not faster. I guess that's maybe the reason.
I will try to test on some other machine like m2 pro ( which has 19 GPU core with 200GB/s bandwidth).
BW related information are from: https://github.com/mikeroyal/Apple-Silicon-Guide

The ratio of local to global memory bandwidth is the same across all Apple GPU architectures. All major performance parameters are, except absolute performance. This makes analysis easier - execution speed scales directly with GPU core count.

The ratio of local to global memory bandwidth is the same across all Apple GPU architectures. All major performance parameters are, except absolute performance. This makes analysis easier - execution speed scales directly with GPU core count.

so what you mean is that M2 Ultra has 800GB/s BW and M2 Pro has 200GB/s BW is only related with their GPU Core, it means how many bytes can be loading in one wave by all GPU cores？and the Bytes/Cycle is all the same across all Apple GPU arch？

Yes. Bytes/core-cycle and similar metrics are normalized by:

(1) number of GPU cores
(2) number of GHz

When you account for those two factors, a lot of characteristics match across GPUs in the same family. In fact, I found almost identical quantities across different hardware vendors. Even numbers that are the same in a CPU core. For example, 64 bytes/core-cycle from L1 and 32 bytes/core-cycle from L2. Both a CPU and GPU core have an I/O bus with the same number of bits. The difference, is GPU cores have many more transistors for math/computation.

Yes. Bytes/core-cycle and similar metrics are normalized by:

(1) number of GPU cores
(2) number of GHz

When you account for those two factors, a lot of characteristics match across GPUs in the same family. In fact, I found almost identical quantities across different hardware vendors. Even numbers that are the same in a CPU core. For example, 64 bytes/core-cycle from L1 and 32 bytes/core-cycle from L2. Both a CPU and GPU core have an I/O bus with the same number of bits. The difference, is GPU cores have many more transistors for math/computation.

oh i see... thank you, and I have one more question, accoding to your codes, I found it maybe possible to load vector and broadcast into simdgroup_matrix. as you can see the bottleneck of GEMV is bandwidth. Have you ever tried to load vector into simdgroup_matrix？simdgroup_load can get higher bandwidth or not(i think not, cause seems no special cache for simdgroup_matrix load\store)?
on the other hand, try to use simdgroup_matrix will bring about wast of computation, [1,8] @ [8,8]--> [8,8] @ [8,8], 7x computation than original GEMV.

SIMD-group matrix multiply is for GEMM, which is compute-bound. GEMM and GEMV have very different performance characteristics. For GEMV (MAT x VEC), the bottleneck is reading the matrix from memory. The matrix is only read a single time, so you want to maximize the bandwidth of reading the matrix. The vector is read several times. Usually you can arrange the GPU threads so the L1 subsystem coalesces memory reads to the vector.
For GEMM, both the lhs and rhs are read multiple times. To minimize the number of read operations, you have to store the matrices on a local piece of SRAM. They transfer data between GPU threads in different directions that aren't as straightforward as GEMV. This is where hardware acceleration is helpful; SIMD matrix multiply. There's also instructions to minimize the latency when transfering data of a matrix from RAM to SRAM; SIMD async copy. These instructions only provide speedup for matrix-matrix multiplication (GEMM).


namespace name 'Ui' doesnt exist

Assets\Flappy Bird Style\Scripts\GameControl.cs(5,20): error CS0234: The type or namespace name 'Ui' does not exist in the namespace 'GetSocialSdk' (are you missing an assembly reference?)

hi,
did you enable UI in GetSocial Settings?
Please try to disable and enable it again, it should fix the issue.


Fix broken github link

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

Short description of the change(s)
Fixed a github link pointing to https://github.com/webhint instead of https://github.com/webhintio.

Thanks @csabapalfi!

@csabapalfi Change is now live! 🎉

Amazing, thanks!


Adding new component - Autocomplete Text Box

This component is used to create autocomplete textbox, Values of autocomplete are taken by Elements list in property control panel.
Git Branch: https://github.com/manishkhanchandani/appinventor-sources/tree/autocomplete
GAE app: http://1.amitappl2.appspot.com/

@josmas
Closing this pull request without merging it.


Add region support

Hi,
I added support to specify a specific region for a bucket instead of using the default.

Thanks for your contribution! We liked your idea, but we've made one minor adjustment: we use the standard region names (e.g. us-west-2) instead of boto location names (e.g. USWest2), since the latter are an implementation detail.


error -419962271

I can't open anything
What's the meaning of this?
Can't open entity 'Connections'
原因：
-419962271
====
Can't open resource 'Script.sql'
原因：
-419962271

hi @myron934 ,
could you share log/debug log (https://github.com/dbeaver/dbeaver/wiki/Log-files) and any screenshots/videos that could help to reproduce the issue?

Sorry, the log is missing.
I uninstalled the application, and I reinstalled it next day.  it worked now!
thank you!


resolves #510 add support for projects hosted on GitLab

This PR adds support for projects hosted on GitLab, including star count.
~Due to how the GitLab API works, it's necessary to specify the repo using the ID instead of the path. The repo property in the front matter must be defined as follows:~
repo: gitlab:4180516

UPDATE: This PR now implements a separate repohost field. And we found out that the GitLab API accepts a repo path as well. So now the configuration is:
repo: antora/antora
repohost: gitlab

The repo will get replaced with the URL returned from the API.
In order to use these changes, it's necessary to:

run npm i to get the new package
set the STATICGEN_GITLAB_TOKEN environment variable to a personal access token
remove and rebuild the staticgen-archive.json file

I also found I had to update react to at least 16.3.0 to get the site to build without error. (UPDATE: This can be avoided by installing packages using yarn).

@erquhart I'm keen to get your feedback on this PR. I'm happy to update if there's something about it that you think could be improved.

Thanks for the feedback! I'll work on the updates.

the GitLab API accepts this as the project id if it's URL encoded

Wow, I looked for that for 20 minutes and somehow missed. That will make things a lot easier. I'll give it a shot.

We shouldn't need to store any additional or different data in the Gist cache

I kind of like the idea of allowing the API to resolve the repo URL instead of hard coding it. If we take that route, doesn't it have to be stored in the cache?

We should update the "GitHub stars" label(s) in the UI, to something generic, as it isn't accurate as of this PR, maybe "Repo stars".

Oh, good point! I looked right past that one.

Can you add Antora to this PR so we can see it in action?

I would say yes, except the other Antora PR is still open and the submitter requested that we built on it. Can we take that route instead?

I'm not against allowing the API to provide the URL, but we're not doing it for GitHub, and our templates are still set up for hardcoded url building. I'm thinking if we want to change how the URL is retrieved/built, let's handle it under a separate PR and keep this one straightforward.
Regarding the doc PR, I'm all for honoring community effort, but the PR in question contains a copy paste from the main page of the docs, so there's no real effort being lost. If you'd like to pull her commit into your PR here and then add another to get the page where you want it, please do! We just need this PR to include a working application.

We just need this PR to include a working application.

In that case, I'll move forward with including the entry for Antora in the PR. Stay tuned.

but we're not doing it for GitHub, and our templates are still set up for hardcoded url building.

My PR had included this change. And the reason for it is that I was trying to avoid adding repository-specific logic to the templates. I think it's better if the UI passes a pure model than to be hard-coding github.com in the templates (and thus the template knows about the repository types). I'm fine with doing it in a separate PR, but it really feels part of this PR to me.

Ah, somehow I missed that you addressed the templating issue. I'll take another look when I get to my machine. The only other concern is how we're storing the data. I think each project has any array of cache objects, each with stars, Twitter flowers, etc, for each date. We need to make sure we're not storing the repo url for each date, but rather once per project, and just rewrite it each time in case it changes.
Sent with GitHawk

Actually nvm on storing the repo once per project. We should do it that way, but I've already limited the cache to 7 days of data per project, so the redundant data won't put us over the gist size limit. Someone can improve it in the future.

Thanks for the additional insight. I'm going to try to complete the update tomorrow night. We'll then iterate from there.

Given that point 1 makes it impossible to infer the repo host from the repo name, we should explicitly state the repo host in a project's frontmatter

Why not a prefix like gitlab:antora/antora?

The reason I suggest the prefix is because a) it's simpler to type, b) allows the repo field to be globally unique, and c) requires the smallest change to the code (which only passes the repo string in several places).

@erquhart I have updated the PR.
Btw, I still can't build the site locally without upgrading React. I'm not sure how it's working on Netlify.

It would be nice if this repo published deploy previews to Netlify, or is that already available?

There are plenty of reasons to access the repo host name vs the repo location, they're separate data points. I get the uniqueness thing as generally ideal, but it only has real value if we depend on that uniqueness somewhere. The format <host>:<user>/<project> is a bit of a DSL, and the benefits aren't really there. I'd rather see us call these distinct data points what they are explicitly.
Again, I'm with taking on redundant data for expedience, like the repo url being repeated a bunch of times in our data, but I don't think there's much more work to add an optional repo_host field that would only need to be added to the Antora project initially.

Also, deploy preview is up now, sorry about that 👍

Also, deploy preview is up now, sorry about that

It looks like the GitLab integration isn't working in the deploy preview. Perhaps the token isn't set?

There are plenty of reasons to access the repo host name vs the repo location, they're separate data points.

Yes, I get that, but,

The site doesn't, currently
This introduces a much larger which just isn't needed right now

I get the uniqueness thing as generally ideal, but it only has real value if we depend on that uniqueness somewhere.

But it does depend on that uniqueness because the repo is being used as a key. Changing that means changing how the data is passed around, which involves several functions.
I was trying to keep the change as localized as possible. You seem to want to overhaul the core project logic. I'm fine with doing that, but you need to give me a clear indicator that would be accepted before I spend time on it.

I don't think there's much more work to add an optional repo_host field that would only need to be added to the Antora project initially

Yes, it is a lot more work. And since I'm the only one that seems to be willing to do it, I'd ask that you trust my advice. It seems to me like the milestone keeps getting moved to have Antora added to this site, which frankly is frustrating me. But I'm willing to stick with it if you can confirm that you are ready for whatever change I have to make to support this repo_host field correctly.

And, btw, repo_host would introduce an inconsistent naming pattern. There's already a frontmatter key named startertemplaterepo that follows a different pattern. So do you want the name of the field to be repohost instead?

For the record, I don't see what the problem with gitlab:antora/antora as the repo name is. That's a globally unique name and easy to parse. And without the prefix, it's meaningless anyway (because it doesn't tell you what host it is). So I'd argue that the host is part of the key.

I wrote up a very well thought up response, and then navigated away in my over-confidence regarding GitHub's draft backup functionality 🙄
I'll just summarize:
Your work on this is greatly appreciated, I don't take it for granted a bit. There was no intention of moving the goal post, more like the goal post was never set up because I didn't expect to be thinking about this at the moment. Definitely want to help you get Antora added, just want to get it right.
Regarding repo_host (or more accurately, repohost, thanks for pointing that out), I'm loosely expecting the following:

In scripts/fetch-archive.js, we gather the repo_host and repo from the project frontmatters
We convert the repohost/repo pairs into urls from the respective Git host API's
We only use the resulting URL across the app, repo and repohost never leave the script
Anywhere outside of fetch-archive.js that uses a project's repo value as a unique key can still use it as a unique key, as it should be a unique URL returned by a Git provider API

I could easily be missing something, as I haven't touched this codebase much in some time, so please correct any inaccuracies there.
Finally, I'm going to let the above be my last feedback on the approach. You were writing books about programming before I was even in the field, so obviously whatever you submit will be a great solution. If my suggested approach here doesn't fly, just go with your gut, no need for further discussion. I'll guarantee that it'll be merged as long as it works.
The included project file doesn't work because it just has antora/antora for repo. Any updates you push should build and deploy right away, I did add the GitLab key to the Netlify site.

Thanks for the clarifications. That's the direction / commitment I needed. I didn't mean to sound like I know better, just that I need to know what you expect. And you've made that clear. I will proceed as proposed and let you know when it's ready. Cheers!

The included project file doesn't work because it just has antora/antora for repo

:man_facepalming:
(I'll make sure the fields are actually right after the next round of updates).

I still can't build the site locally without upgrading React. I'm not sure how it's working on Netlify.

I now understand now why this is happening. The yarn.lock and package-lock.json don't agree with each other. I was installing using npm i, which gives me react 16.2.0. If I install with yarn, I get 16.3.2 (which is what is being used on Netlify). 16.3 works. 16.2 doesn't work.
If I get a chance, I'll address that situation in a separate PR.

I believe I have implemented the changes as requested.
I also updated the README to including information about the GitLab token. While in there, I mentioned that the GitHub token requires both the repo and gist scopes.
For some reason, my updates are not triggering the deploy preview on Netlify. I'm seeing "Deploy Preview #511: issue-510-gitlab-support@0be6743 skipped" at https://app.netlify.com/sites/staticgen/deploys

Although Antora doesn't yet make use of it, it's also possible to specify the startertemplaterepo as:
startertemplaterepo: antora/demo/docs-site

The host is assumed to be the same as repohost unless the value contains a colon (indicating it's some sort of git URL).

@erquhart I've updated the code. Could you take a look when you get a chance?

Sorry for the delay - preview looks good, let's get it in. Thanks so much for your efforts and patience! Also note that we won't see live data from GitLab until the next cache refresh, some time in the next 24 hours.

Update: looks like we're passing just the repo (Eg. "antora/antora") throughout the site instead of the url, so the repo links don't work. I rolled the published site back to the previous deploy and locked it there for now. Let me know if you had a plan for finishing that out, I probably should have waited for you to indicate it was merge ready.

looks like we're passing just the repo (Eg. "antora/antora") throughout the site instead of the url, so the repo links don't work.

I swear I tested that. But then again, we've changed this so many times, it must have slipped through the cracks. I'll retest.

looks like we're passing just the repo (Eg. "antora/antora") throughout the site instead of the url, so the repo links don't work.

Actually, this is incorrect. As I said, the repo in the cache needs to be the URL, which is what fetch-archive now stores. Here's a sample:
{"timestamp":1560500313364,"data":{"antora":[{"timestamp":1560500313364,"followers":540,"stars":153,"forks":60,"issues":114,"repo":"https://gitlab.com/antora/antora"}],"jekyll":[{"timestamp":1560500313364,"followers":6804,"stars":37958,"forks":8278,"issues":140,"repo":"https://github.com/jekyll/jekyll"}]}}

Here's how it looks after I run the build: https://gist.github.com/mojavelinux/06cb0318e4fb23d319be277f569f530e
I even put up a sample Netlify site with this code to prove that if you flush the cache, it will work. You can see it in action here:

https://staticgen-gitlab-support.netlify.com/antora/
https://staticgen-gitlab-support.netlify.com/jekyll/

So what doesn't work exactly?

Also, why do the links from the cards on the home page hard code the domain? That seems unnecessary (and makes testing confusing).

Here's where the repo from the cache gets assigned to the model:

https://github.com/netlify/staticgen/blob/master/static.config.js#L70
https://github.com/netlify/staticgen/blob/master/static.config.js#L89

It turns out, it might be a completely separate problem. I think the gist download broke, perhaps because something changed in GitHub's API. On a second run, my local archive is always corrupt. As a result, all the links, stars, and followers are missing because there's no data to read.

I can confirm this is the problem. I'll try to figure out why it's happening, though likely I'll file a new issue.

See #515

Btw, thanks for merging!

No problem - thanks for following up with the truncation fix!


Add option to disable quoting in entrypoint exec

Add option to disable quoting in entrypoint exec
Usage:
docker run <image>:<tag> --unquote-exec "cmd"
docker run -e UNQUOTE_EXEC=true <image>:<tag> "cmd"

@jacobtomlinson Can you double check this? Then we should be good to merge it


no limitation on the inputs?

Hello! First of all, thank you for creating such an amazing model. As a Korean, my English might be a bit awkward. From what I understood while training the model, I thought that Mamba can accept inputs without any limitations. However, when tokenizing text or performing operations within the model, is it necessary to align the inputs consistently with the data batch size? Is there really no limitation on the inputs?

I'm not sure I understand. The Mamba module input/output is similar to many sequence-to-sequence modules such as attention or MLP in Transformer, i.e. of shape (batch, seqlen, hidden_dim). The Mamba language model takes in input_ids of shape (batch, seqlen) just like other language models.

As I understand it, mamba is similar to other seq2seq models. It learns the mapping relationship of (b, l, d)-> (b, l, d).
So, within a batch or across multiple batches, the sequence length needs to be consistent.

Of course, for inputs that are not consistent, we can use padding to make the seqlen consistent within a batch  or across multiple batches.
Moreover, we can fully exploit the characteristics of the seq2seq models so that inputs are no longer restricted. For example,

Transformer: We can break down the attention calculation into basic 1row attention
Mamba: We can reset the hidden states when multiple inputs are stitched together.


Adding provision to clean out alternate config

Nukes the not-in-use config to prevent it inadvertently being used to bounce around from a not-used endpoint.

Updated with comments.


LB followed by LUI seems to be weird

Found this in an unrelated test:
LB $1, 0($2)
LUI $2, 0x8000
The LUI seems to change the memory address that the LB is loading from. Investigate this deeper. Does this happen with just LUI or also other instructions?

False alarm. This was a bug in the exception handler


implement plugin

Let finitedepth analyze files do analysis.
In the future, something like finitedepth gui files will be done.

https://gist.github.com/jirihnidek/3f5d36636198e852280f619847d22d9e


Permission denied

by default my container create this user:group files
drwxr-xr-x 2    1000 root    4096 Jun 16 15:11 apps
-rw-r--r-- 1    1000 root    4276 Jun 16 15:06 config.js
drwxr-xr-x 2    1000 root    4096 Jun 16 15:11 data      (database)
drwxr-xr-x 2    1000 root    4096 Jun 16 15:11 images
drwxr-xr-x 4    1000 vagrant 4096 Jun 16 15:11 themes

how I can sync this whitout Permission denied
Permission denied [rmdir(/....)]

Maybe try vagrant unison-cleanup and then sync again? That will try to remove all files in the VM (using sudo) and then re-sync them as the default vagrant user.
I have not tested this on more complicated setups using the non-default vagrant user, I just use a slight variation the vanilla ubuntu vm which basically just has one user, the vagrant user.


Update Sentinel CLI to 0.3.2

Hi,
Could you please update this official repo and create the release v0.3.2 as per fork from freQnik?
https://github.com/freQniK/cli-client/releases/tag/v0.3.2
Otherwise users get confused and complain that sentinel cli does not work.
Thank you!

Yeah, I couldn't create a new release on here. Tony will have to. Meanwhile, I will be adding v0.3.2 with the "inactive_pending" fix shortly.

v0.3.2 with inactive_pending fix. Builds for OS X (intel, arm), Linux (x86), and Windows (x86)
https://github.com/freQniK/cli-client/releases/tag/v0.3.2

@bsrinivas8687 @ironman0x7b2 could you please update to 0.3.2? Consequently I will updated docs as well ad it now points to freQnik repo.

Could you enable @freQniK as contributor so he can push CLI 0.3.2?


The table data disappear when clicking one random column under Query Builder

Storage Explorer Version: 1.11.1
Build: 20191212.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand a storage account -> Tables.
Create a new table -> Add several entities to it.
Open Query -> Try to click one random column on the table row.
Check whether the table data disappear or not.

Expect Experience:
The table data show well.
Actual Experience:
The table data disappear.

More Info:
This issue also reproduces on 'Text Editor'.

@v-limu can you verify this bug please?

@v-limu can you verify this bug please?

Hi @MRayermannMSFT Verified on build 20210126.2. This issue still reproduces. please see the record.

Hi @MRayermannMSFT Verified on build 20210126.2. This issue still reproduces. please see the record.


Add a JS npm lib to assist with invoking commands.

Ping @rvdkooy :)

Closing, npm package was contributed.


stage0: don't change the group ownership of rootfs

Setting the group of the rootfs to 'rkt' causes problems with user
namespaces when the group is not mapped in the user namespace. It
prevents the container from doing a 'mkdir' or a 'lstat' on /proc. See
https://github.com/systemd/systemd/issues/1585
Setting the group ownership of the rootfs to 'rkt' was done in
https://github.com/coreos/rkt/pull/1452 so that the command 'rkt status'
could work as non-root. However, if the rootfs is r-x for others, setting
the group should not be necessary. r-x for others was removed by
https://github.com/coreos/rkt/pull/1607 but I am adding it back.
This patch reverts a part of https://github.com/coreos/rkt/issues/1602,
therefore fixing the regression with user namespaces. 'rkt status' as
non-root still works.
Fixes https://github.com/coreos/rkt/issues/1602

/cc @yifan-gu @krnowak

LFAD.


[Bug]: Hackathon Example Fract Github Link B

Describe the bug
The link under Github "Go" for Fract doesn't actually link to a GitHub, rather an inactive heroku site.

To Reproduce

Go to 'https://docs.chain.link/docs/example-projects/'
Click on 'Chainlink Spring 2021 winner Fract Github Link' "Go"
See error

URLs

https://docs.chain.link/docs/example-projects/
https://fraxio.herokuapp.com/

Expected behavior
Expecting a link to github
Additional context
I'm doing research and gathering inspiration for my hackathon team, because it's what I do

It appears there is no GitHub repository for the project, the only link I have found to the relevancy is https://devpost.com/software/deconomy , and their website is not working as well.

Hello,
Here is what I found: https://github.com/FractioXYZ
that being said, don't think the project is still active. their website doesn't seem to work either: http://fractio.xyz/.
Also, are you following the youtube tutorials specifically made for the hackathon? These are good resources for the hackathon https://www.youtube.com/c/chainlink/videos?view=2&live_view=503
good luck :)

@tippi-fifestarr yes it makes sense . Reopened the issue until it is fixed
thank you


Support for Grpc in flutter_web

Currently Flutter (mobile) support Grpc, with the pub package: "grpc 2.0.0+1" but unfortunately this does not work for Flutter_web.
One could use the  package: "grpc/grpc-web", but that provides a javascript library.
Ideally the Grpc package is enhanced in such a way that is support out-of-the-box both mobile and web context. Second best is another Grpc generator that generates Dart code, that can communicate with Grpc.

This is a more appropriate issue for https://github.com/grpc/grpc-dart


System Status bug

Describe the bug
After setting or changing system status, the menu stay opened. To close it, you need to click two times in brower
To Reproduce
Steps to reproduce the behavior:

Select Node System
Set or Change System Status
Menu still open

Expected behavior
Menu must be close
Screenshots

Desktop (please complete the following information):

OS: [OS Sonoma]
Browser [Safari]

Additional context
Add any other context about the problem here.

the issue with it staying open was already there before was not able to find the source easily.
like you also need to double click when only right clicking without selecting any of the menu options.

don't worry, I know this issue. I try to fix it tonight


Unable to sign in CodeCrunch

I was not able to login into CodeCrunch despite using NUSNET ID and Password.

Do not use nusstu\e1234567, or<EMAIL_ADDRESS>Just e1234567 will do.  If you change your password recently, you will need to wait for the change to propagate to our systems.

Closing due to inactivity. Please open a new issue if there are still problems.


Docker setup

Configure docker files to accomodate development project

[ ] Make code run in docker with exposed ports using ipv4
[ ] Create sanitizer to clean docker development environment
[ ] Create docker compose file, to include a full environment to be run locally.

Duplicate of #68.


Video support / Extensibility

This issue is a: Feature request
Video support
Hello.
Love the component, especially the elegant UX of it. Would like to know if there are plans or a possibility for video integration? As a better alternative to gif. https://help.imgur.com/hc/en-us/articles/208606616-What-is-GIFV-
I hacked together a simple version that replaces the image with a video tag as a proof of concept:
https://www.youtube.com/watch?v=sgAzI9YyxUI
If there are no plans for integrating this sort of functionality, can anyone point me in the right direction of extending this component?
Thanks in advance!

@mikkmartin I'm curious if you ended up with a solution for your use-case here?


Revert "fix(menu): multiple close events for a single close"

Reverts angular/material2#6961

@ppham27 This was causing some unexpected screenshot diffs when I attempted to sync it into Google. I had to revert since it was blocking the sync process. If you create a new PR to undo the revert I will LGTM and investigate the failure before merging again - thanks!
@crisbeto @jelbourn FYI


Tact doesn't catch when the FunC identifier specified in @name() doesn't exist

When specifying a non-existent FunC identifier (neither in stdlib.fc nor in imported FunC code), Tact doesn't catch that and the error leaks to FunC, where compilation errors with a misleading message.
I.e., the following snippet:
@name(iDontExist)
native youDo();

contract Test {
   get fun test() {
       youDo();
   }
}

Produces this FunC (and not Tact's) compilation error:
/test/tact_SimpleCounter.code.fc:23:5: error: undefined function `iDontExist`, defining a global function of unknown type
      iDontExist();
      ^

While the expected behavior would be to tell that the function iDontExist wasn't found in imported FunC sources or something like that.

Thing is, we'll need to support wrapping FunC functions even when we move to non-FunC backend and compile to Fift or straight to BoC's. So making a FunC parser may not be that bad of an idea, although catching compilation errors from FunC seems better.
Especially if we could influence an API for them — expose the compilation error facilities into funcfiftlib wasm OR to do some C++ addons from Node, binding to FunC's C++ sources. But again, this seems like an over-engineered solution too, although I'd argue that TON's C++ APIs could've been more wrappable, such that there would've been no need for re-implementing stuff in TypeScript, Dart, Go, Python, .NET, etc. — we could've bind to C/C++ :)
Anyways, if FunC's error messages keep their format as is, just parsing them will be the easiest of the options we have


Update organization-assets-library.md

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: niwoon sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Rework CSS build

Provide a clear way to add styles to the app as a whole, in addition to individual components. Also, transfer/translate Tome's styles to project.

@MrFancyMonocle Can you put a weight on this?


Enforce squash merging by default

Describe the motivation for the feature request
The git history for this repository is kind of messy and riddled with duplicate commits/merge commits. This makes it hard to track changes, especially small ones. It also produces commits on the main branch that may not necessarily work. If a PR like
1. New commit with a bug
2. Fix bug
3. Address review comments

is not squash merged, the main branch will not be buildable at the intermediary commit (1.).
Describe the solution you'd like
Squash merging by default would create one commit on main for each PR. If a contributor revises a PR multiple times, the intermediary commits get "squashed away", resulting in a cleaner git history on main.
If applicable, describe alternatives you've considered

It is unrealistic to change the git hoster (to e.g. Gerrit).
Rebase merging does not solve the issue of adding potentially faulty commits to main. It would be inconvenient to expect contributors to squash, and review history would probably be lost.

Other merging strategies certainly have their use cases (for instance for large feature commits), but I think a healthy default would be a "1 PR = 1 Commit" approach.
Related docs

Thank you, we can take this into account for future PRs/currently unmerged PRs. I'm not sure the problem is easily solvable retroactively for the already published git history.

@illuhad Cool, Thanks!
Yeah it probably won't be possible to change this retroactively. The only way I can think of is creating a new branch and cherrypicking the develop branch manually into it :rofl: Probably not too realistic for ~2000 commits :rofl:
On second thought it may not be THAT unrealistic. Ok I'll check whether something like that would preserve the correct contribution attributions. If it does, I'll see what my cherrypicks per hour speed is and how long this would take :rofl:

Unfortunately unrealistic after all. I guess we'll just have to live with it for the existing git history.


feature: add tests for aria-hidden and aria-label for icon component

Description
Adds tests for the Icon component testing the aria-hidden and aria-label attributes; addresses #130 .
Solution
Creates a Story for two cases - rendering an Icon with and without an alt prop value.
Testing

Checkout this branch
In one terminal, run cd packages/wethegit-components, followed by yarn start
In a separate terminal, run yarn test-storybook
Navigate to http://localhost:6006/?path=/story/components-icon--default and http://localhost:6006/?path=/story/components-icon--with-alt and verify that the tests under the Interactions tab have all passed, respectively
Additionally, go to the Controls tab and try setting values there, hitting the refresh icon by the top of the canvas and verifying the tests run and pass in the Interactions tab

I've run the update and tested scenarios with and without the 'alt' arg and the component updates accordingly.


flickr api key mandatory

In the local.py the flickr_api_key and flickr_api_secret are defined based on the config.json values, but they are mandatory, even if the photo repository is local and there are no flickr key and api codes. Results in error when doing make migrate and make index

thanks for reporting, can you post the traceback error log?
Dr. Carlos Peña
Laboratory of Genetics
Department of Biology
University of Turku
20014 Turku
FINLAND

Associated Editor, Revista Peruana de Biología
http://revistasinvestigacion.unmsm.edu.pe/index.php/rpb
The Nymphalidae Systematics Group
http://nymphalidae.net http://nymphalidae.utu.fi/db.php

On Tue, Jun 30, 2015 at 1:17 PM, cdoorenweerd<EMAIL_ADDRESS>wrote:

In the local.py the flickr_api_key and flickr_api_secret are defined based
on the config.json values, but they are mandatory, even if the photo
repository is local and there are no flickr key and api codes. Results in
error when doing make migrate and make index
—
Reply to this email directly or view it on GitHub
https://github.com/carlosp420/VoSeq/issues/249.

ubuntu@voseq2test4:~/VoSeq$ make migrations
python voseq/manage.py makemigrations --settings=voseq.settings.local
Traceback (most recent call last):
  File "/home/ubuntu/VoSeq/voseq/voseq/settings/local.py", line 25, in get_secret
    return secrets[setting]
KeyError: 'FLICKR_API_KEY'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "voseq/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 190, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1448, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/lib/python3.4/dist-packages/django/core/management/commands/makemigrations.py", line 8, in <module>
    from django.db.migrations.autodetector import MigrationAutodetector
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/autodetector.py", line 13, in <module>
    from django.db.migrations.questioner import MigrationQuestioner
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/questioner.py", line 12, in <module>
    from .loader import MIGRATIONS_MODULE_NAME
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/loader.py", line 10, in <module>
    from django.db.migrations.recorder import MigrationRecorder
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/recorder.py", line 9, in <module>
    class MigrationRecorder(object):
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/recorder.py", line 23, in MigrationRecorder
    class Migration(models.Model):
  File "/usr/local/lib/python3.4/dist-packages/django/db/migrations/recorder.py", line 24, in Migration
    app = models.CharField(max_length=255)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/fields/__init__.py", line 1081, in __init__
    super(CharField, self).__init__(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/db/models/fields/__init__.py", line 161, in __init__
    self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
  File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 48, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 44, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 92, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/ubuntu/VoSeq/voseq/voseq/settings/local.py", line 35, in <module>
    FLICKR_API_KEY = get_secret("FLICKR_API_KEY")
  File "/home/ubuntu/VoSeq/voseq/voseq/settings/local.py", line 28, in get_secret
    raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured: Set the FLICKR_API_KEY environment variable
make: *** [migrations] Error 1
ubuntu@voseq2test4:~/VoSeq$

Thanks Camiel,
I just fixed the problem. Now it should work even if you don't have the FLICKR_API_KEY and FLICKR_API_SECRET in your config.json file.


chore: updated guide tags

Description
adds resource links and tags to the area chart index page.
this also has prettier linter improvements
Reviewer Notes
In order to build locally I had to delete yarn.lock, so there is a big update in this PR for that file.

closing and resubmitting without the yarn.lock changes.


Improve Redraw() performance on large files

I noticed that performance with Redraw() was really bad when opening a 2000-3000 line long Powershell file

I did some profiling and found that most time is spent on matching tokens
This fix makes the token matching / adding runes only run for the rows being displayed, as it currently processes all rows (including those that are not being displayed)

I'm sure we can optimize further but this is a start  :-)

Had to move the population of Errors variable out of the ColorToken function, otherwise we dont report errors that appear offscreen, so  the syntax errors dialog should also work now

Awesome! Huge improvement!


kubectl edit add new field in cronjob says "Edit cancelled, no changes made."

What happened:
Create a new cronjob using:
kubectl create cronjob myjob --schedule="*/2 * * * *" --image=nginx -- /bin/sh -c 'curl example.com'

Then try to use kubectl edit to edit the cronjob and add the new field: successfulJobsHistoryLimit under the spec according to https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#jobs-history-limits
After save (using vim :wq) I got: Edit cancelled, no changes made
However If I edited an existing field (such as failedJobsHistoryLimit) I got cronjob.batch/myjob edited
What you expected to happen:
To get cronjob.batch/myjob edited
How to reproduce it (as minimally and precisely as possible):

apply the same steps in the description
Anything else we need to know?:
Environment:

Kubernetes client and server versions (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z",GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:50:46Z",GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration:

katacoda
local k3s installation

OS (e.g: cat /etc/os-release):
in case of katacoda:

controlplane $ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

in case of k3s:
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

UPDATE:
patching seems to work too.
kubectl patch cj mypod -p '{"spec":{"successfulJobsHistoryLimit":1}}'

My fault, the issue is that the field already exists near the bottom of the file.


Automatically apply focal point from asset if no position is passed

Fixes #270

Added in v2.3.0.


MongoDB improvements

This quickstart is lacking in alerts and due to the interest in it from our customers we should add alerts to make this quickstart higher quality.
Justification
These are pages that are getting traffic or have high search
Acceptance Criteria

[ ] add at least 1 - 2 alerts

I'm going to close this issue for now, but if we hear feedback from customers or field folks about it, we can reopen this.


Naive version compatibility check

The function https://github.com/coreos/etcd-operator/blob/master/pkg/backup/version.go#L38
should have at least a check that passes if the versions match. I ran into a situation on an older etcd-operator that while it was working find with 3.2.7 etcd version it failed to restore backups because requested version (3.2) does is not compatible with the backup (3.2).

Not catching the question.
Can you talk step by step about what happened?

The example is from 0.4.2 operator. The backup isVersionCompatible in that version does not know about 3.2 etcd. However operator will upgrade a 3.1 cluster to 3.2 etcd. Backups will also start creating backups for this 3.2 cluster. However when trying to restore it will fail with an unexpected 400 status code in the operator when requesting to get the backup from the sidecar.

@cehoffman
Please use 0.6.0 operator.

@hongchaodeng the version of operator is immaterial to this issue

the version of operator is immaterial to this issue

Why? I think your problem is that 0.4.2 operator doesn't allow 3.2. It's recently added and 0.6.0 definitely has it.

It isn't about 3.2 but about the fact that operator can upgrade etcd to an unknown version to operator, allow backups, and then fail to restore those created backups. This introduces a vector where operator causes data loss even though backups are functioning. As has been seen through the backward incompatible changes for operator, an end user may not be able to upgrade operator.
It is self evident that version x is compatible with itself, yet operator says it is not.


Can we know whether cellular network is 2G or 3G or 4G

Hi,
I would like to know whether  network  type is 2/3/4 G.
I know there is ConnectionTypes available but it's just telling whether it's cellular or wifi.
I need this to check whether to  load large data or in bits based on the network speed.
Is bandwidth an option for such cases?

There is a Bandwidths field, which is probably more useful than knowing the generation number based on your question.


How to use objects from ReplicaCAD and AI2THOR in my custom scenes?

Hello！
I want to use some objects from ReplicaCAD (or AI2THOR) scenes and place them in my own custom scenes, such as the bowls and pans in the photo. How can I extract these objects?

Also, where can I easily browse all the objects in all scenes in ReplicaCAD and AI2THOR?

These assets are curated by the authors of ReplicaCAD and AI2THOR, we simply just instantiate them here. To find the assets you can go to the folder the assets were downloaded, you can find .glb files that you can copy and build actors/articulations with yourself.
To get the exact ID you may want to copy the scene builder code for these scenes and print each object id built and the file used.


Add Redis heading to README.md

Tell in README.md about using Redis and Celery
Remove heading about Cron

Realized: pull request #120

To production: pull request #120


Add Arch package registry

Close #25037
Close #31037
This PR adds a Arch package registry usable with pacman.

Rewrite of #25396 and #31037. You can follow this tutorial to build a package for testing.
Docs PR: https://gitea.com/gitea/docs/pulls/111
Co-authored-by<EMAIL_ADDRESS>Co-authored-by: @ExplodingDragon

IIRC, @ExplodingDragon has fix the UI problem in the origin PR.

But according to him, it seems that not only in arch package, others also has this problem.
This can be fixed later. Not a block.

@KN4CK3R the proper route handling:  Refactor arch route handlers #32993


Support configuration and environment variables of zeebe >= 0.23.0-alpha2

Description
The next alpha release of zeebe comes with changes to the configuration files and environment variables. These need to be reflected here.

Kind of solved via #69


Add mix task to reset queues

I saw this with task_bunny and I think it's pretty useful in dev

https://github.com/shinyscorpion/task_bunny#reset-queues

@tlvenn @edgurgel Can I work on this one?

Fine by me! 👍

About removing the queues, do you guys think would be a good idea to only remove the queues listed in the config files?
Something like: https://github.com/klebervirgilio/verk/commit/b0fcbd9d4f887dd8edb812079f6555f4a1337c8a

I think that's good enough for now. I'm not sure how common is the use case of starting queues dynamically 👍

Hi @klebervirgilio, could you please make a PR so we can review and merge? Thanks !

@edgurgel @tlvenn before I open a PR, I was wondering, do you think is a good idea use Verk.Queue. instated of calling Redix directly? IMO, the good thing about it would be that Verk.Queue is the module where knowledge about Queue should live.

Hey sorry for the late reply!
I agree Do you mind adding a new function to Verk.Queue and using it for the mix task?

Hi @klebervirgilio , any update on your progress ?
Thanks in advance.


Weird bug, can't explain it in the title yet

I have two modules which have the same folder structure.
Both have also an index.css in the root, which does:
@import './src/style/index.css'

If I do in my main project:
@import 'module-a';
@import 'module-b';

It will only import the first line. If I switch the lines, it will import so mobule-b but not module-a, always the first line.
The workaround is to do that:
@import 'module-a/src/styles/index.css';
@import 'module-b/src/styles/index.css';

This works.
(Be sure this one doesn't work too:
@import 'module-a/index.css';
@import 'module-b/index.css';

)
I need to inspect why, I just wanted to create the bug first and will be back when I've got more news.
Cheers.

Explanation is here https://github.com/postcss/postcss-import/issues/31#issuecomment-88735346
Closing in favor of this linked issue.
I will try to handle that. Remember that PR are always welcome.


Update translation.dart

Minor update for Slovak language. I'm also thinking about adding a Czech language, as it's very similar. I really like this app, keep it up!

Thank you very much!


Documentation Spellcheck

Small spelling changes on a few of the docs.

Thank you @Lewis-Allen. Appreciate your keen eye!

Thank you @Lewis-Allen. Appreciate your keen eye!


errors after using npm start

I'm having the following errors;
SyntaxError: Unexpected token var
at Object.exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:513:28)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at module.exports (C:\Users\Sulmaz\Desktop\Life\UI & UX\Codes\angular2-seed-master\node_modules\webpack\bin\convert-argv.js:80:13)
at Object. (C:\Users\Sulmaz\Desktop\Life\UI & UX\Codes\angular2-seed-master\node_modules\webpack-dev-server\bin\webpack-dev-server.js:55:48)
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>server: webpack-dev-server --inline --colors --progress --display-error-details --display-cached --port 3000  --content-base src
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>server script 'webpack-dev-server --inline --colors --progress --display-error-details --display-cached --port 3000  --content-base src'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --inline --colors --progress --display-error-details --display-cached --port 3000  --content-base src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Sulmaz\Desktop\Life\UI & UX\Codes\angular2-seed-master\npm-debug.log
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: npm run server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'npm run server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Sulmaz\Desktop\Life\UI & UX\Codes\angular2-seed-master\npm-debug.log
what should I do?

what should I do?

I'm sorry but I don't know. There is just not enough info here so we could help in any meaningful way....


React 16.0.0-alpha.3 support - "react-dom is an implicit dependency in order to support<EMAIL_ADDRESS>

I'm starting new React project and I wan't to use bleeding edge versions of it, which is currently 16.0.0-alpha.3. When running tests, using latest enzyme and jest frameworks, I get the following error:

 react-dom is an implicit dependency in order to support<EMAIL_ADDRESS>Please add the appropriate version to your devDependencies. See https://github.com/airbnb/enzyme#installation

  at Object.<anonymous> (node_modules/enzyme/build/react-compat.js:108:11)
  at Object.<anonymous> (node_modules/enzyme/build/Utils.js:65:20)
  at Object.<anonymous> (node_modules/enzyme/build/MountedTraversal.js:36:14)
  at Object.<anonymous> (node_modules/enzyme/build/ReactWrapper.js:35:25)
  at Object.<anonymous> (node_modules/enzyme/build/index.js:6:21)
  at Object.<anonymous> (src/components/Dashboard.test.js:2:15)

Error appears when writting the following import
import {shallow} from 'enzyme';
In a basic example of test case
import React from 'react';
import {shallow} from 'enzyme';

it('should render a label', () => {
    const wrapper = shallow(
        <label>Hello Jest!</label>
    );
    expect(wrapper).toMatchSnapshot();
});

My package.json looks like this (removed packages that I think are unrelated)
"devDependencies": {
    "babel-core": "6.25.0",
    "babel-jest": "20.0.3",
    "babel-loader": "7.1.1",
    "babel-preset-react-app": "3.0.1",
    "babel-runtime": "6.23.0",
    "enzyme": "2.9.1",
    "jest": "20.0.4",
    "react-dev-utils": "3.0.1",
    "webpack": "3.0.0",
  },
  "dependencies": {
    "prop-types": "^15.5.10",
    "react": "16.0.0-alpha.3",
    "react-dom": "16.0.0-alpha.3",
  },

And I'm running tests using command
jest --env=jsdom --watch
Any idea if I can get it working with React 16.0.0-alpha.3 ?

See https://github.com/airbnb/enzyme/issues/928


Scaffolding is broken in 5.2.4 release

From @mkArtakMSFT on February 16, 2018 21:32
With the release of 5.2.4 of MVC, scaffolding is broken for MVC 5 if customers update their packages until we update VS.
This is a tracking bug to just make sure that the upcoming release will have this fixed.
Copied from original issue: aspnet/AspNetWebStack#130

Correct. Nothing to do right away. Just tracking for the next release. I'll also move this to the scaffolding repo.

From @Eilon on February 16, 2018 21:59
Just a task, right? Nothing for us to change in Web Stack as far as I understood; ultimately the bug is in Scaffolding.

Assigning to the preview2 milestone to handle during validation and make sure that the scaffolding works fine.

@jbagga, parking this issues on your plate for now. This is really used to track scaffolding validation when we'll be wrapping up preview2 release.

@mkArtakMSFT Looks like @prafullbhosale moved this out of the preview2 milestone. Does this need to be validated?

@prafullbhosale, do you have any update on this?
/cc @seancpeters

This is being tracked in TFS now (sent you the TFS issue on email).
The actual work hasn't been started on this yet.

Closing this as there I no action item here and the TFS issue is tracking this work.


add weiqiang as a kubeflow org member

contributing to and maintaining kubeflow operator

This change is

/assign @jlewi

/lgtm
/approve


Add getCSSRootVariable and setTheme to root hook in

Add missing getCSSRootVariable  and setTheme to root hook interface. useEfffect may help with earlier. useState with later.

https://github.com/morewings/css-vars-hook/pull/116


Feature Request: dynamic import with type parameter

Suggestion
🔍 Search Terms
dynamic import
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Support dynamic import() with type parameter.
📃 Motivating Example
Assuming we are developing a framework which implements a CLI that accept such config file:
// xxx.config.ts
import { AppConfig } from 'libxxx'

export default {
  plugins: {
    'foo-plugin': { bar: 'baz' },
  },
} as AppConfig

will be equal to
import { App } from 'libxxx'
const app = new App()

// apply plugin with options
app.plugin(require('foo-plugin'), { bar: 'baz' })

The foo-plugin package can be like this:
import { App } from 'libxxx'

interface Config {
  bar: string
}

export function install(app: App, options: Config) {
  // implementation
}

But we can't get code hints from plugins, because we do not have typings support for dynamic imports.
💻 Use Cases
// libxxx.d.ts
export interface AppConfig {
  plugins: {
    [K in string]: import(K) extends (app: App, options: infer T) => any ? T : never
  },
}

++

Interesting idea, but there’s already an easier way to do this. Each plugin package can augment an interface from the main lib:
// foo-plugin:
import { App } from 'libxxx';

// Add 'foo-plugin' member to `PluginConfig` already declared in 'libxxx'
declare module 'libxxx' {
  interface PluginConfig {
    'foo-plugin': Config;
  }
}

interface Config {
  bar: string;
}

// ...

You can find lots of examples of this on DefinitelyTyped, e.g. for Express middleware packages. See how express-boom patches a property onto express’s Response interface.

@andrewbranch I know, but in your case, we have to import all the 'foo-plugin's into our config file, which is quite annoying......
// xxx.config.ts
import { AppConfig } from 'libxxx'

// if we don't do this, ide will not should proper code hints
import {} from 'foo-plugin'
import {} from 'bar-plugin'
import {} from 'baz-plugin'

export default {
  plugins: {
    'foo-plugin': { bar: 'baz' },
  },
} as AppConfig

That’s a good point. I would suggest putting them in the types field of your tsconfig.json instead (I’m pro-manual-management of types), but, it’s the same amount of manual work.

Seems like a duplicate of #26139, right?

I think you might have mistyped the number on the second one? But yeah, duplicate of #26139 at least in terms of the answer.

Fixed to #42482.

Oh I see. It there possibility to introduce this feature in the future, or as is said in #26139 it was hard to fix?


collect_scores.py needs fix

combine_scores_for_model and load_all_reports needs fixes, to incorporate dropping of all_correctfrom the reports.
Originally posted by @n0w0f in https://github.com/lamalab-org/chem-bench/issues/444#issuecomment-2273726093

It iseems this was implemented via #448