failed to create occlum docker image

Unable to find image 'rune-test:alinux2' locally
12
docker: Error response from daemon: pull access denied for rune-test, repository does not exist or may require 'docker login'.
13
See 'docker run --help'.
14
Error: Process completed with exit code 125.

https://github.com/alibaba/inclavare-containers/pull/834/checks?check_run_id=2424578518

@liying-000 Please track this issue.

This problem should run in the occlum docker images. However, the runner 21 host environment doesn't have the corresponding occlum docker images. So please fix it manually @haosanzi. FYI @jiazhang0

rune-test:alinux2 does not exist in the new vsgx cicd machine. I have manually pulled this test image.


Image Cropper for Adding to slider in laravel backpack

# Image Cropper for Adding to slider in laravel backpack.
I'm using Laravel Backpack for admin panel and made "slider_photo" crud manager. I want to make a Image Cropper when uploading image in "slider_photo" table to giving them specific size.

That's what the docs are for 😊
https://laravel-backpack.readme.io/docs/crud-fields#section-image
Although if you need any extra image manipulations then you can do that using laravels accessors/mutators!


Comparable PixelShuffle functionality?

Is there a way to add a bespoke layer?  In particular, I am trying to reproduce a torch model that has a PixelShuffle(2) layer embedded in a nn.Sequential() call.
What would be the best way to do that?

You can write a module that has the functionality you want, and use it in your bigger model. Like https://github.com/patrick-kidger/equinox/issues/809#issuecomment-2303854615 for example


GrNet produces NaN entries in input tensor

Hi! First of all, really appreciate you guys taking the time to build a much required riemmannian geometry based package in tensorflow. It is proving to be quite useful for me.
However, I recently ran the [GrNet code] (https://github.com/master/tensorflow-riemopt/tree/master/examples/grnet) with the AFEW dataset(the default dataset used in the code) on my machine and it seems at some point the input tensors get filled with NaN values. I tried tinkering with the learning rate and a few other usual things that could determine the cause of such NaN value in a dl model but it seems to be of no use. Any idea as to why this might be the case- is the code still been checked for bugs or am I missing something? Thanks in advance!

Hi @SouvikBan, were you able to get past this issue ?


Icon file-search not found

Hey @rochmadnf ,
Can you kindly tell me which version of the package are you using ?
That will allow me to help you better.
Also try
php artisan icons:cache

Hey @rochmadnf ,
Can you kindly tell me which version of the package are you using ?
That will allow me to help you better.
Also try
php artisan icons:cache

I'm using the latest version.
I have check that file in resources folder of the package and I don't found the SVG file of that file

I guess you must have referred to blade-ui-kit.com to search for the icon
https://blade-ui-kit.com/blade-icons?set=36&search=search#search
The package version on the website is still 1.5.1 which maintains phosphor-icons 1.* series
you can simply downgrade the package to below version to make use of the icon.
        "codeat3/blade-phosphor-icons": "^1.3",

If you want to continue using phosphor-icons 2.* icons
you can simply use file-magnifying-glass instead of file-search.
They renamed file-search to file-magnifying-glass
Refer: https://github.com/phosphor-icons/web/releases/tag/v2.0.0 to find similar renames if you face issues with other icons.

I guess you must have referred to blade-ui-kit.com to search for the icon https://blade-ui-kit.com/blade-icons?set=36&search=search#search
The package version on the website is still 1.5.1 which maintains phosphor-icons 1.* series you can simply downgrade the package to below version to make use of the icon.
        "codeat3/blade-phosphor-icons": "^1.3",

If you want to continue using phosphor-icons 2.* icons you can simply use file-magnifying-glass instead of file-search.
They renamed file-search to file-magnifying-glass Refer: https://github.com/phosphor-icons/web/releases/tag/v2.0.0 to find similar renames if you face issues with other icons.

ah. ok, thanks a lot for your help.


Publish Stage

Assets page: Reorder categories, limit price change to 1 decimal
Hardcode lockable durations param
Token Info: show swap tool on mobile/tablet (responsiveness)
Tests and other end-user invisible changes
Swap tool

when selecting a from token that matches the to token and vice-versa, swap the assets in the swap tool

Swap tool

do an exact search for coinMinimalDenom first, if empty, continue the search for symbol / name
some examples to test with:
milkTIA - factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA
YieldETH - ibc/FBB3FEF80ED2344D821D4F95C31DBFD33E4E31D5324CAD94EF756E67B749F668
ROAR - ibc/98BCD43F190C6960D0005BC46BB765C827403A361C9C03C2FF694150A30284B0
Revert fee subtraction from token out in favor of SQS response

@p0mvn are we unblocked now? There's a UI fix with the category dropdown in assets page I'd like to get out

Marking draft to do a coordinated release with SQS cc @p0mvn @MaxMillington


Add a do autocompletion

For some clients typing do will result in autocompletion which is typically not what the developer wants, an example autocompletion is defoverridable. So this PR works around that by adding do as an autocompletion when the exact text entered is "do".
I'm curious if anyone has any better/different ideas on how to solve this.

Talk about a timely issue.  Was just going to look this up!  defoverridable is the bane of my existence right now.

Unfortunately that's one of the cons of fuzzy matching

It would be nice if it also indented, so insert_text: "do\n$0\nend" probably needs to be insert_text: "do\n\t$0\nend"

@nshafer I experimented with that a bit, but correct indentation will depend on how indented the original code is which won't always be a single level. We might be able to add some more smartness in the future but I'm not sure what form that would take.

Ahh, I figured that since the carriage return results in the cursor being on the same line as whatever started the do, I thought just adding one \t would then indent whatever amount the user has configured for that file. I've had this User Snippet for a month or two now, and it seems to work reliably. Of course, it's probably totally different in the language server.
	"do_block": {
		"prefix": "do",
		"body": [
			"do",
			"\t$0",
			"end"
		]
	}


Fix dependencies + start working on the docs

Hi,
I added base58 to dependencies and removed some inconsistencies from the docs.
In future PRs, I'd like to add docstrings so that autodoc can help fill the API reference section of the docs, as well as start implementing IPLD features for the project.
PS: Do you know what's up with the morphys==1.0 dependency? My environment can't quite find it unless I run pip install morphys==1.0 manually, be it in virtualenv or my global environment.

Thanks for this PR. I will take a look at the morphys dependency. I have a bunch of stuff which is not pushed here, I think that would be a good opportunity to collaborate. How about we get on a call sometime this week?

Hey, after some snooping around, I think my problem with morphys isn't particularly tied to this dependency. When I added base58 to requirements in setup.py, python setup.py develop started complaining about base58 instead.
About the call, sounds awesome! 🙂 Let's move over to e-mail to talk details (I'm writing a message to dhruv (at)  as seen here)


Build broken on OS X cinder 0.8.6?

Great project – I've been looking for a glTF reader!
I'm having trouble getting the sources to build with cinder 0.8.6. Most of the issues are missing cinder header files like GeomIo.h, MayaCamUi.h, but also namespace issues and naming (ci::vec3 for example). Does this build with a specifc earlier version of cinder?

This block is meant for the cinder glNext branch which is now known as 0.9.0 and should be the main branch.

Ok. Thanks for the info, I'll try it out.


Enhancements needed for using templ inside a Wasm environment

Hello, a while back I promised to check back with findings on trying out templ inside a Wasm environment. So here are my findings:
Preface
Use Cases
Most of us coming from Go have the notion of Go as a backend language but when using Wasm things are totally different.
We now have a backend and platform agnostic frontend language and as such we can in theory use Go as a type safe compiled language in all browser environments with a few considerations. So the most viable use cases are as a web frontend for a fully fledged computer application, since in a localhost environment bundle sizes of 10MB+ do not matter.
Examples
So I mentioned Wasm being agnostic of the backend means that you can use it inside a QT web view, Wails, possibly even Tauri or Electron if you wanted since with the net/http package and encoding/json you can communicate with all backends amicably. This opens up a wide array of possibilities, since the only real integration with the backend that your Wasm frontend needs is the same definition of the data model.
Workflow
While experimenting I used wails as a backend but found that while developing your frontend this is not the best approach since you don't want the extra overhead on the turnaround times that wails introduces, but simply using vite or any other capable development server is preferable, since the only thing we need is something that will give us access to our assets and data.
Problems

Event Handling
Build tags

Event Handling
In wasm you basically have two choices for event handling:

You can wrap a go function call so it can be called from Javascript

js.Global().Set("myGoFunction", js.FuncOf(func(this js.Value, args []js.Value) interface{} {
	myGoFunction(parameters...)
	return nil
}))

or you can call javascript to handle events there.

templ
Assumptions
in templ it is assumed that the html is created by the server which means that all the scripts that we create and special constructs like the script directive in templ templates are correctly evaluated and executed.
Reality
Component wide the html gets delivered in a string builder and then set to the components html element with a snippet like this:
document := js.Global().Get("document")
element := document.Call("getElementById", "result")
component := app("John")
sb := new(strings.Builder)
component.Render(context.Background(), sb)
element.Set("innerHTML", sb.String())

This way the containing script will not be evaluated which renders most JS examples in templ.guide useless.
So the only way to make it work is by applying the script separately like so:
htmlString := stringBuilder.String()

// 1. Get the container element (assuming it has id "myContainer")
container := js.Global().Get("document").Call("getElementById", "myContainer")

// 2. Set the main HTML structure using innerHTML
container.Set("innerHTML", htmlString)

// 3. Create and append <script> elements
for _, script := range scripts {
  scriptElem := js.Global().Get("document").Call("createElement", "script")
  scriptElem.Set("textContent", script) // The script content
  container.Call("appendChild", scriptElem)
}

Issue
I have not found a way to construct a javascript call dynamically like
<button onclick="myClick(this,{name})">Click me</button>

The quotation marks keep the variable from being evaluated and single quotes don't work either. I could be wrong but I don't see any way how to dynamically create parameters to give context to an event besides looking for custom attributes in the event target element.
If that is by design and intended forgive my ignorance but since JS conversions are costly I thought a string based approach would be much more practical especially when you consider that the receiver might be a fantastic javascript library that does not know anything about your custom data attributes.
Build Tags
To be able to use syscall/js package one has to specify build tags like so.
//go:build js && wasm

