Human genome results for N(t) under constant population size

the new Generic model classes that were created in stdpopsim give us the opportunity to test how well things should work under a variety of very simple models. Below I have results from simulated human genomes (3 reps) using the Hapmap genetic map. As you can see, in this case stairway plot does an excellent job, while the smc based methods perform less well. Even so every method is within two-fold of the true value (N=10000).
thoughts? if people are happy with this we can keep moving

I also got underestimated Ne values using SMC++ under the Gutenkunst model using two populations and running one single chromosome ( https://github.com/popgensims/analysis/pull/39 ), so it is good to see that results are pointing in the same direction.

i think the next generic case to write is a simple IM model. it will be good to run the two population inference pipeline on that one as well @dortegadelv
A question that @jeromekelleher and I were chatting about this week is what would a generic parameterization of the IM model look like? N_1 = N_2 = N_A with symmetric migration?

N_1 = N_2 = N_A with symmetric migration sounds good to me. Can we also get am IM model with no migration to check the effect of migration on all parameter estimates?

This is great, thanks for putting this in there, @andrewkern. Probably the difference between the methods (why stairwayplot looks better) has to do with how they regularize. Agree about the IM model.

I have missed many of the last calls but it is great to see generic models back on the agenda. In my opinion, this is the most valuable aspect of the project. The figure is cool.
Regarding the symmetric island models, we have recently used the Gutenkunst out of Africa model and a symmetric island model with five islands to test our method.
We used N_1 = ... = N_5 and symmetric constant migration rates above zero.
We didn't use an ancestral population, so I would vote for:
N_1 = N_2 with symmetric migration without an ancestral population. However, that would require migration rates > 0.
We set mutation rates such that the expected number of SNPs is as desired and the recombination rate to ten times the mutation rate.

N_1 = N_2 = N_A with symmetric migration sounds good to me. Can we also get am IM model with no migration to check the effect of migration on all parameter estimates?

Note that these one-pop methods should all treat an IM model with no migration as exactly equivalent to a one-population model. If they don't, that suggests some flaw in our simulations.

closing as this is obsolete


remove components/polymer/polymer.html on the main page.

From the view-source on the polymer-platform.org main page:
<!-- TODO: remove when https://github.com/Polymer/polymer/issues/391 is fixed -->
<link rel="import" href="/components/polymer/polymer.html">

That issue is marked as closed now =)

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Add Gaussian random walk for CTRM

With this PR we can specify a random sampling strategy for CTRMSampler from rw_type=uniform (uniform sampling within [0,1]; default) and normal (sampling from Gaussian). We informally confirmed that normal sampling may be more preferrable when max_speed of agents is high, as uniform can sometime make the agent unnecessarily retreat.


Refactor types in system package

Followup of https://github.com/kuma-ui/kuma-ui/pull/259#discussion_r1284088813

I believe the AutoPrefix type was added by @taishinaritomi , so I'll leave the review to him.


Deadly Attack on last animal for target

If a Deadly Attack is made on an animal during a battle and this animal that died is the last animal belonging to its trainer, then the battle is over and the attacker wins as the target has no more alive animals.
How to demo: Have a battle with each trainer/player having only 1 animal each. Have the attackers animals Attack Damage greater than the Health Points of the target anima. When the attacking animal attacks the target animal, the target animal dies and the game should then be over as this was its trainers only animal.

Added winner variable to Battle so that it == null until a player wins and then it holds the winning player(trainer) object. Added a check in both playerAttack and opponentAttack that, when a trainer(or player) animal passes out in battle, the function then makes sure that said player has an available valid animal to put in play. If a players animal dies and they have no more animals that are valid, the Battle.winner variable is then set to the winning Player. This and respective tests took ~ 1.5 hours.


github/workflows: Add CI test for documentation

Check documentation didn't break on pull requests, as discussed in pull request #124 (this test depends on merging first make doc).

Maybe we should have this in #124

Also, I don't know if this will work as it is, since we need cargo to be installed. This is better added to the rust.yml workflow.

@00xc agreed, will combine with #124 and use rust.yml


context getting null in  OneSignal.shared.setNotificationOpenedHandler method

