Error trying to get list of app commits

Describe the bug
When trying to get list of commits for an empty repo, wego gives an error.
To Reproduce

Create a repo without committing any files to it.
Run wego gitops install on your cluster
Add the empty repo as an app: wego app add . --auto-merge=true --app-config-url=NONE
Run wego app <appName> get commits

Config and Logs
Existing deploy key found
Error: failed to get commits for app new-test: unable to get Commits for org repo: error getting commits for repo [https://github.com/weaveworks-gitops-test/new-test] err [GET https://api.github.com/repos/weaveworks-gitops-test/new-test/commits?per_page=10&sha=main: 409 Git Repository is empty. []]
Screenshots

Additional Context
Is this the expected behavior?

No this is not really expected behavior. It should just return an empty list of commits. Given the error though that is either coming from go git providers or github. It is something we can fix though.

This error is returned from go-git-providers. This is also expected behavior. Since app-config-url is set to NONE we dont add a commit. I will make it return an empty list though.

go-git-providers throws this error if the repo is empty. We can return an empty list of commits instead. This same error occurs when doing add with --auto-merge=false on an empty repo. Create pull request creates a branch and to create that branch we use latest commit sha.


[NFC] Replace miopen::ProblemDescription with conv::ProblemDescription, part 2

List of changes:

ProblemDescription data fields have been removed
mlo_construct_direct2D_fusion has been replaced with ProblemDescription and removed
ProblemDescriptionCompatTemporary has been created for use in legacy code
Unused code has been removed

Blocker: https://github.com/ROCmSoftwarePlatform/MIFin/pull/83
See https://github.com/ROCmSoftwarePlatform/MIOpen/issues/266

Let me run my set of performance tests before merging

Today we discussed this PR with @atamazov. All validation tests passed, so we can merge the PR. Estimated time for performance test results - the day after tomorrow

@averinevg @junliume
🌀 Performance testing results
Preconditions:

Radeon VII (gfx906/60)
ROCm 5.4.1, Ubuntu 20.04.5
BUILD_DEV=On, Release build
branch 18d368c27 vs. develop ad809f9da
93 known FP32 convolution configs
93 known FP16 convolution configs

Tested modes:

(0) Immediate mode with default (system) find-db
(1) Find Mode (DYNAMIC_HYBRID)
(2) Find Mode (NORMAL)
(3) Immediate mode with user find-db filled by step (2).

Bottom line: 🟢 No performance or correctness regressions.
Logs & csv files available upon request.


Message queue to coordinate data processing

As we get more and more scraped articles and snapshots, it'll become slower to select the data to work on at each step of the processing, e.g. selecting all new snapshots to parse with SQL would be slow and hard to run in parallel.
A message queue is needed to coordinate processing work and to easily generate processing logs and stats.  Kafka is good and popular but adds up to the maintenance costs.  An alternative would be to use existing MySQL as transport and storage for the queue, because we need persistent messages to ensure correct data output.
We can use Kombu from the Celery project, which supports an SQLAlchemy transport to save the messages in MySQL.  Kombu can do simple standard-library-style queues and more complex workers models.
We can work on the message formats and flows first until we've decoupled ArticleParser from ZeroScraper's database schema at Python level.  Then there would be multiple paths to choose from for future works such as multiple ArticleParsers in parallel, tracking processing tasks and dashboard, lesser database maintenance workload (when we can easily tell if a set of snapshots are all processed successfully), separate publishers from ArticleParsers, etc.

The whole data flow could look like the following initially:
                +----------+
                | Web page |
                +----+-----+
                     |
                     |
                     |
                     | scrape scrape
                     v
              +------+------+                +---------------+
              |             |                |               |
              | ZeroScraper |                | ArticleParser |
              |             |                |               |
              +--+----+-----+                +-----------+---+
                 |    |                           ^      ^
        Article  |  +-|---------------------------+      |
 ArticleSnapshot |  | +-------+     +--------------------+
                 v  |         v     |
    +---------------+--+  +---------+----------+
    |    ScraperDb     |  |    KombuQueue      |
    |------------------|  |--------------------|
    |     Article      |  | NewSnapshotMessage |
    |  ArticleSnapshot |  |                    |
    +------------------+  +--------------------+

The main difference from now is the ScraperDb ---> ArticleParser flow.  Since KombuQueue provide article ID and snapshot ID for all incoming snapshots, ScraperDb no longer needs to provide an interface for ArticleParser to query for a range of data (done by a SELECT query now).  Instead an API to get snapshots by their keys is enough.  This query is fast.


PT-1695 | feat: add specific toast error message for event full when enrolling

Description :sparkles:
feat: add specific toast error message for event full when enrolling
refs PT-1695
Issues :bug:
Closes :no_good_woman:
PT-1695
Related :handshake:
Testing :alembic:
Automated tests :gear:
Manual testing :construction_worker_man:
Screenshots :camera_flash:
Tested locally with Finnish and Swedish languages:

Additional notes :spiral_notepad:

kultus-ui branch is deployed to platta: https://kultus-ui-pr292.dev.hel.ninja :rocket::rocket::rocket:


[Feature request] TimeScale + writing files or/and calling external network protocols

I would like a feature where I can increase (maybe also decrease) timeScale, i.e. make everything (including physics) faster.
And a option to write to write custom data (like json) to a file or/and even better an API to subscribe and call remote network sockets.
These 2 things would allow me to bring reinforcement learning (RL) to IOLITE.

Use cases for timeScale:
One example is slow motion in certain situations. Another to fast-forward some gameplay episode. Then putting the game process in hold with TimeScale 0. And list goes on. I was using it all the time while making games in Unity. For machine learning its essential to speed up the learning process simulation.
Use cases for writing files:
Save games, statistics, or something very specific for the game to store persistent data. For machine learning it would be 1 way to push data forth and back from RL learning backend, which is on Python.
Calling external network protocols:
Again lots of use cases. Like fetching Ads info, Saving game data on remote server etc. For machine learning this is second way to transport data forth and back from RL learning backend on Python.
Again why Python backend?
There are no good alternatives. All cool RL ML libs are written on Python. And every integration I know work this way. Unity's ML agents and new UE5 Agents as well.
Why RL:
With RL one can train very realistic NPC behavior. Its still not very popular for big games. Mostly they use behavioral trees. But I can see it becoming more and more actual. Besides The npc thing, you can also train A.I. to build terrains and beyond.

I've added support for a "time factor". Will be available in 0.2 next week!
Am I correct that "writing files" and "calling external network protocols" are obsolete with the upcoming C API? There is some support for writing data via the Lua API, but it's also something that can be easily extended now with the Lua integration becoming a native plugin. :)

Yes, for me at least, its obsolete.

Implemented in 0.2.1 via the API.


958 integration test reorganization

What does this PR do (include background context, if relevant)?

Restructures test directory to match source code structure and make test location simpler
Improves Jenkins script to programmatically create integration stages for new directories, running in parallel
Improves run_integration script to lookup test directory, regardless of depth
(Note: I think these two changes could be improved. It may be more efficient for Jenkins to pass the script a full directory, rather than shortening it first)

What ticket does this PR close?
Connected to #958
Where should the reviewer start?
What is the status of the manual tests?
Have you run the following manual tests to verify existing functionality continues to function as expected?

[X] Manually tested Keychain provider
[ ] Manually run Kubernetes-Conjur demo with a local Secretless Broker image build of your branch

If this feature does not have any/sufficent automated tests, have you created/updated a folder in test/manual that includes:

[ ] An updated README with instructions on how to manually test this feature
(Note: We may need to update the test related style guide)

@BradleyBoutcher Just a few nits. There are also some wrapping issues w/ your git commit descriptions (line-too-long) so make sure those are <100 chars but it's not a blocker.

I went through and edited my commits to make sure they wrap - good catch


Visual features and motion model are entangled

After taking a look at the tracking with visual features only we realised a few things:

Motion updates happen to dummy objects even if we're not using the motion model
The bit masks to determine whether to use the motion model/visual model might be incorrect

Anything I'm missing @lupinthief?

Don't think so


Setting minLength property

Is it possible to set the minLength property (eg. via [System.ComponentModel.DataAnnotations.StringLength(int.MaxValue, MinimumLength = 4)] or similar?

Related to #76

Dear team, will be happy to contribute to the projects good first issues. Request to help with where, and how to start...regards


fix: fix missing chai types

Description

closes https://github.com/vitest-dev/vitest/issues/6379

I added a test which was failing on main. I also confirmed the repro is fixed with the pre-release https://stackblitz.com/edit/stackblitz-starters-gksg4mkw?file=index.ts
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[x] Ideally, include a test that fails without this PR but passes with it.
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Why would you need an expect (chai) type in the config.d.ts? 🤔

Why would you need an expect (chai) type in the config.d.ts? 🤔

This ChaiConfig is exposed as test.chaiConfig.
https://github.com/vitest-dev/vitest/blob/82ee70b91fc233b4c05980a4c1dbaac41f0fec67/packages/vitest/src/integrations/chai/config.ts#L7-L10


Serialization size estimate?

My usage senario is:

estimize the serialization size of multple objects
allocate a large enough buffer
serialize those objects in sequence

Can zpp_bits add GetSizeInBytes() or something else to estimize the size of serialization of an object?

Closing for no activity


How to pass invoice data OR use class

invoice data pass but blank and response object not create how it work.
please describe.

I'm sorry, this was long time ago and I forgot how things works. Hope you
get it running👍
Rok Meglič
+386 31 492 148 (Slovenian)
+34 610 621 045 (Spanish)
Skype: rokmeglic
https://si.linkedin.com/pub/rok-meglič/38/86b/680
On 11 April 2018 at 07:39, solankinigam<EMAIL_ADDRESS>wrote:

invoice data pass but blank and response object not create how it work.
please describe.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RokMeglic/zoho_invoice_v3_php/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AINqN_pdS3cVU9ZiPnE3TM3HYWNf86AUks5tnaU7gaJpZM4TPc4y
.


Automate: Update the Github release issue with the right RC information.

Is your feature request related to a problem? Please describe
Coming from an example RC (release candidate) information, there is lot of manual effort involved in adding/editing the comment that has the detailed information about the generated release candidate information for a specific version. This is time consuming and sometimes there are changes the URL's are not properly constructed, also the template for that comment is not standard, each release version has its own format, because of the fact that each release is done by a different release manager.
Describe the solution you'd like
Automation this process.
Have a jenkins job that can add/update the GH release issue with the right RC candidate information.

Input by the user: GH issue number to add a comment.
Input by the user: GH issue number comment unique ID, to update the comment.
Input by the user: RC candidate build number for both OpenSearch and OpenSearch dashboard.
A .MD file template that can be used and just be parsed during runtime with right RC build and version numbers.

Describe alternatives you've considered
No response
Additional context
No response

I think you can simplify this further by having an artifacts.md file generated for every build instead of having a template to append to a GitHub issue.
Another idea is that logically what you're trying to do is "declare a build a release candidate". When that happens several activities need to be executed, including appending testing information to a GitHub issue. If a new Jenkins workflow is added I would model it accordingly.

[Tirage] We will look on automating the generation of artifacts.md file for RC builds.

Approach 1 seems to be pretty straight forward. Explaining a bit in detail below:
Let the artifacts.md file be generated for each build. Similar to https://build.ci.opensearch.org/job/distribution-build-opensearch/6234/artifact/buildInfo.yml/view/
The artifacts.md file will contain all the instructions to test the artifacts generated by that build including tarballs, rpms, docker, etc.
When we generate the release candidate there is nothing extraordinary that needs to be done, just post the link of the build or artifacts.md file on the release issue. We can automate this by adding a optional param in build workflow to post artifacts.md file link to given GH issue number as a comment.


add a notebook for comparison between CBMR and CBMA on neurosynth dataset

Closes # .

Changes proposed in this pull request:

Compare spatial convergence between pain studies and non-pain studies (in Neurosynth dataset) via CBMR and MKDA Chi-square analysis

Closed in favour of #835


Update presentations page to include slides from Anthony Yeh's Percon…

…a 2015 presentation. This page is not yet listed in the nav links on vitess.io.

LGTM


[BUG] Data race if the provider set few times

Observed behavior
I have several tests with a similar setup: the provider is created, then configured, the tests are executed, and openfeature.Shutdown() is called for cleanup. However, when these tests are run with the race detector enabled, they consistently fail.
Expected Behavior
No response
Steps to reproduce
package openfeature_test

import (
	"context"
	"sync"
	"testing"

	of "github.com/open-feature/go-sdk/openfeature"
)

func TestDataRace(t *testing.T) {
	of.SetEvaluationContext(of.NewTargetlessEvaluationContext(map[string]any{}))

	err := of.SetProviderAndWait(newRaceProvider())
	if err != nil {
		t.Fatal(err)
	}

	of.Shutdown()

	err = of.SetProviderAndWait(newRaceProvider())
	if err != nil {
		t.Fatal(err)
	}
}

func newRaceProvider() of.FeatureProvider {
	return &raceProvider{
		state: of.NotReadyState,
	}
}

var (
	_ of.FeatureProvider = (*raceProvider)(nil) // ensure implements FeatureProvider
	_ of.StateHandler    = (*raceProvider)(nil) // ensure implements StateHandler
)

type raceProvider struct {
	state of.State
	mu    sync.RWMutex
}

func (p *raceProvider) Metadata() of.Metadata {
	return of.Metadata{
		Name: "racing",
	}
}

func (p *raceProvider) Status() of.State {
	p.mu.RLock()
	defer p.mu.RUnlock()

	return p.state
}

func (p *raceProvider) Init(evalCtx of.EvaluationContext) error {
	p.mu.Lock()
	defer p.mu.Unlock()
	p.state = of.ReadyState
	return nil
}

func (p *raceProvider) Shutdown() {
	p.mu.Lock()
	defer p.mu.Unlock()
	p.state = of.NotReadyState
}

func (p *raceProvider) BooleanEvaluation(ctx context.Context, flag string, defaultValue bool, evalCtx of.FlattenedContext) of.BoolResolutionDetail {
	return of.BoolResolutionDetail{}
}

func (p *raceProvider) StringEvaluation(ctx context.Context, flag string, defaultValue string, evalCtx of.FlattenedContext) of.StringResolutionDetail {
	return of.StringResolutionDetail{}
}

func (p *raceProvider) FloatEvaluation(ctx context.Context, flag string, defaultValue float64, evalCtx of.FlattenedContext) of.FloatResolutionDetail {
	return of.FloatResolutionDetail{}
}

func (p *raceProvider) IntEvaluation(ctx context.Context, flag string, defaultValue int64, evalCtx of.FlattenedContext) of.IntResolutionDetail {
	return of.IntResolutionDetail{}
}

func (p *raceProvider) ObjectEvaluation(ctx context.Context, flag string, defaultValue interface{}, evalCtx of.FlattenedContext) of.InterfaceResolutionDetail {
	return of.InterfaceResolutionDetail{}
}

func (p *raceProvider) Hooks() []of.Hook {
	return []of.Hook{}
}

Create a file with test and run go test -race ./...

@beeme1mr  I am trying to implement the provider and write some e2e tests for it. Using another provider doesn't help much. The issue is related to the providers which implement StateHandler interface.

In the next release, stage management moves to the provider. This is a non-breaking change but may address this problem. FYI @toddbaert

There have been substantial changes to the SDK recently like @beeme1mr said, which are yet unreleased.
The changes are significant enough that there's a chance this bug could be resolved. I would have liked to see the released already but there's a few more issues we have to iron out with it, namely the one you pointed out here: https://github.com/open-feature/go-sdk/pull/296#pullrequestreview-2465098493

Just keep this alive, the release 1.14.0 doesn't fix the issue. go-sdk uses reflect.DeepEqual()  to compare provider(s) internally and that doesn't play very well if provider has sync.Mutex probably.

I think that just running v.Shutdown() should solve the problem.

@blkt i gave it a quick shot and it seems to fix the problem. At least all tests pass, even with the race detector enabled. Cool.

go-sdk uses reflect.DeepEqual()  to compare provider(s) internally and that doesn't play very well if provider has sync.Mutex probably.

@erka yea using reflect.DeepEqual() to compare provider implementations is a problem...
Here are just some ideas:

Require the feature flag implementation to include a UniqueName() or Id() method that can be used to internally identify providers. Also not an ideal solution.
Serialize provider implementations into a format like JSON, which naturally excludes unexported fields and requires omitting problematic field types like sync.Mutex. However, this approach is also far from ideal.
Avoid directly using the FeatureProvider implementation within the SDK. Instead, create a providerReference wrapper during registration, assigning it a self-generated identifier. Subsequently, the rest of the code should work with providerReference values, enabling easy comparison using their IDs. This approach seems like the most promising. The effort strongly depends on how easy it is to change the code to not use FeatureProvider implementations directly.

@warber We could also add a kind field to providerReference and set it to reflect.TypeOf(FeatureProvider).Kind(). If the kind is ptr, we can perform a direct comparison of FeatureProvider. For struct, fallback to reflect.DeepEqual.

@warber We could add a kind field to providerReference and set it to reflect.TypeOf(FeatureProvider).Kind(). If the kind is ptr, we can perform a direct comparison of FeatureProvider. For struct, fallback to reflect.DeepEqual.

I'll give this a shot this week unless I see a PR from somebody else first.

My findings so far:

In addition to just doing v.Shutdown() as @blkt  suggested here, another simple (but inadequate, IMO) solution is to RLock the api mutex during shutdown:

	go func(forShutdown StateHandler) {
		api.mu.RLock()
		defer api.mu.RUnlock()
		forShutdown.Shutdown()
	}(v)

This is probably a bit better than just running shutdown synchronously, but it still means that we won't be able to register providers until the old provider is shut down, which is bad, we want the shutdown not to block anything - it's for side effects such as flushing telemetry, etc. It also hides the real issue, IMO...
The root problem of this entire issue, as far as I can tell, is that we are using DeepEqual, which is a problem specifically because it reads unexported fields (in this case the state of @erka 's provider), bypassing the mutex in their provider and causing the race (this is confirmed by the trace in the DATA RACE warning). I think this is a more general issue and we should not do it, or we risk a lot of this sort of issue.
I think the only real solution is to find a safe way to compare providers without using DeepEqual at all, so that provider's unexported fields are never read (perhaps the way @warber suggested in their last point here)

I think the only real solution is to find a safe way to compare providers without using DeepEqual at all, so that provider's unexported fields are never read (perhaps the way @warber suggested in their last point here)

I'm going to give this a shot.


Adjust time slot generation

Undo env based logic to prevent mistakes when testing locally and then executing the same code in production
Make generate_ubs_time_slots private. Only execute should be called directly
Remove obsolete worker option on initializer
Move weekdays and excluded_dates options to TimeSlotGenerationConfig

Vou fechar por enquanto, já que não estamos utilizando o worker.


Create examples/2048

@hajimehoshi I'd be happy to create this example if you haven't started on it already. :smile:

I've not created yet. I'd be glad if you could help it!

@hajimehoshi awesome, I will give it a go and share what I end up with.

What's going on?

@hajimehoshi I worked on it for a couple of days but ended up hitting a wall and getting stuck. I haven't made much progress with this. Someone else is welcome to take over if they want to.

OK. I was wondering if you could share your code, I'm not sure I have enough time to help this though.

@hajimehoshi For sure, I would be happy to share what I have so far.
main.go:
package main

import (
	"log"

	"github.com/brettchalupa/ebiten-experiments/2048/twenty48"
	"github.com/hajimehoshi/ebiten"
)

func main() {
	game := twenty48.NewGame()
	update := game.Update
	if err := ebiten.Run(update, twenty48.ScreenWidth, twenty48.ScreenHeight, 1, "2048 (Ebiten Demo)"); err != nil {
		log.Fatal(err)
	}
}

twenty48/board.go:
package twenty48

import (
	"strconv"

	"github.com/hajimehoshi/ebiten"
	"github.com/hajimehoshi/ebiten/ebitenutil"
)

type Board struct {
	size  int
	tiles [][]*Tile
}

func NewBoard(size int) *Board {
	return &Board{
		size: size,
	}
}

func (board *Board) Update() error {
	return nil
}

func (board *Board) Draw(r *ebiten.Image) error {
	ebitenutil.DebugPrint(r, "Board Size: "+strconv.Itoa(board.size))

	return nil
}

twenty48/game.go:
package twenty48

import (
	"github.com/hajimehoshi/ebiten"
)

const ScreenWidth = 420
const ScreenHeight = 600
const DefaultBoardSize = 4

type Game struct {
	board *Board
}

func NewGame() *Game {
	return &Game{
		board: NewBoard(DefaultBoardSize),
	}
}

func (game *Game) Update(r *ebiten.Image) error {
	if err := game.board.Update(); err != nil {
		return err
	}

	if !ebiten.IsRunningSlowly() {
		game.Draw(r)
	}

	return nil
}

func (game *Game) Draw(r *ebiten.Image) error {
	if err := game.board.Draw(r); err != nil {
		return err
	}

	return nil
}

twenty48/tile.go:
package twenty48

const TileSize = 100

type Tile struct {
	value int
	x     int
	y     int
	color string
}

Feel free to use this or adapt it if it is of any help. My apologies for not completing it.

Thanks! I'll look into it later.

Based on your files, I've started implementing the game.

https://i.gyazo.com/3835b647d5c07572b523dc58d5c6764f.png Works fine, very roughly though

I've not implemented "Game Start", "Game Over", or "Game Clear" messages, but most of 2048 features have been implemented. Let me close this issue. Thank you for your contribution again.


Make KConfig configurable the esp_console tx/rx driver buffer size when CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG is used (IDFGH-13999)

Is your feature request related to a problem?
If i have to log a string (e.g., a json) geater than 256 bytes on esp console using  usb serial/jtag console i have to manually splits the string calling multiple times the ESP_LOGx function.
Describe the solution you'd like.

the esp_console installs the usb serial_jtag driver with the  the default configuration: https://github.com/espressif/esp-idf/blob/v5.1.3/components/console/esp_console_repl.c#L154.
The default configuration is defined here: https://github.com/espressif/esp-idf/blob/v5.1.3/components/driver/usb_serial_jtag/include/driver/usb_serial_jtag.h#L27
Could you add KConfig to esp_console component in order to set a custom tx/rx buffer size (e.g., CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_TX_BUFF_SIZE, CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_RX_BUFF_SIZE)?

Describe alternatives you've considered.
No response
Additional context.
ESP-IDF: 5.1.3

If i have to log a string (e.g., a json) geater than 256 bytes on esp console using usb serial/jtag console i have to manually splits the string calling multiple times the ESP_LOGx function.

Hi @alessandro-al2tech, could you please describe the behavior you observe if you don't manually split the string? If you observe an issue, please also attach the code which can be used to reproduce it. Thank you.

Hi, @igrr  on esp32-c3 using esp idf 5.1.3 enable CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y, intitilizes the console like in https://github.com/espressif/esp-idf/blob/v5.0/examples/system/console/basic/main/console_example_main.c#L95:  and then simply log a string longer than 256 bytes, e.g:
```
char* test = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus finibus, odio et tincidunt venenatis, orci nisi bibendum leo, id aliquam enim ex in felis. Nulla facilisi. Vivamus gravida orci at urna volutpat, eu commodo felis ultrices. Fusce egestas eget justo nec vehicula. Integer at accumsan nisl, vitae elementum arcu. Nam sit amet nisi ut lacus pharetra viverra. Maecenas et erat fringilla, sodales justo et, sagittis arcu.";
ESP_LOGI(m_tag,"%s",test);
You should see that output is truncated


docker image is not installing

Following instructions for local deployment:
#10 0.248 sha512sum: 'assets/SRGAN/model.data-00000-of-00001'$'\r': No such file or directory
: FAILED open or read'assets/SRGAN/model.index'$'\r'assets/SRGAN/model.data-00000-of-00001
#10 0.248 : No such file or directory
: FAILED open or readN/model.index
#10 0.248 sha512sum: 'assets/SRGAN/model.meta'$'\r': No such file or directory
: FAILED open or readN/model.meta
#10 0.248 sha512sum: WARNING: 3 listed files could not be read
------
executor failed running [/bin/sh -c sha512sum -c sha512sums.txt]: exit code: 1```

Can you verify that the assets.tar.gz file was downloaded? (line 22 of the Dockerfile)

Are you using Windows and turned on git auto end of line conversion? You can disable it and try again: https://troyready.com/blog/git-windows-dont-convert-line-endings.html

Thanks. Decided to switch to linux box, still waiting for the hardware delivery then I will resume fresh.

Hello, I'm having the same problem.
`#9 [6/6] RUN sha512sum -c sha512sums.txt
#9 sha256:fa1edb9040287d2fdc05ec5f0c1a90177d987fb0ab14149a0d23619d28d991af
: FAILED open or read/model.data-00000-of-00001
: FAILED open or read/model.index
: FAILED open or read/model.meta
#9 0.352 sha512sum: 'assets/SRGAN/model.data-00000-of-00001'$'\r': No such file or directory
#9 0.352 sha512sum: 'assets/SRGAN/model.index'$'\r': No such file or directory
#9 0.352 sha512sum: 'assets/SRGAN/model.meta'$'\r': No such file or directory
#9 0.352 sha512sum: WARNING: 3 listed files could not be read
#9 ERROR: executor failed running [/bin/sh -c sha512sum -c sha512sums.txt]: exit code: 1

[6/6] RUN sha512sum -c sha512sums.txt:

executor failed running [/bin/sh -c sha512sum -c sha512sums.txt]: exit code: 1
`
And this is what my dockerfile says:
Dockerfile.txt

I used to have this problem but when I reinstalled Docker it worked just fine.


Migration of GitHub Actions: peaceiris/actions-gh-pages to official method

Node 16 will be deprecated
Need to switch to a deployment method using Node 20

References:

https://zenn.dev/zozotech/articles/f2509a21b768ed
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

resolved: #108


Add Mach-O file format support

Good first issue for learning goblin's API (it's a popular object file parsing library), learning about the Mach-O file format, and/or writing a bit of Rust if you're new to it.
Although Apple will be switching to ARM in the future (an architecture xgadget doesn’t support), there are a great deal of x86/x64 Mach-O binaries around today and supporting more file formats is always useful. To add Mach-O support:

Implement a new function from_macho in binary.rs that finds executable code without relying on a specific section name (e.g. .text) being present. This can be done by checking the appropriate permission bits, see from_elf and from_pe for examples.

Add the appropriate dispatch case in function from_priv_buf.

Test it out!

Questions/suggestions welcome.

Never too late to fix an issue or learn more Rust!
And this is motivation for me to block out some time to keep working on this tool in the future :sunglasses:


⚠ Bofrost.es has degraded performance

In 720edf5, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1618 ms

Resolved: Bofrost.es performance has improved in 0f87848 after 6 minutes.


HAWQ-444. The counter for increasing and decreasing memory quota is not correctly subtracted

This fix is to remove counter of increasing and decreasing memory quota.

+1

＋1


fix(null): replace None with null in yaml files

PR progress checklist (to be filled in by reviewers)

[ ] Changes to documentation are appropriate (or tick if not required)
[ ] Changes to tests are appropriate (or tick if not required)
[ ] Reviews completed

What type of PR is this?

Primary type

[ ] [build]    Changes related to the build system
[ ] [chore]    Changes to the build process or auxiliary tools and libraries such as documentation generation
[ ] [ci]       Changes to the continuous integration configuration
[ ] [feat]     A new feature
[x] [fix]      A bug fix
[ ] [perf]     A code change that improves performance
[ ] [refactor] A code change that neither fixes a bug nor adds a feature
[ ] [revert]   A change used to revert a previous commit
[ ] [style]    Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

[ ] [docs]     Documentation changes
[ ] [test]     Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

No.
Related issues and/or pull requests

https://github.com/saltstack/salt/issues/43694
Describe the changes you're proposing

replace None with null in yaml files as None is considered as astring "None" by pyYAML
Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

[ ] Updated the README (e.g. Available states).
[ ] Updated pillar.example.

Testing checklist

[ ] Included in Kitchen (i.e. under state_top).
[ ] Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
[ ] Updated the relevant test pillar.

Additional context

Thanks @sticky-note.

:tada: This PR is included in version 0.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[ASCII-1159] Migrate GUI to component implementation

What does this PR do?

This PR migrates the GUI implementation to the new GUI component. It currently live in the comp/core component bundle directory until a more relevant place is elected.
In details it:

moves GUI server implementation from cmd/agent/gui to comp/core/gui
updates agent run subcommand to use GUI component (general and windows-specific)
updates API component to use GUI component
updates JMX integration to be compatible with modifications bellow
updates all related unit tests and mocks to be compatible with modifications bellow

Motivation

This PR takes place in the global effort to update the Agent architecture in a Dependency Injection "componentized" architecture.
Additional Notes

The provided constructor of GUI component is returning an optional. This solution was elected because the spawn of a GUI server is conditioned on the GUI_port setting (GUI is disabled if set to -1).
Currently, in the agent jmx subcommand, the provided constructor for optional.Option[gui.Component] is always returning None value. It seems not to be a problem until this subcommand want to spawn a GUI server. Tell me if I'm wrong.
I didn't change the order of initialisation of the GUI, but I have some interrogation on it. It could be the purpose of a next PR.

Describe how to test/QA your changes

manual tests: after starting an Agent daemon, run the launch-gui subcommand, and compare the behaviour with the old implementation
TODO: end-to-end tests

Great work 🎉

Sorry about closing and opening again the PR, I miss calculated my keyboard-fu

/merge


errors when training for custom dataset

Sanity Checking DataLoader 0:   0%|                       | 0/2 [00:00<?, ?it/s]Traceback (most recent call last):
File "/media/spacetimeformer/spacetimeformer/train.py", line 851, in
main(args)
File "/media/spacetimeformer/spacetimeformer/train.py", line 831, in main
trainer.fit(forecaster, datamodule=data_module)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 608, in fit
call._call_and_handle_interrupt(
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 38, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 650, in _fit_impl
self._run(model, ckpt_path=self.ckpt_path)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1103, in _run
results = self._run_stage()
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1182, in _run_stage
self._run_train()
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1195, in _run_train
self._run_sanity_check()
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1267, in _run_sanity_check
val_loop.run()
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
self.advance(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 152, in advance
dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
self.advance(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 137, in advance
output = self._evaluation_step(**kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 234, in _evaluation_step
output = self.trainer._call_strategy_hook(hook_name, *kwargs.values())
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1485, in _call_strategy_hook
output = fn(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/strategies/strategy.py", line 390, in validation_step
return self.model.validation_step(*args, **kwargs)
File "/media/spacetimeformer/spacetimeformer/forecaster.py", line 256, in validation_step
stats = self.step(batch, train=False)
File "/media/spacetimeformer/spacetimeformer/spacetimeformer_model/spacetimeformer_model.py", line 183, in step
loss_dict = self.compute_loss(
File "/media/spacetimeformer/spacetimeformer/spacetimeformer_model/spacetimeformer_model.py", line 247, in compute_loss
class_loss, acc = self.classification_loss(logits=logits, labels=labels)
File "/media/spacetimeformer/spacetimeformer/spacetimeformer_model/spacetimeformer_model.py", line 219, in classification_loss
acc = torchmetrics.functional.accuracy(
TypeError: accuracy() missing 1 required positional argument: 'task'

Hi, have you figure it out? I tried with 'binary', ''multiclass' and 'multilabel' as documented in https://torchmetrics.readthedocs.io/en/stable/classification/accuracy.html, but they all failed.

I got this same error but was able to fix it by replacing this with:
        preds = torch.softmax(logits, dim=1)
        targets = labels
        acc = torchmetrics.functional.classification.accuracy(
            preds,
            targets,
            task="multiclass",
            num_classes=preds.size(dim=1)
        )

@josh0tt Hi, may I ask how do you modify the code to use custom data set? I'm trying to train on my own data.
Hello, have you solved your problem? How should I modify the code to use a custom dataset

@josh0tt Hi, may I ask how do you modify the code to use custom data set? I'm trying to train on my own data.

Hello, have you solved your problem? How should I modify the code to use a custom dataset


add a verb and still have to add its present continuous tense

Hi there,
For example, talk, talks, talked, talking
When you add talk, the talks and talked don't highlight. but the talking still highlight.
Could you fix it ? Thanks.

To fix this someone has to submit an improved version of eng_dict.txt which has this and other missing mappings. Maybe I will do it myself when I have more time.

To fix this someone has to submit an improved version of eng_dict.txt which has this and other missing mappings. Maybe I will do it myself when I have more time.

Thanks a lot.


Update AppVeyor badge to point to the right repo

Fixes #37

Hm, I'm not sure I have the right URL for the image. I tried going from this guide, but I think @quinnj might have to retrieve the image URL from the project settings instead. Not sure why this isn't working...

Codecov Report

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

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   79.71%   79.71%
=======================================
  Files           3        3
  Lines         276      276
=======================================
  Hits          220      220
  Misses         56       56

Continue to review full report at Codecov.

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

Yes, I think @quinnj will have to get the proper URL.

I updated. Thanks for bringing this up.


Add JTAG tutorial

@naotaco
Could you please review? This branch contains your changes and my extensions.
You can check out the JTAG branch of the repository for this.

@andre-richter
Wow, it's really nice tutorial. Great job! 👏  Honestly, I had no Idea to provide simple way to load another image to debug after enable/connect JTAG debugger.
Anyway, I'll follow the tutorial. Give me few days for that. At least, I'll provide improved wiring photo and fritzing image as requested at #18 .

Thank you @andre-richter for this; my journey with JTAG debugging my Pi was bumpy up to this point, hopefully, it will become a smoother ride now!
I will play with the 0E tutorial and write up if anything is not working. I have a segger JLink not olimex, so things might be slightly different.

@berkus Using config.txt to set the GPIOs is something I was ignorant about, it can definitely be an alternative. Thanks for sharing.
For the tutorials, since we have our chain-loading infrastructure with raspboot in place anyways, I'll stick with the current solution. It has the advantage that the pins are only set on demand when needed, and not on every boot regardless.

@naotaco @berkus
I think my exit criteria for merging this one to master is that one of you guys could run and step with gdb successfully.
All points raised in #18 and other findings can be addressed in master then.

@andre-richter
I agree. Actually, gdb is working here perfectly! I can break the CPU and see registers/source code in cool gdb window. Thanks again for your great work ❤

Perfect, thanks.


add Nix expression for a build environment

A user with Nix installed can with this file enter a build environment with everything compiled locally with a call to nix-shell(1):
nix-shell [--pure] etc/shell.nix

Dependencies to build (both code and documentation) and check the syntax with clang-tidy are all installed.

The existing derivation for geant4 from Nixpkgs and the Arch User Repository PKGBUILDs of soxt and coin where used as a base for this commit.
I will maintain and improve upon this file throughout the Summer as I work on Allpix².

Hi @Tmplt
could you maybe add the description of this PR as comments into the actual file? This way everyone looking at it will be able to tell what it is. Just adding a .nix file to the repository without additional information isn't too telling for most of us I guess.

Alright. I added a comment header and amended it.

The expression is most likely outdated and would no longer apply at this point. Closing.


Large expressions

Sorry to post so many issues in a row, but it seems like my use-case is encountering some edge problems.
Now that #192 is solved, large copy nodes can be instantiated, but there are some other limits built into the current implementation. In particular,
https://github.com/google/TensorNetwork/blob/e968af22f40311437df2f568d554c1baf87198ce/tensornetwork/network_components.py#L451
causes issues by running out of characters. When using the numpy backend, it also fails simply due to having a limit on how many tensors can be passed to it.
I tried running some long expressions using opt_einsum and they'd work just fine, as long as the number of output indices wasn't too large (e.g. if you contract with vectors or do traces). It does not appear to have the same input limits as the numpy package. The package already depends on opt_einsum, so since that package is back-end agnostic wouldn't it make sense to defer all einsum calculations to it? In addition, to form the large expressions, one could use the interleaved input format, which would also make it possible to use edge/node names in the expressions.

Never apologize for making issues. That's the only way we can know how to make the code better!
And that sounds good. I also know opt_einsum works for nearly arbitrary number of indices since they support full Unicode. And like you said they already support all of the backends we support, so I think it's a good idea to do the switch.


Blocking Operation of Single Shot Measurement Now Optional

Hello,
it is very inconvenient that this library enforces a 5 sec. blocking delay when performing a single shot measurement.
It is understood that you need to wait for 5 sec. till the measurement results are available, but this can be done in the calling application in a non-blocking fashion.
I've therefore added a parameter which allows non-blocking operation of the single shot measurement method with blocking mode being the default - so no behavior change for existent applications.
Best regards
Andreas

I agree, blocking for 5 seconds is way to long. There should be a non-blocking option as well.
Thanks a lot for your contribution.


The new reason  react hooks

I'm getting this error upon attempting to use the bindings with the new reason react hooks template

I'm open to helping in any API changes that are necessary to enable compatibility with the new version of Reason React

Hi, please try:
yarn add @jsiebern/bs-material-ui@hooks
The hooks version is currently on a separate branch.

Awesome, I hadn't seen that. thanks for the good work

Hi, Are planning on merging this to master. Needed this for my code that currently uses hooks.


[WIP] Networked features and refactor

Architectural Changes

Added a redux store to both the renderer and main thread synced using Electron Redux.
Added a webserver with both an API (for controlling all aspects of the application) and a super simple UI (this could be expanded on later) http://localhost:54321
Added an RPC system for calling functions running in any thread of any instance of Museeks on the LAN.

New Features

Automatically find and connect with any peers on the network/networks (other computers running museeks).
Shared music library between all peers.
Play a song/playlist/queue out of another peer's speakers.
Play/pause/time/meta/volume/shuffle/repeat etc are synced between the input peer and output peer in 2 directions.
Resize columns.
Order columns (this is powerful but maybe a bit confusing, on reflection you should only be able to order 1 column at a time with the data then being sorted by artist > album > track number).

Possible improvements
There are a number of things I (and probably @sabrehagen) would be keen to do in a later PR.
In particular...
It would be possible to refactor most of the react components to work in a standard browser. A web-app could be added that would be particularly useful for mobile phones.
Instead of using electron IPC to sync actions/state between it and the local server, it would use WebSockets. You would then be able to connect to these browser instances as a peer and therefore play music from your desktop to your phone or vice versa.
This would be pretty useful as your phone then becomes a wireless, lossless audio receiver that could be used in conjunction with traditional amp. Best of all, this is probably not too difficult and with some port-forwarding on your router would make all your music and speakers losslessly accessible from anywhere in the world.

reserved

@sabrehagen and I will be making a couple small fixes (probably need some docs also) but for the most part this is pretty much good to go (except for all the conflicts of course).
Obviously this a pretty huge PR. Not sure what the best way forward is. Maybe you guys can have a bit of a play around and get back to me with any questions?

A few things:

Read about the code architecture in docs/code/architecture.

Would love to see this :smile: Or is everything in the first post of this PR ?
Also, make sure to roll-back this eslint config to the state it was + fix all not-passing tests (should be eslint problems only).
Then you'll tell me how we can test it and do a quick tour of the features.


Fix test for direct access of DraftAdministrativeData

In the upcoming version, cds will properly handle invalid direct access of DraftAdministrativeData. Please adapt this test accordingly.
fyi @oklemenz2, @johannes-vogel

Part of https://github.com/cap-js-community/odata-v2-adapter/commit/7c1462b59ae0c67394f9d5e46ae5eb0eab756351


Teaching Tip control shows scrollbar on hover even if content does fit

Describe the bug
On the TeachingTip control, if the user hovers over on the right side of the tip, the scroll bar shows even if the content does fit in the control.

Steps to reproduce the bug

Steps to reproduce the behavior:

Create a Teaching Tip and show it
hover over the right side of the tip

This can be seen on the Xaml Controls Gallery app
Expected behavior

No scroll bar shows if the content fits the control
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional context

The default for ScrollViewer.VerticalSrollbarVisibility is Visible, we can switch it to auto to get the desired behavior here.

I would create a PR for that in a bit in case no one is already working on it.

Shouldn't Auto be the default?

I was expecting it to be auto as well but it does not seem to be Visible - https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.scrollviewer.verticalscrollbarvisibility?view=winrt-19041
Changing this is a non starter since that would be a breaking change. @RBrid  @MikeHillberg Any ideas why Auto was not picked as the default ?

Don't know why either. It must be inherited from the WPF ScrollViewer: https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer.verticalscrollbarvisibility?view=netcore-3.1

Auto seems to make sense here as the default value...could we use the new WinUI ScrollingView to introduce this change (and leave the existing OS XAML ScrollViewer control as is)?
Quoted from https://github.com/microsoft/microsoft-ui-xaml/issues/108:

The new ScrollViewer will live in the Microsoft.UI.Xaml.Controls namespace. It's API will be mostly identical to the Windows version. We will make targeted adjustments to the control's API where there is clear benefit (simplify a common scenario, introduce new capabilities, etc).

Yes indeed, the new ScrollView control uses Auto/Auto for its defaults:
static const winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility s_defaultHorizontalScrollBarVisibility{ winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility::Auto };
static const winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility s_defaultVerticalScrollBarVisibility{ winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility::Auto };

(ScrollView is the new name: https://github.com/microsoft/microsoft-ui-xaml/pull/2730).

This could be a ScrollViewer issue instead of TeachingTip, as I have seen this same behavior in controls with ScrollViewer.

@jemonsivais It's insofar a ScrollViewer issue as what you are seeing here is the default behavior of the ScrollViewer's VerticalScrollBarVisibility mode, which is set to Visible. Setting a new default value for this API in the ScrollViewer would be a breaking change so this won't be done (and there's also a completely new ScrollView control for WinUI 3 in the works which will be based on the ScrollViewer control but improved). We can easily fix this for the TeachingTip control by setting the VerticalScrollBarVisibility  of its internal ScrollViewer to Auto (this would be the "fix" in those other cases you are seeing too).

Lets set the property to auto in TeachingTip template to fix this in Teaching Tip. Thanks!


Feedback from HackerNews: What I look for in monetization/analytics

https://news.ycombinator.com/item?id=8175032
I look for two basic things:

Where did people come from and how did I convert them?
What is my conversion/impression/sales, etc. for the month/quarter and how does that compare to previous month/quarter or a specific date?
So, what I mean is if I have an event coming up and I am marketing to that event - I have email lists, twitter accounts, FaceBoook, a popular blog, co-op email partners, and I buy ads on multiple platforms...I want to know how many people came from each source, what the conversion rate was, how far they got in the process, and I want to see how this year's event is comparing to last years'. Or last months'. Or last weeks'. Or an event I had three quarters ago.
I need the data to be as accurate as I can get, because if people are coming into the site, and all of the ones coming from, say, Twitter, are not buying and don't even read anything, then I need to know that.
As an example, for a sports event I run in the summer, two years ago I dropped PayPal as an option entirely. I had so many complaints from consumers about PayPal in general I just decided to implement Stripe. A lot of people told me that since PayPal is so ubiquitous, I would be cutting out an ease-of-payment option and I would lose sales.
But my data showed two things: a lot of people DID use PayPal but I lost a ton of conversions when people hit the PayPal page AND my #1 complaint topic was PayPal related. About 60% of the people who signed up used PayPal.
Both of the last two years after implementing Stripe my conversion rate increased dramatically and I have ZERO complaints about the payment process. Literally, zero.
So that's what I'm always looking for. How do I optimize and track turning people who are searching into customers without wasting their time or my time? How do I remove frustration for users? Where do they navigate to? If they hit a specific page and then suddenly jump around looking for a 'contact us' page, I need to figure out what those people are looking for and fix it for them.
With Google analytics or adwords, I get some data but a lot of it other than a few pieces is superficial or the data doesn't match my server logs.
Sorry for the digression

We've essentially remove that section.


Windows Ink Pen Tablet can't minimize maximize or move with top bar

Godot version:
3.2 stable
OS/device including version:
Windows 10
Issue description:
https://www.dropbox.com/s/lg6tpsox40ushzq/GodotWindowsInkIssues.mkv?dl=0
Steps to reproduce:
turn on windows ink, use try to maximize/minimize or move window using top bar
Minimal reproduction project:

Another video of input issues:  https://www.dropbox.com/s/vk6a8y01n4eg70f/GodotWindowsInkIssue.mkv?dl=0

Turning off "emulate mouse from touch" fixed all the windows ink issues.  It seems like it was getting 2 events from one click maybe, something doubled up there.

Please attach a minimal reproduction project.

Just uploaded one.  It's an empty project, only this setting changed.


Automatically add new Issues to "DSpace Backlog" project board

(Copy of DSpace/DSpace#2861 to this repository)
This creates a new "issue_opened.yml" workflow configuration which enables a GitHub Action for all newly created Issues which are either unlabeled or labeled with needs triage.
More specifically, the Create Project Card action is run to check for new issues to add to the DSpace Backlog project board.  The purpose of this Board is to capture incoming issues that need triaging/scheduling for a specific release...although there's also an "Unscheduled backlog" column on that board for anything that is currently unscheduled.
At this time, only issues flagged as needs triage (which will be added by default) or unlabeled will go on this board.  Other issues will be assumed to have already been triaged to a specific release board (e.g. the DSpace 7.1 board or similar).
I'm creating this PR simply as documentation of this decision & to test the process in GitHub (to make sure it works as expected). Additional GitHub actions may be forthcoming as well!

Merging immediately, as I've tested this in a personal repo and the https://github.com/DSpace/Rest7Contract repo and it works in both those places.


Model Royal and Loyal using Astah/JUDE as-is

Google search for royal and loyal ocl:
http://people.uncw.edu/simmondsd/courses/Current/csc450/lectures/13-ocl/CSCI3007OCLtutorial.pdf

Google search for royal & loyal astah: no Astah file found.

Restarting task now.

Check Warmer & Kleppe book for typos.
Check how to use PIM instead of Java profile on Astah (enum x Enum, Boolean x java.lang.Boolean).
Generate Java code.
Check how to export using command-line on Astah.

There are two Royal & Loyal revisions. Simmonds variant differ from that of Warmer & Kleppe.

Adopting Warmer & Kleppe book, second edition.

Creating UML Primitive Types from OMG Specification and XMI.
Astah could not load OMG XMI file.
See http://www.omg.org/spec/UML/2.5/Beta2/.

Get RandL OCL file from jcabot GitHub rep.

https://github.com/jcabot/ocl-repository

Using only Chapter 2 constraints.


Failure on c++_linux_tsan_native.bins/tsan/client_crash_test --gtest_filter=CrashTest.KillBeforeWrite GRPC_POLL_STRATEGY=poll-cv

looks similar to https://github.com/grpc/grpc/issues/2157
log in https://grpc-testing.appspot.com/job/gRPC_master_tsan_cpp/1341/testReport/junit/(root)/c++_linux_tsan_native/bins_tsan_client_crash_test___gtest_filter_CrashTest_KillBeforeWrite__GRPC_POLL_STRATEGY_poll_cv/
Regression

c++_linux_tsan_native.bins/tsan/client_crash_test --gtest_filter=CrashTest.KillBeforeWrite GRPC_POLL_STRATEGY=poll-cv (from grpc.c++_linux_tsan_native)

Failing for the past 1 build (Since Failed#1341 )
Took 41 sec.
Error Message

Failure
Standard Output

D0422 05:51:41.665817733   14798 test_config.c:393]          test slowdown factor: sanitizer=5, fixture=1, poller=5, total=25
Note: Google Test filter = CrashTest.KillBeforeWrite
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from CrashTest
[ RUN      ] CrashTest.KillBeforeWrite
D0422 05:51:41.668410943   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:51:41.669490699   14798 dns_resolver.c:316]         Using native dns resolver
D0422 05:51:41.746425539   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:51:41.747831037   14798 dns_resolver.c:316]         Using native dns resolver
I0422 05:51:41.819287446   14798 subchannel.c:704]           Connect failed: {"created":"@1492840301.818914718","description":"Failed to connect to remote host: OS Error","errno":111,"file":"src/core/lib/iomgr/tcp_client_posix.c","file_line":215,"os_error":"Connection refused","syscall":"connect","target_address":"ipv6:[::1]:1147"}
I0422 05:51:41.843062309   14798 subchannel.c:704]           Connect failed: {"created":"@1492840301.842716795","description":"Failed to connect to remote host: OS Error","errno":111,"file":"src/core/lib/iomgr/tcp_client_posix.c","file_line":215,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:<IP_ADDRESS>:1147"}
I0422 05:51:41.843169660   14798 subchannel.c:502]           Retry in 19.952875119 seconds
I0422 05:51:41.850795277   14894 server_builder.cc:247]      Synchronous server. Num CQs: 1, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10000
D0422 05:51:41.852383303   14894 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:51:41.853330875   14894 dns_resolver.c:316]         Using native dns resolver
Server listening on localhost:1147
I0422 05:52:01.797119482   14798 subchannel.c:452]           Failed to connect to channel, retrying
I0422 05:52:01.897281514   14945 client_crash_test_server.cc:68] recv msg Hello
[       OK ] CrashTest.KillBeforeWrite (20298 ms)
[----------] 1 test from CrashTest (20299 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (20299 ms total)
[  PASSED  ] 1 test.
Note: Google Test filter = CrashTest.KillBeforeWrite
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from CrashTest
[ RUN      ] CrashTest.KillBeforeWrite
D0422 05:52:01.965708246   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:01.965773962   14798 dns_resolver.c:316]         Using native dns resolver
D0422 05:52:02.042212211   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:02.066964529   14798 dns_resolver.c:316]         Using native dns resolver
I0422 05:52:02.151970848   14798 subchannel.c:704]           Connect failed: {"created":"@1492840322.151649461","description":"Failed to connect to remote host: OS Error","errno":111,"file":"src/core/lib/iomgr/tcp_client_posix.c","file_line":215,"os_error":"Connection refused","syscall":"connect","target_address":"ipv6:[::1]:1200"}
I0422 05:52:02.163663507   14798 subchannel.c:704]           Connect failed: {"created":"@1492840322.163372478","description":"Failed to connect to remote host: OS Error","errno":111,"file":"src/core/lib/iomgr/tcp_client_posix.c","file_line":215,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:<IP_ADDRESS>:1200"}
I0422 05:52:02.163753953   14798 subchannel.c:502]           Retry in 19.960193896 seconds
I0422 05:52:02.248416895   28804 server_builder.cc:247]      Synchronous server. Num CQs: 1, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10000
D0422 05:52:02.250203457   28804 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:02.259413543   28804 dns_resolver.c:316]         Using native dns resolver
Server listening on localhost:1200
I0422 05:52:22.125084838   14798 subchannel.c:452]           Failed to connect to channel, retrying
I0422 05:52:22.171255365   29066 client_crash_test_server.cc:68] recv msg Hello
[       OK ] CrashTest.KillBeforeWrite (20223 ms)
[----------] 1 test from CrashTest (20223 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (20223 ms total)
[  PASSED  ] 1 test.
Note: Google Test filter = CrashTest.KillBeforeWrite
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from CrashTest
[ RUN      ] CrashTest.KillBeforeWrite
D0422 05:52:22.189029276   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:22.189089722   14798 dns_resolver.c:316]         Using native dns resolver
D0422 05:52:22.249262590   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:22.250504409   14798 dns_resolver.c:316]         Using native dns resolver
test/cpp/end2end/client_crash_test.cc:107: Failure
Value of: stream->Read(&response)
  Actual: true