In a wasm environment it is totally acceptable and even a crucial feature to use other go files in the same package space as the generated template files to host utility functions and generally not pollute the template with lengthy code.
But this is only possible when they both share the same build tags also imports won't work if they don't share compatible build tags.
So when generating the go file build tags must either must be respected or if that is a problem at least there should be a command line flag like
templ generate -magiccomment "//go:build js && wasm"

that prepends the build tag separated with a newline from the "Do not edit" comment.
tldr;
Go, traditionally a backend language, takes on a new role in the WASM environment. It becomes a platform-agnostic frontend language capable of powering rich web applications. This shift opens possibilities for using Go in various contexts, including:

Web frontends: For complex applications where performance and type safety are crucial.
Desktop applications: Integration with frameworks like QT Webview, Wails, Tauri, and Electron.
Hybrid environments: Combining Go's strengths with existing JavaScript ecosystems.

Development Workflow
While frameworks like Wails offer integrated development, a simpler setup with tools like vite can be more efficient for frontend development. This approach focuses on rapid iteration and asset management.
Dynamic JavaScript Calls
Constructing dynamic JavaScript calls with templ is problematic due to quotation mark escaping issues. This limits the ability to pass context to event handlers, potentially hindering integration with JavaScript libraries.
Finding a way to manage javascript in a centralized way would be beneficial for everyone using templ since that would solve innerHTML issues and improve JS Code organization. I will not propose a solution since this is out of scope of this writeup.
Build Tags
Using the syscall/js package requires specific build tags: //go:build js && wasm
This poses challenges when:

Sharing utility functions: Go files containing utility functions used by templates need identical build tags.
Managing imports: Imports require compatible build tags. An added benefit is future proofing for tags not yet introduced by the Go Team.

Proposed Solution
Introduce a command-line flag to templ for specifying build tags in generated files:
templ generate -magiccomment "//go:build js && wasm"

This would prepend the specified build tag to the generated Go files, ensuring compatibility and code organization.
Conclusion
Addressing these issues will enable templ's usability in WASM environments, allow developers to leverage its strengths for building complex and interactive applications, with the added benefit of not having to deal with javascript focused build steps (node modules, dependency issues)
P.S. Apologies you were right about the watch flag causing the problems in my last issue :)

Thanks for compiling your research into such a well written report. I'll take a read through, but want to give it the proper thinking time rather than rushing it, so won't be in the next couple of days.


Pylint throws a lot of deprecation warnings

Describe the Bug

The pylint output is barely readable since the last update
Steps to Reproduce
./dev-tools/pylint.sh
Expected Behavior

Readable output
Actual Behavior

A ton of these warnings:
pylint: Command line or configuration file:1: UserWarning: Specifying exception names in the overgeneral-exceptions option without module name is deprecated and support for it will be removed in pylint 3.0. Use fully qualified name (maybe 'builtins.Exception' ?) instead.

Additional Information

A first step would be to silence this warning.
We could also think about changing the code how pylint suggest (naming the whole module path when raising exceptions)...

Apparently, this was implicitly fixed by 388fa6a833b6f08d3ac60fe2ff4fb575d6c7cc2e.


bz#2073297 - Sendgrid mails now have PVC name and namespace, multiple alerts in same email

The same email will now have details for the same type of alert specifying details for different components
The email format is as follows:

Hello!

This notification is for your OpenShift managed cluster running OpenShift Data Foundation.

The utilization of the PVC in your cluster has exceeded 75%. Please free up some space or expand the PVC if possible. Failure to address this issue will lead to service interruptions for the cluster.

* Namespace: openshift-storage
* Name of PVC: ak-test-pvc

* Namespace: openshift-storage
* Name of PVC: ak-test-pvc1

* Namespace: openshift-storage
* Name of PVC: ak-test-pvc2

If you have any questions, please contact us. Review the support process for guidance on working with Red Hat support.

Thank you for choosing Red Hat OpenShift Data Foundation,
ODF SRE

Signed-off-by: akkhanna<EMAIL_ADDRESS>

/hold

@akshayashu  Why do we have separate variable for separate alert?
The script will be parsed once for each alert, so I think we can have a single variable that can be used to break the loop.

@bindrad You're right, will update this too.


Add support for ingesting older iceberg snapshots

Description

This patch introduces a param snapshotTime in the iceberg inputsource spec that allows the user to ingest data files associated with the most recent snapshot as of the given time. This helps the user ingest data based on older snapshots by specifying the associated snapshot time.
This patch also upgrades the iceberg core version to 1.4.1

This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[x] been tested in a test Druid cluster.

@cryptoe Thanks, I've addressed your comments.

Test failure due to : https://github.com/apache/druid-website/pull/252


Report events when switching servers

This should help us understand whether users are
able to recover from server reachability failures.

This conflicts with #195, so I'm going to withdraw this and we can reconsider what events make sense after that change is complete.


first

@ryuutamaehara Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Just whitespace? No description in log, so assuming this is spam.

Excuse me. It is a misoperation.


Digital Ocean spaces - update to use defsec

Create Digital Ocean spaces adapter
Add "digitalocean_spaces_bucket" resource to the "digitalocean_spaces_bucket_object". A bucket resource is required by the object, and as such is used to classify which bucket the objects belong to.
Closes: https://github.com/aquasecurity/tfsec/issues/1256

Apologies @vanesasejdiu , another contributor has PRed the DO spaces/compute adapters here: https://github.com/aquasecurity/tfsec/pull/1246 :grimacing: Sorry about that!

@liamg yeah saw it a bit late. No worries


Support _selector syntax in pull replications

See #361
From the documentation, this feature is new in version 2.0 and is "significantly more efficient than using a JavaScript filter function and is the recommended option if filtering on document attributes only"

This library is now end-of-life and this issue won't be fixed.
This issue has been tagged EOL in case any forks want to import it.


Allow point-based features to take values rather than just counts

Currently, the point-based features functionality counts the number of features of a type on a particular segment, but we may want to take just a value (either most recent, or perhaps largest, or average? Depends on field type).
An example of where we might want to do this is in philly's volume data here: https://www.opendataphilly.org/dataset/dvrpc-traffic-counts/resource/13c61c65-8170-4bea-a219-a6ed172ba44f
Although Waze data might obviate the need for using this particular dataset, it's likely we might have other data sources that look similar, so I think this is a useful feature
Also this map is as a shapefile, rather than csv file, and we'd want to modify the data_standardization step to handle shapefiles (and update how we do the configuration file to handle these sorts of formats for point-based data).

Hi, I'm not sure how to assign myself, but I am starting work on this!

Hey Chris, have you accepted the invitation to join yet?
I just tried but still can't assign you, the invite may be the reason.

I just accepted the invite and assigned myself.


feat(playground): display referenceId in symbol tab

#2790  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


How to pre-create a FFmpeg process？

Version information

fluent-ffmpeg version:^2.1.2
ffmpeg version: N-92356-g89a0d33e3a
OS:windows

Code to reproduce

spawn('ffmpeg', args)

My question
I want to generate the FFmpeg process in advance, not at the time of cmd.run. Can you use fluent-ffmpeg to make a process pool？

Currently, no. But it's not clear what you're trying to achieve: what would a pool of "waiting" ffmpeg processes be useful for? Running ffmpeg without arguments exits immediately with an error code anyway.

Because when I now use it to transcode hls, it takes 3 to 11 seconds to generate the playback file m3u8 file. If you can pre-create the FFmpeg process as I did in the following code, do I not need to create the FFmpeg process when I request the transcoding interface, but instead send the value directly through the pipe
console.log('listening'); const args = ['-i', 'pipe:0', '-f', 'mp3', '-ac', '2', '-ab', '128k', '-acodec', 'libmp3lame', 'pipe:1']; for (let i = 0; i < 10; i++) { const ffmpeg = spawn('ffmpeg', args); pools[i] = ffmpeg; }

Currently, no. But it's not clear what you're trying to achieve: what would a pool of "waiting" ffmpeg processes be useful for? Running ffmpeg without arguments exits immediately with an error code anyway.

Because when I now use it to transcode hls, it takes 3 to 11 seconds to generate the playback file m3u8 file. If you can pre-create the FFmpeg process as I did in the following code, do I not need to create the FFmpeg process when I request the transcoding interface, but instead send the value directly through the pipe
console.log('listening'); const args = ['-i', 'pipe:0', '-f', 'mp3', '-ac', '2', '-ab', '128k', '-acodec', 'libmp3lame', 'pipe:1']; for (let i = 0; i < 10; i++) { const ffmpeg = spawn('ffmpeg', args); pools[i] = ffmpeg; }

Well then you can create fluent-ffmpeg commands each with a passthrough stream as their input, and then pipe your input into that when it's ready I guess


Add cuDNN new batch normalization

This PR adds support for new batch normalization interface introduced in cuDNN 7.4.1.
https://docs.nvidia.com/deeplearning/sdk/cudnn-release-notes/rel_741.html
cupy.cudnn.batch_normalization_forward_training_ex() returns an extra value "reserve space" that can be passed to the backward API for faster computation.
See also: https://github.com/chainer/chainer/pull/7620

Jenkins, test this please

Jenkins CI test (for commit 51a7decdeef4c6760bac4e0e6cda9898b080a58a, target branch master) succeeded!


chore(main): release 0.19.0

:robot: I have created a release beep boop
0.19.0 (2024-11-18)
✨ New Features