hi guys am getting context null in onesignal navigation ..i cant redirect to new screen...could you please suggest some solution..
i attached my error log and code below.
Exception has occurred.
FlutterError (Navigator operation requested with a context that does not include a Navigator.
The context used to push or pop routes from the Navigator must be that of a widget that is a descendant of a Navigator widget.)
OneSignal.shared.setNotificationOpenedHandler(
          (OSNotificationOpenedResult result) async {
        // will be called whenever a notification is opened/button pressed.
        // int feedId =
        // await result.notification.payload.additionalData["notification_id"];
        Future.delayed(Duration(milliseconds: 10), () {
          // Do something
          Navigator.pushReplacement(
            context,
            new MaterialPageRoute(builder: (context) => new DetailScreen()),
          );
        });

Hi @prakash6491
It seems you are asking for assistance on personal code. 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 and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, provide your flutter doctor -v, your flutter run -v,  your pubspec.yaml and a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Login / Authentication

Implement authentication/login with GraphQL

[x] Graphene Starting Code
[x] Basic user profile
[ ] Login with username and password
[ ] Login via social account
[ ] Basic implementation on frontend

I'm going to implement authentication using django sessions for the time being, for mainly two reasons:

Easier to implement
No need to implement refresh logic on the frontend

https://medium.com/commonux/how-to-design-a-form-wizard-b85fe1cc665a


Stopped working after latest update

Home Assistant core-2021.6.4
supervisor-2021.06.8
HACS shows no error for the Sonoff integration. It loads properly I believe.
However it can't give orders to the sonoffs (can't turn a switch on, for example)
Let me know if more info is needed.

Show your config

@AlexxIT I'm sorry for false information: actually only 2 of my sonoffs stopped working and they happen to have low wifi connection, so with Ewelink app I can control them but it's slow response. With HA I try to control them but it gives up and I can't on/off.

Show your config

Closed because no response


Remove LIBBPF_ATTACH config option

This removes LIBBPF_ATTACH marco per
https://github.com/sustainable-computing-io/kepler/issues/910#issuecomment-1707527351
also reverts some changes which makes not try libbpf if it's bcc version

@sunya-ch please help take a look, thanks


Add connection state for NP settings entry

Task/Issue URL: https://app.asana.com/0/488551667048375/1205275827979972/f
Description
See attached task description
Steps to test this PR
See attached task description

Current dependencies on/for this PR:

develop

PR #3467   👈

This comment was auto-generated by Graphite.


driver: add note when driver registers

Summary
Add note mark when a new driver is registered. This can roughly show us how much time every driver initialization takes because normally all drivers are registered sequentially.

Impact
No
Testing
Internal project.

@XuNeo please include this information in our documentation: https://nuttx.apache.org/docs/latest/components/drivers/character/note.html

Sorry for the delay in responding.
This PR aims to add a note marker to enhance the note results, making it easier to analyze boot-up speed. The note driver itself remains unchanged.


Map & Repeated Values get the required validation constraint rule added

We are using this library to generate validation rules on our data collection process. We noticed that with the current feature set we are unable to validate that a repeated or map field is set/initialized. However, with messages we can set the following constraint rule [(validate.rules).message.required = true]. So if the message is not set/initialized then calling Validate() or ValidateAll() on the generated code with a field that has this constraint and is a message will return an error as expected. We were hoping to achieve this same result for maps and repeated values.
Below is an example outlining the whole situation.
Directory layout:
─ test
  ├── main.go
  ├── Makefile
  └── test.proto

main.go
package main

import (
    "fmt"

    "example.com/test/test"
)

func main() {
    v := &test.TestHolder{
        SuiteName: "Test1",
        Message: &test.TestMessage{
            Message: "This is testing Validate()",
        },
        Tests: nil,
        TestResults: nil,
    }
    validate(v)

    v.Message = nil
    validate(v)
}

func validate(t *test.TestHolder) {
    err := t.ValidateAll()
    fmt.Printf("\nValidate All generated the following error: %v\n", err)
    fmt.Printf("Data Structure Layout: '%v'\n\n", t)
}

Makefile
TEST := test
OUT := out

.PHONY: clean
clean:
	rm -rf $(TEST) $(OUT) go.*

.PHONY: proto
proto:
	mkdir -p $(TEST)
	protoc --proto_path=. --go_out=. --go_opt=Mtest.proto=./$(TEST) --validate_out=lang=go:./$(TEST) test.proto

.PHONY: build_run
build_run: setup
	mkdir -p $(OUT)
	go build -o $(OUT) .
	./$(OUT)/test

.PHONY: setup
setup: clean proto
	go mod init example.com/test
	go mod tidy

test.proto
syntax = "proto3";

package test;

import "validate/validate.proto";

message TestHolder {
    string suite_name = 1 [(validate.rules).string = {
        min_len: 1,
        pattern: "^([[:word:]]|\\s)*$"
    }];

    TestMessage message = 2 [(validate.rules).message.required = true];

    repeated TestArray tests = 3 [(validate.rules).repeated.min_items = 0];

    map<string, TestReslt> test_results = 4 [(validate.rules).map.min_pairs = 0];
}

message TestMessage {
    string message = 1 [(validate.rules).string.min_len = 1];
}

message TestArray {
    string test_name = 1 [(validate.rules).string = {
        min_len: 1,
        pattern: "^([[:word:]]|\\s)*$"
    }];
}

message TestReslt {
    bool result = 1;
}

The validate.proto file must be present here:test/validate/validate.proto
In order to run the code execute:
make build_run

The output of make build_run
rm -rf test out go.*
mkdir -p test
protoc --proto_path=. --go_out=. --go_opt=Mtest.proto=./test --validate_out=lang=go:./test test.proto
go mod init example.com/test
go: creating new go.mod: module example.com/test
go: to add module requirements and sums:
        go mod tidy
go mod tidy
go: finding module for package google.golang.org/protobuf/types/known/anypb
go: finding module for package google.golang.org/protobuf/reflect/protoreflect
go: finding module for package github.com/envoyproxy/protoc-gen-validate/validate
go: finding module for package google.golang.org/protobuf/runtime/protoimpl
go: found github.com/envoyproxy/protoc-gen-validate/validate in github.com/envoyproxy/protoc-gen-validate v1.0.2
go: found google.golang.org/protobuf/reflect/protoreflect in google.golang.org/protobuf v1.31.0
go: found google.golang.org/protobuf/runtime/protoimpl in google.golang.org/protobuf v1.31.0
go: found google.golang.org/protobuf/types/known/anypb in google.golang.org/protobuf v1.31.0
mkdir -p out
go build -o out .
./out/test

Validate All generated the following error: <nil>
Data Structure Layout: 'suite_name:"Test1" message:{message:"This is testing Validate()"}'

Validate All generated the following error: invalid TestHolder.Message: value is required
Data Structure Layout: 'suite_name:"Test1"'

What we would like to see is an error both times ValidateAll() is called. The first time ValidateAll() is called we would expect an error that the fields Tests & TestResults were not set and therefor didn't have a minimum size of 0. The second time ValidateAll() is called we would expect an error that the fields Message, Tests, and TestResults  were not set. We do see that the second time ValidateAll() is called an error is returned showing that the field Message was not set and is required. We just want to see this for Repeated and Map values as well.
Yes in the example above we set both tests & test_results fields in the protobuf file to have a minimum number of values to 0. We hoped that this would enforce the fields to be set/initialized but this doesn't happen. Even looking at the generated code:
func (m *TestHolder) validate(all bool) error {
	if m == nil {
		return nil
	}

	var errors []error

	if utf8.RuneCountInString(m.GetSuiteName()) < 1 {
		err := TestHolderValidationError{
			field:  "SuiteName",
			reason: "value length must be at least 1 runes",
		}
		if !all {
			return err
		}
		errors = append(errors, err)
	}

	if !_TestHolder_SuiteName_Pattern.MatchString(m.GetSuiteName()) {
		err := TestHolderValidationError{
			field:  "SuiteName",
			reason: "value does not match regex pattern \"^([[:word:]]|\\\\s)*$\"",
		}
		if !all {
			return err
		}
		errors = append(errors, err)
	}

	if m.GetMessage() == nil {
		err := TestHolderValidationError{
			field:  "Message",
			reason: "value is required",
		}
		if !all {
			return err
		}
		errors = append(errors, err)
	}

	if all {
		switch v := interface{}(m.GetMessage()).(type) {
		case interface{ ValidateAll() error }:
			if err := v.ValidateAll(); err != nil {
				errors = append(errors, TestHolderValidationError{
					field:  "Message",
					reason: "embedded message failed validation",
					cause:  err,
				})
			}
		case interface{ Validate() error }:
			if err := v.Validate(); err != nil {
				errors = append(errors, TestHolderValidationError{
					field:  "Message",
					reason: "embedded message failed validation",
					cause:  err,
				})
			}
		}
	} else if v, ok := interface{}(m.GetMessage()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return TestHolderValidationError{
				field:  "Message",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}

	for idx, item := range m.GetTests() {
		_, _ = idx, item

		if all {
			switch v := interface{}(item).(type) {
			case interface{ ValidateAll() error }:
				if err := v.ValidateAll(); err != nil {
					errors = append(errors, TestHolderValidationError{
						field:  fmt.Sprintf("Tests[%v]", idx),
						reason: "embedded message failed validation",
						cause:  err,
					})
				}
			case interface{ Validate() error }:
				if err := v.Validate(); err != nil {
					errors = append(errors, TestHolderValidationError{
						field:  fmt.Sprintf("Tests[%v]", idx),
						reason: "embedded message failed validation",
						cause:  err,
					})
				}
			}
		} else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
			if err := v.Validate(); err != nil {
				return TestHolderValidationError{
					field:  fmt.Sprintf("Tests[%v]", idx),
					reason: "embedded message failed validation",
					cause:  err,
				}
			}
		}

	}

	{
		sorted_keys := make([]string, len(m.GetTestResults()))
		i := 0
		for key := range m.GetTestResults() {
			sorted_keys[i] = key
			i++
		}
		sort.Slice(sorted_keys, func(i, j int) bool { return sorted_keys[i] < sorted_keys[j] })
		for _, key := range sorted_keys {
			val := m.GetTestResults()[key]
			_ = val

			// no validation rules for TestResults[key]

			if all {
				switch v := interface{}(val).(type) {
				case interface{ ValidateAll() error }:
					if err := v.ValidateAll(); err != nil {
						errors = append(errors, TestHolderValidationError{
							field:  fmt.Sprintf("TestResults[%v]", key),
							reason: "embedded message failed validation",
							cause:  err,
						})
					}
				case interface{ Validate() error }:
					if err := v.Validate(); err != nil {
						errors = append(errors, TestHolderValidationError{
							field:  fmt.Sprintf("TestResults[%v]", key),
							reason: "embedded message failed validation",
							cause:  err,
						})
					}
				}
			} else if v, ok := interface{}(val).(interface{ Validate() error }); ok {
				if err := v.Validate(); err != nil {
					return TestHolderValidationError{
						field:  fmt.Sprintf("TestResults[%v]", key),
						reason: "embedded message failed validation",
						cause:  err,
					}
				}
			}

		}
	}

	if len(errors) > 0 {
		return TestHolderMultiError(errors)
	}

	return nil
}

There is no enforcement of either the map or array being of size 0. Yes we understand this is an edge case. End result we want to make sure we can add a constraint rule to map and repeated fields to enforce initialization. If this means adding the constraint rule required or utilizing the edge case min_len = 0 that would be awesome.
We are using the following tool versions:
go: go version go1.21.0 darwin/arm64
protoc: libprotoc 3.21.12
protoc-gen-go: protoc-gen-go v1.28.1
protoc-gen-validate: v1.0.2

Hey @Cade-Peterson! Thanks for writing in. Unlike Go which can differentiate between a nil and empty slice, protos makes no distinction between an unset or zero-length repeated field (either lists or maps). While you can temporarily represent this in Go, after a marshal/unmarshal cycle empty lists and maps will be nil in the unmarshaled struct because they are not actually encoded in the wire format.
If you want to be able to differentiate between unset and zero-length, you'll need to add another layer of indirection. It's gross, but if it's a requirement you can do something like:
message TestHolder {
  TestRepeated test_repeated = 1;
  TestMap test_map = 2;

  message TestRepeated {
    repeated TestArray tests = 1;
  }
  message TestMap {
    map<string, TestResult> test_results = 1;
  }
}

Then, you can add the required rule to test_repeated and/or test_map to ensure that they are set explicitly (or just use this to differentiate between unset and empty).

Going to go ahead and close this, but feel free to re-open if needed!


Generate a Figma Design with Ideas

Lets start with initial Idea

Task at hand

[x] Get a rough idea of project
[x] Design initial layouts

Rough Idea complete


Any ideas on how to change admin password?

Since there is an issue with #64, it would be nice to know at least an option on how to change a default password for admin. Any ideas?

Ok, I removed the admin user manually by installing sqlite3 in the container directly and running queries manually.

For those who find this issue later:
You cannot. There is currently no way to change password of a user.
You need to delete that user and recreate.
In case of the default admin user you should:

create a new user with admin rights
login with that user
delete the default admin

@bpatrik I guess that didn't work for me, e.g. I was not able to remove admin user. It simply didn't work even if I was logged in as another admin user.


VisIt won't compile without Conduit.

Describe the bug
I tried compiling VisIt (develop) without conduit (no VISIT_CONDUIT_DIR in the config-site file).
The compilation failed at avtXRayImageQuery, because it tried to include <conduit.hpp>.
Turns out FindConduit.cmake sets HAVE_CONDUIT to TRUE regardless of whether conduit was found or requested
To Reproduce
Modify the config-site file for the system where you are building develop and comment out the CONDUIT settings.
build.
see error.
Expected behavior
VisIt should compile successfully without Conduit.
Desktop

OS and version: linux
VisIt Version: develop
Server info (if applicable):

yikes, we need to fix FindConduit.cmake

https://github.com/visit-dav/visit/blob/384b3e4fa059b5996c73a86ed8867da0b61efc7e/src/CMake/FindConduit.cmake#L48
we need to guard this my bad.

@cyrush make a new PR for just this change.


Handle set condition "Not Now" button clicked for IOS Native Dialog

Describe the bug
I created a rating dialog like this code :
rateMyApp.showRateDialog(
    context,
    title: "How would you rate our app experience?",
    message: "Let us know how the app works for you.",
    rateButton: 'RATE',
    noButton: 'NO THANKS',
    laterButton: 'MAYBE LATER',
    listener: (button) {
      if (button == RateMyAppDialogButton.later) {
        //logic -- will show again
      } else if (button == RateMyAppDialogButton.no ||
          button == RateMyAppDialogButton.rate) {
        //logic -- not show again
      }
      return true;
    },
);

If it runs on an Android device the logic works properly. For example: if I tap the "No Thanks" button the dialog will not show, if I tap the "Later" button the dialog will show again (based on the condition I made). But on an IOS device, if I tap the "Not Now" button, it will not pass the logic that I made.
Expected behavior
How to make pass the logic I made for IOS native dialog if I tap "Not Now" button. From the code below :
listener: (button) {
    if (button == RateMyAppDialogButton.later) {
    //logic -- will show again
    } else if (button == RateMyAppDialogButton.no ||
        button == RateMyAppDialogButton.rate) {
    //logic -- not show again
    }
    return true;
},

Screenshots

Smartphone (please complete the following information):

Device: IOS Emulator, Android Emulator, Xiaomi Redmi Note 8 Pro
OS: Android 10 (Xiaomi Redmi Note 8 Pro)

In short : you can't. Apple doesn't provide any callback for its native dialog :(

Thanks for your information.

You're welcome.


Update the browser lists to the correct values

As part of the FEWD Browser Support Working Group we have been
re-evaluating what browsers we're supporting. We had agreed to use a
browserlistrc file to track our needs, but as we looked closer we
realized our build process is broken up by browser and would necessitate
a complex browserlistrc setup. Updated our existing config instead for
a one-stop browser support location.
Changes

Renamed codeType param to task to tie each browser list to it's associated gulp task
Removed specific IE, Edge, BlackBerry, and Android versions from modernStyles list because they are already included in last 2 releases and IE 8 & 9 are handled individually.
Moved IE8 & 9 lists into config for consistency

Testing

Run gulp clean
Run gulp build
Run gulp scripts:ondemand

Everything should build and none of the site styles or interactions should differ in any browsers.
Notes

Rather than create even more options in the config, I opted to extend the modern config with IE 8 or 9 as needed for one-off styles tasks. These should be removed as those sections of the site are moved into Wagtail.

Todos

Explore whether the IE nemo and ondemand tasks are still necessary and if they are, can IE 9 be bundled with IE 8.

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the development playbook
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated
[x] Reviewers requested with the Reviewer tool :arrow_right:

values and the variable name need to be updated if they change

In this case, I think that's a feature. We're being very explicit about what sets we're supporting when, so if something needs to change you know exactly where and why to change it rather than having to jump between files to understand the entire picture.
@cfarm @anselmbradford thanks all for the discussions and reviews. This PR is a lot stronger because of it.

Good work @jimmynotjim, I think we still have an overly complicated process, but that ain't your fault.


Add mypy stub files for admin.py

Hi everyone! I am trying to use this package on a project that has mypy type checking as part of the CI/CD, and I had to deactivate type-checks on my admin models that use the TabularInlinePaginated class since there are no type stub files.
I think a .pyi stub file for admin.py can be constructed upon the stubs for Django's admin/options.pyi.
If it seems like a good idea, I can work on it and submit a PR with the stub!

@aitorres  is a valid point!
You can work at PR, which I'll approve

@aitorres i generated a new version 0.3.0 with your type hint and ISSUE-18 (your PR, removing ugetext).
update your requirements please.


ITK 5 threading updates

@N-Dekker @mstaring @stefanklein there was more to do than expected for the Windows Python packages, but we are green now :-).
I updated the sampler parallelism for ITK 5. This uses the dynamic threading methods -- when the TBB backend is enabled, the number of work units adjust dynamically at runtime based on the data and algorithm characteristics and CPU load. I did not have time to continue this throughout the rest of the codebase, but it serves as an example.

@thewtex May we close this pull request of yours? It is at least partially implemented by now.

@N-Dekker :+1: yes


Is CStorable really necessary?

Typically when providing these generic implementation packages, you provide top level functions that act as stubs for the actual type class your interested in. I would propose that this:
class CStorable a where
  cPeek              :: Ptr a -> IO a
  default cPeek      :: (Generic a, GCStorable (Rep a)) => Ptr a -> IO a
  cPeek p            = fmap to $ gcPeek 0 (castPtr p)

  cPoke              :: Ptr a -> a -> IO ()
  default cPoke      :: (Generic a, GCStorable (Rep a)) => Ptr a -> a -> IO ()
  cPoke p x          = gcPoke 0 (castPtr p) $ from x

  cAlignment         :: a -> Int
  default cAlignment :: (Generic a, GCStorable (Rep a)) => a -> Int
  cAlignment         = gcAlignment . from

  cSizeOf            :: a -> Int
  default cSizeOf    :: (Generic a, GCStorable (Rep a)) => a -> Int
  cSizeOf            = gcSizeOf 0 . from

Becomes just
gpeek      :: (Generic a, GCStorable (Rep a)) => Ptr a -> IO a
gpeek p            = fmap to $ gcPeek 0 (castPtr p)

gpoke      :: (Generic a, GCStorable (Rep a)) => Ptr a -> a -> IO ()
gpoke p x          = gcPoke 0 (castPtr p) $ from x

galignment :: (Generic a, GCStorable (Rep a)) => a -> Int
galignment         = gcAlignment . from

gsizeOf    :: (Generic a, GCStorable (Rep a)) => a -> Int
gsizeOf            = gcSizeOf 0 . from

Your users would then do
data Foo = Foo { a :: X, b :: Y }
  deriving (Generic)

instance Storable Foo where
  peek = gpeek
  poke = gpoke
  sizeOf = gsizeOf
  alignment = galignment

See https://hackage.haskell.org/package/generic-deriving-1.9.0/docs/Generics-Deriving-Monoid.html for a similar example (note they don't export a copy of the Monoid type class, but just the necessary implementations for the methods).

CStorable is intended to represent a separate concept from Storable - I even have one or two types with different implementations for each. CStorable is intended to represent the way to treat this struct specifically as a C-analog of itself. Storable simply implies there's a way to write it to a chunk of memory.


Importing ShapeFile to data frame with structure like ogr2ogr to PostGIS

GeoSpark version = 1.1.2
Apache Spark version = 2.3.0
JRE version = 1.8
API type = Scala
Hi, I am not an expert in Shape file format. I am using ogr2ogr tool to import .shp file into PostGIS which produces a table like this:

Now, I want to import the same shape file with GeoSpark SQL with the following code
val csamSpatialRDD = new SpatialRDD[Geometry] csamSpatialRDD.rawSpatialRDD = ShapefileReader.readToGeometryRDD(sc, csmaShapeFile) val csamSpatialDF = Adapter.toDf(csamSpatialRDD, spark)
Now the problem is, the data frame is something like this:

The number of rows in PostGIS and in the data frame is the same suggesting that I am doing something right, except that I don't know what to do now with my data frame. I need a table with columns like in PostGIS so I can run some existing PostgreSQL queries.
Can you point me to the right direction please?
Thanks a lot

Please delete this question, I found out that the columns are from the file *.dbf that come together with my shape files


Proposed RFC 0440 - Storage RFC

This RFC describes how a KMS should be architected and covers many considerations when designing them.

@mikelodder7 - could you please change concepts in the "Tags" field in the header to concept?  Once done, we can review (rubber-stamp) this PR and merge it.
Thanks


Remove merge conflict

Coverage increased (+0.04%) to 80.843% when pulling 2bc13efe5b84996b5e143747036a812d3300482b on px1099:fix-conflict into 4c93d5d9155115197164957c89694cf5710e82e1 on CS2113-AY1819S1-F09-2:master.


Broken elevator (as_oilrig)

https://user-images.githubusercontent.com/106993968/194601623-fd2f8699-d40a-4303-b3f7-faecc2d1c603.mp4

"using" the switch seems top do nothing, but walking up to it activates it, plus makes it disappear


fix(query): make sure prefetched queries can be garbage collected

:tada: This PR is included in version 3.33.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: middleware changes

Issue #

https://github.com/awslabs/aws-sdk-swift/issues/1145
Description of changes

Adds auth scheme signing properties customization hook to SigV4AuthScheme.
Accompanying PR: https://github.com/smithy-lang/smithy-swift/pull/605
New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test


Improve statistics for prune

Sample:
counting files in repo
building new index for repo
[0:00] 100.00%  22 / 22 packs
repository contains 22 packs (1377 blobs) with 90.610 MiB bytes
processed 1377 blobs: 0 duplicate blobs, 0B duplicate
load all snapshots
find data that is still in use for 1 snapshots
[0:00] 100.00%  1 / 1 snapshots
found 409 of 1377 data blobs still in use, removing 968 blobs
will delete 10 packs and rewrite 10 packs, this frees 64.232 MiB
creating new index
[0:00] 100.00%  7 / 7 packs
saved new index as df467c6e
done

Closes #581
Since this touches the logic within prune, I'll wait until someone else has read the diff and approved it.

Fine for me. I wait for the dry-run.


What exactly does the “Gops” in the Naming Rules in Vitis AI Model Zoo mean and how is it derived?

Hi，I've been doing some testing with your model recently. The whole tutorial is well done. But there is one place I don't understand, what exactly does the "Gops" mean and how you get this value ?

and can you explain  what is the difference between total trainable params and "Gops" here?

I'm just getting started with neural networks, and there are a lot of things I don't understand.  hope you can help me！

Hi @Serendi-pity1995
It's actually a shorthand for G FLOPs. The FLOPs (Floating Point Operations) is used to measure the computational complexity of a model, and is often used as an indirect measure of the speed of a model.
So can sum up, it represents the amount of calculation. And ‘params’ is a completely different concept.

Thanks for your reply, but how do I get the Gops of each model? I saw someone write that the xir tool can be used, is that right? Does the content in subg_root in the generated txt file represent Gops?

I used the tool xir to generate the info of the model "tf2_efficientnet-b0_imagenet_224_224_0.36G_2.0" but the numbers here do not match it (0.36G).
I also tried to get infos of some other models.  In "tf_ssdinceptionv2_coco_300_300_9.62G_2.0" ,the number is 9,625,770,531
In "tf_mobilenetv2_1.0_imagenet_224_224_602M_2.0" ,the number is 608,725,705 . It looks like it fits right in.
It's just a coincidence, or I've got the wrong numbers.

Hi @Serendi-pity1995
There‘re many open source tools to calculate flops. We recommend 'ptflops' or 'thop'. But please note that 1 MACs = 2 Flops.
Such as thop, please refer to https://github.com/Lyken17/pytorch-OpCounter.

Many thanks！


Allow supplying dynamic validation values on call to validate()

I'm using e.g the @Min() decorator, but I need to supply the minimum valid value dynamically.
I cannot do this when the decorator executes as the value is not available at that point.
What would be useful is if I could supply a hashmap of values when calling validate that can be either

referenced by name by the decorator

class Foo {
    @Min(Constraint('mininimumWage'))
    public rate: number;
}
// ...
let foo = new Foo();
foo.rate = 5.50;
validate(foo, { minimumWage: 5 });

passed into a function supplied to the decorator instead of the validation value so I can extract it, like 'ValidateIf'

class Foo {
    @Min(a => a.mininimumWage)
    public rate: number;
}
// ...
let foo = new Foo();
foo.rate = 5.50;
validate(foo, { minimumWage: 5 });

You can create your own version of dynamic @Min decorator:
https://github.com/pleerock/class-validator#custom-validation-decorators


1.0.1 snapshot

alibabacloud-ververica-common添加SDK支持SessionCluster，CustomConnector，监控，成员操作，申请将1.0.1-SNAPSHOT分支合入主分支

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


Content For How to write a good resume

📝 Description
Proposal:
I will make the content for how to write a good resume.
🖼 Screenshots
No response
📋 Additional Information
No response

@Guneetsinghtuli @GDSC-adgitm Please assign this issue to me


Update cclyzer++ to v0.2

Just to stay up-to-date.
See https://github.com/GaloisInc/cclyzerpp/releases/tag/v0.2
Tested against the regular test suite - the new ntu-uaf test failed, but I didn't see a difference when I compared the pointer analysis output line-for-line against the most recent and first commit of cczlyer++. @thinkmoore can you run the tests and see if they pass or fail for you?

Tested against the regular test suite - the new ntu-uaf test failed, but I didn't see a difference when I compared the pointer analysis output line-for-line against the most recent and first commit of cczlyer++.

Whoops, found a bug in my comparison script. Making this a draft until I fix that and find out why the UAF test is failing.

Actually, it looks like this is a problem on main: https://github.com/GaloisInc/MATE/issues/56

This works after rebasing onto #57 and upgrading to cclyzer++ v0.3!

Does this need further review here @langston-barrett ? Or in cclyzer++'s repo?

@thinkmoore I'm happy with whatever level of review you deem suitable. From highest-level to lowest, you might consider looikng at:

The changelog
The list of merged MRs
The list of commits and diff from the pinned commit to v0.3

I looked through all of the changed files etc via the merged PR list. All look reasonable to me assuming cclyzer++ and MATE tests pass. One minor question: https://github.com/GaloisInc/cclyzerpp/pull/85 removes the subset and unification together build target---don't we use that for testing?


embed sound files?

Great tool! Is there a convenient way to embed sound files into the experiments? (can't find any info on that in the documentation)

Unfortunately, there is no ready-made template for this. You would need to create a custom view by writing your own stimulus contain-function that embeds the sound file using, e.g., a standard HTML audio-tag.
See here on custom views:
https://babe-project.github.io/babe-docs/01_designing_experiments/03_custom_views/
But I agree that a ready-made stimulus container-function for audio and video would be handy!

On 5. Jul 2019, at 20:12, troettge<EMAIL_ADDRESS>wrote:
Great tool! Is there a convenient way to embed sound files into the experiments? (can't find any info on that in the documentation)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


(login, config, shell): 1. confuse password with constant when login 2. add create_rsa_keypair.sh for rsa generation 3. add empty auth code switch

Codecov Report

Merging #15 (d29513a) into release-1.0.0 (b341d97) will increase coverage by 0.81%.
The diff coverage is 46.46%.

@@                 Coverage Diff                 @@
##             release-1.0.0      #15      +/-   ##
===================================================
+ Coverage            23.71%   24.52%   +0.81%
- Complexity             101      108       +7
===================================================
  Files                   42       43       +1
  Lines                 1712     1794      +82
  Branches               124      123       -1
===================================================
+ Hits                   406      440      +34
- Misses                1276     1324      +48
  Partials                30       30

Impacted Files
Coverage Δ
Complexity Δ

...ank/wecross/account/service/account/LoginSalt.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...account/service/authentication/JwtLoginFilter.java
12.03% <0.00%> (+0.21%)
3.00 <0.00> (ø)

...ross/account/service/config/ApplicationConfig.java
49.18% <36.23%> (-9.09%)
17.00 <6.00> (+6.00)
:arrow_down:

...ross/account/service/authcode/AuthCodeManager.java
14.92% <42.85%> (+3.25%)
3.00 <1.00> (+1.00)

...cross/account/service/config/SslServiceConfig.java
26.08% <57.14%> (ø)
3.00 <1.00> (ø)

...ebank/wecross/account/service/config/DBConfig.java
100.00% <100.00%> (ø)
2.00 <0.00> (ø)

...cross/account/service/config/JwtManagerConfig.java
100.00% <100.00%> (ø)
2.00 <0.00> (ø)

...ecross/account/service/config/UAManagerConfig.java
100.00% <100.00%> (ø)
4.00 <0.00> (ø)

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 b341d97...d29513a. Read the comment docs.


Proposal: e2e SSL

This issue supersedes deis/controller#355 and attempts to distill its most salient suggestions into something more digestible.
One persistent shortcoming of Workflow is that it does not easily accommodate applications requiring e2e SSL. Currently, SSL is typically terminated at the router(s). (It can be terminated at the load balancer, but this is uncommon.) The fact that unencrypted traffic flows between the router(s) and application pods (which may reside on other nodes) precludes the use of Workflow as a platform for any applications subject to stringent regulatory requirements like HIPAA or PCI-DSS that mandate the encryption of all over-the-wire transmissions.
The most efficient way to solve this is to bypass the router and deliver encrypted TCP packets directly to applications pods. Most application frameworks, however, do not know how to terminate SSL. This is, and should remain, chiefly a platform concern. So the problems to solve for are:

How to bypass the router
How to terminate SSL at the pod (without pushing that responsibility onto the application itself)
How to seamlessly coordinate this

Proposed implementation
Bypassing the router
Bypassing the router is easy. Currently the router routes traffic to all "routable services." By not annotating an application's k8s service as routable, the router will cease to route traffic to it.
Traffic can be router directly to application pods by making its k8s service one of type: LoadBalancer.
Terminating SSL at the pod
Pods can host multiple containers-- and these are able to communicate with one another over the local interface. I propose that wherever e2e SSL is required, a dedicated router can be installed as a "sidecar" container in each application pod. Such router instances would run in a new "terminator mode," wherein the router retains all of its usual configurability and flexibility, but ceases to route traffic for all applications (routable services). Instead, it becomes concerned only with terminating SSL and proxying requests to a single upstream (the application) over the local interface.
This is relatively easy to implement.
Coordinating it all
I propose the deis CLI and controller be enhanced to allow applications to opt-in to e2e SSL. This would require the controller to modify an application's service definition to not be "routable", to be of type: LoadBalancer, and deployments to include the terminator sidecar (which must also include any applicable certificates).
One gotcha
Above, I stated that the terminator sidecar "must also include any applicable certificates." I believe this must explicitly exclude the platform certificate (which is always a wildcard) and should be limited only to certificates owned by / associated to the application. Otherwise, the private key for a certificate not owned by the application in question (e.g. the platform certificate) could be exposed to developers who should not have access to it.

On your last point I'm not sure I agree. If someone has paid for a wildcard cert they might not want to pay for individual certs for each application too.

On your last point I'm not sure I agree. If someone has paid for a wildcard cert they might not want to pay for individual certs for each application too.

I should have been more clear. This shouldn't happen automatically (for security reasons), but if you, as a developer or app operator legitimately do have access to the same wildcard cert that the cluster operator used as the platform cert, there should be nothing that prevents you from uploading it using deis certs:add and attaching it to your application's domain(s) using deis certs:attach.

Not sure if that helps at all but I just found out about linkerd which can be used to achieve e2e SSL between k8s services: https://blog.buoyant.io/2016/10/24/a-service-mesh-for-kubernetes-part-iii-encrypting-all-the-things/

This issue was moved to teamhephy/workflow#49


ARM Version planned?

Hi @mlocati
Thanks for this port. Is an ARM64 version planned?

You can build any variants with https://vcpkg.io/en/index.html now. I did it on my ARM64 machine and got native Vim to work.

Ty @zhihaoy. I'll give it a try


remove Alaska on map to make map more square and gain space

Can be done by changing layout.geo.lataxis.range and layout.geo.lonaxis.range as described in https://plot.ly/python/map-configuration/#map-projections (scroll down a bit).
The corresponding part of the code is https://github.com/covid19-dash/covid-dashboard/blob/master/make_figures.py#L49 (you can also call directly fig.update_geos).

I will work on this

we would like the map to be more square, the goal is that when you zoom the whole figure is filled with the zoomed map (this is not the case at the moment).


How do you demo on a video?

Read through the README.md and demo.py file in the root directory, however i do not see the option to use a pretrained model to demo on a video file. How do we use the demo.py file properly?

Hi~
you can use it by
python3 demo.py --video_input video.mp4 --demo_output demo_output --resume checkpoint671.pth --with_box_refine


Update dependabot.yml

Group protobuf changes together

@haydentherapper gonna need you to merge this, I don't have merge permissions here


Check your pull requests for the versions.json

do it

why

It's possible to support more versions and would benefit the community. :smiley:

You do realize that github issues is a thing?

I am the issue


Send better errors to Error API

https://github.com/open-contracting/kingfisher-scrape/issues/56
["[Failure instance: Traceback (failure with no frames): <class 'scrapy.pipelines.files.FileException'>: download-error\n]"]

Is not helpful :-(

New pipeline solves this! Now we just have to get all scrapers to use it ...


.github/workflows/release.yaml: don't tag built images as latest

So we can easily test the pipeline and build e.g. rc images without having them tagged as latest.
Manifests we provide use specific versions anyway and this is what I would recommend users as well for reproducibility.
Closes #180.
Signed-off-by: Mateusz Gozdek<EMAIL_ADDRESS>

The latest tag still exists but is on 0.8, maybe updating manually or deleting the latest tag would be good
https://github.com/flatcar/flatcar-linux-update-operator/pkgs/container/flatcar-linux-update-operator

The latest tag still exists but is on 0.8, maybe updating manually or deleting the latest tag would be good

Yeah, I was trying to figure out how to handle this. According to https://docs.github.com/en/packages/learn-github-packages/deleting-and-restoring-a-package#package-deletion-and-restoration-support-on-github any package version with more than 5k downloads cannot be removed.
I got rid of it by creating a temporary version, tagging latest on it and then removing it using Packages interface.


Shorten other client-side catch blocks

Limit try-catch to just around the fetch() call and use response codes to determine if remaining code should be run or skipped. Similar to the fix for Images menu link.

Finished in https://github.com/DavesCodeMusings/container-central/commit/587ab874b14d85c29b80c31d4c0790c940856d41


COND gets resent after FULFILL was sent

this is in the ledger-loops-split branch

should add a unit test to check that COND/ADD can be repeated indefinitely, and will just lead to a resend of that msgId's ACK/FULFILL/REJECT response.

should probably store the preimage and possible other data in the ledger, so that the reply can just repeated from there, and a repeated COND/ADD is just effectively a way to ask what the other party has in their ledger for that transaction.


Unable to build on Windows if one of the path folders has a space in it (IDFGH-12841)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
esp-idf-v5.2.1.zip
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
It should build properly
What is the actual behavior?
It complains about access rights
Steps to reproduce.

Create a blink example project. Make the folder have a space in the name
Build

Build or installation Logs.
*  Executing task: C:\Users\morga\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Users\morga\esp\v5.2.1\esp-idf\tools\idf_size.py c:\Users\morga\esp projects\blink example\blink\build\blink.map

usage: esp_idf_size [-h] [--format {text,csv,json}] [--archives] [--archive_details ARCHIVE_DETAILS] [--files] [--target TARGET] [--diff ANOTHER_MAP_FILE] [-o OUTPUT_FILE] map_file
esp_idf_size: error: argument map_file: can't open 'c:\Users\morga\esp': [Errno 13] Permission denied: 'c:\\Users\\morga\\esp'

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command C:\Users\morga\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Users\morga\esp\v5.2.1\esp-idf\tools\idf_size.py c:\Users\morga\esp projects\blink example\blink\build\blink.map" terminated with exit code: 1.

More Information.
Tried running the command manually, but adding hyphens around the last parameter, and that works fine.

Hello,
it looks like the VSC plugin should quote the args while calling idf_size.py. Maybe here https://github.com/espressif/vscode-esp-idf-extension/blob/master/src/espIdf/size/idfSizeTask.ts#L56, but I'm not familiar with the code, so I for sure can be missing something.
Thank you


[SPARK-32714][FOLLOW-UP] Address pyspark.install typing errors

What changes were proposed in this pull request?

This PR adds two type: ignores, one in pyspark.install and one in related tests.
Why are the changes needed?

To satisfy MyPy type checks. It seems like we originally missed some changes that happened around merge of https://github.com/apache/spark/commit/779f0a84eaa0bcee928576e406fdc37c94c5bbc1
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests.
MyPy testsmypy --show-error-code --no-incremental --config python/mypy.ini python/pyspark

cc @HyukjinKwon

Test build #129136 has started for PR 29878 at commit fb89746.

Test build #129136 has finished for PR 29878 at commit fb89746.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129136/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33752/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33752/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33752/
Test PASSed.

Thanks, @zero323. Merged to master.


Hi, i have been playing with our Amazon API and came across your code.

I managed to successfully connect to MWS and retrieve unshipped orders, but have a problem understanding what you do with ".parsed.Orders.Order" when you call the api?
My main goal is to create a packing list, containing out of customer name and items, therefore i intended to use "amazon.list_order_items(order number)" having received the order number via amazon.list.orders. But all i receive is "mws.mws.DictWrapper object at 0x", how do i parse this ?
Thank you very much for time and effort.
Best regards
Markus

The DictWrapper contains the full XML response for any operation you make. If you called it as r = amazon.list_order_items(order_num), r is that response object. Then use r.parsed to start traversing the XML tree, which is represented by dictionaries and lists of dictionaries.
In your case, try using r.parsed.OrderItems.OrderItem. A quirk in the way the DictWrapper is built results in this element being either a dictionary if one or no items are returned, or a list of dictionaries if more than one. I would personally recommend checking this with the following:
items = r.parsed.OrderItems.OrderItem
if isinstance(items, dict):
    items = [items,]

After that, you can safely loop over the element using for item in items:. Inside the loop, item will be a dictionary with keys similar to the MWS documentation here. The data you want will be located within these keys.
See the example response in the documentation here for more details on the kind of response you'll see.

Thank you very much for fast reply! One more question if i may, i thought the mws-api was utf-8 encoded,
do have i set this with amazon or in my code?

the library and everything we do here is in utf-8 but amazon responses in latin-1. If you get an encoding error try something like: value.decode('latin-1')
I made something like this for my personal use: bloodywing@3acf8787557df68cc7706eaf873980d3200447b6
Maybe it's worth adding it to the unforked repository. With my method you cast list() for your iteration and this would remove the whole isinstance check.

@bloodywing I spoke with their developer support team, according to them all responses should be utf8.
Be good if you have an example call that returns latin-1 to provide to them.

@czpython most of the time I can use utf-8 without any problems, but some response values are a mix of both, like the response is utf-8 but for example a product title is some sort of latin-1 with encoding garbage. Because any seller on amazon can possible change product titles this can be an error by another seller. I'll let you know when I find an article where this happens.

@bloodywing Thanks for that snippet. I'm adding it to my utils, as well. Will certainly be nice to get rid of that boilerplate within my project. :+1:

My parsed result of : "amazon.list_order_items" for an example order number looks like this:
{'ASIN': {'value': 'B003AO64IK'}, 'SellerSKU': {'value': '140015201090'}, 'ShippingDiscount': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'Title': {'value': u'Stabiler Kleiderst\xe4nder, Breite 152cm, schwarz'}, 'ShippingTax': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'ConditionId': {'value': 'New'}, 'GiftWrapPrice': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'value': '\n        ', 'PromotionDiscount': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'ItemPrice': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '50.00'}, 'value': '\n          '}, 'QuantityShipped': {'value': '1'}, 'ConditionSubtypeId': {'value': 'New'}, 'GiftWrapTax': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'ItemTax': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '0.00'}, 'value': '\n          '}, 'ShippingPrice': {'CurrencyCode': {'value': 'EUR'}, 'Amount': {'value': '7.00'}, 'value': '\n          '}, 'QuantityOrdered': {'value': '1'}, 'OrderItemId': {'value': '06607479301811'}}
The test with Latin-1 works
a = "Stabiler Kleiderst\xe4nder"
print a.decode('latin-1')

