Store graphite "events"

See:

http://graphite.readthedocs.io/en/latest/events.html
https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/events/views.py

This is particularly useful in Grafana timelines and would be better to be able to store them in Cassandra directly.

Send a PR to graphite-web to allow finders to handle events
Implement it in BigGraphite

Looks like Grafana will have support for this. Maybe it isn't that important.


[zh-cn]sync list-all-running-container-images.md

Sync content/zh-cn/docs/tasks/access-application-cluster/list-all-running-container-images.md with en page.

Hi @Zhuzhenghao ,
i am new to in contribution,
When i create a pull request the EasyCLA is not check and shown your not authorized to contribute.
Please help me i am stuck on it.......!

/lgtm
/approve


chore: migrate to Trampoline V2

It will allow you to run the builds locally. For example, here is the
command for running the presubmit system test:
TRAMPOLINE_IMAGE=gcr.io/cloud-devrel-kokoro-resources/node:12-user \
    TRAMPOLINE_BUILD_FILE=.kokoro/system-test.sh \
    SECRET_MANAGER_KEYS="npm_publish_token" \
    .kokoro/trampoline_v2.sh

Note: the current presubmit system test(.kokoro/presubmit/node12/system-test.cfg)
doesn't utilize any secrets.

@bcoe Do you know what is Summary Check for ci/kokoro: Samples test? It seems it's a required check.

@tmatsuo, @sofisl has been working on an experiment with GitHub actions that would allow us to make Sample/System tests optional for some types of PRs. Phishing Protection happened to be where we're testing this too.

this is looking good, I'd like to generate it from your open PR on syntool though before merging 😄

closing in favor of:
https://github.com/googleapis/nodejs-phishing-protection/pull/202


Add support for paying to BOLT12

This PR adds support for paying to a BOLT12 offer.
The flow is as follows:

user specifies a BOLT12 offer destination when paying
SDK calls Boltz endpoint that fetches a BOLT12 invoice for given offer
SDK calls send_payment_via_swap with the BOLT12 invoice as argument, instead of the usual BOLT11

Open questions

[x] Should we also support paying directly to BOLT12 invoices, in addition to BOLT12 offers?
[x] Expand PaymentDetails::Lightning with a new field for bolt12_invoice? And / or an optional bolt12_offer?

Or alternatively rename the existing bolt11 field to invoice, so it means either BOLT11 or BOLT12 invoice?

[x] Should we fetch the invoice during prepare? This may take a long time for slow endpoints (Phoenix), causing the user to wait a few seconds for prepare to return.
[x] Update sdk_common::input_parser to parse BOLT12 offers / invoice? Or keep changes local to the Liquid SDK?

[ ] Use BIP-353 "DNS Payment Instructions" for BOLT12 resolution? (similar to LN Address)

Open TODOs

[x] Validate returned invoice (check signature) before trying to pay it
[x] ~Detect / handle MRH in BOLT12 invoices~
[x] Handle both BOLT11 and BOLT12 in persister
[x] When paying to a bolt12 offer, list_payments shows payments as Pending
[x] When paying to a bolt12 offer, list_payments shows the bolt12 invoice under bolt11 (should show offer instead)

Dart changes look good


During tracing, if child process stops (gets a sigkill), a non-usefull error is reported

During tracing, if child process stops (gets a sigkill), a non-useful error is reported. We need to close tracing and finish OK saying that the child process finished.

Fixed in commit 98b3d37c45c463c8c0b24a98a1130c8f40958046


any doco on what the "sqwerkle" icon indicates?

i cant get these tests to run. there is no hover help and no errors anywhere i can see

closing since i answered my own question


Add Trail of Bits team

This change has been made at my request so that Trail of Bits auditors can be added to things like project boards. Pinging @dstebila @bhess @baentsch for review.


Polymorphic Relationships

Does emberfire support polymorphic ED relationships? I have tried searching on the web, and doing a few implementations but I have run into trouble. I just want to make sure that polymorphic relationships are indeed supported.

We do not provide any specific support in our adapter. What issues are you running into?

I've done some of my own testing and it seems we do not currently support polymorphic relationships.
The records are saved into their own collections, which defeats the purpose of polymorphism, and an error shows when trying to reload the relationships:
Uncaught TypeError: Cannot read property 'typeKey' of undefined

Yes, I ran into this same issue. I was hoping the polymorphic relationships were supported, but as you have pointed out, it looks as though this is not the case.

I'd love to have this working. I'm a newbie to firebase, but have some experience drilling down into ED serializers. I assume, at a high level, that records simply need to be saved into their own collections with a type attribute?

I agree with you. I'm not terribly experienced in either firebase or ember data, but when I was working with polymorphic relationships in ember data and I would create a child record, the ember inspector would show record creation of both the child and parent with the same firebase ID simultaneously. This was helpful in allowing you to reference the child object from the parent class.  Having a similar implementation in emberfire would definitely be helpful.
Sent from my iPhone

On Apr 25, 2015, at 7:58 PM, Sheldon Baker<EMAIL_ADDRESS>wrote:
I'd love to have this working. I'm a newbie to firebase, but have some experience drilling down into ED serializers. I assume, at a high level, that records simply need to be saved into their own collections with a type attribute?
—
Reply to this email directly or view it on GitHub.

@molligan I think however this feature is implemented, that behaviour in the ember inspector would remain the same.
I dug around in the adapter and serializer and made some hack-ish progress, but I'm not sure how to go about it in the following case:
Owner = DS.Model.extend({
  pets: DS.hasMany('pet', { polymorphic: true, async: true }
});

Dog = Pet.extend();
Cat = Pet.extend();

Breeder = DS.Model.extend({
  dogs: DS.hasMany('dog')
})

In updateRecord, this._getRef(type, record.get('id')) is responsible for passing the correct root key to save in Firebase (i.e., pets or dogs). For polymorphic relationships, type should actually be type.superclass (ignoring multi-level/recursive polymorphism for the moment). However, this isn't always the case. If we do breeder.get('dogs.firstObject').save(), that object should be saved in dogs, but if we do owner.get('pets.firstObject').save(), we'd expect that object to be saved in pets.
I'm sure there's other design decisions as well that need to be made before polymorphism can really be supported.

+1 for polymorphism support

@tstirrat did some investigation, looks like belongsTo polymorphism works with a simple fix... dunno if this helps.
Problem with current firebase is {polymorphic: true} expects keyType prop in data.
store code:

function typeFor(relationship, key, data) {
  if (relationship.options.polymorphic) {
    return data[key + "Type"];
  } else {
    return relationship.type;
  }
}

my "fix":
import Ember from 'ember';
import DS from 'ember-data';

export default DS.FirebaseSerializer.extend({

  // Patch polymorphism until part of Ember Firebase. https://github.com/firebase/emberfire/issues/245
  serializePolymorphicType: function(snapshot, json, relationship) {
    var key = relationship.key,
        belongsTo = snapshot.belongsTo(key);
    key = this.keyForAttribute ? this.keyForAttribute(key, "serialize") : key;

    if (!Ember.isNone(belongsTo)) {
      json[key + "Type"] = belongsTo.typeKey;
    }

    console.log("serializePolymorphicType", snapshot, json, relationship);

    return this._super.apply(this, arguments);
  },

});

+1 for polymorphic relationships. I assumed that this would be included and it's causing me some major issues with my data modeling.

+1 for polymorphism. Firebase is awesome but I would like to have full support of all EmberData features.

+1. Just could say the same as @alejandrocarlos .

+1

I've started looking into this, and it is a bit complicated, but it should be possible.
There are some resources here: https://github.com/Bestra/ember-data-sti-guide about the actual implementation.
I'm unsure if this is fit for being part of the official EmberFire adapter, and if so it needs to be optional, as implementing it will break current sites that might have polymorphic data in multiple tables.
Most implementations do handle this on the server side as well, since allowing the client to push 'any' type into the store, might cause application issues. E.g. if you have the following
Pet = DS.Model.extend({
  name: DS.attr('string'),
  type: DS.attr('string')
});

Dog = Pet.Model.Extend({
 type: 'dog';
})
Cat = Pet.Model.Extend({
 type: 'cat';
})

The client can potentially change the code to push type of 'donkey' into the store, and if so, your application might/will error when loading the data.
Ember Data polymorphic associations assume one endpoint per model, and assumes the polymorphic storage to be handle server-side and not client side.
A recommended talk on the subject: https://vimeo.com/115987599
The simplest solution is to override the pathForType and look for either a type , _type or polymorphic_type key in the push and find functions in EmberFire.
The implementation should briefly be:

[] Change the serializer to include type , _type or polymorphic_type when association is polymorphic
[] Change pathForType to override the path for polymorphic - [], that are not embedded
[] Change the embedded storage key for polymorphic associations
[] Change the find methods to set the models properly depending on recieved type
[] Fix the push function to use data.type instead of type

I will try to make the changes and do a PR, however it will take time. Please provide comments/thoughts on the subject.

Any preference if polymorphic STI should be default, opt-in or opt-out through configuration?

I'd say it should be default with the option to opt-out.

I'd say opt-out through configuration.

After a week + a bit of testing, here's a few findings.
Polymorphic STI
Ember Data assumes polymorphic STI records to have separate endpoints. Example:
Shape = DS.Model.extend({}); // endpoint shapes
Circle = Shape.Model.extend({}); // endpoint circles
Rectangle = Shape.Model.extend({}); // endpoint rectangles

It is possible to force loading/storing circles and rectangles through shapes, so it will appear as single table inheritance storage, however, when you do these steps: (Assuming patch for path/type is properly set up)
Create record
c = store.createRecord('circle');
c.save() // saves to /shapes/ (assuming id = 1)

Find record
// Find shape with id 1, will load into circle, since type = 'circle'. Will load from backend/firebase.
store.find('shape', 1)

Triggering find again
store.find('shape', 1)
// Will load from backend/firebase again, since ED knows that it does not have a shape with ID 1.

So this breaks caching of objects in the ED store. I still haven't solved how to do this properly in the store.
If anyone has suggestions on how to fix this both for the adapter and for the ED store, please provide feedback.
Polymorphic relationships.
Example:
Taggable = DS.Model.extend({
  tags: DS.hasMany('tag', {async:true})
});

Post = Taggable.Model.extend({
  tags: DS.hasMany('pet', {async: true, polymorphic: true} )
});
Image = Taggable.extend({
  tags: DS.hasMany('pet', {async: true, polymorphic: true} )
});
Tag = DS.Model.extend({
  taggable: DS.belongsTo('taggable', {async:true, polymorphic: true})
});

This seems to work out of the box.
The last combination is STI with polymorphic relations, and that cannot be solved before I've figured out more of the details on fixing STI for firebase.
All examples i've come accross implements botht eh STI endpoint and the model specific endpoints, so ember-data and the adapter does not have to be 'monkey-patched'.
I still think it's fixable on the adapter side, but it takes time to solve properly.
@tstirrat Are there any configuration options on the serverside to e.g. morph/copy data when it's recieved on one endpoint? Or does everything have to be client-side?

Seems like STI can be problematic. See emberjs/data#2407

RFC on emberjs/ember-data https://github.com/emberjs/rfcs/pull/67

Hi there!
A newbie on ember/firebase here. I think on polymorphic relationship as the perfect solution to apply on my app, but not the only one.
Is it already working on emberfire or should I use the other option?
thanks!

Hi Carlos, we don't support polymorphic relationships in EmberFire at the moment. We're waiting on clearer directions in the underlying Ember Data.

Ember data 2.6 will have a new ids-and-type strategy which lays parts of the groundwork needed for this to be possible. See http://emberjs.com/blog/2016/05/03/ember-data-2-5-released.html#toc_upcoming-features-in-ember-data-2-6-beta-1

Any update on this? Thank you.

@tpetrone Have to wait for emberjs/rfcs#67


Go to definition

Note for contribution to Idris internals

We can strictly match the name with type signature in the source files.

The final plan here is, get the type of the identifier first, and then get the location of ident : type by searching the whole project, quite straightforward.


Fix benchmarks command

Introduced changes

Changed incorrect benchmarks command on CI.

Checklist

[x] Linked relevant issue
[x] Updated relevant documentation
[x] Added relevant tests
[x] Performed self-review of the code
[x] Added changes to CHANGELOG.md

#1681

Actually idk why don't we run this check on merge groups, any ideas @Arcticae?

@piotmag769 i don't know but we wanted to avoid running this on every commit since it's lengthy, merge group would be fine i think


Azure Pipelines: upgrade from macOS 10.13 -> 10.14

Summary
As per a recent Microsoft's Azure DevOps blog post, build images for macOS 10.13 now appear to have been removed from Azure Pipelines.
##[warning]An image label with the label macOS-10.13 does not exist.
,##[error]The remote provider was unable to process the request.

This is causing macOS-related builds to fail.
This pull requests updates the base image for those builds to the more recent macOS-10.14.
Test plan (required)
The result of Azure Pipeline builds on this pull request for macOS-derived test suites should indicate whether the change is successful.
Note that this pull request does not include the build fixes made in #2203 pull request that addresses failures for Chrome on Linux.

The test failures here for macOS may be due to dropped support for Xcode; for example, this line specifies sdk: '9.0' and the Azure DevOps blog post mentions that ... versions of Xcode older than 9.4.1, will no longer be supported.

(it may also be worth updating to macOS 10.15 here, since that should now be available and could future-proof the builds for a longer duration)

Potentially relevant issues regarding Safari Stable failures: https://github.com/search?q=org%3Akarma-runner+"Safari+have+not+captured"&type=Issues
It seems likely that karma-safari-launcher may be involved.

Regarding Safari_IOS_12 that is failing with the error:
13 04 2020 22:43:26.505:ERROR [launcher:MobileSafari]: No device found for sdk 12.1 with name iPhone 5s

... according to this page, iPhone 5s should be available under iOS 12.1.

https://github.com/karma-runner/karma-safari-launcher/pull/22 seems like it would be a nice-to-have.
I don't know for certain yet whether this would resolve the Safari launch issues for Safari Stable builds, but I have a sense that it would be a good idea either way.

:heavy_check_mark: macOS tests are passing again and this pull request should be ready for review

Thanks a lot for figuring out the CI issues!


Added support for indices

Also looks as if you checked in your .DS_Store, should either remove it or add it to the .gitignore


panic: interface conversion: jwt.Claims is jwt.MapClaims, not jwt.MapClaims

Hi
I am using jwt.MapClaims to map claims as below
mappedClaims  := claims.(jwt.MapClaims)
where claims is of type jwt.Claims
How to resolve this bug? Expected and actual types are same in

jwt.Claims is jwt.MapClaims, not jwt.MapClaims
Thanks

I'm sorry. I don't understand the question. Perhaps a code sample?

I am having something very similar. It keeps spitting out
jwt.Claims is jwt.MapClaims, not *Controllers.jwtUserClaims
A segment of my auth code does the following:
	user,
	jwt.StandardClaims{
		ExpiresAt: time.Now().Add(time.Hour * 72).Unix(),
	},
}