Expected: false
[  FAILED  ] CrashTest.KillBeforeWrite (1076 ms)
[----------] 1 test from CrashTest (1076 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1076 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] CrashTest.KillBeforeWrite

 1 FAILED TEST
D0422 05:52:23.264962679   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:23.265049540   14798 dns_resolver.c:316]         Using native dns resolver
D0422 05:52:23.269069340   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:23.269137801   14798 dns_resolver.c:316]         Using native dns resolver
D0422 05:52:23.272781543   14798 ev_posix.c:107]             Using polling engine: poll-cv
D0422 05:52:23.272865957   14798 dns_resolver.c:316]         Using native dns resolver

same failure seen in https://grpc-testing.appspot.com/job/gRPC_master_tsan_cpp/1341/testReport/junit/(root)/c++_linux_tsan_native/bins_tsan_client_crash_test___gtest_filter_CrashTest_KillBeforeWrite__GRPC_POLL_STRATEGY_poll_cv/
test/cpp/end2end/client_crash_test.cc:107: Failure
Value of: stream->Read(&response)
  Actual: true
Expected: false


Break down CI pipeline to smaller chunks

As we add steps to the Concourse pipeline it slowly becomes a very big and unmanageable yaml file. We even have bash scripts defined inside the yaml.
We should extract anything that can be extracted to smaller manageable files, whether is it a script of a task definition (yaml).