Stabiler Kleiderständer


ODR last name should be displayed

This person https://dev.experts.ucdavis.edu/person/1b59b4daa533afdad6b6b17c998e2b8a is displayed as Tina Jeoh in ODR https://org.ucdavis.edu/search/directory_results.shtml?filter=Tina Zicari.

The ODR last name is being displayed.  Currently the data feed has two last names in ODR, the client is currently picking the first from the array and rendering.
@qjhart is there any other data bits from the ODR feed that can help pick which to display?

@jrmerz This is fixed in the new data feed, see dev.experts.library.ucdavis.edu


Context menu show option to delete all projects even if the list is empty

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
https://github.com/enso-org/enso/assets/108271897/9106237e-f022-4e36-b9e1-d42ce39d0fb3
Expected behaviour
option to delete all if there's nothing not showing up
How we can reproduce it?
No response
Screenshots or screencasts
No response
Logs
No response
Enso Version
2023.8.16 nightly
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.2134
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

Should be fixed by #7606, but I'm not 100% sure it's the same issue so you might want to try it out when CI finishes building it


Include compression and indexing of output

The current approach writes a naked VCF
This change writes the VCF to a temporary location, then bgzips and indexes into fused cloud storage
This could be tweaked a bit further to make sure all the outputs are stored - probably a good idea