// Create token with claims
token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims)

t, err := token.SignedString([]byte(os.Getenv("SESSION_KEY")))
if err != nil {
	return err
}
return c.JSON(http.StatusOK, map[string]string{
	"token": t,
})```

`jwtUserClaims` is defined like this:
```type jwtUserClaims struct {
	Auth.User
	jwt.StandardClaims
}```

Any help would be greatly appreciated!!

Since no one has come up with anything for this problem, I have found a hack-is solution to this problem. When I get the token (which I have as a variable named user), I immediately JSON Marshal the Claims of it, and then Unmarshal it into the appropriate Claims I created it as.
This is what I did for myself.
claims := Controllers.JwtUserClaims{}

user := c.Get("user").(*jwt.Token)
tmp, _ := json.Marshal(user.Claims)
_ = json.Unmarshal(tmp, &claims)

I modified this code so I could run it standalone. It appears to work just fine.
package main

import (
	"github.com/dgrijalva/jwt-go"
	"log"
	"time"
)

type User struct {
	Name string `json:"username"`
}

type jwtUserClaims struct {
	User
	jwt.StandardClaims
}

func main() {
	claims := &jwtUserClaims{
		User{Name: "foo"},
		jwt.StandardClaims{
			ExpiresAt: time.Now().Add(time.Hour * 72).Unix(),
		},
	}

	// Create token with claims
	token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims)

	t, err := token.SignedString([]byte("FOO"))
	if err != nil {
		log.Println(err)
		return
	}
	log.Println("TOKEN: ", t)

}

I suspect this has something to do with Auth.User interfering with the Claims interface.

I don't know what that could be, but here is my Auth struct:

type NotificationSettings struct {
	SMS        string `json:"sms" xml:"SMS"`
	SMSLevel   string `json:"smsLevel"  xml:"SMSLevel"`
	Email      string `json:"email"  xml:"Email"`
	EmailLevel string `json:"emailLevel" xml:"EmailLevel"`
}

type Settings struct {
	Token         string               `json:"token" xml:"-"`
	TokenGiven    string               `json:"tokenGiven,omitempty" xml:"-"`
	TokenExpires  string               `json:"tokenExpires,omitempty" xml:"-"`
	Notifications NotificationSettings `json:"notifications" xml:"Notifications"`
}
type Auth struct {
	tableName    struct{} `sql:"app.auth"`
	ID           string
	Username     string
	Password     string
	GroupIDs     []string
	SettingsJSON Settings
	Status       int
	IDUserType   string
	UserType     UserType
	Groups       []Group
	PersonID     string
}```

Anything you see there that might collide with your `Claims` interface?


Fix e2e tests

Description
Fixes group edit approvals e2e test cases, adds missed e2e-parallelism labels
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
...
Test cases

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/fix-e2e-tests/playwright-report/index.html


Adding Big Data Awesome related lists