Added shrink items to navigation bar so the items can expand to fill the space and shrink (5a785f0)
UX-1096: Added shrink items to navigation bar so the items can expand or shrink. To match web (#210) (5a785f0)

🪲 Bug Fixes

add SafeArea to ZetaNavigationBar (#211) (aa7a1e4)
added shrink items to widgetbook (5a785f0)
breadcrumb now removes the items after the one that is clicked (d97440b)
breadcrumb select index (d97440b)
Changed font size of medium indicator from 12 to 11 (9f6ed48)
Extra verbose semantic label (9f6ed48)
hover color on navigation item (9f6ed48)
indicator semantic labels (9f6ed48)
intruduced a value listenable builder to handle hover and pressed states on breadcrumb item (d97440b)
made NavigationItem visible for testing (9f6ed48)
navigation bar semantic labels (9f6ed48)
removed active icon prop (d97440b)
rounded now affects breadcrumb icons (d97440b)
set navigation item highlight shape to rectangle (9f6ed48)
The icon that was passed in now shows on breadcrumb (d97440b)
truncated only hides any breadcrumbs over the maxItemsShown number (d97440b)
typo ";abel" => "label" (d97440b)
UX-1232: Breadcrumb Issues (#214) (d97440b)
UX-1315: Update license  (#208) (bfbfa23)
UX-1316: Update macro desciption (bfbfa23)

⛓ Dependencies

Update example app android dependencies (#212) (179c2cb)

🧪 Tests

added more tests for navigation bar (9f6ed48)
breadcrumb items are spaced equally (d97440b)
breadcrumb label and icon default colors (d97440b)
edited test to pass after merge (9f6ed48)
fixed debug fill props avatar (9f6ed48)
hardcoded offset (9f6ed48)
Navigation Bar (#213) (9f6ed48)
navigation item calls onTap when an item is tapped off center (9f6ed48)
ran test counter (9f6ed48)
Uncommented text contrast tests (9f6ed48)
writing tests for navigation bar (9f6ed48)
wrote content and accessibility tests (d97440b)

🧹 Miscellaneous Chores

automated: Lint commit and format (9f6ed48)
automated: Lint commit and format (9f6ed48)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.19.0
:sunflower:


aFreeRDP-windows local video transmission is very bad

Why is the video transmission effect of freeRDP's Android client (afreeRDP connect to windows10) so bad? It feels very unsatisfactory.

An issue tracker is not the place for complains, questions or talks. Use irc, or the mailing list for that.


psr/log dependency error

Laravel Version: 8
Adldap2-Laravel Version: 6.15
PHP Version: 8.0
LDAP Type: OpenLDAP

Description:
On fresh Laravel 8 installation, running composer require adldap2/adldap2-laravel I receive
- adldap2/adldap2[v10.1.0, ..., v10.3.3] require psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Did you ever find a solution for this? I have the exact same issue after upgrading from Laravel 7 to 8.

@bstorybinnys a workaround for this is to downgrade the PSR/log to version 1.


can't open .app file

If you try to open the .app file extracted from DevDocs-0.7.1-mac.zip:

But DevDocs-0.7.1.dmg somehow works.

I tried building this locally, it seems the original .app file works just fine but not the one extracted from .zip file:


[ERR!] Error: unexpected status code: 401 on: https://api.github.com/repos/Asana/DefinitelyTyped/branches/master

Unable to install type defenitions.
(64bit arch linux, shouldn't matter though?)

@pspeter3, I assume this repo is deprecated?

Yeah, we should put together a new one. I'm sorry @ComLock that this was misleading.

@ComLock, @pspeter3, @vsiao: I've been working on an updated starter project here:
typescript-starter →
Includes testing with code coverage, builds for Node.js and the browser, API documentation generation, and some other convenient tooling. Hope you find it useful!

That looks really well done!


Associations and "LOAD DATA" command

What version of Go are you using (go version)?
1.10.3
Which database and its version are you using?
Sqlite3 and Mysql 8.x
Please provide a complete runnable program to reproduce your issue. IMPORTANT
Please check the test repo available at: https://github.com/sniperkit/gorm-test/blob/master/main.go#L90-L98
Just switch to "mysql" to "sqlite" if you do not want to bother with a mysql database.
https://github.com/sniperkit/gorm-test/blob/master/main.go#L18
Issue description
Create/Update
I try to batch the insert/update the list of my starred repos into a persistent store, with gorm as orm, and I more especially, I try to get the topics defined by the repo's owner and to had some nlp extracted ones.
Test dump: https://github.com/sniperkit/gorm-test/blob/master/gh-starred.json
But when I specify that the tag name is a unique_index, I get duplicate entries errors.
// Star represents a starred repository
type Star struct {
	gorm.Model
	RemoteID    string   // `gorm:"index;"`
	Name        *string  `gorm:"type:varchar(255);" json:"name"`
	FullName    *string  `gorm:"type:varchar(255);" json:"full_name"`
	Description *string  `gorm:"type:longtext;" json:"description"`
	Homepage    *string  `gorm:"type:varchar(255);" json:"homepage"`
	URL         *string  `gorm:"type:varchar(255);" json:"svn_url"`
	Language    *string  `gorm:"type:varchar(64);" json:"language"`
	Topics      []string `gorm:"-" json:"topics"`
	Stargazers  int      `json:"stargarzers_count"`
	StarredAt   time.Time
	ServiceID   uint  // `gorm:"index;"`
	Tags        []Tag `gorm:"many2many:star_tags;"`
}

type Tag struct {
	gorm.Model
	Name      string `gorm:"type:varchar(255);unique_index;not null;"`
	Stars     []Star `gorm:"many2many:star_tags;"`
	StarCount int    `gorm:"-"`
}

(/Users/snk/local/golang/src/github.com/sniperkit/gorm-test/main.go:101)
[2018-08-01 11:29:58]  Error 1062: Duplicate entry 'stackexchange/distributed' for key 'uix_tags_name'

I made a couple of tests with associations but it sounds that I do not do it right.
Can you help me by providing some examples about some real-world use cases with gorm ? or maybe this one ?
If I manage to make this test repo to work, maybe we could create gorm-example repo with a docker-compose to help people to test and check some use cases with gorm...
LOAD DATA INFILE
For a faster bulk load and bigger files, I was wondering if gorm wraps or handle the LOAD DATA INTO FILE command from MYSQL ?
And how to handle the tags if I set the many2many attribute:
https://github.com/sniperkit/gorm-test/blob/master/models.go#L54
My goal, for this part of the question, is to batch insert/update my starred repositories into manticoresearch with the same script but for a bigger dumps and to use SphinxQL syntax.
ref. https://github.com/manticoresoftware/manticoresearch
Thanks in advance
Rosco

Just to note that I started, as a WIP, a docker-compose with several datastore containers (alpine based) in the docker branch.
Ref: https://github.com/sniperkit/gorm-test/tree/docker


Library is missing Stacked Ensemble

Out of the 4 major ensemble methods (boosting, bagging, voting, and stacking), Rubix only implements 3. Stacking is similar to a voting committee, however the influences are learned by a separate learner such as Linear or Logistic Regression. The Rubix architecture allows for a Meta Estimator implementation such that the notion of a Model Orchestra can be generalized to classification and regression. As stacking has been shown in data competitions to be crucial for the best possible accuracy scores, the benefit to Rubix engineers will be high.
The general idea is we have an orchestra of estimators that each become the input features to a final estimator (conductor) that makes the final prediction. Since the Rubix architecture allows for the concept of a Meta Estimator, the implementation would be general to both classifiers and regressors.

Implemented as Model Orchestra meta estimator


[Bug]: Unable to use Oauth2 REST api

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Unable to use Oauth2 REST api. I am trying to use monday.com. My guess is it is unable able to populate Bearer token or Documentation is insufficeint
Steps To Reproduce

In monday.com create an app for appsmtih.
Featch credentials
Add Ouath2 datasource and authenticate the app. (Please make sure you have update callback url)

Public Sample App
No response
Version
Self Hosted latest release

I was able to use Oauth2 working with dropbox. I am still keeping the priority as critical as we lack documentation and debugging for Oauth. I am still unable to use monday.com

Hey team! Please add your planning poker estimate with ZenHub @nidhi-nair @sumitsum

Adding a lable critical, as while verifying this issue my existing Oauth 2 apss have stopped working.

Dropbox issue is resolved

Going too and fro dropbox issue still present on cloud but not on selfhosted

Reopening this as facing dropbox issue on release


Refresh table definition

Does superset allow to refresh table definition?
If I add new columns to the table in Database, how do I refresh the definition to import the new columns without adding them manually?

I realized now that simply editing and saving it again refreshes the definition.
A refresh button to do it would be more helpful

It does? I've tried that numerous times and have never seen any kind of refresh. I still need to add columns and metrics (i.e. AVG) manually.

Editing and saving the table should merge new columns in.


Use an init container to deliver the content

Instead of baking the content into the scanner container, let's use a
separate init container with the content instead. This would allow us to
separate the scanner lifecycle from the content lifecycle and also allow
users to provide their own content.
The init container expects the content to be at the root of the
filesystem and all files matching *.xml would be copied from the init
container's / to emptyDir volume mounted at /content by the scanner.
For development, the content image can be passed with an environment
variable:
make run CONTENT_IMAGE=quay.io/jhrozek/ocp4-openscap-content:rhel-8
It might be useful to also allow specifying the content image in the
CRD, but let's do that in a subsequent patch.

CC @JAORMX @mrogers950
Here's one question I have: Should we already extend the CRD to include an override for the image and an override for the pull policy? Currently the pullPolicy is Always which I think is a reasonable default as the scans wouldn't be too frequent I guess, but maybe someone might be irritated about the pods pulling the image over and over again?

I think leaving it as Always is good. And yes, lets update the CRD.

So the operator-sdk generate k8s command changed quite a few more things than I expected. First, a new CRD was generated (deploy/crds/complianceoperator.compliance.openshift.io_compliancescans_crd.yaml) so I removed the older one as well. The zz_generated.openapi.go file also changed some references from absolute (github.com/jhrozek/compliance-operator) to relative (./pkg/apis/complianceoperator/v1alpha1.ComplianceScanStatus). I attribute that to newer operator-sdk version. Let me do an in-cluster test as well, though..

My in-cluster smoke test succeeded btw.

On Wed, Nov 13, 2019 at 06:52:59AM -0800, Juan Osorio Robles wrote:

JAORMX requested changes on this pull request.

image := DefaultContentContainerImage

if scanSpec.ContentImage != "" {

image = scanSpec.ContentImage

}

logger.Info("Content image", "image", image)
return image
+}

+func getInitContainerPullPolicy(scanSpec *complianceoperatorv1alpha1.ComplianceScanSpec, logger logr.Logger) corev1.PullPolicy {

var pullPolicyMapping = map[string]corev1.PullPolicy{

"always":       corev1.PullAlways,

"never":        corev1.PullNever,

"ifnotpresent": corev1.PullIfNotPresent,

}

Let's do this from the types.go side instead of the operator. You could probably pull in the pullpolicy from the corev1 API.

Sure, just to be clar, the CRD would then directly contain corev1.PullPolicy?

Validation could be done in the CRD as well.

Yeah, I saw that you can do stuff like:
// +kubebuilder:validation:Enum=foo;bar;baz

let me see about using the type from corev1 first..

On Wed, Nov 13, 2019 at 07:01:05AM -0800, Jakub Hrozek wrote:

On Wed, Nov 13, 2019 at 06:52:59AM -0800, Juan Osorio Robles wrote:

JAORMX requested changes on this pull request.

image := DefaultContentContainerImage

if scanSpec.ContentImage != "" {

image = scanSpec.ContentImage

}

logger.Info("Content image", "image", image)
return image
+}

+func getInitContainerPullPolicy(scanSpec *complianceoperatorv1alpha1.ComplianceScanSpec, logger logr.Logger) corev1.PullPolicy {

var pullPolicyMapping = map[string]corev1.PullPolicy{

"always":       corev1.PullAlways,

"never":        corev1.PullNever,

"ifnotpresent": corev1.PullIfNotPresent,

}

Let's do this from the types.go side instead of the operator. You could probably pull in the pullpolicy from the corev1 API.

Sure, just to be clar, the CRD would then directly contain corev1.PullPolicy?

Validation could be done in the CRD as well.

Yeah, I saw that you can do stuff like:
// +kubebuilder:validation:Enum=foo;bar;baz

let me see about using the type from corev1 first..

After talking to @JAORMX on Slack, I've dropped the policy completely
and just use PullAlways. We can always add the policy, but let's not
complicate things unless we need to.

Let's close this in favor of openshift/compliance-operator


Image support for glow backend

Is it possible to run the tour example with the glow backend? when I add the glow feature to the example's Cargo.toml I get the following error:
error[E0277]: the trait bound `iced_glow::backend::Backend: iced_graphics::backend::Image` is not satisfied
   --> examples/tour/src/main.rs:675:5
    |
675 |     Container::new(
    |     ^^^^^^^^^^^^^^ the trait `iced_graphics::backend::Image` is not implemented for `iced_glow::backend::Backend`
    |
    = note: required because of the requirements on the impl of `iced_native::widget::image::Renderer` for `iced_graphics::renderer::Renderer<iced_glow::backend::Backend>`
    = note: required because of the requirements on the impl of `From<Image>` for `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
    = note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` for `Image`
    = note: required by `iced_native::widget::container::Container::<'a, Message, Renderer>::new`

It seems like the Image widget is not supported on the glow backend.

Yeah, it looks like there's no iced_glow/image implementation, like there is for iced_wgpu/image.

Yeah, it looks like there's no iced_glow/image implementation, like there is for iced_wgpu/image.

Related to #354

Related to #354

Probably not the right place to ask, but is anyone working on Image for iced_glow? I'd very much like it to be a thing and would be happy to give Image a glow if someone isn't already working on it.

The current Image implementation has a bunch of underlying issues! https://github.com/iced-rs/iced/labels/image
Instead of porting the existing code to the glow backend, we should focus on coming up with a proper implementation that addresses all of these issues.


Added Amazon RDS ca-central-1 CA

This adds Amazon RDS ca-central-1 CA to the embedded SSL profiles.

Hi Douglas,
Interestingly, I couldn't see the issue on the Windows computer I used
yesterday to make the change.
I just ran it on my MacBook and I can see the same error Thant on the CI.
I'll correct this and push.
Best regards,
Eddie
On 28 August 2017 at 10:23, Douglas Wilson<EMAIL_ADDRESS>wrote:

@dougwilson requested changes on this pull request.
Thanks for the new cert! Looks like the CI is failing because you may have
accidentally overlooked the last step in https://github.com/mysqljs/
mysql#contributing
I'll get your PR fixed up, but wanted to let you know in case you are able
to get it fixed up before myself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mysqljs/mysql/pull/1809#pullrequestreview-58958180,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5e_FCXBSf1wsI4rUhz06rUVvh6xX_3ks5scs11gaJpZM4PD_t8
.

Hi @CyranoB I'm not sure how the fingerprint was calculated in your PR, but I re-calculated it to properly match the given certificate.

Hi Douglas,
Any idea when the next release will be released? I supposed this pull
request will be included in  v2.14.1.
Best regards,
Eddie
On 28 August 2017 at 22:12, Douglas Wilson<EMAIL_ADDRESS>wrote:

Closed #1809 https://github.com/mysqljs/mysql/pull/1809 via 9efdc38
https://github.com/mysqljs/mysql/commit/9efdc385425647cd798d5b144cc0c612a3563608
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mysqljs/mysql/pull/1809#event-1224811734, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB5e_BakBauceOG8tZNZV5BkUoTlb0pFks5sc3OZgaJpZM4PD_t8
.

Hi @CyranoB this PR was landed after a semver-minor landed in master, so it would not land until 2.15.0 (2.14.1 was already out prior to your pull request). There is an issue with the semver-minor change that had landed on master that is being worked out, delaying the 2.15.0 release. You can provide the CA string yourself in the meantime instead of using the Amazon RDS profile.

Hi @dougwilson Sorry to bother you again, but do you know when 2.15.0 will be released?

I was waiting to hear back on https://github.com/mysqljs/mysql/issues/1811#issuecomment-333436754


Add SMP schedule highest priority on-target test

Add SMP schedule highest priority on-target test
Description

Test Steps

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR will be ready for review after verified on PICO and xmos board.


Upgrade containerd to fix security vulnerability

As reported by dependabot, https://github.com/shipa-corp/ketch/security/dependabot/go.sum/github.com%2Fcontainerd%2Fcontainerd/open
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Chore (documentation addition or typo, file relocation)

Testing

[ ] New tests were added with this PR that prove my fix is effective or that my feature works (describe below this bullet)
[ ] This change requires no testing (i.e. documentation update)

Documentation

[ ] All added public packages, funcs, and types have been documented with doc comments
[ ] I have commented my code, particularly in hard-to-understand areas

Final Checklist:

[x] I followed standard GitHub flow guidelines
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

Additional Information (omit if empty)
Please include anything else relevant to this PR that may be useful to know.

Hold on. CI is failing big time. We'll have to see if something got over-tidied.

Hold on. CI is failing big time. We'll have to see if something got over-tidied.

Hmm, as best practice isn't it supposed to work with go mod tidy? Looks like there are some dependencies required for tests that get removed somehow by unit tests that I was hoping get picked up with tidy. Anyways, feel free to close this and open a new one if that makes sense.

https://github.com/theketchio/ketch/pull/188


Why copy weight manually instead of using 'load_state_dict'?

Hi, after reading the code detail, I found that you used 'xxx.weight.data = ...' instead of simply using 'xxx.load_state_dict(...)', why?

Hi @LuChengTHU , yes, you are absolutely right and load_state_dict is what I use on my current projects to copy the parameters (and using weight.data was more of a deprecated effort that I never bothered to update... :-/). However, note that the dropout masks also need to be copied, and that part is not in the state_dict; so we still need to do it explicitly.
Feel free to send a pull request and update the code there if you wish to do so, I can review and merge the changes.


Use the new ContractExecutor API from cairo native

This PR is like a POC implementation on blockifier and we seek feedback on how the API should look, if anything needs to change.
The main issue was the need to remove the program registry due to it not being easily serializable and for perfomance reasons.

In cairo-native revision: 79a558de3175ae40c0d1f6b4c22159743ba2f30a (current main branch)
In src/executor/contract.rs
In ContractExecutor::new (line 101) there is a check for builtin types:
                if ty.is_builtin() {
                    match ty {

It looks like the intention was to match against all 13 builtin types as defined by is_builtin, however the match misses one type. Around line 145 should be a mapping for BuiltinCosts.
CoreTypeConcrete::BuiltinCosts(_) => builtins.push(BuiltinType::??),

This crashes Juno with the following:
thread '<unnamed>' panicked at contract.rs:145:30:
internal error: entered unreachable code: TypeInfo { long_id: ConcreteTypeLongId { generic_id: GenericTypeId("BuiltinCosts"), generic_args: [] }, storable: true, droppable: true, duplicatable: true, zero_sized: false }

Thanks for the feedback! I made PR in cairo-native with the fix (https://github.com/lambdaclass/cairo_native/pull/792), once merged I will update this PR

Thanks for the feedback! I made PR in cairo-native with the fix (https://github.com/lambdaclass/cairo_native/pull/792), once merged I will update this PRThanks for the feedback! I made PR in cairo-native with the fix (https://github.com/lambdaclass/cairo_native/pull/792), once merged I will update this PR

Hey @edg-l thank you, it might be a bit of a hassle for you to be updating both projects so don't worry we will take care of it

Merged from NethermindEth/sequencer#19 after some changes on top of this branch.


Add stripe checkout

Adds stripe checkout the app.

This was an example. Closing so it's off my list of PRs.


latest_testflight_build_number return incorrect build number & crash when live_version parameter is true

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
The action latest_testflight_build_number is returning the incorrect build number in TestFlight as you can see in the output is returning 1 always for the build number and the current build number is 3 actually. I was checking out  the closed issue #9528 and tried to include the live_version parameter to true to try to get it correctly and fastlane is reporting an exception.
Lane created to test the issue
lane :testflight_build do
    build = latest_testflight_build_number(version: "1.0", live: false)
end

Complete output when running fastlane, including the stack trace and command used

fastlane testflight_build

[12:14:32]: -------------------------------------------------
[12:14:32]: --- Step: Verifying required fastlane version ---
[12:14:32]: -------------------------------------------------
[12:14:32]: Your fastlane version 2.64.1 matches the minimum requirement of 1.111.0  ✅
[12:14:32]: ------------------------------
[12:14:32]: --- Step: default_platform ---
[12:14:32]: ------------------------------
[12:14:32]: Driving the lane 'ios testflight_build' 🚀
[12:14:32]: --------------------------------------------
[12:14:32]: --- Step: latest_testflight_build_number ---
[12:14:32]: --------------------------------------------
[12:14:32]: Login to iTunes Connect<EMAIL_ADDRESS>[12:14:38]: Login successful
[12:14:39]: Fetching the latest build number for version 1.0
[12:14:40]: Latest upload is build number: 1

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | latest_testflight_build_number      | 7           |
+------+-------------------------------------+-------------+

[12:14:40]: fastlane.tools finished successfully 🎉

Output for the same lane with the live_version: true
[12:26:34]: -------------------------------------------------
[12:26:34]: --- Step: Verifying required fastlane version ---
[12:26:34]: -------------------------------------------------
[12:26:34]: Your fastlane version 2.64.1 matches the minimum requirement of 1.111.0  ✅
[12:26:34]: ------------------------------
[12:26:34]: --- Step: default_platform ---
[12:26:34]: ------------------------------
[12:26:34]: Driving the lane 'ios testflight_build' 🚀
[12:26:34]: --------------------------------------------
[12:26:34]: --- Step: latest_testflight_build_number ---
[12:26:34]: --------------------------------------------
[12:26:34]: Login to iTunes Connect<EMAIL_ADDRESS>[12:26:37]: Login successful
[12:26:37]: Fetching the latest build number for live-version
+------------------+----------------------+
|              Lane Context               |
+------------------+----------------------+
| DEFAULT_PLATFORM | ios                  |
| PLATFORM_NAME    | ios                  |
| LANE_NAME        | ios testflight_build |
+------------------+----------------------+
[12:26:39]: undefined method `current_build_number' for nil:NilClass

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 💥   | latest_testflight_build_number      | 4           |
+------+-------------------------------------+-------------+

[12:26:39]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  `app_store_build_number` fails with `undefined method `current_build_number' for nil:NilClass (NoMethodError)`
    https://github.com/fastlane/fastlane/issues/10447 [open] 2 💬
    4 days ago

🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/actions/app_store_build_number.rb:19:in `run': [!] undefined method `current_build_number' for nil:NilClass (NoMethodError)
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb:11:in `run'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:231:in `block in execute_action'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:227:in `chdir'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:379:in `block (2 levels) in parsing_binding'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/lane_manager.rb:54:in `cruise_lane'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:66:in `run!'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/gems/fastlane-2.64.1/bin/fastlane:20:in `<top (required)>'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/bin/fastlane:23:in `load'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/bin/fastlane:23:in `<main>'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `eval'
	from /Users/vsiglerlopez/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `<main>'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13

Ruby
2.4.2

Bundler?
true

Git
git version 2.13.6 (Apple Git-96)

Installation Source
~/.rvm/gems/ruby-2.4.2/bin/fastlane

Host
Mac OS X 10.13 (17A405)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.4.2/lib

OpenSSL Version
OpenSSL 1.1.0f  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.64.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.16.0

io-console
0.4.6

rake
12.3.0

CFPropertyList
2.3.5

public_suffix
2.0.5

addressable
2.5.2

babosa
1.0.2

claide
1.0.2

colored2
3.1.2

cork
0.3.0

nap
1.1.0

open4
1.3.4

claide-plugins
0.9.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

multipart-post
2.0.0

faraday
0.13.1

faraday-http-cache
1.3.1

git
1.3.0

kramdown
1.15.0

no_proxy_fix
0.1.2

sawyer
0.8.1

octokit
4.7.0

unicode-display_width
1.3.0

terminal-table
1.8.0

danger
5.5.5

ox
2.8.2

danger-junit
0.7.4

thor
0.20.0

danger-swiftlint
0.11.0

dotenv
2.2.1

excon
0.59.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.0

gh_inspector
1.0.3

jwt
2.1.0

little-plugger
1.1.4

multi_json
1.12.2

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

declarative
0.0.10

declarative-option
0.1.0

uber
0.1.0

representable
3.0.4

retriable
3.1.1

google-api-client
0.13.6

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.3.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.8.0

tty-screen
0.5.1

word_wrap
1.0.0

nanaimo
0.2.3

xcodeproj
1.5.3

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
1.0.0

xcov
1.3.0

danger-xcov
0.3.3

generated on: 2017-11-16

Seeing the same thing here. Always reports build version 1.

I think it can be related with the update from Apple of the iTunes Connect API 😟

I'm also seeing the same thing. latest_testflight_build_number always returns 1 in the following
`lane :build_number_test do
project = ENV['PROJECT_PATH']
build_number = latest_testflight_build_number(
app_identifier: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
version: get_version_number(xcodeproj: project)
) + 1
puts "Build Number: "+build_number.to_s
end`

I second what @Vkt0r said. If I'm reading the source correctly, spaceship is trying to query a URL like
https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/[app_id]/trains/

but this is currently 404'ing. I'm not sure what it used return, but I think similar data can now be found at
https://itunesconnect.apple.com/testflight/v2/providers/[provider_id]/apps/[app_id]/platforms/ios/trains/1.0/builds

(my app is ios, version 1.0). I'm sure those values would be different for other apps.

@michaelm-spindance Then I think this PR in progress Update fastlane to use new TestFlight endpoints should solve this issue, let's wait for it 😄

if i saw it correct they did build a new beta. but as i still always get 1 as latest build number on testflight i guess it is not in there. but how can i get the latest master after it is merged in there?

#10921 Gets the base in place, but I believe that #10947 resolves this issue.

Does it solve fastlane pilot builds as well? @Vkt0r @daveanderson ?
Sent with GitHawk

It seems the PR was merged 2 days ago.
What day are fastlane updates typically released at? We vote for immediate release for this version as our deployment lanes our blocked due to this issue.

The PR is marked to include in the release which should happen in next couple of days.

Please update Fastlane to version 2.66.0

@taquitos @daveanderson  I can confirm the issue persist in the latest release 2.66.0, is returning 1 for the latest TestFlight build number using the lane I created above. Any clue ?? I think we need to leave the issue open 😢

@Vkt0r I use it like this and it is working correctly.
    latest_build_number = latest_testflight_build_number(
      version: get_version_number,
      initial_build_number: 0
    )
    puts "Latest build: #{get_version_number} (#{latest_build_number})"

@daveanderson You're completely right 👍!! I think it was a cache problem after I updated fastlane, but it continues returning the same exception if I specify live:true in the parameters. Thanks

@Vkt0r  I tried as follows and working fine with and without live parameter
desc "Test fixes"
  lane :latest_bn do
     latest_build_number = latest_testflight_build_number(
      app_identifier: ENV["APP_ID_PROD"],
      version: get_version_number,
      initial_build_number: 0,
      live: true
    )
    puts latest_build_number
  end

@sharat No, sorry I'm still getting the above exception if I specify live: true using latest_testflight_build_number  😢

@Vkt0r Have you tried a gem cleanup and minimum version in the Fastfile?

This issue is still happening for me, even with 2.66.0
latest_testflight_build_number is returning 1 every time.

Current version is 2.66.2.

@janpio Sorry, I meant 2.66.2
I'm using the update_fastlane action and I also tried using the nightly build and it still isn't working correctly.

Either do this or create a new one and mention that you are referring to 2.66.2. Thanks.


Change to Expose OAuth2IntrospectionEvents in IdentityServerAuthenticationOptions

Change to expose OAuth2IntrospectionEvents in IdentityServerAuthenticationOptions, suggested to fix https://github.com/IdentityServer/IdentityServer4.AccessTokenValidation/issues/115
@leastprivilege please review

thanks!


Pad binop instructions so that the operands have the same bitwidth.

It seems that it is possible bit shift an address on a 2-bit scale, and in this case, we should pad the smaller operand to have the same bitwidth as the wider operand.
More info here: https://wiki.osdev.org/X86-64_Instruction_Encoding#ModR.2FM_and_SIB_bytes

Nice and clean!


Ins 22 logic runner

Partially implement LogicRunner interface called GoPlugin.
It can run go code formed as plugins
code have tests

Looks Good


bug: drawer not receiving focus on open

If you load up any of the sandboxes from the readme and trigger the drawer to open, the first tab-able element within the drawer does not receive focus. This is actually breaking the a11y radix gives us. The focus is actually remaining on the trigger. Any tab-able elements after the trigger will receive focus first as you tab around before eventually landing in the drawer with the focus trap.
Here is a video of the behavior as well as a sandbox which is a direct fork of the example:
https://codesandbox.io/p/sandbox/drawer-with-scale-forked-6ss9nx?file=/app/page.tsx:8,10
https://github.com/emilkowalski/vaul/assets/6590356/a321586f-b746-4cba-b5f4-07b4bfe9bafd

Fixed in #115


How to handle DTU dataset?

Great work! The paper says that since the DTU dataset does not have static lighting, images with inconsistent lighting environments are manually deleted. Here are my questions. Looking forward to your answer.
(1) How exactly do you distinguish an image with an inconsistent lighting environment?
(2) Each scene of The original DTU dataset have images under different lighting conditions, which is numbered by 0 to 6.  Are the images with inconsistent light environments different within those images which have the same suffix, e.g. _3_r5000.png ? Or does it refer to that light environments of images with the same light number are consistent, and those with different light number are inconsistent?

Hi, I use the DTU dataset from here: https://www.dropbox.com/sh/w0y8bbdmxzik3uk/AAAaZffBiJevxQzRskoOYcyja?dl=0
I just manually rule out the images with inconsistent lights. The main reason is that the camera occludes the lights so some images are much darker.

Thank you for your answer, very helpful!

Hi, great work!
I have a problem with training the DTU dataset, I used the method above to train, but exist bug.
the bug as shown:

near > far

density is  negative value

weights and color  exit inf

I loaded the DTU dataset code as shown below, the config is similar NeRO synthetic dataset config, the rest of NeRO's code was not modified.
class VolSDFSyntheticDatabase(BaseDatabase):
    def __init__(self, database_name, dataset_dir, testskip=8):
        super().__init__(database_name)
        _, model_name = database_name.split('/')
        RENDER_ROOT = dataset_dir
        print("[I] Use VolSDFSyntheticDatabase!")
        print("[I] RENDER_ROOT", RENDER_ROOT) # data/VolSDF
        self.root = f'{RENDER_ROOT}/{model_name}'
        print("[I] self.root", self.root) # data/volsdf/scan24
        self.scale_factor = 1.0

        image_paths = sorted(glob_imgs(f'{self.root}/image'))
        self.img_num = len(image_paths)
        self.img_ids = [str(k) for k in range(self.img_num)]
        self.cam_file = f'{self.root}/cameras.npz'
        camera_dict = np.load(self.cam_file)
        scale_mats = [camera_dict['scale_mat_%d' % idx].astype(np.float32) for idx in range(self.img_num)]
        world_mats = [camera_dict['world_mat_%d' % idx].astype(np.float32) for idx in range(self.img_num)]
        self.intrinsics_all = []
        self.pose_all = []
        for scale_mat,world_mat in zip(scale_mats,world_mats):
            P = world_mat @ scale_mat
            P = P[:3,:4]
            intrinsics,pose = load_K_Rt_from_P(None,P) # 解内参和外参
            self.intrinsics_all.append(np.array(intrinsics[:3,:3]).astype(np.float32))
            self.pose_all.append(np.array(pose[:3,...]).astype(np.float32))
        self.rgb_images = []

        for path in image_paths:
            rgb = imread(path)[..., :3]
            self.rgb_images.append(rgb)
        self.imgs = np.array(self.rgb_images).astype(np.float32)  # [img_num,1200,1600,3]
        self.poses = np.array(self.pose_all).astype(np.float32) # [img_num,3,4]
        self.ks = np.array(self.intrinsics_all).astype(np.float32) # [img_num,3,3]
        self.resolution = self.imgs[0].shape[:2] # [1200,1600]

    def get_image(self, img_id):
        return self.imgs[int(img_id)].copy().astype(np.float32)

    def get_K(self, img_id):
        return self.ks[int(img_id)].copy().astype(np.float32)

    def get_pose(self, img_id):
        return self.poses[int(img_id)].copy().astype(np.float32)

    def get_img_ids(self):
        return self.img_ids

    def get_depth(self, img_id):
        assert (self.scale_factor == 1.0)
        depth = self.imgs[int(img_id)][..., -1]
        return depth

    def get_mask(self, img_id):
        raise NotImplementedError

the config as shown below(similar NeRO synthetic dataset config)
name: scan37_shape

####network#####
network: shape
database_name: volsdf/scan37
apply_occ_loss: true
occ_loss_step: 20000
clip_sample_variance: false

######loss######
loss: ['nerf_render','eikonal','std','init_sdf_reg','occ']
val_metric: ['shape_render']
key_metric_name: psnr
eikonal_weight: 0.1
freeze_inv_s_step: 15000

####dataset#####
train_dataset_type: dummy
dataset_dir: data/DTU
train_dataset_cfg:
  database_name: volsdf/scan37
val_set_list:
  -
    name: val
    type: dummy
    cfg:
      database_name: volsdf/scan37

####trainier####
optimizer_type: adam
lr_type: warm_up_cos
lr_cfg: {}
total_step: 300000
val_interval: 5000
save_interval: 1000
train_log_step: 20


Enhanced support for importing JavaScript exports

There are many JavaScript libraries where the exported item is exported as the "exports" property of "module", ie:
// some-lib.js
module.exports = myExportObject;

For these, there should be a way in Ceylon to get a reference to the entire exports object (basically, get a handle on "module.exports" object) using Ceylon's import statement rather than require-ing the module in a dynamic block.
Basically, if I had a library that does this:
// my-module.js

var myData = {
    a: "one",
    b: "two",
    c: "three"
};
module.exports = myData;

Then, there should be a way to obtain myData in Ceylon, using the import statement, something like this:
// ceylon

import my.module { myModule }

dynamic {
    print(JSON.stringify(myModule ));  // { "a":"one", "b":"two", "c":"three" }
}

Rather than having to do this:
// ceylon

dynamic {
    dynamic myData = require("my-module");
    print(JSON.stringify(myData));  // { "a":"one", "b":"two", "c":"three" }
}

Ceylon already has some special handling for "Non-standard modules" described here, which accounts for cases where the main module export is a function that is directly exported over module.exports, but doesn't account for the case where the main export is an object that is directly exported over module.exports.
In its current special handling, Ceylon will provide access to the entire exports object with Ceylon's import statement only if it finds that it's a function, but I don't see any reason why this scheme couldn't be generalized for all situations - that the module name always imports whatever is the value of module.exports.
This would allow it to work for both functions and objects (or anything else) exported over module.exports, while allowing for backward compatibility with applications already using the module name to import functions exported this way in Ceylon's current special handling of the case.

@lucono does the following not work:
import some.other.modul { exports { myData } }

If not, then yeah, I think we should make it work.

@gavinking No, that doesn't work.

Well what is the error?

There's no error, just that it's undefined.
It seems Ceylon doesn't make the entire CommonJS module.exports value available through the Ceylon import statement. Instead, if module.exports is an object, then Ceylon provides access (with Ceylon import statement) to only the properties under that object, with the additional special case handling described here - https://github.com/ceylon/ceylon/wiki/NPM-and-Ceylon-JS#non-standard-modules.

@chochos WDYT?

Didn't we already have the special require that checked if the returned object was really just a function or something and if so, put it inside an object so that it was a standard thing?

I remember bumping into this before, but I'm not sure what we did about it, if anything.

@chochos I think what you ended up doing is what's described at the bottom of the page here, under the section Non-standard Modules.
Basically, some special handling was implemented for when the returned "object" is really just a function, but that special handling is also relevant for certain cases where the returned object is indeed a regular object.
So, Ceylon JS could benefit from a generalization of that handling, as I described earlier above, where the (entire) returned value from the export is made accessible under a special name in the package import. In the special handling you implemented for when the export is a function, that special name is the name of the module, but a set name such as exports could also be used. This of course would only be relevant to JavaScript/npm modules imported in a Ceylon module.
CommonJS JavaScript module:
// my-module.js

var someData = {
    a: "one",
    b: "two",
    c: "three"
};
module.exports = someData;  // Not: module.exports.someData = someData;

And in Ceylon:
// uses the JS module name "myModule" to import the entire export value
import my.module { myModule, a, b, c }

dynamic {
    print(JSON.stringify(myModule));  // { "a":"one", "b":"two", "c":"three" }
    print(a);  // "one"
    print(b);  // "two"
    print(c);  // "three"
}

OR:
// uses special name "exports" to import the entire export value
import my.module { myModule = exports, a, b, c }

dynamic {
    print(JSON.stringify(myModule));  // { "a":"one", "b":"two", "c":"three" }
    print(a);  // "one"
    print(b);  // "two"
    print(c);  // "three"
}

I imagine the choice of name to use for the import of the entire export value should be one that has the least likely chance of collision given common practices in real life modules. It could also be something that could not possibly be a field name in most JavaScript modules, such as the JS keyword export  (except of course if doing something like module['export'] = someData), but not a Ceylon keyword, allowing something like this:
// uses special name "export", a JS keyword but not a Ceylon keyword
import my.module { myModule = export, a, b, c }

dynamic {
    print(JSON.stringify(myModule));  // { "a":"one", "b":"two", "c":"three" }
    print(a);  // "one"
    print(b);  // "two"
    print(c);  // "three"
}

In either case, the examples above use import aliasing to alias it to a more meaningful name in the Ceylon file.


Mileage rates model and service

will merge to master along with - https://github.com/fylein/fyle-mobile-app/pull/1268


move-bytecode-verifier: remove the Clone bound for the error type in …

…the TransferFunctions trait
Error types generally do not implement clone.

Do we need any constraint at all? Why was it there?

I don't really know why it was originally there. I just know that at least bounding it to the Error type makes more sense than clone

I kind of feel like it shouldn't be bounded by anything if it works? If I want to make my Error type (), thats my own prerogative :P (does () implement Error??)
I think the Clone was probably there from the days of join errors shudders. Not really important but it is curious. Maybe @sblackshear remembers?

That's fine, i'll just remove the bound completely.


No module named 'rpi_epd2in7'

Hello,
Sorry I am a beginner so maybe it is obvious.
But when I launch one of the code in the demos, I have the following error code :
Traceback (most recent call last):
  File "/home/pi/rpi_epd2in7-master/demos/interactive.py", line 23, in <module>
    from rpi_epd2in7.epd import EPD
ModuleNotFoundError: No module named 'rpi_epd2in7'

Thank you for your help.

The same thing happened to me... You need to copy/move the folder rpi_epd2in7 to the location where your packages are installed on python. For me it was /lib/python3/dist-packages


Jenkins secret password argument and his value is still accessible

We run our tests via Jenkins and use Jenkins Credentials (files, strings, keys) for storing password, which Robot then uses during test execution. In our RF scripts we use $password syntax, so the value of a password is not represented in log.html. The issue is, that anyone can always do some scripting without the special syntax (like ${password}) to get access to the real value of the password. I think this is a security risk, which could be improved on. We pass these credentials via variable parametrs to the Robot Framework -v Password:%Jenkins_Credential%. Would it be possible to make another argument for secret value like -s Password:%Jenkins_Credential%, so it would be always hidden/masked?

Is the problem that you'd like to have a secret variable that couldn't be accessed at all? Or are you just worried someone forgets to use the $password syntax and the value is accidentally logged? Issue #4537 ought to cover the latter problem, but I'm not sure how we could totally hide the value. Perhaps CryptoLibrary could help?

Many testers can script a code on the same project without knowledge the value of the password. On local station they can use their own password, but on remote machine (Jenkins) they use secret account. Yes, they can log the value accidentally or even want to do it.

The idea with #4537 is to allow creating variables that aren't logged automatically, but even those variables could be logged explicitly. Trying to totally hide the values is problematic because we need to pass the actual values to library keywords and they can then expose values anyway.
I got a feeling that an external library or tool is the best solution if you want to totally hide the values. Or do you have ideas how this should work with Robot itself?


SAA-1199 some preliminary refactoring to the mark attendance prior to introducing validation.

Codecov Report
Patch coverage is 100.00% of modified lines.

Files Changed
Coverage

...ivitiesmanagementapi/service/AttendancesService.kt
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


Draft strawman data frame interchange protocol for discussion

Questions:

What if any arguments should be in the abstract to_numpy method (respectively, to_arrow method)?
Think about abstract Column API for parametric types like categorical

Link: https://discuss.ossdata.org/t/a-dataframe-protocol-for-the-pydata-ecosystem/267

Types: Modin does not enforce types or have its own system of types and does not place requirements on types. I think this is better.

Maybe not surprisingly I think types and schemas are good, and libraries like pandas being a bit "loosey goosey" about type metadata has IMHO caused a lot of problems over the last 10 years.
If the producer of a data frame can expose type metadata without requiring a potentially costly conversion, then it seems reasonable to permit this. If you know that a column contains integers you might pass different arguments to to_numpy then if it were strings.
That being said, I think the requirements for df[col_name].type can be relaxed so that a data frame producer can return a "type not indicated" value.
Like above I'm interested to see what consumer projects (that don't want to depend on pandas, say) think about this.

Regarding conversion between different data frames, how would libraries convert between the types? It'd be nice to have an API similar to what __array__ does. What I mean is to have this work, with reasonable overhead, minimal memory copy, and assuming they all implement the proposed DataFrame API:
pd.DataFrame(xarray.DataArray(np.ndarray(...)))

Not sure how easy/challenging it is to make it happen though.

@adrinjalali that is effectively what we are discussing here (starting from https://discuss.ossdata.org/t/a-dataframe-protocol-for-the-pydata-ecosystem/267) -- i.e. thinking about what is the API of the object returned by a __dataframe__ method, so you would have
class XArray:
    ...

    def __dataframe__(self):
        # This class implements the API being discussed here
        return XArrayGenericDataFrame(self)

The __array__ method returns a numpy.ndarray, but we have to determine what kind of object __dataframe__ returns and what behavior that object has

With respect to a __array__ analog for dataframe, doesn't that necessitate more dedicated methods like a __pandas_dataframe__, __modin_daframe__, etc? The intent of these methods is to give objects control over producing a concrete ndarray. So the concrete dataframe (say pandas.DataFrame's constructor) would need to check the object for a __pandas_dataframe__ implementation and hand of control of the construction to the object with the __pandas_dataframe__ method.
I'd be curious to know if there's value in a more generic __dataframe__ method, and if so what it would produce. Or do we think that consumers of this protocol fall in one of two camps:

They definitely want a pandas DataFrame regardless of the input, so they call pd.DataFrame(data).
They want any dataframe-like object, and so they just require that the input be an object implementing this protocol.

I'd be curious to know if there's value in a more generic dataframe method

This is exactly what is being proposed here and what I understood to be the spirit of the discussion in https://discuss.ossdata.org/t/a-dataframe-protocol-for-the-pydata-ecosystem/267. We need to determine what object is returned by __dataframe__ though -- what is in this PR is a proposal for that object's interface.
Both camps of users are served by this.

If pandas encounters a foreign object that implements __dataframe__, then pd.DataFrame(foreign_object) will work

Right, if a library wants to accept data frame-like data but not depend on pandas, then they can rather accept any object that has __dataframe__

I'm still not sure how we can have a unified object returned by __dataframe__ in this scenario. To me, this proposal has two aspects to it, and both are equally important:
The first category is a unified interface for libraries to depend on, which can be used to extract information from the dataframe. Reading feature names, dtypes, etc, is in this category.
The second one is enabling the ecosystem to easily work with one another in an efficient way. If I compare __dataframe__ to __array__, then I'd imagine that the details of how the object is converted to a specific dataframe, should be done in the __datafram__ method, and not the [pandas, xarray, ...] constructor which reads the output of __dataframe__; the same way that numpy expects the output of __array__ to be an ndarray. And to me this needs to be done by the object which implements __dataframe__, since it's the one who knows how to efficiently convert its internal data structures into a given dataframe. So I'd expect for the __dataframe__ to either accept an argument such as pandas, xarray, etc, or to have specialized methods such as __xarray_datarray__, __pandas_dataframe__, etc.
That said, for the dataframes to work nicely with one another, they don't have to implement any of these specialized __*__ methods. They can start by implementing the interface in the first category, and then if such a dataframe is given to pd.DataFrame, the constructor will first check if it has a __pandas_datafram__ implemented, and if not, it will use the public methods to extract the information it needs to create a dataframe.
I hope this makes it a bit more clear on what I meant before.

I think we should be careful about going down the route of having a heavily-overloaded getitem in this interface.

+1

One thing that occurred to me is that the interface is completely column-oriented.  But if you have a large file or database with lots of rows, and you read it in row by row, you won't have complete column vectors until you have read everything in, and then you might have some issues with memory.
So my question is whether the interface should define a protocol for creating a DataFrame from row-oriented data.

I made another pass on this per feedback here. I removed all the dunder methods in the interest of being as conservative / explicit as possible. Take a look

I relaxed hashability of column names and changed column_names to return Iterable. PTAL

If someone would like write access on this repository to help lead this effort please let me know. I'm juggling a few too many projects so need to step away from this for a while


Wrong shapes of internal layers

Hi,
I`m trying to reproduce your method, and I'm not able to start training the model.
After running train.py module, such error occurs:
mxnet.base.MXNetError: MXNetError: Error in operator pre_fc1: Shape inconsistent, Provided = [512,25088], inferred shape=(512,100352)

basically, falling is on this line
outputs = [net(X) for X in data]

I believe that can be because caused by wrong weights/model architecture, but I'm not sure, where you have taken weights for ArcFace model. I have tried to download them from the official Model-Zoo GitHub page and insightface.ai website, but both of them raises that error.
I'm totally new to MXNet and ArcFace, and would be grateful for your help!

Hello!
I used the model which you can get via insightface.model_zoo.get_model('arcface_r100_v1'). Should be the same as from the website.
I believe the problem is with the image's inputs size. I used face detection and alignment as preprocessing and only passed those images where faces were detected. Such images would be 112x112.
P.S. Sorry that the repository is a mess, I will try to help with the reproduction as much as I can.

Hi,
Oh, yeah, I've noticed that you didn't use detection and alignment in the training loop, but I did not paid much attention to it. I used prepare_images method from the verification.py module to perform preprocessing, seems training is going well now.
I'll let you know if I was able to reproduce the results.
Thank you a lot!

Glad to be of help.
Closing this issue.

Hi,
I'm having a similar issue too,
mxnet.base.MXNetError: Error in operator fc_classification: Shape inconsistent, Provided = [571,512], inferred shape=(570,571)
how to fix?
would be grateful for your help

Be sure that your input tensor size is [batch_size, 3, 112, 112].

I print  X.shape
it is  48 * 3* 112 *112

OK. If you load already trained models (from this repository) instead of the pre-trained model from the insightface, does the error still occur?

I used the trained models which I downloaded from this link you gived
https://disk.yandex.ru/d/4AbxLjTa3fsG7g

Yes,it is woking now.
But I am confused about what the last layer is designed for?

Family classification. You can see that layer is added inside the train.py.

Thank you very much.My English is not good .Thank you for your patient.


Running in chroot, ignoring command

Please paste the output of the following command here: sudo edit-chroot -all

Not relevant
Please describe your issue:
When I try to restart my nginx server I get this
Running in chroot, ignoring command 'restart'
If known, describe the steps to reproduce the issue:
Install and systemctl service and try to restart/start it

The restart command restarts the system. You are getting this message because a chroot can't be restarted.

The restart command restarts the system. You are getting this message because a chroot can't be restarted.

Im trying to restart the service apache2 (not the actual system)

The restart command restarts the system. You are getting this message because a chroot can't be restarted.

Im trying to restart the service apache2 (not the actual system)

Then you need a command like systemctl.

The restart command restarts the system. You are getting this message because a chroot can't be restarted.

Im trying to restart the service apache2 (not the actual system)

Then you need a command like systemctl.

any related commnd for example
sudo systemctl start apache2
returns
Running in chroot, ignoring command 'start'

You could try using the 'servicectl' tool by @smaknsk.

Can anybody explain why systemctl (from Systemd) will not work where the wrapper command service (from the package init-system-helpers) will?
Many web pages with info/tutorials on how to configure and start/stop services in Linux requires a working systemctl command. It makes life very, very hard for us Crouton users. I don't understand why we can't use systemctl. There must be a good reason, isn't there?

Facing the same issue.. any update on this ?

Facing the same issue.. any update on this ?
Maybe something with SystemD versus Upstart (see Wikipedia). Upstart was in Ubuntu 16 which works fine in a chroot (which Croton is). Since then Ubuntu stopped using Upstart in favour of SystemD and that doesn't work well in a choot (something with rights). Crouton is dead to me. Unless they start supporting Devuan which doesn't use SytemD.


Option to use form fields without , SuperForms and Formsnap

Describe the feature
Hi!
Sometimes, you need a form field for page layout, without all the feavy lifting provided by <form>, SuperForms and Formsnap.
It is quite tedious to vivisect existing shadcn-svelte form components in order to strip them off unwanted complexity. I wish I were able to either generate separate simple form fields or opt out of SuperForms and Formsnap when generating existing form components.

That is too simple of a component that could be implemented in user-land. Form Fields in the context of this project and Formsnap have a different meaning than just "laying out the field" and I don't want that to be confused.


Typo in german Studio form

In the german form in the tab "Formular Konfiguration" the property group "Formlar-Ziel" is misspelled.

Thanks!
The Pull request https://github.com/tallence/tallence-formeditor/pull/5 is merged into master


add support for update statements that contain tuple assignments

This allows the correct parsing of
UPDATE x SET (a, b) = (1, 2)
while also maintaining the parsing of
UPDATE x SET a.b = 1
This includes a change to the ast::Assignment struct
Fixes https://github.com/sqlparser-rs/sqlparser-rs/issues/1311
Fixes https://github.com/lovasoa/SQLpage/issues/403

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 72 (98.61%)  changed or added relevant lines in 7 files are covered.
12 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.1%) to 88.982%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser/mod.rs
10
11
90.91%

Files with Coverage Reduction
New Missed Lines
%

src/lib.rs
1
12.64%

src/parser/alter.rs
2
66.67%

tests/sqlparser_common.rs
4
89.59%

src/dialect/mod.rs
5
72.08%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
26183

Relevant Lines:
29425

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 72 (98.61%)  changed or added relevant lines in 7 files are covered.
59 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.1%) to 88.982%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser/mod.rs
10
11
90.91%

Files with Coverage Reduction
New Missed Lines
%

src/lib.rs
1
12.64%

src/parser/alter.rs
2
66.67%

tests/sqlparser_common.rs
4
89.59%

src/dialect/mod.rs
5
72.08%

src/ast/mod.rs
47
81.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
26183

Relevant Lines:
29425

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 72 (98.61%)  changed or added relevant lines in 7 files are covered.
12 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.1%) to 88.982%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser/mod.rs
10
11
90.91%

Files with Coverage Reduction
New Missed Lines
%

src/lib.rs
1
12.64%

src/parser/alter.rs
2
66.67%

tests/sqlparser_common.rs
4
89.59%

src/dialect/mod.rs
5
72.08%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
26183

Relevant Lines:
29425

💛  - Coveralls


Is Evothings Downloads still on ?

I used to work on IoT using the apps built on the Studio
Now, I cannot download any thing ?

I am able to download it now.
I am NOW getting a 'certificate has expired" message. when I run the "examples" in the studio.

I can't get the cloud access token on the site

Nobody is supporting it now.
So I think we are on our own !

Lol😂😂😂


Implement Archetypes

The current layout of component data is very simple, but it leaves a lot to be desired in terms of performance and compactness.
Each level has a component container which is essentially a map from a certain component type to the vector containing its data. Since each entity might or might not have a specific component, this requires each component in the vector to be wrapped by an optional. When iterating over a set of components for a certain system, we then iterate over all entities, checking if they have the required components (as in, all components hold some value) and return the tuple of component references if so. This last part is handled inside the multi iterator so it's transparent to users, but it does incur a performance and space penalty due to having to check the components for each entity in the level.
Archetypes (see: this, and this) would help solve this problem by separating each set of entities containing a set of components into their own container. Iterating over these entites would be straightforward as you once you find an archetype with a set of components, you're sure that all entities belonging to it have the components you're looking for. It gets a bit complicated when you want to iterate over subsets, but I think some sort of chained iterator would fix this as a first solution.
Example

Here, if we want to iterate over entities with components {A, B}, we'll have to find the archetype corresponding to them, then iterator over the vector(s) of components inside them blindliy.
For iterating over all entities with component A, we'll have to find all archetypes where this component is contained ({A}, {A, B}, {A, B, C}), then we'd need to chain the iterators of each vector so that we can iterate over them all. A solution to this could be to have a container for the vectors of each primitive component (A, B, or C), where it holds a vector for each archetype, and the archetype just references that vector. This would make it easy to iterate over just primitive components, combinations of them, or archetypes.

So the first prototype I settled on was a bit simpler than I expected. In essence, we have:

TypeSet: A class that allows for easy comparison of types without having their order break things ({A,B} == {B, A}).
Archetype: Collection of type erased vectors, each vector containing the data of one component of the archetype. By definition, the length of all vectors are equal.
Archetypes: Handles the management of archetype queries. For example, if you have two archetypes {A, B, C}, { B, C, D} and you want to iterate over {B, C} only. Archetypes checks which archetypes have {B, C} as a subset and collects their iterators into a chaining iterator which the user can use seamlessly to iterate over all {B, C} pairs.

This implementation is still missing mapping from entities to archetypes and moving entities between archetypes by adding or removing components, but I see it as a good start.


panic: json: cannot unmarshal string into Go struct field LinePosition.notes.position.line_range.start.old_line of type int

Create new merge request thread

Is this still an issue? If so, then please provide a bit more info (response/error/GitLab version). If not I'm going to close this issue. Thanks.

Closing as stale... Feel free to reopen in the future if applicable.


best_match based on LevenshteinDistance become faster

restructure the best_match implement based on LevenshteinDistance.
basic info
storage_adapter="chatterbot.storage.MongoDatabaseAdapter"
db.statements.count() --> 55679
appearance
i write a flask app. after trained talking bot, i get response may cost 15s+
so i restructure some code to improve efficiency
algorithm before:
use for loop to every other_statement to compare.
get the score,and use it to judge which is the max.
seems too slowly
after
use generator to get all statements score.
and get python build_in function max to get the best_match statement.
conclusion
get response time reduced to 4-5 s
if i miss sth, please let me know.
thank you for your view~

@echoocking Thank for your contribution, the tests are failing https://travis-ci.org/gunthercox/ChatterBot/jobs/314024538#L567

I know , i will fix it. Beacuse i  do not check  the test code.
after i pull , exec 'make all'.
======================================================================
ERROR: test_best_match (tests_django.integration_tests.test_logic_adapter_integration.LogicIntegrationTestCase)
Traceback (most recent call last):
File "/Users/echoocking/projects/ChatterBotPr/tests_django/integration_tests/test_logic_adapter_integration.py", line 35, in test_best_match
response = adapter.process(statement1)
File "/Users/echoocking/projects/ChatterBotPr/chatterbot/logic/best_match.py", line 49, in process
closest_match = self.get(input_statement)
File "/Users/echoocking/projects/ChatterBotPr/chatterbot/logic/best_match.py", line 35, in get
confidence = [_ for _ in self.compare_statements(input_statement, statement_list)]
File "/Users/echoocking/projects/ChatterBotPr/chatterbot/comparisons.py", line 12, in call
return self.compare(statement_a, statement_b)
File "/Users/echoocking/projects/ChatterBotPr/chatterbot/comparisons.py", line 63, in compare
if not statement.text or not other_statement.text:
AttributeError: 'QuerySet' object has no attribute 'text'

Ran 81 tests in 28.892s
FAILED (errors=1)
Destroying test database for alias 'default'...
make: *** [all] Error 1

seems every distance comparison algorithm should be adjust , the test will be passed...

@echoocking Is this pull request still in progress?
If so, can you provide the method that you used to test the execution time for the speed improvement so that we may test it?

@zxsimple The way I adjusted out data post-processing.Did not take into account the issue of library

@echoocking Thank you for taking the time to work on this. I'm going to close this ticket off because tests are not passing and I don't see any recent commit history. Feel free to resubmit if you are still interested in contributing.


specify initialRouteName when navigating into a nested StackNavigator

Let's say I have a root Stack Navigator and nested within, another Stack navigator. I want to transition from a root screen to a screen within the nested navigator.
I would expect that, on click, my screen would just push one new screen onto the stack. And if I press "Back", I'll go back to where I just was - on the root screen.
But what actually happens is that react-navigation pushes two screens: the initial route for the new stack (if it's different from the screen specified, which it almost always is), and then the new screen that you actually wanted.
So when the user presses the "Back" button, there's this screen sandwiched in the middle that they navigate back to. Which is really confusing!

In other words, I want the initial route to be the one I'm defining at runtime in my call to .navigate(...) rather than having to define a static value.

Related issue: https://github.com/react-community/react-navigation/issues/2289

why do you nest one stackNavigator into another one? Why not just have one?

I would love to be able to do that. But I need some screens to animate in differently and unfortunately this library requires you to define that at the stack level rather than at the screen level

you should be able to construct the stack at runtime and change the initial screen so that it is the one you need, and only the initial one will be pushed.

@spencercarli I think issue can be closed because
1 . the stack can be generated at runtime along with the correct initialRoute
2 . a feature that would "Omit / ignore initialRouteName" doesn't make much sense so I don't think it will ever be included

How exactly can we set the initial route while navigating? :/

@IgorVanian first, create a function that accepts the initial routeName. That function returns a new StackNavigator eg:
const createMainStack = initialRouteName =>
  StackNavigator(
    {
      LoginScreen: { screen: ... },
      SomeOtherScreen: { screen: ... },
    },
    {
      initialRouteName,
    }
  );

second, render that navigator in a component (you can navigate to this component and pass the initalScreenString as a navigation param):
render() {
    let initialScreenString = 'LoginScreen';

      const Root = createMainStack(initialScreenString);

      return (
            <Root />
      );
    }

This is really weird, especially if your initialRoot has important componentWillMount logic :(

Pinging OP @joncursi since this issue has not been active for a while, and it's related to an old version of the lib.
Moreover @vonovak proposed solution is actually quite good.
Please let me know if you want this to remain open (does it still happen in the latest version?); if I get no answer in the next 7 days I will close it.

Hi there @joncursi,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up since my last comment I'm going to close it.
If you are still having the issue with the latest version (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.

Sorry for revive this thread, but we have any update?
I have a situation where I need to navigate to specific routes inside a nested Stack, but the initial route is aways rendered first.
I have this scenario:

MainStackNavigator

RouteMainA
RouteMainB
OneStackNavigator
- RouteOneA
- RouteOneB
OtherStackNavigator
- RouteOtherA
- RouteOtherB

When I navigate from RouteMainB to RouteOtherB the RouteOtherA is rendered too, and my stack looks like this:

RouteMainB (MainStackNavigator)
RouteOtherA (OtherStackNavigator)
RouteOtherB (OtherStackNavigator)

I chose to work with nested stacks because I have situations where I need to do a popToTop and close all routes in a nested stack.
Any suggestions?

I got it, solved with a custom push action.
        const pushAction = StackActions.push({
            routeName: 'OtherStackNavigator',
            action: StackActions.push({
                routeName: 'RouteOtherB',
                params: {
                    ...
                },
            }),
        });

        navigation.dispatch(pushAction);