I don't think bgzip and tabix are part of trtools? Wouldn't we need a separate job with bcftools?

@hopedisastro I didn't think so either! I pulled down the image and had a look and both of them are installed under micromamba. I'm not 10000% sure, but I think this tracks as:

micromamba installs TRTools
TRTools has a dependency on PySAM
PySAM is a wrapper around the HTSlib API (same as samtools, bcftools, and tabix... though BCFTools is not installed)


feat: add support for capturing data for any variable at runtime

Fixes #105
@ToddFincannonEI: I'm finally getting around to submitting a PR for this feature that I started over 2 years ago.  We've been using this branch in production (for En-ROADS and C-ROADS) for the past 6 months, so I think it's stable enough to merge into main.
There are currently two use cases at CI where this feature comes in handy:

In our automated model checks, we use this to access internal variables that aren't normally accessible to model-check (things like internal/historical data that aren't declared as output variables).
For the new online En-ROADS Technical Reference, we use this to generate the hyperlinked Model Equations component in each chapter.  This component allows anyone to see a graph of any equation in the model.

I realize this is a large PR, and there's no rush on reviewing it.  We could wait to go through it together when we meet in person soon.  I probably could've split the JSON listing part into its own PR, but it all kind of goes together so decided to leave it in.
I'll try to succinctly explain how it all fits together:

sde generate --list now produces a JSON file in addition to the existing YAML and TXT outputs.  I know we had talked about removing the YAML and TXT variants but I figure it's better to do that as a separate change since this one is already big enough.

In that JSON file, for each variable, there is a varIndex field.  This varIndex corresponds to the value that code gen emits in the new storeOutput function in the generated C code.  For example, variable X might have a varIndex of 1.  At runtime, the code that runs the model can request data for variable X by using that index value of 1.

The code gen outputs a giant switch statement in the generated C code that handles the mapping of varIndex values to the appropriate internal C variable (and handles access to subscripted variables as well).  The storeOutput function body is gated by a preprocessor flag that is off by default (it needs to be enabled at build time).  Therefore, even though the generated C code is larger, there is no impact on the compiled code size or performance when the switch is off.

Likewise, there's a new outputIndexBuffer argument to the runModelWithBuffers function, but in the common case where this parameter is left as NULL, then that code is completely unused and there is no impact on runtime performance or behavior.

The JS-level runtime and runtime-async packages have been updated to support this new functionality, but I decided to apply @hidden tags for most of the new APIs so that they don't yet appear in the public API documentation.  This is because a) I'm not ready to call this new API "done", as I've got some changes in mind to make it better and b) we (CI) are probably going to be the only users of this API in the beginning.  Once this initial work gets merged in, I can look at the API again with fresh eyes (and ideally align it with how we incorporate your proposal for changes to how inputs are passed in).

I added an automated E2E test of the new functionality in tests/integration/impl-var-access to make sure it all works together.

Cool new change.  I can definitely see how this will be useful for unit tests.

I haven't reviewed the code, but I will comment on your description. This is not something I would use in my own work, but it's a big step toward duplicating the full functionality of Vensim. Having the giant switch statement off by default is important for me, since our models are so large.
I would like to keep the text listing output. That's something I use a lot. I think the JSON output could replace YAML. I have some model analysis tools that use YAML, but they could use JSON instead. I agree that JSON is a better choice than YAML for model listings.

@ToddFincannonEI:

I haven't reviewed the code