I've got an awesome list for kafka that I've been working on. Is that something that could be listed here? Also, if so where would it go? (Doesn't seem to fit with the awesome-lists section)
The list is: https://github.com/monksy/awesome-kafka

@monksy added!

Thanks man!


Correct the command to check Wukong CLI version

Signed-off-by: Alex<EMAIL_ADDRESS>
Summary

Ticket:
What's Changed

Correct the command to check Wukong CLI version.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: onimsha
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan, onimsha
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[dev.icinga.com #13679] Allow wrapping of the template of Icinga2Instance resources.

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13679
Created by fretb on 2016-12-19 14:37:42 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-12-19 14:39:21 +00:00 (in Redmine)

I found there was no way to specify the cookbook to use for an Icinga2Instance resource template, as exists for the Icinga2Environment. (https://github.com/Icinga/chef-icinga2/blob/master/libraries/provider_environment.rb#L89)
I've made a pull request at https://github.com/Icinga/chef-icinga2/pull/66.

PR Merged.


Virtualization with odata : loaddatda gets called twice

Bug : Datagrid with virtualization calls loaddata twice on initialisation
To Reproduce:
Go to demo : Virtualization > Load data support (https://blazor.radzen.com/datagrid-virtualization-loaddata)
See the logs for the intialisation calls:

Virtualize component will request LoadData as many times as needed - we cannot control it.


Create source-build group in AzDO for managing resources

We had to manually add a source-build team member to the list of approvals for the source-build release twice in a row.
We should add a dedicate group in AzDO for all source-build team members and instead of managing permissions / access on individual level just grant these to the entire group.

A group for A&D already existed in AzDO.
Gave the group permissions on the source-build release pipelines:

validation
test
official
clean-up
partner-notifications

Additionally, made the group Administrator on several other AzDO resources, such as:

variable groups for secret access
service connections for NuGet publishing


Segfault (battery issue?)

Output from gdb
(gdb) run
Starting program: /usr/bin/polybar bar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffef6bc700 (LWP 8506)]
[New Thread 0x7fffee675700 (LWP 8507)]
error: module/mpd: Connection refused
[New Thread 0x7fffe7945700 (LWP 8510)]
[New Thread 0x7fffe7144700 (LWP 8511)]
[New Thread 0x7fffe6943700 (LWP 8512)]
[New Thread 0x7fffe6142700 (LWP 8514)]
[New Thread 0x7fffe5941700 (LWP 8515)]
[New Thread 0x7fffe5140700 (LWP 8516)]

Thread 7 "polybar" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe6142700 (LWP 8514)]
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign (
    this=0xc0, __str=<error reading variable: Cannot access memory at address 0xa8>)
    at /build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:260
260	/build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc: No such file or directory.
(gdb) bt
#0  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign (
    this=0xc0, __str=<error reading variable: Cannot access memory at address 0xa8>)
    at /build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:260
#1  0x0000000000506c15 in polybar::v2_0_0::modules::battery_module::on_event(polybar::v2_0_0::inotify_event*) ()
#2  0x000000000050e90e in polybar::v2_0_0::modules::inotify_module<polybar::v2_0_0::modules::battery_module>::runner() ()
#3  0x00007ffff5d6f31f in std::execute_native_thread_routine (__p=0x874680)
    at /build/gcc-multilib/src/gcc/libstdc++-v3/src/c++11/thread.cc:83
#4  0x00007ffff5583454 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff52c67df in clone () from /usr/lib/libc.so.6

Happens when I specify the adapter in battery
[module/battery]
type = internal/battery
adapter = AC0

Output of ls -1 /sys/class/power_supply is
AC0
BAT0

Same here !

Is this issue still valid using the latest version?

Using polybar 2.4.7, the problem is still there with the same gdb trace.

From my side, 2.4.7 solved the problem !

eeaad51 might be related to the issue

Still an issue with 2.4.8. Actually, even worse now -- when I don't specify the adapter it still crashes, when before it was okay (showing the right battery percentage, but wrong discharge time).

could you paste the output of polybar -vv

polybar 2.4.8-4-g0f0d786-git

Features: +alsa +curl +i3 +mpd +network

Build type: RelWithDebInfo
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro

ALSA_SOUNDCARD              default
BSPWM_SOCKET_PATH           /tmp/bspwm_0_0-socket
BSPWM_STATUS_PREFIX         W
BUILDER_SPACE_TOKEN         %__
CONNECTION_TEST_IP          <IP_ADDRESS>
PATH_ADAPTER                /sys/class/power_supply/%adapter%
PATH_BACKLIGHT_MAX          /sys/class/backlight/%card%/max_brightness
PATH_BACKLIGHT_VAL          /sys/class/backlight/%card%/brightness
PATH_BATTERY                /sys/class/power_supply/%battery%
PATH_CPU_INFO               /proc/stat
PATH_MEMORY_INFO            /proc/meminfo
PATH_TEMPERATURE_INFO       /sys/class/thermal/thermal_zone%zone%/temp

My bad -- trying again while not specifying the adapter seems fine. I have a percentage and a reasonable time-left. All that's suspicious is that it doesn't seem to work when I put in the adapter.

I'm closing this, as this seens to not be a problem anymore. @notantonia, please tell me, if you stil experience this and I'll reopen


bazel warning: -parameters is not supported for target value 1.7. Use 1.8 or later.

INFO: From Building gax/libgax-class.jar (185 source files) and running annotation processors (AutoValueProcessor):
warning: -parameters is not supported for target value 1.7. Use 1.8 or later.

https://github.com/bazelbuild/bazel/issues/8772

https://github.com/bazelbuild/bazel/issues/8772


Changing documentation for better output support

Using the "p" command will not allow colored output in ruby 2.1.2p95 (possibly other versions as well). I spent roughly 30 minutes googling around before I tried using the "puts" command in stead, which worked.

Thanks!


PDF annotation data only correct on first record on a page

I have a two-line repeating format that pulls data from a .csv file. There are 19 repeating sections. The regular text frames contain the correct data, but the PDF annotations only contain the correct information for the first line. All subsequent annotations contain the data from the last record on the page. I'm not sure if that is a coincidence or is an artifact of how I copied the sections.
The information in the text frames is:
Position, Incumbent, e-mail address, telephone
The information in the PDF annotations is:
e-mail address, telephone.
The annotation information uses the same fields as the text data. The annotations sit on top of the text frames so a click or tap should trigger them.  The annotation fields for the e-mail link are named "Text5",  "Copy of Text5", "Copy of Text5 (2)" .... by scribus while the telephone links are named "Text6", "Text26", Text29" ...
I use the same technique for other templates that don't use so many repeating formats on a page and they work.
I use this to generate different sections of a larger document, using a command line script. The active line is:
/usr/bin/python3 ~/.scribus/scripts/ScribusGenerator-master/ScribusGeneratorCLI.py ~/.scribus/templates/${1}.sla -c ./Directory/${1}.csv -o ./Directory/ -n ${2}-$((${2}+1))\ ${1} -m
where $1 is the section I am generating, which also specifies the template file and .csv file. $2 is the current year.
I had been using an older version of the generator that used -python3 as the main folder but just downloaded the latest version that uses -master as the main folder. The problem is similar in both of them, but the -python3 version picked up a different e-mail address than the -master version.  Both selected the same telephone number.
To repeat, the first instance works while all subsequent instances have the same incorrect pdf annotations that seem to be from much further down in the .csv file.
I am creating a single .sla file.

Hello Gary.
If I understand correctly, your issue seems to me to be related to the location of the pdfannotations bits (XML Element) in the SLA template.. like they would all be located at the end of the source file after the last NEXT-RECORD tag.
Do you mind attaching your (template) sla here so I can have a look?
Did you create all the annotations after duplicating the repeat sections, or where they already defined on the first section and then duplicated along with it?
A priori changing the location of the pdfannotations XML Element in the SLA, before their respective NEXT-RECORD tag, should solve the issue. But I don't know a sure way to do it in Scribus : last tried with 'grouping' to no avail, maybe 'select and send backwards' would work. I'd do it an external text/XML editor.
Good luck.
Berteh

no problem on my end, as in the attached files.
The way I created my template is as suggested in the https://github.com/berteh/ScribusGenerator/wiki/How-to-use-%25SG_NEXT-RECORD%25 :

create one item fully laidout
add %SG_NEXT-RECORD% before the first element of this item, make it smaller to makes it a different (ITEXT) element entirely, that will be cleaned entirely by the script
group all elements of item (ctrl+g)
Menu item > mutliple duplicate to duplicate as much as needed (7 rows in this case)
ungroup first element of page (ctrl+shif+g) to remove it's SG_NEXT-RECORD marker, as leaving it would skip the first record (of each page).

annotations.zip


Update the Layout System: Make Tiled and Overlapped 1st class concepts

Tile, Tiled, Tiling (NOT IMPLEMENTED YET) - Refer to a form of ComputedLayout where SubViews of a View are visually arranged such that they abut each other and do not overlap. In a Tiled view arrangement, Z-ordering only comes into play when a developer intentionally causes views to be aligned such that they overlap. Borders that are drawn between the SubViews can optionally support resizing the SubViews (negating the need for TileView).

Overlap, Overlapped, Overlapping (NOT IMPLEMENTED YET) - Refers to a form of ComputedLayout where SubViews of a View are visually arranged such that their Frames overlap. In Overlap view arrangements there is a Z-axis (Z-order) in addition to the X and Y dimension. The Z-order indicates which Views are shown above other views.

#2544 makes progress on this.

I'm Closing

#2502

And putting the discussion here to simplify things. There's no need for two issues:.
From 2502
This is all debatable, but here's my thinking:
TopLevel is currently built around several concepts that are muddled and have led to overly complex code:

A Toplevel is a view that can host a Menu and StatusBar. Other views cannot.
A Toplevel can run modally, and have its own Runstate (via Application.Run(). It is unclear why ANY VIEW can't be run this way, but it seems to be a limitation of the current implementation.
A Toplevel can be moved by the user (actually only the Toplevel subclass, Window). It should be possible to enable the moving of any View (e.g. View.CanMove = true or similar).

Application is the place where all of the above TopLevel gunk happens in addition to other "application" stuff.
The MdiContainer stuff is complex, perhaps overly so, and is not actually used by anyone outside of the project. It's also misnamed because Terminal.Gui doesn't actually support "documents" nor does it have a full "MDI" system like Windows (did). It seems to represent features useful in overlapping Views, but it is super confusing on how this works, and the naming doesn't help.  Application is full of code like if (MdiTop != null && top != MdiTop && top != Current && Current?.Running == false && !top.Running) which just screams poor-OO design and fragility. This all can be refactored to support specific scenarios and thus be simplified.
My proposal:

Application.Top should be set when an app starts, and should not be changeable. Changing it after Application.Begin has been called should result in an exception.

The Application class should do the following (and nothing else; other things should be moved elsewhere as appropriate):

Application-wide settings (like default quit key and diagnostics)
Initializing and configuring the console driver
Providing Runstate and managing the Mainloop
Providing a simple API for starting applications either with a default Top view or a developer-provided one
Proxying mouse/keyboard events from the driver to the Top

Stuff that will be moved out of (or deleted) from Application:

All the Mdi stuff
All the tracking of Current and toplevels. This stuff will just be part of View.
Code for moving from view to view in the focus or z-order heirarchies

All Views should support overlapping within a superview and have a menubar and statusbar.

All Views should support having subviews be overlapping

All the insane logic in Application.cs for dealing with Current, the stack of toplevels, etc, should be moved into the View hierarchy (either as part of View directly or a helper class)... and radically simplified. This includes getting rid of all of the Mdi stuff.

Any View can be run modally (as a popup that captures all user input) can be executed with a new API: view.Run(popupView) as is today, except they don't have to be of type Toplevel. When such a view is run, view.Modal is set to true letting the view know it's modal. We'll retain Application.Run() for backward compatibility, but it will simply do Application.Top.Run(popupView).

Making this happen requires the following to be done first:

#2491
#2487
#2488

But it seems doable, and will significantly simplify the programming model (and codebase).
What do folks think?

Also moving this here (it was already closed, but is relevant)

#2490

Modal - The term used when describing a View that was created using the Application.Run(view) or Application.Run<T> APIs. When a View is running as a modal, user input is restricted to just that View until Application.Run exits. A Modal View has its own RunState.

In v1, classes derived from Dialog were originally thought to only work modally. However, Wizard proved that a Dialog-based class can also work non-modally.

In v2, we will simplify the Dialog class, and let any class be run via Applicaiton.Run. The Modal property will be set by Application.Run so the class can detect it is running modally if it needs to.

TopLevel - The v1 term used to describe a view that can have a MenuBarand/or StatusBar.

In v2, we will delete the TopLevel class and ensure ANY View can have a menu bar and/or status bar (via Adornments). See #2488

NOTE: There will still be an Application.Top which is the View that is the root of the Application's view hierarchy.

In v2, there is only one Application.Top. It is the View that is the first view in the application.

If a developer wants an "MDI" like interface, they can turn on the menubar/status bar in the Application.Top and add Window subviews to their hearts content. With the LayoutStyle.Overlapped each of those subviews overlap each other, support dragging/sizing, etc... They can add/remove subviews to the Application.Top, hide/show, etc... There is no need for a TopLevel class.

In this case a Button can be Modal and run itself?
Application.Run(new Button("I'm Popeye"))

In this case a Button can be Modal and run itself?
Application.Run(new Button("I'm Popeye"))

Yep, A better example (from https://github.com/gui-cs/Terminal.Gui/issues/1720).
The code here: https://github.com/gui-cs/Terminal.Gui/pull/3154
(this part):
void ColorBtnClicked (Button btn)
{
	var fgColor = blocksPB.ColorScheme.Normal.Foreground;
	var bgColor = blocksPB.ColorScheme.Normal.Background;

	var colorPicker = new ColorPicker {
		Title = btn.Text
	};

	if (btn.Text == "Foreground") {
		colorPicker.SelectedColor = fgColor.ColorName;
	} else {
		colorPicker.SelectedColor = bgColor.ColorName;
	}

	var dialog = new Dialog {
		Title = btn.Text
	};

	dialog.LayoutComplete += (sender, args) => {
		// TODO: Replace with Dim.Auto
		dialog.Bounds = new Rect (0, 0, colorPicker.Frame.Width, colorPicker.Frame.Height);
		dialog.X = Pos.Center ();
		dialog.Y = Pos.Center ();

	};

	dialog.Add (colorPicker);
	colorPicker.ColorChanged += (s, e) => {
		dialog.RequestStop ();
	};
	Application.Run (dialog);

	if (btn.Text == "Foreground") {
		ChangeColor (colorPicker.SelectedColor, bgColor.ColorName);
	} else {
		ChangeColor (fgColor.ColorName, colorPicker.SelectedColor);
	}

	colorPicker.Dispose ();
}

		void ColorBtnClicked (Button btn)
		{
			var fgColor = blocksPB.ColorScheme.Normal.Foreground;
			var bgColor = blocksPB.ColorScheme.Normal.Background;

			var colorPicker = new ColorPicker {
				Title = btn.Text
			};

			Application.Run (colorPicker);

			if (btn.Text == "Foreground") {
				ChangeColor (colorPicker.SelectedColor, bgColor.ColorName);
			} else {
				ChangeColor (fgColor.ColorName, colorPicker.SelectedColor);
			}
		}

I see. Well done.

@bdisp pointed out in #3154 :

How about popup near the respective buttons on available space (below, up, right, left) as the ContextMenu does?

This should be a goal of the new Overlapped concept: it should be easy to say "position this overlapped view relative to this view".

I've closed:

https://github.com/gui-cs/Terminal.Gui/issues/1906

As a dupe of this.

Related:

https://github.com/gui-cs/Terminal.Gui/issues/2537

I've got some catch-up to do, but the skimming I did just now gave me warm fuzzies.
If I have any thoughts to add, I'll do so after I finish some work stuff I'm currently at a wait phase of - hopefully later tonight.

Ugh. I'm shot. Brain is too fried to give it good attention tonight.
Will take a good look tomorrow for sure, though, barring any emergencies. 😅

I like a lot of what I've read so far and do have some thoughts to add to the discussion. I have to run to an appointment, but I'll work on writing stuff up when I return.
Quickly, I think the stack idea is the right spirit, but a tree is probably a better structure for what is effectively a DOM. I think modeling everything after that paradigm is the simplest thing for us to do and meshes well with a lot of built-in .net stuff and familiar concepts for a wide range of developers. I'll expand on that/refine it when I get back, though.
In particular, Stack<T> is not fun to work with when you need random access capability, as you're forced to enumerate the whole thing to get to anything not on the top. Dictionary types work really well for keyed trees though.

OK, now that I've had a couple of reads over the initial post, I can refine my earlier musing and add others...
I'm going to break it up into multiple comments, trying to at least sorta stick to one major point each, starting at the top of the "Assertions" section and working my way down.
Application/The stack stuff
Again, I like the intent here. But we don't actually have to function quite that low-level, here, since we're already on top of .net, which provides simpler abstractions for us.
Correct me if I'm off base, but my reading of that is that it's intended/aimed at how we carry out both dispatching and handling of "messages" (which I'll use here in place of the word "event" so that I can use "event" to mean a C#/.net event instead), such as user input messages, property change messages, etc.
If that reading is essentially correct, then that's one big place we can lean on .net and events. We already do, to an extent, but it's not a consistently applied concept or implementation, at present (though so far V2 has made significant improvements there). A big hurdle and potential pain point for consumers, with how it is now, is that there's not really a well-defined flow or order of things, that can be relied upon universally.
The stack or tree concept of course makes good sense in that regard, insofar as it provides a defined root from which we can start and search until something is handled (or not).
The logical conclusion of that line of thinking winds up being that we should have an actual DOM for the UI. I think that high-level concept, in general, actually addresses a lot of pain points we have or would like to address, and for more than just message passing.
What I mean by not having to operate low-level is that we have events and we have more flexible data structures than stack at our disposal. Yes, a DOM has a single root, but that's the only mandatory standalone element. Even something as simple as XML has a single root, but then is a tree from there on.
Where I think we can improve/rework things to fix it
Keeping the concept of nodes in the DOM very high level and generic is a necessity, there, and enabling easy access and navigation through the tree is a highly likely and very reasonable expectation from a consumer. Most frameworks expose it very simply, as the tree it is, with every node having a reference to its parent as well as a collection of references to children (also terms I really think we should adopt instead of how we say SuperView and SubView, which is the same concept but different for no apparent value-add).
The specifics of those data structures would of course be one of the first discussion points, and I'd suggest use of collections in System.Collections.Concurrent as a proactive measure to aid thread-safety with minimal overhead cost. In particular, ConcurrentDictionary is pretty ideal for a tree node's "Children" collection, as it enables both enumeration and indexed/keyed access. What are the keys? Probably strings, but care just has to be taken with them if, for example, they are synced to the "names" of the nodes.
Whatever the structure, care also has to be taken to properly manage the lifetime of nodes. For example, if a user disposes a node, the base Dispose implementation could be responsible for making sure the reference is removed from its parent and that all of that disposed node's children are also dealt with appropriately. That specific examples is a perhaps draconian and simple one, but the point is there are things we need to either handle or at least not fail catastrophically or indeterminately on, to help avoid us facilitating a consumer getting into a bad program state that shouldn't have been allowed to happen in the first place.
Alrighty... Going to take a little break for a while or until tomorrow and then come back for the next part, since I don't want to venture too far into implementation at this point in the process.
And of course if I misread you, then the above is obviously not directly a response to that bullet point, but I do believe the general concepts stand regardless.

And of course if I misread you, then the above is obviously not directly a response to that bullet point, but I do believe the general concepts stand regardless.

My intent is not to completely rearchitect how the TG View hierarchy works. The tree model based on Subviews and Superview is not going anywhere in v2. What you are discussing is a much much deeper change than what I'm willing to take on for v2.
What you're proposing all makes good sense and is smart. But not for now.
What this PR is about is the following:
When Miguel built gui-cs, he decided to have a View subclass called Toplevel that combined three concepts: Supported being "run", with a complete "run state". Effectively a mini application within the process started when dotnet run ran. Multiple Toplevels could be run NESTED. The second thing Toplevel did was support being the root of a View hierarchy and things you'd expect to happen for the root of such a hierarchy were done within the Toplevel class (e.g. event dispatch). The third was support for "PopUp" windows (aka Modals aka Dialog).
 The Most pronounced was the idea of multiple, non-modal, overlapped Toplevels. This was introduced by @bdisp in the form of MdiContainer etc... which was renamed to Overlapped in early v2 branches. With this we got the idea of movable overlapped views and a z-order. It worked, but because @BDisp was constrained with not breaking the core-API he had to slam it all into both Toplevel and Application.  It is not a clean architecture, is fragile, is a bug farm, and actually makes it hard to implement new things in v2 (e.g. for a View to be overlapped it must inherit from Toplevel).
Here are examples of code in Application and Toplevel that highlight how complex and fragile this stuff is. This code is at the CORE of TG and it's freaking scary to look at. I want to be clear that I'm criticizing the code here, not who wrote it. I am responsible for a bunch of this too (to retain API compat we had no choice but to continue to hack at it).

This issue, and the PR's I've started for it are about cleaning this mess up. It is about decoupling "runnable views", "event dispatch at the top of the hierarchy", and "overlapped" from Toplevel which will result in Toplevel going away.
You could (and I think you are) argue that TG's model for event dispatch and View hierarchy could be redesigned too. I don't disagree. But that is not what we're doing here.
Make sense?

And of course if I misread you, then the above is obviously not directly a response to that bullet point, but I do believe the general concepts stand regardless.

My intent is not to completely rearchitect how the TG View hierarchy works. The tree model based on Subviews and Superview is not going anywhere in v2. What you are discussing is a much much deeper change than what I'm willing to take on for v2.

Ok, phew. I was a bit concerned for exactly that reason, at this stage of the game for v2. 😅
I'm dealing with some server rebuilds at the moment, so this is just an ack. I'll read over this in detail when I'm done.

Did you mean for this to get closed with that PR?
Re-opening in case not. Go ahead and close if you want.
Might be a good idea to continue the conversation elsewhere, though?

Did you mean for this to get closed with that PR?
Re-opening in case not. Go ahead and close if you want.
Might be a good idea to continue the conversation elsewhere, though?

This wasn't closed intentional by @tig but by the use of Fixes #2491 in #3634 when was merged.

Did you mean for this to get closed with that PR?
Re-opening in case not. Go ahead and close if you want.
Might be a good idea to continue the conversation elsewhere, though?

This wasn't closed intentional by @tig but by the use of Fixes #2491 in #3634 when was merged.

Yea. Lesson learned. Dont write "Partially Fixes #xxx".  Write "Fixes (Partially) #xxx".

Ha yeah.
I think I neglected to mention that when I made a side remark about the issue title convention we use, probably like a year ago. 😅🤷♂
Fixes, closes, resolves, and I think a few other words in combination with an issue number will close automatically. Only in English, I believe, or at least last time I saw the docs for it I'm pretty sure that was part of it. You know: In case you want to use ancient Egyptian or something. 😝

And of course if I misread you, then the above is obviously not directly a response to that bullet point, but I do believe the general concepts stand regardless.

My intent is not to completely rearchitect how the TG View hierarchy works. The tree model based on Subviews and Superview is not going anywhere in v2. What you are discussing is a much much deeper change than what I'm willing to take on for v2.

Ok, phew. I was a bit concerned for exactly that reason, at this stage of the game for v2. 😅
I'm dealing with some server rebuilds at the moment, so this is just an ack. I'll read over this in detail when I'm done.

BTW, your comments above regarding a "DOM" DID get me thinking differently and I wanted to acknowledge that.
I still am very much against having v2 be where we add a DOM to Terminal.Gui.
However, I now see clear steps we can take in that direction that will enable such a thing post-v2.
Some notes I wrote on this yesterday, that I thought i'd share:
Focus Chain & DOM ideas
The navigation/focus code in View.Navigation.cs has been rewritten in v2 (in https://github.com/gui-cs/Terminal.Gui/pull/3627) to simplify and make more robust.
The design is fundamentally the same as in v1: The logic for tracking and updating the focus chain is based on recursion up and down the View.Subviews/View.SuperView hierarchy. In this model, there is the need for tracking state during recursion, leading to APIs like the following:
// From v1/early v2: Note the `force` param.
private void SetHasFocus (bool newHasFocus, View view, bool force = false)

// From #3627: Note the `traversingUp` param
 private bool EnterFocus ([CanBeNull] View leavingView, bool traversingUp = false)

The need for these "special-case trackers" is clear evidence of poor architecture. Both implementations work, and the #3627 version is far cleaner, but a better design could result in further simplification.
For example, moving to a model where Application is responsible for tracking and updating the focus chain instead View. We would introduce a formalization of the Focus Chain.
Focus Chain: A sequence or hierarchy of UI elements (Views) that determines the order in which keyboard focus is navigated within an application. This chain represents the potential paths that focus can take, ensuring that each element can be reached through keyboard navigation. Instead of using recursion, the Focus Chain can be implemented using lists or trees to maintain and update the focus state efficiently at the Application level.
By using lists or trees, you can manage the focus state without the need for recursive traversal, making the navigation model more scalable and easier to maintain. This approach allows you to explicitly define the order and structure of focusable elements, providing greater control over the navigation flow.
Now, the interesting thing about this, is it really starts to look like a DOM!
Designing a DOM for UI library involves creating a structured representation of the UI elements and their relationships.

Hierarchy and Structure- Root Node: The top-level node representing the entire application or window.

View Nodes: Each UI element (View) is a node in the DOM. These nodes can have child nodes, representing nested or contained elements.

Node Properties- Attributes: Each node can have attributes such as id, class, style, and custom properties specific to the View.

State: Nodes can maintain state information, such as whether they are focused, visible, enabled, etc.

Traversal Methods- Parent-Child Relationships: Nodes maintain references to their parent and children, allowing traversal up and down the hierarchy.

Sibling Relationships: Nodes can also maintain references to their previous and next siblings for easier navigation.

Event Handling- Event Listeners: Nodes can have event listeners attached to handle user interactions like clicks, key presses, and focus changes.

Event Propagation: Events can propagate through the DOM, allowing for capturing and bubbling phases similar to web DOM events.

Focus Management- Focus Chain: Maintain a list or tree of focusable nodes to manage keyboard navigation efficiently.

Focus Methods: Methods to programmatically set and get focus, ensuring the correct element is focused based on user actions or application logic.

Mouse Events - Mouse handling in Terminal.Gui involves capturing and responding to mouse events such as clicks, drags, and scrolls. In v2, mouse events are managed at the View level, but for a DOM-like structure, this should be centralized.
Layout - The Pos/Dim system in Terminal.Gui is used for defining the layout of views. It allows for dynamic positioning and sizing based on various constraints. For a DOM-model we'd maintain the Pos/Dim system but ensure the layout calculations are managed by the DOM manager.
Drawing  - Drawing in Terminal.Gui involves rendering text, colors, and shapes. This is handled within the View class today. In a DOM model we'd centralize the drawing logic in the DOM manager to ensure consistent rendering.

This is all well and good, however we are NOT going to fully transition to a DOM in v2. But we may start with Focus/Navigation (item 3 above). Would retain the existing external View API for focus (e.g. View.SetFocus, Focused, CanFocus, TabIndexes, etc...) but refactor the implementation of those to leverage a FocusChain (or FocusManager) at the Application level.
I do NOT plan on tackling this in #3627. Nor do I consider it needed to address THIS issue. I now have #3627 working well enough (with tons of new primitive unit tests) that the "old model" will work fine. I still have to fix a bunch of issues in built-in Views causing ./Views unit test failures, and things aren't quite working completely rigth, but all other unit tests pass.
There's a small chance that fixing these remaining issues may force me to revisit this decision. But for now...


Update to 0.4.5

note: I have a version of delete everything (the one that is in the emergency kit) that won't call the new delete function because it's assuming there's not mutiny_wallet loaded, or mutiny_wallet is in a bad state...
(includes #401 and #405 cherry-picked)

I just added the env variables in cloudflare for the scorer, so it's not reflected here but everything else seems to work properly.


chore(main): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2022-06-11)
Bug Fixes

Fix CI for release. (04b2bcf)
Fix CI for release. (0d9b1a2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vincent-herlemont/bats-tools/releases/tag/v1.0.1 :sunflower:


API extension - Elastic Net Coefficients predicting Drug Response (hackathon idea)

While the bulk of recent work has focused on schema implementation.  It would be useful to have an end-to-end workflow to illustrate net new activities.  This example would show:

requirements
schema creation
reference implementation
unit tests
compliance tests.

One idea that should be small enough to implement, yet useful in its own right is to create an endpoint to capture the results of a machine learning model.
Briefly, capture the outputted coefficients of an elastic net model on a matrix of samples by features in such a way that the trained model can be run on a novel samples by features dataset.

The system should store and retrieve the matrix and coefficients in a ga4gh compliant way and allow the user to query by features, response and model.

2015-08-29_DrugResponseSubset.txt
2015-09-29_CoefficientsSubset.txt

@bwalsh what do you think? Can we close this one? This is related to ongoing efforts to associate evidence claims with associations perhaps.


Implement read_char opcode

Some games need to read a single char from the command line at a time (instead of a string). read_char opcode needs to handle that, I suspect I can make use of the same channels I already have for this but I'm not sure on the format of the data flowing back (maybe just a u8?)
Can test with galatea.z5 (which is actually a z8 game just badly named in the zip I have)

Mostly seems to work in the latest but I've not quite finished and post this opcode the application panics. Oops


Removed incorrect skipping of Batches in RocksDB Tailing syncer.

Port of https://github.com/arangodb/arangodb/pull/7021
Will add a test tomorrow

Yes my fix was not good, @graetzer was right. Thanks @jsteemann for the patch.
Now updated all and included a test.
Jenkins:
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/1707/

Ok there is a different error in Jenkins, totally unreleated. Will merge now.


Feature/refactor sln

move sln to root
add to sln root items (readme, git, authors, etc)
remove bin and obj folders from source code

test comment to check teams integration

test comment


TokenURI metadata.json should link to a generated and saved .png of the rendered Letter or Word

We should render the data (grid) generated from the DNA not only as a text string but also as an image, and then upload that image to ipfs, and save the cid in the metadata.json.
For a Letter, this would be when Claiming.
For a Word, it's all in one tx.

#41

duplicate ?


Feature Request: SSH key authentication for SSH tunneling

I think it's pretty clear, currently the SSH tunneling only supports password authentication.
Could you add support for pubkey authentication?
And let me use this FR to thank you for your work on this extension!

OK. I add it in next version.
Additional : What is FR? I think star this project is best support.

OK. I add it in next version.
Additional : What is FR? I think star this project is best support.

Feature Request

1.9.4 is supported private key connect.

I updated and tried the plugin, but I get the following error message:
Ssh tunel occur eror : Error: All configured authentication methods failed
(If you let me know how could I configure this plugin to log more verbose, that would probably help to find the solution.)
On the server I see these messages in the secure logo:
Apr 29 09:28:52 prod sshd[9099]: Connection from <IP_ADDRESS> port 52519 on 321.321.321.321 port 22
Apr 29 09:28:52 prod sshd[9099]: Received disconnect from <IP_ADDRESS> port 52519:11:  [preauth]
Apr 29 09:28:52 prod sshd[9099]: Disconnected from <IP_ADDRESS> port 52519 [preauth]

However, if I connect using password the plugin works well.

Maybe your input path have white space , I didn't call trim()

I found the cause of the issue.
Previously I used ~/.ssh/id_rsa. I changed it to /Users/username/.ssh/id_rsa and now it works.
Thank you for the update!


Dereference seems to causing problems

Electron-packager throws some errors when you try to generate a new app and there is already an .app generated. Even if there platforms are different.
[ { [Error: ENOENT, stat '.../Test.app/Contents/Frameworks/Electron Framework.framework/Frameworks']
    errno: -2,
    code: 'ENOENT',
    path: '/.../Test.app/Contents/Frameworks/Electron Framework.framework/Frameworks' }

And some more ENOENT errors...
Too reproduce run:
electron-packager . Test --platform=darwin --arch=x64 --version=0.26.1

then:
electron-packager . Test --platform=linux --arch=x64 --version=0.26.1

Running electron-packager v4.1.2.
Generating the linux app first and then the mac app seems to be working fine. However the otherway around does not work.
After some investigation it seems that dereference option in ncp is causing the issue.
From https://github.com/AvianFlu/ncp :

options.dereference - boolean=false. If set to true, ncp will follow symbolic links. For example, a symlink in the source tree pointing to a regular file will become a regular file in the destination tree. Broken symlinks will result in errors.

Would be nice if someone could confirm this! :)

Closing this, seemed to be an issue with my dev environment. Sorry.


Dataset loading issue, integration with Colossal-AI

Hi,
Thanks for the good work. I'm trying to intergrate this into Colossal-AI(https://github.com/hpcaitech/ColossalAI),  compatible with Tensor Parallel and ZeRO.
However, I had trouble loading the dataset; seems they updated the dataset to remove the json schema.
Could you share your dataset version and how you're able to load it?
Thanks!

Thanks for the integration. I just tried again using the latest datasets version and it worked smoothly from my end. Is it possible due to other issue?

Thanks for replying. I think they've fixed the data and I can load it now.

Also, I wonder if skipping the embedding layer was intentional or it doesn't quite matter? Thanks!


Configure default country

It would be nice to have an option to define the default country. Like that in docker-compose.yml:
environment:
  DEFAULT_COUNTRY: germany

I think many users have national related website which ranking results are mostly relevant in the same country.

Would be very helpful to save clicks at the start.

@towfiqi Thank you, works like a charm.


Allow running SaxonC 12 as XSLT processor

I am wondering, whether it is possible to add a task to allow using SaxonC (12) as the XSLT processor. Given that it seems to me that both Saxon Java and SaxonJS are called as command line tools the use of SaxonC seems to be both possible as well as helpful, as it has the fastest command line start-up/run time compared to the other versions of Saxon, in my experience.
Granted, that would only be possible for users that downloaded/installed/compiled the SaxonC version but once you have e.g. Transform.exe of SaxonC commands on your system it beats any java -jar based execution of Saxon Java.

This seems like a reasonable feature to add. I will report back once I've investigated this further.

Hi Phil @pgfearo ,
any update on this?

While my spare time is occupied with catching up with work, It may be a while yet before this is done, perhaps a month or so.

Hi Phil @pgfearo
I hope you are doing fine.
Any update on this?


Feat: Add dark/light mode button  in circuitverse.org website

Is your feature request related to a problem? Please describe
It would be good for Ui/Ux to switch between dark/light mode in circuitverse.org website . I personally like dark mode as it makes me comfortable to work or browse on websites.
Describe the solution you'd like
Add a  button on top navbar to switch between dark/light mode .
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes

Hey @tanmoysrt  what do you think about this feature would it be good on main website , please review this feature request.

Yes i would me absolutely nice

Yes  this would be a good feature

hi @pankaj-2503 can you assign this to me

hi @pankaj-2503  could u please assign this to me i can implement this using tailwindcss

Hey @cpwallah @prajak002  maintainers would assign this issue so ask from them.

CircuitVerse.org not designed taking dark mode in consideration. So, I don't think so it will be a quick fix. Auto dark mode doesn't look good.

Would this Color scheme match the CircuitVerse website


AA dungeon boss bar and buff window

The boss bar in AAHM shows "Unknown" as its name. Also, the debuff doesnt appear on buff window.

Got fixed with v1.0.23 update.


COVID process function throws blob already exists error

Describe the bug
The COVID pipeline is getting into a state where it tries to create a blob for an already existing report.
Impact
There is a potential that we are not processing the a report due to this error. Investigate if this is the case.
To Reproduce
It is unknown how this problem is triggered, but could it be from a retry or a duplicate report? Stack trace is attached to this issue.
Expected behavior
There is no exception thrown if we try to create a duplicate blob.  There should at least be warning, but we need to figure out what to do with the data if we have an already existing blob. Do we modify the filename (e.g. add something to it like v2) and process the file? Are we supposed to process the file?
Screenshots
Logs
See attached stack trace.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context

https://app.zenhub.com/files/304423150/eaa07d95-deb0-4564-a76a-8b36f36325f5/download


Documentation lacking for accessing remote hosts

pylxd documentation doesn't say how to access remote hosts. Poking around, I find a number of issues.

The front page intro document says to use pylxd.api.API(), however in the code pylxd.api is imported from pylxd.deprecated. Should anyone even be using this in the first place??
Looking at ansible lxd_container, they use pylxd.client.Client() instead. I haven't found any documentation for that entry point into pylxd. Indeed, if there is any documentation for pylxd, I've been unable to find it: only a skeleton at https://github.com/lxc/pylxd/tree/master/doc/source

From the source, pylxd.api.API() takes an optional host and port. I found that I can use pylxd.api.API(host="nuc1.ws.nsrc.org").container_list() and this works just fine. It doesn't matter which variation of the host's name I use.

From the source, pylxd.client.Client() takes an optional URL. However if I try this code:
pylxd.client.Client('https://nuc1w.ws.nsrc.org:8443').containers.all()

then I get:
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

I have tried all the variations of the host name, and also connecting by IP address. If I connect using openssl s_client then I see the certificate has:
        Subject: O=linuxcontainers.org<EMAIL_ADDRESS>...
            X509v3 Subject Alternative Name:
                DNS:nuc1.ws.nsrc.org, DNS:fe80::c23f:d5ff:fe63:6411/64, DNS:<IP_ADDRESS>/24, DNS:<IP_ADDRESS>/32, DNS:2001:db8:100::238/64, DNS:fe80::c23f:d5ff:fe63:6411/64, DNS:fe80::fcd5:94ff:fe50:96ca/64, DNS:fe80::8461:ddff:fe6f:3aa8/64, DNS:fe80::1/64

i.e. all hostname variations are in SAN (except I don't know why the certificate would include the prefix length, but then I've never seen certificates with IP addresses in them)

So anyway: for code which uses pylxd.client.Client() then I'd like to see an example of how to make it work without certificate errors.  I'd also like it to be clear whether pylxd.api or pylxd.client is the recommended interface to use.

4d4517c54862fedd4a725aebcd628d7ddc0279d5 adds missing code and test for remote connection.
I'd like to volunteer to write the docs, if repo maintainers would be ok with that, even though I'm not a native english speaker, I <3 writing docs + it's a great way to learn new stuff !

I don't think anyone will refuse an offer of having docs written 👍
What I don't understand is how Client() was ever supposed to work to access a remote host, if you can't pass in a key and cert. For testing you have buried some environment variable lookups, but that's not useful if you want to access more than one host in your application.
Wouldn't they need to be exposed as arguments on Client.__init__ ? Or else I'm missing something.

Correct, for now I'm just trying to have some basic CI up and running again before I propose any change that could break someone else's code.
Currently, I couldn't find how to build the docs - and I'm not sure how the include of README.md in readme.rst would work. Perhaps @zulcss would know, otherwise I can start from a fresh sphinx-quickstart.

Note that my branch now exposes client_{crt,key} as well as insecure as Client constructor arguments.

Client was initially developed to work against the unix socket, not the http interface. Clearly, this was a use-based thing. If someone puts a patch up before I get around to it, I'd be happy to review it and help it get merged (particularly because our current use case doesn't cover this).

Fixed in 0d55ade


Add Content-MD5 when uploading

When uploading to a S3 bucket with object lock enabled, this could result in the following error:
Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters

This PR adds this param.

@marvinlinthorst how did you solve this in the end ?


Support line break formatting for text fields

Description of change

Add simple formatting to attributes with type 'text'
We want to preserve new line break formatting so the officer can structure their text responses

Story Link
https://trello.com/c/IgyxBrTy/1217-support-line-break-html-formatting-on-all-text-areas

Manually adding simple_format to these text attributes is not ideal because developers will have to remember to add this for future cases if it's not been added as an A/C
Initially I tried to do this dynamically by including a concern where it automatically applies simple formatting to all text attributes e.g.
module Formattable
  extend ActiveSupport::Concern

  include ActionView::Helpers::TextHelper

  included do
    class << self
      def text_attributes
        attribute_names.filter do |attribute|
          type_for_attribute(attribute).type == :text
        end
      end
    end

    text_attributes.each do |attribute|
      define_method attribute do
        text = super()

        simple_format(text) if text
      end
    end
  end
end

However, as we have an API and non view related logic that call these methods, we can't really override it like this. Perhaps this line of thinking can be applied to presenters but for now I didn't think it was worthwhile adding a separate presenter class for each of our models.
For now I think this is fine as it's not system breaking and we can respond to UAT feedback promptly if formatting needs to be udpated


Minor refactor

Description

Move astronomical objects into one file instead of a folder module
Minor cleanup of imports and improvement of some docs
Generalization of Gen trait into multiple subtraits: SeedableGenerator, TrainableGenerator, MutGen and Gen.

Alternate Designs
N/A
Benefits
Improved source code
Possible Drawbacks
N/A
Applicable Issues
N/A

Codecov Report

Merging #25 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
+ Coverage   97.16%   97.35%   +0.19%
==========================================
  Files           4        4
  Lines         141      189      +48
==========================================
+ Hits          137      184      +47
- Misses          4        5       +1

Impacted Files
Coverage Δ

src/main.rs
100% <ø> (ø)
:arrow_up:

src/astronomicals.rs
100% <ø> (ø)

src/resources.rs
100% <100%> (ø)
:arrow_up:

src/generators/names.rs
96.32% <100%> (+0.86%)
:arrow_up:

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 acc3aad...7487c94. Read the comment docs.


OpenDevin address binding error.

Describe the bug
When starting OpenDevin with make run, it starts wthen after a few seconds it gives this error:

Even after killing all processes on http://localhost:3001/ it is still showing that error.
Setup and configuration
Current version:
commit ca1d53c161583c51acffee5be8cfa58416ad79ab (HEAD -> main, origin/main, origin/HEAD)
Author: sp.wack<EMAIL_ADDRESS>Date:   Fri Apr 19 02:19:57 2024 +0300

    fix(frontend): improve the <Input /> component (#1195)

    * create a better chat input component

    * remove the useInputComposition hook

My operating system:
I am using Ubuntu 22.04.

My environment vars and other configuration (be sure to redact API keys):

My model and agent (you can see these settings in the UI):

Model:
Agent:

Commands I ran to install and run OpenDevin:
Development.md

Steps to Reproduce:

Run make run
Get error within a few seconds.

 Killing port 3000 works.


Not specifying scope will get you too many scopes

It seems scopes are doubled when scope is not specified in authorization code flow.

bb9ea7972a11032f999aa348c0dd2bf9a47ca487


Browser tests: Android 4.0

I used Sauce Labs to did this tests.

Carrousel works fine, but without animation

Collapse does not work.

Dropdown does not work.

Dropdown with hover works fine (using tap)

Modal does not work

Tab does not work

Tooltip woks fine (using tap)

Thanks @neysimoes, I'll make some adjusts later.


Editor as jquery plugin

Hi! You can create editor as jquery plugin?
Example:
$('#editor').simpleMDE({
  toolbar: false
});

$('#editor').simpleMDE('value', '# text');
$('#editor').simpleMDE('value');
# => '# text'

$('#editor').on('simple_mde:change', function(e) { console.log(e) })

I don't have plans of doing that now. It's pretty easy to use SimpleMDE without jQuery, and you can even instantiate it using jQuery's APIs:
<script>
var simplemde = new SimpleMDE({
    element: $("#MyID")[0] // Get the element using jQuery
});
simplemde.render();
</script>


No module named 'fitz'

Getting this issue ater updates. Installing this package leads to another issues frontend package. Finally stuck with error of unexisting directory "static/".

Hi, can you share the full stacktrace for last error with static/?
Also, can you explain if you updated all your packages after the update of commit hash?  i.e. did you redo pip install -r .... for all deps?

I pushed a HOTFIX that may help the fitz situation.  In meantime I'll try to understand.

FYI I did fully fresh install and going through all the package installs leaves me able to import fitz.  So I must assume you didn't install the new langchain etc. dependencies.

Updated, now works, thanks!

Fixed by update


Docker compose broken?

do you people have any clue about what is going on here? how is everything supposed to be?
here the log when docker compose up gets run on WSL (ubuntu, latest version)
$ docker compose up
[+] Running 4/0
 ✔ Container spid-cie-oidc-django-wallet.trust-anchor.org-1  Created                                                                       0.0s
 ✔ Container spid-cie-oidc-django-trust-anchor.org-1         Created                                                                       0.0s
 ✔ Container spid-cie-oidc-django-relying-party.org-1        Created                                                                       0.0s
 ✔ Container spid-cie-oidc-django-cie-provider.org-1         Created                                                                       0.0s
Attaching to spid-cie-oidc-django-cie-provider.org-1, spid-cie-oidc-django-relying-party.org-1, spid-cie-oidc-django-trust-anchor.org-1, spid-cie-oidc-django-wallet.trust-anchor.org-1
spid-cie-oidc-django-trust-anchor.org-1         | python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory
spid-cie-oidc-django-wallet.trust-anchor.org-1  | python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory
spid-cie-oidc-django-wallet.trust-anchor.org-1 exited with code 2
spid-cie-oidc-django-cie-provider.org-1         | python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory
spid-cie-oidc-django-trust-anchor.org-1 exited with code 2
spid-cie-oidc-django-relying-party.org-1        | python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory
spid-cie-oidc-django-cie-provider.org-1 exited with code 2
spid-cie-oidc-django-relying-party.org-1 exited with code 2

i also tried to uncomment the lines inside the docker-compose file so it would build directly from the current version but even that did not work, i am working on main at the latest commit (I did a git reset) 2b0c2ef Merge pull request #285 from vernans/add-migrations
also i do lack a localsettings.py but the thing is that i also don't know it's supposed path or format and i also don't really need to customize anything for now (I hoped the docker compose would just run, or at least warn me about the lack of an .env file)
Status
update1: apparently you wanted the developer to copy-paste the examples directory and rename it as examples-docker? why would you do that? still broken but at least know i know that it wants the configuration file
update2: maybe having to configure the image using entire files was not really the reason they invented docker in the first place, i hope i will be able to figure out how to fix it and if i will have the time i will try to introduce good defaults, also the .env file can be useful.
update3: now it decided that it won't parse the records in the json files, cool django.core.serializers.base.DeserializationError: Problem installing fixture '/django-project/dumps/example.json':
update4: okay, so, since for some reason the restoring of the dump is likely just incompatible with whatever models django currently migrates the db to i just replaced all files with a json containing an empty array like this [], now the fun part is figuring out why every page the readme said existed just returns error 404, the Django admin page does that as well.
update5: so, turns out that Django is set up to be sensitive to the last slash / in the URL, and the thing is that you won't ever know when it wants one or when it does not

A new Docker image has been released, and the migrations will apply correctly now. Please try again.

A new Docker image has been released, and the migrations will apply correctly now. Please try again (NB delete the previous docker image, the examples-docker folder, and restart the docker-prepare.sh script).

@rglauco and it does, thank you, do you by any chance know if someone did set a default username/password for the demo or should do it myself?

@rglauco thank you


Where can I find the lastest version number  when using pom file?

I know that 1.41 is not the lastest version number , where can I find it?

org.ansj
ansj_seg
1.41

http://maven.ansj.org/org/ansj/ansj_seg/ here only have jar package


Changelog

As an open source maintainer myself, I understand keeping a changeling up-to-date can be a chore, but as even more of an open source consumer how invaluable they are.
With 1.x in progress (and 1.0.1 releases as of writing this), a Changelog would be so helpful!

We’ve been happy so far with github releases to maintain a changelog. Thanks!

That’s unfortunate. Thanks for the consideration. Best of luck, and thanks for the gem.


Refactor the frontend start functions and add cleanup during the frontend init

longhorn/longhorn#1240

LGTM. Wait for the vendor update.

The vender is updated.


v20.2.8 Release notes

Prep date: 4/12/21
Release date: 4/23/21
SHA: dfe5778eddb408f0ceb8152538be7c34401866e2
Release Manager: @alyshanjahani-crl
Issue: https://github.com/cockroachdb/cockroach/issues/63858
Docs To Do:

[ ] Run script to generate release notes
[ ] Update docs site
[ ] Edit release notes - Additions/changes/omissions to the release notes should be left in this issue's comments
[ ] Once PR is merged / release notes are live, notify @meagan-g in the #releases Slack channel
[ ] Email releases@ with link to published release notes
[ ] Generate release notes issues (cc @lnhsingh)

This release is delayed because of a blocker: https://github.com/cockroachdb/cockroach/issues/63592
which is turning out to be difficult to diagnose.
We don't yet know when we'll be able to move forward with 20.2.8.

We are going to move forward on 20.2.8.
We hope to pick a SHA this afternoon (Monday Apr 19h), and we will notify here when we do.
We hope to speed up the qualification period and release it to the public on Friday Apr 23d.  Would that give Docs enough time?

Hi @alyshanjahani-crl !
My understanding is we are planning to release v20.2.8 tomorrow.
Is that still the case?
If so is the SHA linked from https://github.com/cockroachdb/cockroach/issues/63858 accurate?
Thanks!

Both are correct.

Yep, i've started the publishing process this morning!


Flash all data within program memory range

Previous behavior ignored any data which is part of a contiguous block of data if any part of the block is outside program memory range. That's probably wrong.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (61ec0fb) 100.00% compared to head (fd35329) 100.00%.
Report is 11 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          328       318   -10
=========================================
- Hits           328       318   -10

Files Changed
Coverage Δ

src/mcbootflash/connection.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


change : nestjs

#55

[x] classes
[x] users
[x] quiz
[x] authentication
[x] declare DTO
[x] implementation of @nestjs/schema

Not working

when database transaction failed -> it returns 500 error(not intended)

Added

of course nestjs
password encrypt by bcrypt
swagger

@jinwoo1225 There is a conflict. Can you please look into it?  :eagle:

@NikhilSharma03 Fixed! I didn't push the merge when we zoomed


Basic issue

I do:
npm-remote-ls<EMAIL_ADDRESS>I get:
could not load<EMAIL_ADDRESS>status = 401
suggestions?

Same issue, any updates?


Add a note or Message to inform customers of the automatic enablement email

Users have been receiving emails regarding the automatic enablement of the security defaults setting. To hopefully alleviate any future confusion, or questions regarding the automatic enablement of the Security Defaults feature there should be a message of some kind in the documentation detailing this.
Related Issues:

https://learn.microsoft.com/en-us/answers/questions/1265715/the-security-defaults-setting-for-your-xxxxx-tenan
https://learn.microsoft.com/en-us/answers/questions/1275918/enabling-the-security-defaults-setting-in-your-ten

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

ID: cfac0ecf-e5a9-c5ff-f8c2-ce27789708f5
Version Independent ID: 0f5e0cc9-a54f-a5c8-192d-d60a6a4db3ff
Content: Providing a default level of security in Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/fundamentals/concept-fundamentals-security-defaults.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@JamesTran-MSFT
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


Reject unsupported transactions

What & Why
Although the ledger implementation used in the hydra-node is the same as in cardano-node, not all ledger rules make sense in a Hydra Head. For example, stake pool registrations and submitting delegation certificates have no meaning on Layer 2.
Furthermore, there are still some temporary gaps (#196) which need to be closed and corner-cases of PlutusV1 shortcomings (byron addresses). To provide a good user experience, these transactions shall be filtered at the API, but also need to be checked for when receiving them from another hydra-node.
Requirements

Commit Hydra protocol transactions do not use byron addresses.
Transactions received via API are checked and an explanatory response is sent
Transactions received via Network are checked and errors are only logged
Transactions to be filtered (not supported):

using tx validity bounds ("timed transactions", for now)
using byron addresses
anything kind of certificates
withdrawals
protocol updates
minting/burning (at least for now)

Tasks

[x] #320
[ ] Define a newtype Restricted Tx with a safe interface for constructing transactions that are valid with respect to Hydra heads limitations (see above).
[ ] Replace use of raw Tx in the ClientInput API with their restricted type.
[ ] Replace use of raw Tx on the network side, to prevent other peers from sending wrong transactions to us

Rather than adding complexity in the off-chain ledger, we could add those checks where they belong, in the on-chain ledger interface, and prevent CloseTx transaction from being posted depending on various conditions. This would not prevent someone to craft such a transaction outside of the Hydra node though.

We discussed this again and realize that the most important bit of this would be

Double-check that any close transaction snapshot we sign can be fanned out, reject them otherwise.
and we aim to create a follow-up/alternative feature which mostly focuses on that and delays snapshot signing instead of rejecting transactions. This would allow minting "outside of snapshots", i.e. not having snapshots covering the txs with minted tokens, unless they are burned.

Created #370 to capture more directly the security concern of unclosable Heads, whereas this item here aims at improving the UX on unsupported transactions.

Closed in favor of #370


How to Download linkedin Learning Videos?

Hello
How to Download linkedin Learning Videos?

Carefully read new issue template and provide all requested information.


Sell button looks as disabled

The sell button is looking as always disabled:

It should look with a gray background only when the button is disabled. The buy button should have the same behavior.
The enabled sell button should look like this:

On this

@Ifechukwudaniel did you work on this?


Missing pronunciations in Chinese

Links to pronunciation audio files are not returned when searching for Chinese words (using Han characters). For example the following code:
word = parser.fetch('朋友', 'chinese')
for item in word:
    print(item['pronunciations'])

returns
{'text': ['朋友\n', '朋友\n'], 'audio': []}
This appears to be because pronunciations for Chinese words are placed inside

whereas those for English are in

This may be related to #9

@claw89 thank you for pointing this out and debugging! I'm not working on this parser atm so can't really fix this right now but, a pull request for this would be helpful

@claw89 thank you for pointing this out and debugging! I'm not working on this parser atm so can't really fix this right now but, a pull request for this would be helpful


fail if timeout is reached

close #35

This could also happen on the JVM but I'm not sure what ArrayBlockingQueue does if you pass in a negative timeout into poll .

Ping @reactive-streams/dotnet-contributors


automate metering of account costs

What is this?
This create a new CloudWatch metric to monitor actual costs per cost center, on a daily basis. This metric reflect actual costs in the visual dashboard. It is also used to report on unblended costs per cost center every month, as a CSV file.
Why is this important?
We want to be able to monitor operating costs in CloudWatch dashboard. Cost Explorer can do that easily, but we need a distribution of costs per cost center (and not per account). We need a visual indicator in the monitoring dashboard, and we also need a formal CSV file for formal FinOps reviews and show back activities.
How to implement it?

[x] complement architectural diagram
[ ] describe scenarios in feature file
[x] add a new lambda that query Cost Explorer once per day, get data for each account, and publish metrics per cost center
[x] expand the cockpit to reflect daily costs in the monitoring dashboard
[x] add a new lambda function that query Cost Explorer once per month, get data for each account, and produces a CSV report
[x] pass make lint
[x] pass make all-tests
[x] deploy in production
[x] inspect reporting on next month

the summary report per cost center computed by SPA matches the monthly report produced per AWS with service breakdown or with linked account breakdown - in other terms: it works!

the idea of the breakdown per OU is to classify different kinds of cost, e.g, production versus non-production, teams of personal accounts, etc.


chore(dialog): diy migration

Description

Migrated dialog ro core tokens
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.

Regression testing
Validate:

A legacy documentation page (such as accordion), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

A migrated documentation page (such as action group), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

Screenshots

To-do list

[x] I have read the contribution guidelines.

[ ] I have updated relevant storybook stories and templates.

[ ] I have tested these changes in Windows High Contrast mode.

[ ] If my change impacts other components, I have tested to make sure they don't break.

[ ] If my change impacts documentation, I have updated the documentation accordingly.

[ ] ✨ This pull request is ready to merge. ✨

I'm seeing some visual differences (color and spacing) between this migration and the component on production, can you take a look if you see the same?

Solved!

It's looking really good! Just a couple Express theme questions.
The border-radius looks different with the Express theme as well:

Resolved!

Thanks for those updates. Other than the requested changes below, can you also took at these previous comments about the formatting of the fallback vars throughout the index.css file? I'm looking at changed files and most of them still need spaces.

Done!

Thanks for those updates. Other than the requested changes below, can you also took at these previous comments about the formatting of the fallback vars throughout the index.css file? I'm looking at changed files and most of them still need spaces.

Done!

Thanks. It looks like a few have double spaces now. Once that's fixed and the mods.md file is regenerated, this should be ready for approval.

Thanks for those updates. Other than the requested changes below, can you also took at these previous comments about the formatting of the fallback vars throughout the index.css file? I'm looking at changed files and most of them still need spaces.

Done!

Thanks. It looks like a few have double spaces now. Once that's fixed and the mods.md file is regenerated, this should be ready for approval.

Done!

@blunteshwar


Use correct require to avoid strategy missing error

Closing stale PR, @ginjo  please reopen and merge if this is still an issue :slightly_smiling_face:


add official debian image support

Discover the debian image from https://cdimage.debian.org/cdimage/openstack/

just wondering if this still actual


ENH: Add overwrite parameter in epochs.save as in raw.save

Describe the problem

The save method of the raw object has  parameters   fname (string) and overwrite (boolean) stating if you want to overwrite a file with the name fname.
However the save method from the epoch object has no such overwrite parameter.
I would expect the API to behave the same.

See these two parts of plot_introduction.py:
https://github.com/mne-tools/mne-python/blob/9df12aa57dce2a75ba619c90abc6a6547dde9997/tutorials/plot_introduction.py#L156-L157
https://github.com/mne-tools/mne-python/blob/9df12aa57dce2a75ba619c90abc6a6547dde9997/tutorials/plot_introduction.py#L243
and this is the Epochs.save(... signature :
https://github.com/mne-tools/mne-python/blob/9df12aa57dce2a75ba619c90abc6a6547dde9997/mne/epochs.py#L1680
Describe your solution
It would be good if a  boolean parameter overwrite could be added to the method save of the epoch object to state if you want to overwrite a file or not.

@QB3 can you make a PR to add this option?

PR very welcome indeed !

@QB3 https://mne-tools.github.io/stable/contributing.html are the instructions in how to contribute, if something is not clear enough. Please open an issue and we'll try to improve our documentation. Thanks a lot.


replaced compiler with mock

Description
Improve test speed and stability by using mock instead of real compiler
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[ ] Type annotations are present
[x] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Processing this pull request

Merged into branches master in edce853a056d949a7e7c96a5f29cc11e7b679bae

Processing #5081.


Resize shape passed twice in Cityscapes config file

Hi,
I was going through the code, and curiously found that the shape is passed twice to Resize, in the cityscapes config file here..
Is this intentional? If so, what is the reason for this?
Additionally, I am trying to use a Cityscapes-like dataset. So, would I need to pass the shape twice (as in the existing config), or only once?

This means multiscale training.

The second is left for multiscale training

Thank you for your help.


create a pug page payment-order

fix bug pls

CI didn't run correctly

Why you don't use our PR template???????

Why this fields is empty?


"token" parameter not in video info for unknown reason

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=yTuOtmlRhAI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.3 - Linux-4.9.0-9-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] yTuOtmlRhAI: Downloading webpage
[youtube] yTuOtmlRhAI: Downloading video info webpage
ERROR: yTuOtmlRhAI: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 760, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 433, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1502, in _real_extract
video_id=video_id)
youtube_dl.utils.ExtractorError: yTuOtmlRhAI: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

What? I made that dame update and you are telling that is outdated?


I can't understand my error : The getter 'length' was called on null.

Hello developers! I have an error but i can't understand why i see.
Here is my code :
 Widget build(BuildContext context) {
 List<Gorev> gorevler = [];
    return Material(
      child: Stack(
        children: <Widget>[
          if (gorevler.length == null)
            gorevYok(context)
          else
            gorevVar(context, list: gorevler),
]),); }

I entered elements of gorevler from textfield at another page.
another page codes :
child: TextField(
                  key: formKey,
                  style: TextStyle(
                    color: Color(0xff373737),
                    fontSize: 20,
                    fontFamily: 'Rubik-Regular',
                  ),
                  onSubmitted: (value) {
                    _submitData();
                  },
                  onChanged: (value) => not = value,
                  textCapitalization: TextCapitalization.sentences,
                ),
              ),
              Secenekler(), //kisiel is bulusma yazan kısım gorev kriterleri
              Divider(
                //alt cizgi
                // bu alttakş çizgi
                indent: en * 0.09,
                endIndent: en * 0.03,
                thickness: 0.6,
                color: Colors.black,
              ),
              FlatButton(
                //tarih ve saat seçimi
                onPressed: () async {
                  final selectedDate = await _selectDateTime(context);
                  if (selectedDate == null) return;

                  print(selectedDate);

                  final selectedTime = await _selectTime(context);
                  if (selectedTime == null) return;
                  print(selectedTime);

                  setState(() {
                    this.selectedDate = DateTime(
                      selectedDate.year,
                      selectedDate.month,
                      selectedDate.day,
                      selectedTime.hour,
                      selectedTime.minute,
                    );
                  });
                },
                child: Row(
                  //tarih seç başlığı
                  children: [
                    SizedBox(
                      width: en * 0.05,
                      height: boy * 0.15,
                    ),
                    Text("Tarih Seç            "),
                    Icon(Icons.keyboard_arrow_down)
                  ],
                ),
              ),
              Padding(
                padding: EdgeInsets.fromLTRB(0, 0, en * 0.65, 0),
                child: Text(DateTime.now().day ==
                        selectedDate.day // if datetime.now + 1 = selected.day
                    ? DateFormat('Bugün,HH:mm').format(selectedDate)
                    : DateFormat('EEE,HH:mm').format(selectedDate)),
              ),
              SizedBox(height: boy * 0.098),
              olustur(context, () {
                //kaydetme
                _submitData();
                // selectedDate.hour;
                // selectedDate.minute;
                // print("$selectedDate.hour : $selectedDate.minute");
              }),

My error rows :
The getter 'length' was called on null.
Receiver: null
Tried calling: length
Where is the error ? please show me .

Hi @tgbaozkn,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I disagree because my stackoverflow account is limited so i can't send my error,in addition i can't understand this error ,only i want to learn that why i have this error.thanks and sincerely

@darshankawar

@tgbaozkn, usually the error log points to the file and line number which is causing the error. You'll need to look into the error log that shows up in the console, that should give you an idea about which code is throwing that error.