I would love to have all bash scripts that call catapult inside of the pipeline on a folder ala:
scripts
├── 00-recover-ekcp.sh
├── 10-deploy-kubecf.sh
├── 20-test-smokes.sh
├── 21-test-cats.sh
├── 22-test-brains.sh
├── 23-test-sits.sh
└── 30-upgrade-kubecf.sh

and then provide 1 script that loops and calls those in order. Basically a simple implementation of the concourse pipeline, but locally on a shell script.
those scripts/* can just be called on the concourse yaml at the same time.

Fair to me, but want to underline that approach has one disadvantage: it then ties the pipeline with a code checkout. If you look close at the steps of the kubecf pipelines are basically oneliners (deploy/test), I would second that approach in case scripts becomes "big chunks"

but want to underline that approach has one disadvantage: it then ties the pipeline with a code checkout

@mudler the pipeline as it exists on concourse will reflect the state of the template from the checkout from which it was deployed, so isn't this true either way?

I also like little shellscripts as they can be linted easily.

but want to underline that approach has one disadvantage: it then ties the pipeline with a code checkout

@mudler the pipeline as it exists on concourse will reflect the state of the template from the checkout from which it was deployed, so isn't this true either way?

well, not necessarly set-pipeline is a fly command, so you can always deploy different pipelines not tight with the code


14978 create tables regular apikey

Closes #14978

retest this please

retest this please

Acceptance 🍏
Waiting for tests to pass to merge and deploy 🚀


"Audio and video error: Not implemented" with Jitsi Meet

Hi there,
Firstly, thank you for your effort in working on this library. I intended to use Jitsi Meet as a video call feature on my iOS app. Without using this library, I got the error Audio and video error: undefined is not an object 'navigator.mediaDevices.getUserMedia'. I noticed that it is because WebRTC is currently not supported in WKWebView.
The error was gone when applying to this library. Yay!
Unfortunately, I got another error as below

Here is my demo implementation https://github.com/vnnvanhuong/jitsi-meet-on-wkwebview-demo
Thank you
Huong

@vnnvanhuong if you could provide:

A public URL that can be tested
Any specific errors that you're receiving in the iOS POD

Thanks!

Hi @noahmehl
I created a room on this website https://meet.jit.si. I pushed my demo project into GitHub as mentioned above.
When I tried to inspect the error I noticed that the error came from two methods getConstrainst and applyConstrainst since they are not implemented yet (https://github.com/OpenTelecom/WKWebViewRTC/blob/master/WKWebViewRTC/Js/src/MediaStreamTrack.js).
Thank you

@vnnvanhuong My guess is that getConstraint() and applyConstraints() are either not implemented or not working.  I have not tested this.

navigator.mediaDevices.getUserMedia is only available from iOS 14.3. Check: https://webkit.org/blog/11353/mediarecorder-api/

navigator.mediaDevices.getUserMedia is only available from iOS 14.3. Check: https://webkit.org/blog/11353/mediarecorder-api/

@vnnvanhuong My guess is that getConstraint() and applyConstraints() are either not implemented or not working. I have not tested this.

Fixed in 6.0.17 https://github.com/cordova-rtc/cordova-plugin-iosrtc/commit/7058105304a05563414149423c692881177814b0

@vnnvanhuong My guess is that getConstraint() and applyConstraints() are either not implemented or not working. I have not tested this.

Fixed in 6.0.17 https://github.com/cordova-rtc/cordova-plugin-iosrtc/commit/7058105304a05563414149423c692881177814b0

navigator.mediaDevices.getUserMedia is only available from iOS 14.3. Check: https://webkit.org/blog/11353/mediarecorder-api/

This is unless information for couple of reasons, 1. It only it available on https
2. This library does provide gUM all the way to ios 10

navigator.mediaDevices.getUserMedia is only available from iOS 14.3. Check: https://webkit.org/blog/11353/mediarecorder-api/

This is unless information for couple of reasons, 1. It only it available on https
2. This library does provide gUM all the way to ios 10

@vnnvanhuong these methods should now be implemented in master.  Please retest.

@vnnvanhuong these methods should now be implemented in master.  Please retest.


Training module for Responses

AS A Chatbot Trainer
I WANT TO create new and modify existing responses
SO THAT rules and stories can be created
Acceptance Criteria

Proto: http://proto.we.ee/burokratt/treening/treening/vastused
Figma views: Responses view
Files: rasa-ilmateenused/domain.yml

GUI

[ ] #81

DSL

Sample domain.yml

[ ] #90
[ ] #92
[ ] #93
[ ] #94
[ ] #99
[ ] Validate input length against max input length defined as a hard-coded Ruuter DSL value, respond with error
[ ] Validate response from back-end against max response length defined as a hard-coded Ruuter DSL value, truncate if exceeds

@turnerrainer
GUI endpoints match with DSL endpoints

@vmugra GUI requirements are completed and proto environment updated.

GUI ACs moved under task #81

Done in subtasks

New grooming needed due to pre-production integration developments.

The display the list (GET request) is done and working. There is question about update/add/delete actions. As currently all the responses are located inside yml files that are posted as raw data to opensearch API.
@turnerrainer - how should the update/add functionality implemented on this?

@MarkoKull YAML files are the ones storing the latest state of intents, responses, etc. That's due to how Rasa works. And we are currently based on Rasa regarding the chatbot and its training.
OpenSearch is in use to fetch data fast, but its content is always based on those Rasa YAML files.
So keep the flow as it is.

@turnerrainer - can you look where the responses YAML is located. Seems to me currently the data comes fom opensearch/mock folder - responses.json file.

@turnerrainer - can you look where the responses YAML is located. Seems to me currently the data comes fom opensearch/mock folder - responses.json file.

@MarkoKull does https://github.com/buerokratt/Training-Module/issues/90 (linked sub-issue of this epic) answer your question? It leads to https://github.com/buerokratt/Training-Module/blob/main/mock1/domain.yml#L56,L117

One massive PR for the whole epic by @MarkoKull
SHOULD always have commits per issues, not epics.

Marking status as "Acceptance Testing" as the only issue left undone is blocked by other developments and currently no active work is done within this epic.

BUG - Able to add responses, yet unable to see them. No error displayed.

BUG -
Unable to delete responses.

Similar issue to the one in intents (https://github.com/buerokratt/Training-Module/issues/74#issuecomment-1851653332), that the page needs to be refreshed to see the change when you change a response.

Blocked by https://github.com/buerokratt/Training-Module/issues/94

Responses page is giving 500 - internal server issue error code.

Responses page is giving 500 - internal server issue error code.

Seems like a deployment error. Please test again.

Working On local, will have to check it on test


Why not next release version as 1.0

Discussed in https://github.com/LtiLibrary/LtiAdvantage/discussions/78

Originally posted by jeroenhabets October  8, 2023
This library has been successfully used by many companies (though difficult to get data, I personally know of at least a handful) so why the 0.2..-alpha version.

The core of LTI Advantage is covered, so the existing API will most likely no longer change.
It's being used successfully for years
Someone stumbling on this library may be off put by the 0.x / alpha version
Some companies have a mature versions only policy (1.0 or even 1.1)

So @srijken why not do a release soon and call it 1.0?
P.S. I am planning a major regression test so a release (any release with the latest fixes and improvements) would be welcomed. If there is anything we can do to help, let me know.

@jeroenhabets I'm happy to release the current master as 1.0, and then start work on the .net6 conversion in preparation for the next master. If issue might arise we can fix those in 1.* releases. Have you given the 0.2-alpha a try?

@srijken That would be great! TBH my team never upgraded to 0.2-alpha so no experience with it. I assume/hope that others do by now though.
We (@ddmm-white) do have an active story in the sprint to upgrade it, as part of our .Net 6 to .Net 8 migration, ideally to the best NuGet version of this library :) As part of the upgrade we have planned a regression test later this month (running into December) so we can help test it further and report issues.

Just pushed!


The "@angular/compiler-cli" package was not properly installed.

I have created a angular project by yo aspnetcore-spa and trying to run ng serve command which cause the next error.
_The "@angular/compiler-cli" package was not properly installed.
Error: The "@angular/compiler-cli" package was not properly installed.
at Object. (C:\Projects\TarakWebApp\node_modules@ngtools\webpack\src\index.js:14:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Projects\TarakWebApp\node_modules@angular\cli\tasks\eject.js:10:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module.load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
I googled the error but could not solve the issue.
My package.json is
{
  "name": "WebApplicationBasic",
  "version": "0.0.0",
  "scripts": {
    "test": "karma start ClientApp/test/karma.conf.js"
  },
  "dependencies": {
    "@angular/animations": "4.1.2",
    "@angular/common": "4.1.2",
    "@angular/compiler": "4.1.2",
    "@angular/core": "4.1.2",
    "@angular/forms": "4.1.2",
    "@angular/http": "4.1.2",
    "@angular/platform-browser": "4.1.2",
    "@angular/platform-browser-dynamic": "4.1.2",
    "@angular/platform-server": "4.1.2",
    "@angular/router": "4.1.2",
    "@types/node": "7.0.18",
    "angular2-template-loader": "0.6.2",
    "aspnet-prerendering": "^2.0.5",
    "aspnet-webpack": "^1.0.29",
    "awesome-typescript-loader": "3.1.3",
    "bootstrap": "3.3.7",
    "css": "2.2.1",
    "css-loader": "0.28.1",
    "es6-shim": "0.35.3",
    "event-source-polyfill": "0.0.9",
    "expose-loader": "0.7.3",
    "extract-text-webpack-plugin": "2.1.0",
    "file-loader": "0.11.1",
    "html-loader": "0.4.5",
    "isomorphic-fetch": "2.2.1",
    "jquery": "3.2.1",
    "json-loader": "0.5.4",
    "preboot": "4.5.2",
    "raw-loader": "0.5.1",
    "reflect-metadata": "0.1.10",
    "rxjs": "5.4.0",
    "style-loader": "0.17.0",
    "to-string-loader": "1.1.5",
    "typescript": "2.3.2",
    "url-loader": "0.5.8",
    "webpack": "2.5.1",
    "webpack-hot-middleware": "2.18.0",
    "webpack-merge": "4.1.0",
    "zone.js": "0.8.10"
  },
  "devDependencies": {
    "@angular/cli": "^1.2.1",
    "@types/chai": "3.5.2",
    "@types/jasmine": "2.5.47",
    "chai": "3.5.0",
    "jasmine-core": "2.6.1",
    "karma": "1.7.0",
    "karma-chai": "0.1.0",
    "karma-chrome-launcher": "2.1.1",
    "karma-cli": "1.0.1",
    "karma-jasmine": "1.1.0",
    "karma-webpack": "2.0.3"
  }
}

Thanks in advance for the help.

Sounds like there was an NPM package restore issue (maybe due to networking issues). I get this from time to time - the NPM client just isn't as reliable as I'd like. I'd recommend removing your node_modules directory and running npm install again.

Tried this without any success. Still digging the issue.


Remove useless MAKE_JOBS var

if necessary it can even be overriden via the env

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@mingwandroid are you OK with this solution? Should we merge it?
(Asking b/c I did not participated in the original discussion and I don't know decision made :smile:)

The thing is MAKE_JOBS was only used for Linux, not for osx, so at least it'll be consistent (and simpler). @mingwandroid concern was that you could not easily override this. The thing is you still can, via the env as CPU_COUNT passes trough conda-build.
Anyways this is a minor cleanup, if it doesn't get in I'm not going to insist.

IMHO the bug that needs to be fixed is that MAKE_JOBS should be used on macOS, but I too am not going to insist! Merging is fine by me.

MAKE_JOBS  does not pass through conda-build on the contrary to CPU_COUNT, so you may want to open an issue there

Not at all. You misunderstand the point here. It is to locally hack build.sh itself during development.

Yes, I don't understand.

Merging. There's no point continuing this discussion, you are being willfully obtuse. I explained the purpose behind this in plain English, clearly it is to suit my development methodology. That this isn't the same as yours is neither here nor there.


V2.1 - Change 'CO2' to 'CO' for the Carbon storage values

ToDO:

for the words circled in red, remove the '2'
Add 'Volume'

closing this.

closing this.

If we're talking about carbon sequestered, it should be "C", not "CO". CO is carbon monoxide.

This is an old release. Value shows up as in iTree (in 2.0.3 android / 2.0.4 ios):
60627.122100841334
1410.0


Fix ClientGgpLib issue

CMakeLists.txt in OrbitClientGgp was updated to separate the main executable (OrbitClientGgp) from the library classes
(OrbitClientGgpLib) but main.cpp was still being included in the library resulting in compilation errors when importing ClientGgp. This update fixes the issue.

Merging now, thanks!


FIFOQueue speed problem

Hi I am testing the speed of FIFOQueue. I create a queue of Tensor with type of tf.float32 and shape of (576, 3, 220, 220). Then I push a tensor to the queue, followed by pop the tensor from the queue.
The speed of single node version( sess = tf.Session())  and distributed version of tensorflow (even in single machine single process scenario, sess = tf.Session(server.target) ) differs much.
Pushing and poping take about 0.2s in single node version while 4s in  distributed version.
I know that using distributed version of tensorflow will encounter some proto serialize overhead, but the overhead seems too much.
The main code is like this (I also give a link to full source code below, which can be used to reproduce the problem)
    raw_shape = [576, 3, 220, 220]
    shape = tf.TensorShape(raw_shape)
    if FLAGS.cluster:
        server = tf.train.Server.create_local_server()
        sess = tf.Session(server.target)
    else:
        sess = tf.Session()
    with tf.device('/cpu:0'):
        q = tf.FIFOQueue(10, tf.float32, shape)
        rand_data = tf.zeros(shape)
        init_op = tf.initialize_local_variables()
        sess.run(init_op)
        result = q.dequeue()
        x = tf.placeholder(tf.float32, shape, 'data')
        enqueue_op = q.enqueue(x)
        while True:
            log('pushing')
            sess.run(enqueue_op, feed_dict = {x: np.zeros(raw_shape)})
            log('push done')
            sess.run(result)
            log('pop done')

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
https://github.com/tensorflow/tensorflow/issues/3009
But this issue is more related to threading, not same as mine case.
 May be you can test with loopback network to avoid the latency caused by network transfer.

Thanks for the very detailed report.  Using it I was able to reproduce your problem and confirm that the speed difference is in fact due to protocol buffer construction and parsing.  At a detailed level, constructing and then parsing a protobuf involves a number of operations that are done separately on each atomic element of the data structure, in this case float32s.  As an experiment you might try changing float32 to int64 and halving one of the dimensions.  The number of bytes is the same, but now the protobuf handling speed should be decreased.   In this test case, for the purpose of higher performance it would be convenient if one could alias the Tensor as a single binary buffer of a particular length, then reinterpret that buffer as the properly typed Tensor on the other side of the grpc call.  Protobufs would support this kind of (reckless) type aliasing, but TensorFlow does not.

Thank you for the explanation. I still wonder some questions now.
1 If I want to implement the " alias the Tensor as a single binary buffer of a particular length" in the Tensorflow code,  can u tell me which code in the TF codebase should I modify(hack)?
2 While transferring big data via FIFOQueue is slow because of serializing overhead, I also tested the multi machine cluster distributed training speed, it seems that the speedup of multi machine training is almost linear, which indicates the data transferring overhead is small comparably. So my question is why transferring hundreds of MB of data by FIFOQueue is slow while not that slow by PS, both of which need proto serializing.

Good questions :)
Second one first: Why is there not a comparable slowdown due to protobuf serialization when talking to a parameter server shard?  Because we optimized the way in which Tensors are protobuf encoded-decoded at the RPC interface for the RecvTensor method.  A numeric Tensor is backed by a dense memory buffer of same-size binary fields.  See core/framework/tensor.proto for how as a protobuf a Tensor can be coded as a large collection of small items, or as a relatively untyped tensor_content byte array.  See the TensorResponse class and supporting code in core/distributed_runtime/tensor_coding.cc and distributed_runtime/rpc/grpc_tensor_coding.cc.  Whenever possible, when building the protobuf for sending a Tensor via RPC, we use a grpc::ByteBuffer to hold the content, rather than as a protobuf of lots of little items.
Back to your first question, using the tensor_content field of tensor.proto, or the TensorResponse interface defined by tensor_coding.h would be the way to go.  I think the issue you're running into with FIFOQUEUE with the distributed interface is that maybe the RPCs involved are not the optimized RecvTensor method, but some other RPC that doesn't have efficient coding.

@gowithqi I've noticed same kind of problem, not limited to FIFOQueue -- specifically, when Python client requests data from another TensorFlow worker, the data is transferred at a rate of 50-200MB/s even if all the workers are local. The bottleneck seems to be protobuf decoding which happens on a single core. (more cores = smaller cores = worse performance)
Self-contained benchmark that reproduces it is here.
So, in your case, your buffer is<PHONE_NUMBER>4=334MB, so I would expect a single dequeue to take 3 seconds.
regarding on why "dequeue" transfer was faster than "ps" transfer -- there are two kinds of transfers:

Between TensorFlow processes (two C runtimes)
Between C runtime and Python runtime of the same process

So you could think of 4 different kind of scenarios on 2 dimensions:

is data transferred between devices in single process, or between multiple processes
result fetched in Python client vs remains in C runtime

So for single process mode on one machine, the speed I saw was 24GB/second (no Python fetch) vs 4GB/second (Python fetch), and for distributed version I saw 1 GB/second (no Python fetch) vs. 60 MB/second (Python fetch)
The way to run without Python transfer in your example is to do sess.run(dequeue_op.op) instead of sess.run(dequeue_op)

BTW, Marc O'Connor of Allinea analyzed this slowness (gRPC transfers bottlenecking at 200MB/second when you add large vector of 1's in one worker to variable on another local worker and fetch result into Python) and found following break-down.
Out of 1 second:

Nothing happens (0.2s +- 0.05): main process waits in grpc_competion_queue_pick, other threads wait in std::this_thread::__sleep_for(!)
Workers active (0.6s +-0.05 plus up to 0.2s overlap with next phase). 90% of time split time between:
a.	DoRecvTensor (7%), all spent in Tensor::AsProtoTensorContent calling std::string::_M_replace_safe.
b.	grpc_completion_queue_next(26%), split between post_parse_locked calling gpr_unref (11%) and memmove_ssse3_back (15%)
c.	DoRunGraph (34%) calling Tensor::AsProtoField (11% all spent in RepeatedField::Reserve), RunGraphResponse::ByteSize (7%) and grpc::Serialize (15%)
d.	grpc::Deserialize(23%)
Master merges data (0.2s +- 0.05s): All main thread time in TensorProto::MergePartialFromCodedStream, split evenly between self time, RepeatedField::Reserve and CodedInputStream::BytesUntilLimit. This partially overlaps with the previous phase.

@gowithqi does avoiding the Python transfer as @yaroslavvb suggested address your problem?

Closing because we haven't heard back from the OP in a while. @yaroslavvb has offered good guidance here, and he also shared some helpful knowledge regarding queues in https://github.com/tensorflow/tensorflow/issues/6845. If you're still encountering problems @gowithqi and believe there's a performance bug in TensorFlow, let us know, and I'll re-open.


update uproxy to use Freedom's logger

As part of moving to Freedom 0.6.

Looks like we did this.

 Sorry. Please take a look at this pull request:
https://github.com/uProxy/uproxy/pull/931

Looks like @jpevarnek has been tackling this.


1.19dev trains no highlighted tracks

Describe the Bug
when creating a train, there is no highlighted tacks to place the train casing on.
Reproduction Steps

place tracks
place the station
use the station
looking for highlighted track

Expected Result
there will a highlighted tack appear
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
windows 10
Mod Version
0.5.0f
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

Cannot reproduce. It looks fine to me:

Looks fine to me too

Works fine. You probably forgot to assemble the station.


[REVIEW] Feature/httpcache extensions (simplified)

Without EHCache.

I'm going to close for now.  Please feel free to reopen the PR when the issues are resolved.


Fix collapsed accordion bottom margin

Couldn't really figure out a nice way to do this without moving it to JS. 😞

Fixes https://github.com/chec/dashboard/issues/274?

Yep, was just going looking for that. Thanks.


BW-1367 - Reformat publish.yml

No reviewers?

We discussed as a team in our daily meeting that it wasn't necessary to add reviewers on the PR and the change was just for formatting. The team as a whole did review the change in that meeting, however.


feat: add headers support and onProgress callback for other methods

hey @Yoda-Man, thanks for making this package, i think it's very useful to give developers of this package an option to add headers for upload requests, and i made onProgress callback handler available for all upload methods

Thanks for the contribution will merge and upload update in 12 hours time


Syntax error fixes for Python 2.6 and encoding fixes

Hey
Just tried installing with Python 2.6.1 and ran into syntax errors:
$ pip install httpie
Downloading/unpacking httpie
  Downloading httpie-0.1.3.tar.gz
  Running setup.py egg_info for package httpie
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/Users/alen/build/httpie/setup.py", line 2, in <module>
        from httpie import httpie
      File "httpie/httpie.py", line 39
        for sep in self.separators
          ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/Users/alen/build/httpie/setup.py", line 2, in <module>

    from httpie import httpie

  File "httpie/httpie.py", line 39

    for sep in self.separators

      ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/alen/.pip/pip.log

I converted the dict comprehensions to list comprehensions wrapped in a dict() call.

Looks good, thank you. Only a small detail: would you please remove the redundant intermediary list creations, e.g., instead of:
proxies=dict([(p.key, p.value) for p in args.proxy])

Just:
proxies=dict((p.key, p.value) for p in args.proxy)

Tada :)

Should have branched off for the next commit really, but here goes:
Naively decoding everything from UTF-8 will crash when the server is returning different encodings:
alen@longaeva:[~/]$ http GET "http://www.spiegel.de" -t
Traceback (most recent call last):
  File "/usr/local/bin/http", line 8, in <module>
    load_entry_point('httpie==0.1.3', 'console_scripts', 'http')()
  File "/Users/alen/projects/httpie/httpie/httpie.py", line 182, in main
    response.content.decode(decode_from) if response.content else u''
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 716-721: unsupported Unicode code range

After the fix, note the Content-Type header.
alen@longaeva:[~/]$ http GET "http://www.spiegel.de" -t
HTTP/1.0 200 OK
Date: Tue, 28 Feb 2012 14:03:21 GMT
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5
Cache-Control: max-age=120
Expires: Tue, 28 Feb 2012 14:05:22 GMT
X-Host: lnxp-2863
X-Robots-Tag: index, follow, noarchive
Content-Type: text/html;charset=ISO-8859-1
Vary: Accept-Encoding
Content-Encoding: gzip
X-Cache: MISS from lnxp-3958.srv.mediaways.net
X-Cache-Lookup: HIT from lnxp-3958.srv.mediaways.net:101
Via: 1.1 www.spiegel.de, 1.0 lnxp-3958.srv.mediaways.net (squid/3.1.4)
Connection: close

@flashingpumpkin actually, I already have a fix for the encoding ready. Can you please undo the last commit so that I can merge your fix for Python < 2.7?

Done


Updated images for website homepage

Tracking issue for updating the images on the homepage with new SVGs from @bkobash

Update: @bkobash sent over some SVGs.

In progress. Thanks @bkobash


Create a new project is modifying an existing one

Expected behaviour
Create new project
Actual behaviour
Modify an existing project instead creating a new one.
Steps to reproduce

Click on "Edit" button of an existing project.
Close the window or click on "Save"
Create a new project, without reloading page.
Fill the form and create, it is modifying the last project instead creating a new one.

Environment info

Operating System: Windows 10 / Vagrant Virtual box / ubuntu/trusty64
PHP Version: 7.0.3
Node Version: 3.14.2
Database System: MariaDB
Database Version: 10.1.33

Fixed in master


make pubsub publish and pull package-private

This reflects the changes in https://github.com/googleapis/googleapis/pull/241 but pulls in other changes that landed in master by https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1501

Coverage increased (+0.04%) to 83.149% when pulling ffa822bd3b7aa99b554670785f0f756b7ea476d6 on pongad:package-private into 19acb033e37b55954444186f051d607a30b2878c on GoogleCloudPlatform:pubsub-rm.

LGTM

Hmm it looks like the Travis Mac run had the same failure as another of your PRs.

As discussed, we can merge to pubsub-hp, but we'll definitely hold off merging to master until we fix the flakes.