Not a problem.  Let me know if you mean "haven't reviewed yet" (in which case I'll await your review) or if you mean "unlikely to review".

Having the giant switch statement off by default is important for me, since our models are so large.

Yes, same here.
FWIW, I think I could get rid of the "giant switch statement" approach entirely if the code generator had support for pluggable/custom allocators (which I alluded to in a comment on the WebGPU feature).
But that's a separate topic.  For now, with the switch off, there's no impact on build or runtime performance.

I would like to keep the text listing output. That's something I use a lot. I think the JSON output could replace YAML.

Fair enough, all three are still available.  Later (separate from this) we can drop the YAML output in favor of JSON, and we can keep the TXT output.

Sounds good — I am unlikely to review the code itself.


⚠ Fetchers has degraded performance

In 4c9af45, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 509 ms

Resolved: Fetchers performance has improved in 2635998.


Update 139-Word- Break.java removed unused set

File(s) Modified: 139-Word- Break.java
Language(s) Used: Java
Submission URL: https://leetcode.com/submissions/detail/xxxxxxxxx/

Thanks!


Return a deprecated message when IF NOT EXISTS is used

The deprecated message is now attached to a new attribute returned with
the results. This message can then be read by clients to warn a user
about upcoming changes to the query engine.
The influx client has already been modified to read this message and
print it out for every format except CSV.
The first warning message is a deprecated message about removing IF NOT EXISTS from CREATE DATABASE.
Fixes #5707.

@pauldix @toddboom do you think this is an effective way to communicate deprecated functionality?

LGTM 👍

this works for me. just do double check, this also gets written out to the logs as well, right? if not, that's my only final request.

I didn't have it writing to logs as I think that will cause too much log noise, but I can add it if we want that.

Most of the IF NOT EXISTS queries are run relatively infrequently so adding log messages shouldn't add too much extra noise.

I just want to crank up the annoyance level to make sure nobody misses the notice.

LGTM :+


Feature request: Add insert-above and/or insert-below to table edit options

I have just discovered the json-editor and like it a lot! I am especially glad to have the table edit capability. Great work!
Would it be possible to add (in addition to move up, move down, and delete) new options to insert-new-row-above current row? And also insert-new-row-below current row? This would make it complete.
Thanks,
Morgan

+1! Thanks for this great tool, the functionality @mcundiff described would be very helpful.


Replace RayRuntimeInternal with AbstractRayRuntime

Ray plan to remote RayRuntimeInternal now, we need to remove the dependency

Could you merge this PR and then release a nightly version?
After that I need to retry the CI from my PR https://github.com/ray-project/ray/pull/25153

Sure, I have released a nightly, please retry


Update coveralls badge to master branch

Badge is at 8% now, but on https://coveralls.io/github/google/clasp it looks like it's at 11%
Changing the badge link to master branch should update it.

Pull Request Test Coverage Report for Build 121

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

Totals

Change from base Build 118:
0.0%

Covered Lines:
108

Relevant Lines:
722

💛  - Coveralls


rpc not working with tauri app

when i put tauri func to top rpc not working but when i put tauri func after rpc Discrod RpC working but tauri app not starting

As far as I know the Tauri run function is blocking, so any code after that will not be run while the app is open.
This may be the same as the run function for drpc, though that is not meant to be the case. Could you try putting the rpc code in a seperate thread and see if both run in that case?

Also please in future use the Bug Report template.
For now please add the required information from the template.

Should be fixed in #20 :)


ERROR: Child exited immediately with exit code 1

When I tried to restart my onedrived, it falled. Here is the paste:
~$ onedrived start
/home/admin1/.local/lib/python3.8/site-packages/onedrived/od_models/bidict.py:6: UserWarning: bidict.OVERWRITE has been deprecated, use bidict.DROP_OLD instead.
on_dup_val = bidict.OVERWRITE
Starting onedrived ... FAILED
ERROR: Child exited immediately with exit code
please help

After I restart my computer, the program runs regularly, but the status shows:
$ onedrived status
/home/admin1/.local/lib/python3.8/site-packages/onedrived/od_models/bidict.py:6: UserWarning: bidict.OVERWRITE has been deprecated, use bidict.DROP_OLD instead.
on_dup_val = bidict.OVERWRITE
onedrived -- pid: 2847, status: sleeping, uptime: 1m, %cpu: 1.0, %mem: 0.9
does the bidict go wrong?

@HortiCarrillo
Given the code was last updated on Jan 14, 2019 - I would say this client for OneDrive is stale and not actively maintained.
The OneDrive client that I actively maintain can be found here:

https://github.com/abraunegg/onedrive
https://abraunegg.github.io/


demo fails on IOS 9.3.3

Demo page at  https://clusterize.js.org/
fails to display anything and shows message
A problem occurred with this webpage so it was reloaded
though nothing is ever actually shown. Subsequent reloads result in message
A problem repeatedly occurred on "http://cluster.js.org/"

Does someone else have this issue?
Everything works fine for me at IOS 9.3.4
Do you have a chance to update to 9.3.4?

Updated to IOS 9.3.4, same problem occurring.
My device is an IPad mini 1 (model A1432 64GB wifi only).

Seems to be it's some kind of "out of memory" issue with device
It's probably silly advice but have you tried?

going to Settings -> General -> Accessibility -> Speech -> Then Turn OFF Speak Selection and Speak Screen. This workaround has worked for most users.

from here

Tried all of those suggestions except for resetting the device to stock.  I also tested on IPad mini 1 32GB, an IPad 2 64GB, and a IPhone6 64GB.  All exhibited the same behavior.  The IPhone being the newest device would sometimes load the page, but doing anything on the page at all was almost impossible. Terribly slow and unresponsive. Reloading the page would frequently trigger the same errors listed above.
What device did you have success with on IOS 9.3.4 ?

Iphone 5 SE

Well I have not received such complaints before but I have a suspicion why it happens.
On page load I generate half of million rows, not one loop, of course, I do it by small chunks using setTimeout to avoid blocking but seems seems that for some reasons even these optimizations not enough for your devices.
You could see Clusterize.js in action in this codepen, for this example I generate much less rows, 500 only, it shouldn't force your page refresh.
In theory I can transfer rows generation to web worker.. will investigate it in my spare time

The codepen version does indeed load and function properly on my IPads.  Your suspicions may very well be correct.


fixed typo dict assignment of webhook url

fixed typo: dict assignment of subscriber_config webhook_url

Closing request as it is covered in another PRs


Error in job miner : invalid Break type

Hello, i've installed your plugin Jobs4.8.0 recently and I noticed a warning in my console when I launched the server :
[Jobs] Job Miner has an invalid Break type property: NETHER_BRICK (NETHER_BRICK)! Material must be a block!
The only thing i've done to correct this is to replace NETHER_BRICK in jobConfig.yml by NETHER_BRICKS.
I don't know if this needs to be fixed but I wanted to warn the author about it.
Thanks for reading me.
~ltsquellette

It's wrong in the 4.8.0 build, but correct in the 4.8.1 build.  I'd recommend taking the latest build as it fixes a number of other reported issues besides this one.


http client factory

Complete changes needed to use HttpClientFactory.  Usage example in readme.

I'm sorry.  I'm just going to make a new clean branch.  This isn't right.


add mysql package reference

adding mysql package reference as it seems to be missed :(

LGTM, thanks!


Implementing interrupts

I have implemented a new Alarm Clock that uses interruptible threads. This provides many advantages, but it requires the use of boost threads. The original Alarm Clocks (includes minor changes to test performance) is saved as AlarmClock.h.old.
The basic idea of the program is to have one single thread that acts as the alarm. To reset the alarm the caller must interrupt that thread. To reduce the number of sleeps called, the program also utilizes a mutex. This allows the reset method to notify the alarm thread (which will be waiting on that mutex) when it should reset. This is only necessary when the alarm has expired.
Therefore, the program no longer needs to poll to see if it needs to reset and it only uses one alarm thread (it doesn't create a new one for every reset). Which should reduce the overhead for reset.
I added some unit tests to test multiple resets and multiple types of resets (before or after) because, with my implementation, the concurrency bugs will usually occur in those cases. Therefore some concurrency issues can be found with the unit tests.
The performance tester I wrote measures three things: overall time, reset time, and overhead time using microseconds. Overall time is just start to finish of the program (it does include the print statements so it might be more inflated). Reset time is only the time it took for the program to call Reset() and resume. Overhead time is the total time minus the sleep time.
Here is where the programs will measure differently. My program times how long the sleep call takes and that is what is subtracted from the overall time. For Craig's program, I felt it unnecessary to try and time the amount of time it sleeps, so I just subtract the amount it should have slept. This will give an error of about 100 us.
The performance tester is compiled with the RPM (i.e. sh scripts/buildRpm.sh).
For one run of each tester, with the reset occurring after half the timer has elapsed these are the results:
Craig's Program:
---------------------------- Testing 400 microseconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 306 us
Overall Time: 1182 us
Overhead Time: 782 us
---------------------------- Testing 3 milliseconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 3234 us
Overall Time: 6524 us
Overhead Time: 3524 us
---------------------------- Testing 1 seconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 187 us
Overall Time: 1000464 us
Overhead Time: 464 us
My Program:
---------------------------- Testing 400 microseconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 18 us
Overall Time: 1188 us
Overhead Time: 674 us
---------------------------- Testing 3 milliseconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 4 us
Overall Time: 3306 us
Overhead Time: 150 us
---------------------------- Testing 1 seconds ----------------------------
Creating Alarm Clock
Starting clock and resetting
Waiting for the clock to expire
Results:
Reset Time: 4 us
Overall Time: 1000292 us
Overhead Time: 139 us
I will be conducting more of these tests (varying the times and the time the reset is called).

Closing PR. I'll create a new one once I have John's code implemented.


[WebToolsE2E][Aspire] The description for changing the display language is not localized when changing the localization.

INSTALL STEPS

Clean machine: Win11 x64 23h2
Install VS 17.12 P4 VAL (with Aspire 9.0.0)
Install latest Aspire 9.1.0-preview.1.24611.1

REPRO STEPS

Create .NET Aspire Starter App > .NET 9.0 (Standard Term Support) > Create
Build and F5
Click settings in Aspire dashboard > Change localization

ACTUAL
The description for changing the display language is not localized when changing the localization.

EXPECTED
After changing the display language, the "Language" tag and description should be localized.

Closing, as we are going to merge a dotnet-bot PR checking in localizations.

Verify that this issue has been fixed in the latest Aspire 9.1.


Moving MySQL container to multiple replicas powered by Orchestrator

Using this resource... It seems helpful: https://at-ishikawa.github.io/2021/11/07/getting-started-with-mysql-orchestrator/

Canceled.


How to correctly obtain streaming output from Triton using gRPC?

I am using the Triton 23.08 image, and I can get the correct response from the HTTP client, as well as a complete response from the gRPC client. However, I would like to know if it is possible to obtain streaming output while having both decoupled and inflight_fused_batching enabled at the same time? I used my own gRPC streaming client and encountered the following error in Java:
io.grpc.StatusRuntimeException: UNIMPLEMENTED: ModelInfer RPC doesn't support models with decoupled transaction policy
	at io.grpc.Status.asRuntimeException(Status.java:539)
	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:478)
	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:563)
	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:744)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Alternatively, could you provide an example of how to correctly obtain a streaming response in Java?

Seems like you might have to try ModelStreamInfer RPC
https://github.com/triton-inference-server/common/blob/adef772f65153ef28619cf9405c08198910f2640/protobuf/grpc_service.proto#L77C1-L92C4


Fix various issues with current PoC aka dev

[x] /index/ rendered -> should return 404
[x] /de/index/ rendered -> should return 404
[x] index partials show up within sitemap -> workaround added (custom sitemap template)
[x] index partials show up within sitemap -> native hugo solution similar to '_index' for multiple files
[x] index partials create rss index -> workaround added (custom rss.xml template)
[x] index partials create rss index -> native hugo solution

Most of these hang on the implementation of https://github.com/spf13/hugo/issues/2830

Workaround via data files. Not as nice to setup, but it works.


feature(apiTicket): ticket url database

What I did

Server updates
Adjusted the server/routes/index.js to a new pattern
Added a /view/Ticket.js and /model/Ticket.js

How to test

Install all the necessary dependencies
Go to /server and run nodemon or node . on the terminal
To teste access localhost:3001/admin/ and access the KeystoneJS
Go to section Link Ingressos and add a new URL
If the database works, you must see it at `localhost:3001/api/ticket

Working!


fix spellings and typo

This pull request addresses and corrects grammatical and spelling errors throughout the codebase to improve code readability.
The changes include fixing typos, punctuation, and ensuring proper sentence structure without introducing functional modifications.
These updates are intended to enhance the quality of documentation and code comments.
The focus is on making the codebase more polished and user-friendly by eliminating language-related issues.

@wangtaohz please review !

Thanks for your work!  👍
But I think index-bakl.vue is an deprecated file (the current file in use is index.vue), and we can delete this deprecated file directly in this PR.
BTW, are you interested in participating in the frontend development of Amoro?  There are some frontend issues that can help you start contributing to the community.

If the index-bakl.vue is an deprecated file, I think we can delete it in this PR  @wangtaohz @iamahens

@iamahens  Are you still working on this PR?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: iamahens:x: baiyangtxYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: baiyangtx:x: iamahensYou have signed the CLA already but the status is still pending? Let us recheck it.


Add new Cypress tests verifying the behaviour of Back button even after page reload

As mentioned in https://github.com/kiwicom/smart-faq/issues/685#issuecomment-415830624

[x] when on Sign In page, it should go to the homepage
[x] when on Login via Kiwi.com email & password page, it should go to Sign In page
[x] when on Forgotten password, it should go to Login via Kiwi.com email & password page
[x] when in the FAQ category, it should go one level up in categories
[x] when in FAQ article, it should go to the category to which the article belongs
[x] when in FAQ article displayed from search, it should return to search

:tada: This issue has been resolved in version 1.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


config(prow/prow): execlude old review labels when create cherry-pick PR

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/approve


Fix naming for NewType and NamedTuple

A few unit tests were failing.
In Python 3.10, NewType is now a class rather than a function. See details here.
Also going to start use repr for Python 3.10.  New PR to address that issue (https://github.com/apache/beam/issues/20982) is coming soon.

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

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

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

GitHub Actions Tests Status (on master branch)

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

R: @AnandInguva


[Retiarii] support debug mode for easy debuggability

[x] support local debug mode. This mode only runs one trial locally, specifically, it applies mutators (default to choose the first candidate for the choices) to generate a new model, then run this model locally.
[x] make strategy the main thread for easily debugging user customized strategies
[x] update doc accordingly

My major concern is that the feature is split into two modules, experiment and strategy, which increases the complexity and in my opinion, is unnecessary.
LocalDebugStrategy IS a strategy, so it seems intuitive to create a normal experiment with that strategy. But that's not the expected way to use it. Similarly, user may set a strategy before invoking local_debug_run(), and the strategy will be silently ignored.
Since current RetiariiExperiment API hides strategy.run() from end user, my suggestion is to define a "local debug experiment" and put all logic into that class. And in case we changed experiment API to let user invoke strategy.run() directly, I would suggest to make it a static method.

My major concern is that the feature is split into two modules, experiment and strategy, which increases the complexity and in my opinion, is unnecessary.
LocalDebugStrategy IS a strategy, so it seems intuitive to create a normal experiment with that strategy. But that's not the expected way to use it. Similarly, user may set a strategy before invoking experiment.local_debug_run(), and the strategy will be silently ignored.
Since current RetiariiExperiment API hides strategy.run() from end user, my suggestion is to define a "local debug experiment" and put all logic into that class or function. And in case we changed experiment API to let user invoke strategy.run() directly, I would suggest to make debug mode a static method.

good points. To me, the current interface is the most convenient as it only requires changing one line of code.


Filter Checkboxes

G'day,
Unsure if they new logic applied to the checkboxes to have them alternate check-all/check-one to show what you are filtering works quite well tbh, I understand it would have been applied to check all by default to SHOW what is the default view, however perhaps an ALL button on the side would be best to show the default state so when we check the element/weapon type it can still function more intuitively.
Appreciate the work gone into the UI and backend of the sims so far.

Reset is essentially the all button, will consider adjusting this to be more intuitive later


RbNaCl::SecretBuffer backed by sodium_malloc

libsodium 0.7.0 adds sodium_malloc(), sodium_allocarray(), and sodium_free() which manage buffers with guard pages, along with sodium_mprotect_noaccess(), sodium_mprotect_readonly(), and sodium_mprotect_readwrite() for changing memory permissions.
Given these primitives, it should be possible to construct an RbNaCl::SecretBuffer for managing things like keying material (and potentially plaintexts) which keeps buffers off-heap and preferentially marks them as PROT_NONE when they're not in use.
Full libsodium 0.7.0 release notes

@tarcieri would you be interested in moving this onto encrypt.io, I've been wanting to get this going on a good open source project.


ACM- 13528-Application-list-'System'-can-vary

Signed-off-by: John Swanke<EMAIL_ADDRESS>

/test unit-tests-sonarcloud

/test console-acm-212-on-pull-request

/test console-acm-212-on-pull-request

/test console-acm-212-on-pull-request

/lgtm

/hold

@jeswanke I tested this out and it works well, but it looks like we should keep open-cluster-management in the list of prefixes and add the RHACM installation namespace as well, because some components have a static installation namespace.

/retest

/lgtm

/cherry-pick release-2.12

/test console-acm-212-on-pull-request

/unhold


feat(client): New "npx electric-sql proxy-tunnel" command

@alco this builds on your WIP alco/pg-proxy-over-websocket branch
To connect to the service, and create a local proxy tunnel:
npx electric-sql proxy-tunnel --service http://something --local-port 65431

then to run migrations:
yarn run -s pg-migrations apply --database postgres://postgres:proxy_password@localhost:65431 --directory ./db/migrations

and the generator:
npx electric-sql generate --service http://localhost:5133 --proxy postgresql://prisma:proxy_password@localhost:65431/electric

@samwillis I have tested this on my machine and it works flawlessly. I have only one concern: it takes upwards of 30 seconds before it starts listening on the local port. Am I running it wrong when I execute npx --no-install electric-sql proxy-tunnel inside clients/typescript?
Code-wise, is there anything blocking this from getting merged into main?

No need for the --no-install, if the user has a project with the electric-sql package installed npx electric-sql proxy-tunnel will use their installed version when run within the project. My guess is that --no-install is making it slow for you.
All ready to merge when #738 is 😄


Unpin more-itertools (currently: <9)

Would it be possible to bump the max version of more-itertools to <10? I believe the breaking changes will not affect this package as pairwise is unaffected:
https://github.com/more-itertools/more-itertools/pull/647

We should probably remove the upper bound entirely:
https://iscinumpy.dev/post/bound-version-constraints/


mcr.microsoft.com/azuredocs/aks-helloworld:v1 DOES NOT WORK

mcr.microsoft.com/azuredocs/aks-helloworld:v1 DOES NOT WORK

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

ID: fd0e7d5a-37e9-07dc-f395-9cb5bb580e45
Version Independent ID: 7e4faf70-9724-7e7b-832b-1cd99a974920
Content: Create an ingress controller in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/ingress-basic.md
Service: azure-kubernetes-service
Sub-service: aks-networking
GitHub Login: @asudbring
Microsoft Alias: allensu

@jvargh-msft
Thanks for your feedback! We will investigate and update as appropriate.

@jvargh-msft - It looks like the path changed to the Hello World artifact. The path is - mcr.microsoft.com/mcr/hello-world:v1 or :v2. I'll file a bug and get the article updated this week. I just tested it and can confirm the new path to the image.

@jvargh-msft
Can you elaborate your query clearly so we can be able to assist you.

Image doesn't show is the issue using mcr.microsoft.com/azuredocs/aks-helloworld:v1.
There was a suggestion to use mcr.microsoft.com/mcr/hello-world:v1 which results in Back-off pulling image

#reassign:schaffererin

Hi, @jvargh-msft, thank you for your feedback. I just tested the deployment from start to finish and experienced no problems. Images showed for my external ip and my external ip with aks-helloworld-two attached to the end. Since the doc itself has no errors, I will close this GitHub issue. Thank you again!
#please-close

I am also facing the same issue

This image does not exist on MAR anymore, is there a latest image without vulnerabilities?
docker pull mcr.microsoft.com/azuredocs/aks-helloworld:v1
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/azuredocs/aks-helloworld:v1
Error response from daemon: manifest for mcr.microsoft.com/azuredocs/aks-helloworld:v1 not found: manifest unknown: manifest tagged by "v1" is not found

@sanjivdoshetty
This article has been archived and is no longer being updated.  We recommend you use a different solution for ingress in AKS.


Choosing tokenizer version

I can't find any documentation about how to specify the "1.0.2" version as the version of the tokenizer to use for de-de. There is no such option in the UI and the json schema for a LUIS app doesn't include a tokenizer field https://github.com/microsoft/botbuilder-tools/blob/master/packages/LUIS/swagger/LUIS-Authoring.json#L8500

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

ID: c94ecde6-4f10-1d4f-03f3-7759e139dd53
Version Independent ID: 9daf9e87-fc95-3330-c93c-3fa43c9936db
Content: Language support - LUIS - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-language-support.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

@marawanshalaby Thank you for pointing that out. That will be fixed. #47021
The only place to specify it is in the app.json field - then import the app.json.
tokenizerVersion parameter
#in-progress

hey @diberry thank you very much for your prompt response. Quick followup, I usually use an .lu file for my raw utterances, then in my pipeline, I convert it to the .json file using ludown/bf-cli . Is there a way to specify the tokenizerVersion parameter in the .lu file or during the conversion with ludown or bf-cli? I don't see it in the lu file spec and I have checked the help for the ludown parse toluis and bf luis:convert and I can't find it there either. Is it only possible to specify it manually?

@marawanshalaby That is a great suggestion. Can you please open an issue in the bot framework tools GitHub repo for this?

Done: https://github.com/microsoft/botframework-cli/issues/550 . Thank you

Resolved #please-close

not sure if this is actually resolved, the documentation hasn't been updated yet in either the english https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-language-support#migrating-between-tokenizer-versions or german version: https://docs.microsoft.com/de-de/azure/cognitive-services/luis/luis-language-support


⚠ Bofrost.at has degraded performance

In f3d39e1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1123 ms

Resolved: Bofrost.at performance has improved in 3c52a37 after 46 minutes.


oh: init at 2015-11-21

The oh shell: https://github.com/michaelmacinnis/oh
I've been away for a while, but will start working on my other PRs.

cc @wkennington any idea who I should ping for reviewing goPackages?


Support beepcaps

I honestly think if I can get a short tone to be timed with the caps,
that would be ideal for my use, now I think I got an idea how to do
this, along with the chunking change, we cna add a chunk at all caps
and then before you queue the next bit, if it starts with a cap you
do a beep using tones

There is a more straightforward way to do this, you can insert custom embeds that then let you callback whatever you want (a beep) at that time, that is how this should be added.

So, not sure if I am going to implement this, it is doable but requires me to split the Utterances on Uppercase, then do sort of a look-ahead to the next utterance and decide if I am going to play a beep, there is no nice way to do this really... Closing for now, might reopen later.


Version numbers in 3 places

There are version numbers in 3 places, I intend to fix this by refactoring into a module structure, and just want to be sure @crccheck and @tmclaugh are aware.

There's a make version to facilitate maintaining version number. It's an unusual pattern, but I found I like it because:

I really hate it when I open setup.py and I can't see a version number
I also really hate import magic to get the version from somewhere else into setup.py
all the other python ways I've seen of maintaining versions are more verbose ways of doing sed. Just because it's a Python project doesn't mean it has to be 100% Python.

Some things I would change if I had to do it over again:

have a VERSION file. This makes it easy for external tools to just cat VERSION to get the version
import version from leadbutt into plumbum. Because those two versions are linked, it's more explicit to see that import statement to mean: match versions
add an os check to use gsed instead of sed on OSX because BSD sed is different.


Setting up RAID for iso / installing on multiple drives

So I see in the README it says: "An unattended Anaconda installer that installs to the first disk found.".
I have a server with 5 HDD's that I have setup in RAID5.
Any tips / direction of using the unattended iso installer and be able to specify using raid?

With #438 you'll be able to write a custom kickstart file to match the storage layout you want (or make the installation interactive).


Feature request: Single file

Using a single file for the solution would help existing projects to adopt the solution, mainly due the OTA operations

My case is:
I use OTA to upgrade the device.
My files are in a app folder where I install all .mpy files. Keep it simple!
4G connection are not free
Less files = less data traffic, less RTT, smaller error surface. Devices are deployed in Brazil and sometimes in weak signal reception.
Less files is easier to manage than more files, not to mention several subfolders.
That's it

So of your reasons, I think reducing RTT and increasing download simplicity are legitimate. What does your entire pipeline look like? Do you pre-compile the python files to mpy on a server prior to pushing/pulling from a device?
There are just some maintenance obstacles on my side to providing a single-file download.

hum.
This is not allowed in MP
self._input_buffer = deque(maxlen=self.max_pattern_size)

I did all my tests using the compressor version (no viper in CPython) and all went well until I move it to the ESP32

I'll definitely adopt the library. Simple, already fast enough for my performance requirements and good compression rate.
Cheers

I'll see if I can tweak the reference implementations to work on micropython. the deque issue has actually been solved in my c branch (primarily just by including the more fully-featured deque from https://github.com/micropython/micropython-lib/pull/440). Give me a few days to wrap up the c implementation (the code changes have becomes a bit sprawling) and then I'll get back to this.
Glad you'll be adopting the library! Please let me know of any other issues/features you'd like as you use it.

btw, not sure if you've given it a try, but consider trying to use belay for managing your dependencies/micropython-venv, it sounds like your project may benefit from it.

I tried to compile the viper version and got this error.
As I never use these advance features, I have no idea what is wrong. If you could give me some hint...
$ mpy-cross -march=xtensawin ./utamp.py
Assertion failed: (vtype_val == VTYPE_PYOBJ), function emit_native_store_attr, file ../py/emitnative.c, line 1713.
Abort trap: 6

can you explain your environment more? The following commands (mostly) worked for me with a freshly compiled mpy-cross from micropython tag v1.20.0:
$ mpy-cross -march=xtensawin ../../tamp/tamp/__init__.py
$ mpy-cross -march=xtensawin ../../tamp/tamp/compressor_viper.py
$ mpy-cross -march=xtensawin ../../tamp/tamp/decompressor_viper.py
ERROR: xtensa bccz out of range

I suspect the error from compiling decompressor_viper comes from the program being slightly too large for viper. I've only previously tested with the pi pico, which is barely just fit. I will optimize the implementation soon to fit for the xtensawin arch.

so I investigated it a tiny bit, and basically there's too big of a jump in the code for the xtensawin target. I'll try and rearrange some code so that the jump is smaller (without impacting performance too much)

@Tangerino I have released a new version (v1.0.3) that has a reduced viper decompressor implementation size that now successfully compiles for xtensawin targets. I haven't explicitly tested on an ESP32 device, but it should all work.
If this all works for you, I'll then close this issue.

@dpgeorge for completeness, I don't believe this is any issue with Viper. It's just that xtensawin can only handle an 11-bit jumps (the code says 12 bits, but I'm pretty sure it's really only 11 bits), while the rp2 (my primary test device) can handle 23-bit jumps (I think)? Something along those lines.

I don't believe this is any issue with Viper. It's just that xtensawin can only handle an 11-bit jumps (the code says 12 bits, but I'm pretty sure it's really only 11 bits),

Yes that makes sense, that xtensawin has a limited jump range for conditional jumps (12-bit signed, so 11-bits in each direction).
In principle it should be possible to have a longer jump, eg by doing a short, negative conditional jump over a longer jump.  But if you can work around it with your code, that would be preferred.

yup! no issues here, was able to work around it (and make my code a little more efficient 😎 )! Thanks for the clarification on the 11/12 bits!

@Tangerino to celebrate 1 year of this issue, we now have micropython native modules published to releases. This should meet your single-file desire, but each file is platform/micropython-version specific. Please give them a try!


Team passwords are stored in plain text

The team passwords are stored in plain text. The user passwords are properly hashed.

This was a design decision. Having team passwords in plain text prevents users from forgetting their team password after registration as it is displayed on the team page. We argue that convenience is worth the small security trade-off. Note that you can not do anything harmful to a team by knowing the password.

Okay, thanks.


Port Tunernome

Summary
What is the feature all about? Is it a game, a utility, an enhancement, or something else?
Tunernome, now in IDF 5.0!
How to Test
How can we verify the feature is working?
Run side-by-side with a 2023 Swadge

JSYK I had to tweak this a tad to be stereo buzzer friendly


Run a Maintainer Activity Report for Besu Repositories.

Can I get a maintainer/contributor activity report for the besu repositories?  The one that lists last active dates.  From 22 Dec 2021 to present in case a time range is also needed.
Critical Repos -

https://github.com/hyperledger/besu
https://github.com/hyperledger/besu-docs
https://github.com/hyperledger/besu-native
https://github.com/hyperledger/homebrew-besu

@shemnon how does this look?
the raw-ish data is in the repo.


Super app ... best GPU?

Hi ... thank you for the amazing app ... I have a Laptop with RTX 3070 / 8Gb running Suse Tumbleweed ... can you suggest an external GPU for best performance/GPU price? ... many thanks, Stuart

Hi, @stuartn60 , thanks for your attention to our work! I'm also unsure which GPU offers the best performance at a lower price. Generally, an NVIDIA GPU with more than 14GB is sufficient.


uVision project cannot build

Sorry, this issue is about mbedmicro/FlashAlgo, and has been moved to https://github.com/mbedmicro/FlashAlgo/issues/22
My env:
Python 2.7.12
progen 0.9.2
Keil MDK 5.17
ARM Compiler 5.06 update 1 (build 61)

As the README.md says, execute cmd:
$ progen generate -t uvision

then open project projectfiles\uvision\lpc4088\lpc4088.uvproj, try to build the target, log shows:
Build target 'lpc4088'

then MDK UV4.EXE collapses.
anything wrong?

Hi @RdaZhongyao, were you able to resolve this problem?

have resolved, see https://github.com/mbedmicro/FlashAlgo/issues/22