add counter-strike 2 log parser

I removed the examples folder, as I can't share a log file just yet, but maybe in the near future. I also updated the .gitignore.

i'll look into it till end of the week


sync raft-engine

What is changed and how it works?

Issue Number: Close #14338
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/test

/merge


ConcurrentModificationException while date upcomes

Hello, I'm plotting upcoming data, single series, 1-10 dots per second in linechart style.
Sometimes the app execution crashes with
FATAL EXCEPTION: pool-3-thread-3

java.util.ConcurrentModificationException

at java.util.ArrayList$Itr.next(ArrayList.java:860)
--
at com.patrykandpatryk.vico.core.entry.diff.DefaultDiffProcessor.updateProgressMap(DefaultDiffProcessor.kt:220)
at com.patrykandpatryk.vico.core.entry.diff.DefaultDiffProcessor.setEntries(DefaultDiffProcessor.kt:50)
at com.patrykandpatryk.vico.core.entry.ChartEntryModelProducer.setEntries$lambda$1$lambda$0(ChartEntryModelProducer.kt:73)
at com.patrykandpatryk.vico.core.entry.ChartEntryModelProducer.$r8$lambda$ouCUkSdPZbczQqr-7snrCS2u75g(Unknown Source:0)
at com.patrykandpatryk.vico.core.entry.ChartEntryModelProducer$ExternalSyntheticLambda0.run(Unknown Source:4)

It doesn't depend on presence of markers, or the data size, or running-up time. It is random event
I use the viewmodel pattern, producer and entries are in viewmodel, the composable uses viewmodel.producer to construct the chart

Hello! Would you be able to provide a minimal reproducible example?

I discover little bit more, so when I put data successively and the two neighbor dots have the same X-value, I got crash

I discover little bit more, so when I put data successively and the two neighbor dots have the same X-value, I got crash

That's actually expected. You can't have multiple entries for single x-axis value in a single list. You need to add another list of entries for that.


Set default healthcheck port back to traffic-port

Use the actual traffic-port default value when necessary rather than manually adding the value corresponding to it.
cf: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group#health_check

LGTM How did you test it ?

I don't know how we could test it beforehand, I only relied on the documentation:

port - (Optional) The port the load balancer uses when performing health checks on targets. Valid values are either traffic-port, to use the same port as the target group, or a valid port number between 1 and 65536. Default is traffic-port.


how can I switch between different profiles by single pressing right shift key?

I would like to map single press of right shift key to switch between multiple profiles in karabiner. How can I do it if I can?
Thank you for any help.

Doc for switching profile with hotkey
https://pqrs.org/osx/karabiner/document.html.en#profiles
I am not sure if Karabiner can toggle between profiles with single key press, there is no programing logic building in to Karabiner. You might have to look into "hammerspoon" for doing the toggling to trigger Karabiner action.


License for code

Hi @parosky,
Unfortunately there is no license information contained in the repository. Could you please let me know under which license you release your code?
Thanks!

I just added LICENSE file (MIT) to this repository.

Thank you for the quick response @parosky :)


Elaborate on SSD requirements

I'm looking into using Umbrel for my RPI4 node and have some feedback.
Could the documentation elaborate on why an SSD is required for storage as opposed to regular HDDs? Or is it really a defenite requirement? If it is just preferable it should say so.
My current BTC node always ran on rotating disk storage. I understand SSD may be prefarable, but switching out all my TBs of  HDDs to SSD would be quite costly. I'd probably just stay with my home grown node for now if that's the case.

@lukechilds Is it neccesary to blacklist UAS even if I have storage devices with it's own power source?
I'm running HDDs on a USB Raid set with its own power source . It would not detect the storage until I removed the blacklist_uas parts from /home/umbrel/umbrel/scripts/umbrel-os/external-storage/mount.
So far everything seem stable.
I can run commands or check logs if there's any interest to look this up.


Support for Windows containers

Is it supported to use the dotnet monitor sidecar container approach with Windows containers, i.e., on a Windows Kubernetes node? If so, how would one map the diagnostic data named pipes between the two containers?
Or would this setup require running dotnet monitor within the same container as the application as a workaround?

At this time, it is likely not possible to run dotnet monitor as a Windows sidecar container to diagnose applications in another Windows container. This is largely due to the fact that the diagnostic pipe's implementation is a named pipe. It's my understanding that named pipes cannot be shared among Windows containers but can only be provided via a host mount: https://docs.docker.com/storage/#:~:text=named pipes%3A An npipe mount can be used,the Docker Engine API using a named pipe. One possible way to alleviate this in the future is https://github.com/dotnet/runtime/issues/63950
For now, you will have to run dotnet monitor within the same container as the application.


Fixed an issue with reflect.Value.FieldByName causing panic

There is an issue with preload functionality where FieldByName causes panic when your models are structured in a certain way.
It happens when doing a nested preload when some objects have relations you are trying to preload but some don't.
Here is an example script which causes panic.
This line fails:
db.Preload("UserProfiles.Profile")
package main

import (
	"database/sql"
	"log"

	_ "github.com/go-sql-driver/mysql"
	"github.com/jinzhu/gorm"
	_ "github.com/lib/pq"
	_ "github.com/mattn/go-sqlite3"
)

var db gorm.DB

// Profile ...
type Profile struct {
	gorm.Model
	Name string `sql:"type:varchar(40);not null"`
}

// User ...
type User struct {
	gorm.Model
	Username     string `sql:"type:varchar(100);not null;unique"`
	UserProfiles []*UserProfile
}

// UserProfile ...
type UserProfile struct {
	gorm.Model
	ProfileID sql.NullInt64 `sql:"index;not null"`
	UserID    sql.NullInt64 `sql:"index;not null"`
	Profile   *Profile
	User      *User
	State     string `sql:"index;not null"`
}

func init() {
	var err error
	db, err = gorm.Open("sqlite3", ":memory:")
	// db, err := gorm.Open("postgres", "user=username dbname=password sslmode=disable")
	// db, err := gorm.Open("mysql", "user:password@/dbname?charset=utf8&parseTime=True")
	if err != nil {
		panic(err)
	}
	db.LogMode(true)

	db.AutoMigrate(new(Profile), new(User), new(UserProfile))
}

func main() {
	buyerProfile := &Profile{Name: "buyer"}
	if err := db.Create(buyerProfile).Error; err != nil {
		panic(err)
	}
	sellerProfile := &Profile{Name: "seller"}
	if err := db.Create(sellerProfile).Error; err != nil {
		panic(err)
	}

	user1 := &User{
		Username: "username_1",
		UserProfiles: []*UserProfile{
			&UserProfile{
				Profile: buyerProfile,
				State:   "some_state",
			},
		},
	}
	if err := db.Create(user1).Error; err != nil {
		panic(err)
	}

	user2 := &User{
		Username: "username_2",
		UserProfiles: []*UserProfile{
			&UserProfile{
				Profile: sellerProfile,
				State:   "some_state",
			},
		},
	}
	if err := db.Create(user2).Error; err != nil {
		panic(err)
	}

	user3 := &User{
		Username: "username_3",
	}
	if err := db.Create(user3).Error; err != nil {
		panic(err)
	}

	users := make([]*User, 0)

	if err := db.Preload("UserProfiles.Profile").Find(&users).Error; err != nil {
		log.Fatal(err)
	}

	for _, user := range users {
		log.Print(user)
	}
}

Hi @RichardKnop
Thank you for your PR, but seems like it break some other tests.

@jinzhu Yeah I noticed that too. It fixes the bug I found but breaks other stuff. Trying to figure out how to make this work.

Cool, it might be good to add some tests for this case, to ensure it won't be broken in future.

@jinzhu  Oh, added a unit test. Feel free to refactor to make it similar to other unit tests. I tried to make it follow the same naming but the Level types are a bit confusing.

Thank you for your PR, make the tests going like this right now, will refactor it in the v1.0 release.


Window isn't drawn at all

I'm having an issue where the KYE Window isn't being drawn at all, the extension is loaded into arc

Slightly different from #19 or #18 because they didn't have data, mine I can't even see the Window
I have:

Downloaded the latest version
Deleted the settings.bin and settings.bin.txt and no change

Is there a way I can explicitly reset the positional data?
This is my arc log which doesn't provide too much value afaik
2023-11-29 20:09:53.047: info: version 20231128.183906-508-x64
2023-11-29 20:09:53.279: info: gw2 0x7FF66C7A1000-0x7FF66F2B2000 (0x25A1A63C)
2023-11-29 20:09:53.287: info: arcdps 0x7FFB905E1000-0x7FFB9072D000 (0xC82F1352)
2023-11-29 20:09:53.287: info: external d3d11
2023-11-29 20:09:53.693: info: loading config from "Z:\Guild Wars 2\Gw2Launcher\6\addons\arcdps\arcdps.ini"
2023-11-29 20:09:53.701: info: ready
2023-11-29 20:09:54.291: extensions: Know thy enemy 0x7FFB97581000-0x7FFB9760A000 (know-thy-enemy.dll, 4.8.0, 0x79BE20C2, C0FFEE)
2023-11-29 20:09:54.299: extensions: Boon Table 0x7FFB8D7E1000-0x7FFB8DA0F000 (d3d9_arcdps_table.dll, <IP_ADDRESS>, 0x3EA65190, 64003268)
2023-11-29 20:09:54.329: extensions: healing_stats 0x7FFB8C141000-0x7FFB8CA72000 (arcdps_healing_stats.dll, 2.7rc1, 0x56FEE453, 9C9B3C99)

yuh ill update on weekend, i should probably add a log message when it doesnt load properly. ill post again here when i update

A log message would be amazing, would put the guess work out

updated  in 4.8.1

do you get a "KTE NOT INIT" in your log?

2023-12-03 14:02:32.431: info: version 20231128.183906-508-x64
2023-12-03 14:02:32.666: info: gw2 0x7FF7C80F1000-0x7FF7CAC02000 (0x91446445)
2023-12-03 14:02:32.673: info: arcdps 0x7FFE52181000-0x7FFE522CD000 (0xC82F1352)
2023-12-03 14:02:32.673: info: external d3d11
2023-12-03 14:02:33.081: info: loading config from "Z:\Guild Wars 2\Gw2Launcher\6\addons\arcdps\arcdps.ini"
2023-12-03 14:02:33.088: info: ready
2023-12-03 14:02:33.603: extensions: Know thy enemy 0x7FFE75D81000-0x7FFE75E0A000 (know-thy-enemy.dll, 4.8.1, 0x3C968A1C, C0FFEE)
2023-12-03 14:02:33.609: extensions: Boon Table 0x7FFE51691000-0x7FFE518BF000 (d3d9_arcdps_table.dll, <IP_ADDRESS>, 0x3EA65190, 64003268)
2023-12-03 14:02:33.651: extensions: healing_stats 0x7FFE4F331000-0x7FFE4FC62000 (arcdps_healing_stats.dll, 2.7rc1, 0x56FEE453, 9C9B3C99)

This is all in my log

Never mind, found it

are you on the latest arc?

That was it sorry, I was on 2023-11-28 version, updated to latest and it works


Reimplementation for rnn using fastai

Hi. Not sure if it's right to post here, just want to share that I reimplemented the rnn cell searching using fastai at https://github.com/tinhb92/rnn_darts_fastai. There is also a blog post on it.
Thanks.

@tinhb92 thanks, it helps me :)

Hi,
@tinhb92 thanks for the info, it is very helpful.
Do you know if the implementation of cnn cell searching with Fastai is done anywhere? I would like to use it with image datasets but have not been able to find CNN with Fastai yet.
thanks!


Example app crashing at startup

Problem description
Running the example app results on a fatal crash at launch time
Steps to reproduce
After cloning the repo, run (as per the usage directives)
npm install
npm run build
npm run android

(on a usb plugged android device)
Additional information
Build Host
Uno 2.0.0-beta.7 (build 851)
Windows 10 x64 65e8f1e
Target Device
Android version: 10
Device manufacturer: Huawei
Device model: Y9s
Logs
01-07 00:31:21.041 21790 21790 W GStreamer+amc: 0:00:00.148015625 0xc38984e0 ../sys/androidmedia/gstamc.c:3579:gst_amc_codec_info_to_caps Unknown color format 0x00000014 for codec video/x-vnd.on2.vp9
01-07 00:31:21.041 21790 21790 W GStreamer+amc: 0:00:00.148031250 0xc38984e0 ../sys/androidmedia/gstamc.c:3579:gst_amc_codec_info_to_caps Unknown color format 0x00000027 for codec video/x-vnd.on2.vp9
01-07 00:31:21.073 21790 21790 F libc    : FORTIFY: %n not allowed on Android
01-07 00:31:21.074 21790 21790 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 21790 (ps.gstreamerapp), pid 21790 (ps.gstreamerapp)
01-07 00:31:21.120   823   823 I /system/bin/tombstoned: received crash request for pid 21790

Could it be related to this gstreamer issue?

Could it be related to this gstreamer issue?

I think it's related to that issue indeed, can you please update gstreamer-android-shared nuget package to the latest version of gstreamer? Upgrading this dependency should fix it.

I think it's related to that issue indeed, can you please update gstreamer-android-shared nuget package to the latest version of gstreamer? Upgrading this dependency should fix it.

Hi @bwail
You're right that it's related to that issue. I have pushed more recent GStreamer binaries on this branch: https://github.com/fuse-modules/fuse-gstreamer/tree/android
Adding all files to the repo for now because the resulting .nupkg is too large and keeps failing to upload on nuget.org (IIRC). Might split the package into several smaller packages to get around this at a later point when I have more time.
Cheers!

Hi @bwail
You're right that it's related to that issue. I have pushed more recent GStreamer binaries on this branch: https://github.com/fuse-modules/fuse-gstreamer/tree/android
Adding all files to the repo for now because the resulting .nupkg is too large and keeps failing to upload on nuget.org (IIRC). Might split the package into several smaller packages to get around this at a later point when I have more time.
Cheers!

Btw, I also noticed that the RTSP-stream used in the example app seems to be dead right now. Maybe it comes back again later, or maybe we'll have look for a new example URL...

Btw, I also noticed that the RTSP-stream used in the example app seems to be dead right now. Maybe it comes back again later, or maybe we'll have look for a new example URL...


Typo "<filename>into"→"<filename> into"

https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15
#PingMSFTDoc

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Not much of an issue but..

I haven't yet compiled any of this code (I am on XE2) but when I started playing with the demo (BCEditorComponentDemo64), I tried changing the font to 'Consolas' but being lazy I typed 'consolas' (all lower case).
When I did this, the text displayed became, how shall I put it, a display of all fixed-with characters. Much like a hex editor in text mode.
When I then typed in 'Consolas', things became as expected.
It really shouldn't be picky about case-sensitivity of font name (Delphi's code editor doesn't.)
One final thing, off-topic here though: Every component this project uses is compatible with XE2. I wonder what is there in the TBCEditor sources that dictate higher versions.

I can't repeat that font issue.

 I don't have older versions installed.


4.2.16: Add variable for SSH MaxAuthTries

Overall Review of Changes:
Adding a new variable amzn2023cis_ssh_maxsauthtries to control setting 4.2.16. The default has been set to 4, matching the value previously hard-coded in the step.
Issue Fixes:
Please list (using linking) any open issues this PR addresses
Enhancements:
Please list any enhancements/features that are not open issue tickets
How has this been tested?:
N/A

Thanks @uk-bolly, I've submitted anther PR to fix up my copy/paste mistakes on this 🤦 Apologies.
Out of interest, what's the release schedule for merging devel into master? It looks like there are a number of good additions.

Thanks @uk-bolly, I've submitted anther PR to fix up my copy/paste mistakes on this 🤦 Apologies.
Out of interest, what's the release schedule for merging devel into master? It looks like there are a number of good additions.

hi @tom-henderson
Im hoping the next couple of days a few PRs ive been following up on, we then leave it a week or so in devel before a merge to main.
I may do it later today due to other PRs not yet resolved.
thanks
uk-bolly


Change docker-flink logo

For trademark reasons we had to change the logo of this repository, I want to
propose to reuse the logo of the blog post as the official docker-flink logo.
https://activerain-store.s3.amazonaws.com/image_store/uploads/8/7/6/3/9/ar12988558393678.JPG

Sure, why not.
Do you know if there's any issue using the Flink logo here? Since the software in the image is Flink and it's in the context of a link to Wikipedia where the logo is also in-use, it might be fine, but on the other hand, lawyers have complained and threatened about less...

I don't think there should be an issue for the reasons you mention and also because other Apache projects include the logo in the documentation, see:
https://github.com/docker-library/docs/tree/master/solr
https://github.com/docker-library/docs/tree/master/cassandra
https://github.com/docker-library/docs/tree/master/storm
So I suppose we can keep it and change it only if we are requested to do so.

Cool, closing this then.


Add scaling option for artwork in collections tab

Currently, artwork in the collections tab has a fixed size - with large screens and high quality artwork it would be beneficial to add scaling option - so the artwork can be viewed as bigger up to the native size.

Hi, you can change thumbnail size in config panel

let me know ;)

I tried it but doesn't seem to affect the artwork - but I don't know whether we're talking about the same place, I mean this:


Environment

Whats the python version you are using?

The Dockerfile image uses Python 3.8 (see also: https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch).

I am not using docker, i am creating a conda environment. While installing, i am getting error with dafne installation.

Is there anyspecific way to work upon without using docker

Yes, you don't need docker -- it was just a pointer to which Python version the Docker image is using :-)
If you share the full output of the command I can have a look at what is going wrong. Feel free to paste it here: https://pastebin.com and share the link.

You can see it here.
https://pastebin.com/83kbRhGx

(base) ai21mtech13009@dgx1-2:~/DAFNe$ pip install dafne

This project, DAFNe, is not a package on pypi, i.e., you cannot install it with pip.
You are installing https://pypi.org/project/dafne, which is not related to this project.
You basically need to follow the same steps as outlined in the Dockerfile.
pip install tensorboard==1.15.0
pip install 'git+https://github.com/facebookresearch/fvcore'
git clone -b v0.5 https://github.com/facebookresearch/detectron2 detectron2_repo
pip install -e detectron2_repo
git clone https://github.com/CAPTAIN-WHU/DOTA_devkit && \
    cd DOTA_devkit && \
    git checkout<PHONE_NUMBER>4be9a6dabb01c8bb2a7eb562d57b4f && \
    swig -c++ -python polyiou.i && \
    python setup.py install && \
    cd poly_nms_gpu && \
    python setup.py install
pip install -r requirements.txt
pip install pdbpp ipython

I think since the folder dafne is not inside tools folder, thats why the "module not found " came. By coincide, theres a python package dafne also

No, the project just isn't "pip-installable" as it is right now (haven't written a proper setup.py). If you don't use docker, you need to install it as described above.

I am saying that if I put dafne folder inside the tools folder, then the code has started executing. Thanks


jupyterlab_bokeh labextension doesn't install with jupyterlab 0.20

I've installed jupyterlab via conda
conda list jupyter
# packages in environment at /home/achim/miniconda3/envs/good-life-adventures:
#
jupyter_client            5.1.0                    py36_0    conda-forge
jupyter_core              4.3.0                    py36_0    conda-forge
jupyterlab                0.28.0                   py36_0    conda-forge
jupyterlab_launcher       0.5.4                    py36_0    conda-forge

And the latest bokeh from pip
pip install bokeh

Trying to install the extension with jupyter labextension install jupyterlab_bokeh results in:
ValueError:
<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab              Extension            Package
>=0.11.1-0 <0.12.0-0    >=0.10.0-0 <0.11.0-0 @jupyterlab/application

Same, if I use the jupyterlab version from pip. (have read https://github.com/bokeh/jupyterlab_bokeh/issues/4 - and hope/believe it is not a duplicate)
I guess the extension needs an update?! Thanks!

PR #6 solves this issue

All right, thanks. Tried it out successfully.
(npm can be confusing if there is a conda and a ubuntu version of nodejs on the system, more confusing as it is by default.)

resolved by #6


cross compilation, again.

What about adding REBAR_ARCH (or similar) where you can alter the system architecture.
I have tried something like:
REBAR_ARCH=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc rebar compile
In this case I changed rebar_utils:get_arch to check for arm and return "32". I did also match x86_64, i386, i686 and so on. The fallback is REBAR_ARCH_WORDSIZE. This would also affects rebar_util:wordsize()
I have tried it and it works ok. What about it?

REBAR_TARGET could be an other name. Then using that to setup all the CC,LD,AR (binutils) program macros would be great. Maybe default CC=${REBAR_TARGET}-gcc when REBAR_TARGET is set.

This seems useful, and I've usually seen an option named target when configuring cross compilation. That said, since rebar is not primarily concerned with building C code, the name REBAR_TARGET is likely too unspecific. Maybe REBAR_ARCH_TARGET? To be clear, this would override the erlang:system_info(system_architecture) part of rebar_utils:get_arch/0, right?
cc @ferd @liskin

Or is it better to name it REBAR_SYSTEM_ARCHITECTURE to follow erlang:system_info(system_architecture)? I think REBAR_ARCH_TARGET is fine and more similar to other build systems.

I frankly barely ever compile C code and never had the need to cross-compile. I'm not the best person to handle this feature or assess its design. I'm ready to listen to the opinions of more experienced people in that area.

Ok, I will try REBAR_ARCH_TARGET and REBAR_ARCH_WORDSIZE for now. I tend to do (too) much C code with nifs and drivers, interfacing hardware, so I am in a real need of improving this.

@tonyrog so you're going to submit a patch, right?

Yes :-)
I have updated get_arch / wordsize / default_env and it looks nice. I Successfully cross compile epx (Erlang pixels) for Samsung Gear :-)

Great!

What about using the ERLANG_ARCH and ERLANG_TARGET variables?
Note that there are some arm64 too (AArch64). So assuming arm is always 32-bit is wrong.

Do what you want with the patch, or ignore it. I am using my own fork.

@tonyrog please see my comment in #451.

Closing since cleaned up version #520 of #451 has since been merged


Add env module for access to environment variables

Does exactly what it says on the tin.
The function names originally ended in _env, but I figured env.get_env(...) was a bit redundant, so the _env suffixes have been removed.

I did ponder writing an os module instead, but I was worried about the cohesiveness of such a module; e.g. Elixir's System is quite a jumble. That said, Erlang's os is more focused, so as long as we commit to that paradigm I'll happily rename env to os. :grin:


rename test file and make test name match it

can you describe the problems with tests?

After the helm upgrade and second helm test invocation you will no longer be able to see in the ct output what mirror maker 2 test generated in the output. The curl commands might pass successfully, but it would be good to verify if everything was as expected. I remember there was some bug I found that thanks to running commands manually by hand (without ct) and examine the test Pods output.

After the helm upgrade and second helm test invocation you will no longer be able to see in the ct output what mirror maker 2 test generated in the output. The curl commands might pass successfully, but it would be good to verify if everything was as expected. I remember there was some bug I found that thanks to running commands manually by hand (without ct) and examine the test Pods output.

Aren't there logs prior to the upgrade?

No, the test Pod is removed with it's logs.

Right, I mean doesn't CT run tests after the install but before the upgrade that output logs?

Right, I mean doesn't CT run tests after the install but before the upgrade that output logs?

No. The order:

helm instal
helm test
helm upgrade
helm test
fail
output


loadFixerFormatter is not use in example.

When I tried this sample code, I did not need loadFixerFormatter .So I deleted it.
Also, according to the type definition, fixText must require a file path as the second argument, which is correct?

fixText(text, filePath) is correct.
const result = await linter.fixText("TODO: fix me", "DUMMY.md");

@azu
Thank you.I fixed it.

The CI is a bit odd, but the fix is fine.
Thanks!


Unable to resolve action sclorg/testing-farm-as-github-action@v1

Currently documentation shows an example of using testing-farm-as-github-action as sclorg/testing-farm-as-github-action@v1. But since there is no tag v1 this will resolve with following error:
Error: Unable to resolve action `sclorg/testing-farm-as-github-action@v1`, unable to find version `v1`

As noted in https://github.com/sclorg/testing-farm-as-github-action/pull/19#issue-1123969843 you need to add tag v<major-version> in order to use it like that. If not, users need to reference the exact minor version, at the moment it's v1.1 and then setup dependabot to automatically look for updates.

From Docs:
We recommend creating releases using semantically versioned tags – for example, v1.1.3 – and keeping major (v1) and minor (v1.1) tags current to the latest appropriate commit. For more information, see "About custom actions" and "About semantic versioning".

Thanks for this issue.
I have to create an automation, how to do it as soon as PR is merged.

The tag v1 is still moving manually, but trying to find out an action for it.

@phracek You can try something like this: https://github.com/redhat-plumbers-in-action/differential-shellcheck/blob/main/.github/workflows/publish-release.yml
Just exclude release-drafter action. Then when you publish new minor tag, major tag will get automatically updated.

See how publish-release.yml works. Issue https://github.com/release-drafter/release-drafter/issues/1073


Origin client in error.

Bug
Origin client trying to update. Message: Whoops - the installer encountered an error. Error codes : 20:403
Steps to reproduce

Open Northstar game.
The game won't start until the Origin client is open and online.
The Origin client shows this error: Whoops - the installer encountered an error. Error codes : 20:403

Specifications

Northstar version: 1.18.0
Platform:  Windows

Never mind. This is not a bug.


Package: msmpi:x86-windows   Vcpkg version: 2019.09.12-nohash

Host Environment

OS: Windows 10

To Reproduce
./vcpkg install msmpi

Hi @thierleft, thanks for reporting this issue.
I cannot repro it on my machine now, please provide the failure logs in VCPKG_PATH/buildtrees/msmpi.
Thanks.

If this issue is still not resolved, please reopen it.


COMP (Gets the number of components)

.xshow comp = return like comp.0 SERIAL of object
but should return COUNT!

.xshow comp return [UID0]
.xshow comp.0 return [UID0]
.xshow comp.1 return [UID1]
.xshow comp.2 return [INVALID SET]

It changed to COMPS in 56x

Sorry, thanks for the help

https://wiki.spherecommunity.net/index.php?title=Special_Items
Can you make changes into wiki  or addons for X branches


docs: adding field descriptions to predefined mesh 3D document

Add Field Description and examples to predefined Mesh3D document #1736

@JoanFM This PR addresses the changes to add field descriptions and examples for Mesh3D document


微调完成后使用llama_factory的vllm和qwen官方的vllm部署方式启动返回的不一样

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
大佬  我使用llama_factory 微调成功后
使用llama_factory 的vllm与使用qwen官方文档推荐的vllm方式部署
返回不一样
llama_factory vllm部署的返回都很正常 从没出过问题
千问官方vllm部署的 总是有些问题 回复的效果很差 几乎乱回答 如下图

大概什么原因啊
期望行为 | Expected Behavior
期望返回都很正常
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python: 3.10
- Transformers:
- PyTorch:
- CUDA 12.2
- vllm 0.3.3

备注 | Anything else?
No response

Hi, can you clarify on the difference between deployment of "vllm from llama_factory" and "vllm from Qwen's official documentation"?
Based on the shared screenshot, it appears that you are using a custom frontend. As vllm is not fully compatible with Qwen(1.0) models (unaware of the chat template and the stop token ids), the frontend has to at least pass stop_token_ids to the API created by vllm. Or, you could use fastchat+vllm as introduced in the README. If you are using Qwen1.5, plain vllm should work fine.

As Qwen1.0 is no longer actively maintained, we kindly ask to you migrate to Qwen1.5 and direct your related question there. Thanks for you cooperation.


Load data on an RETROformer based on Deepmind Retroformer model

The RETRO model we are currently investigating:  https://arxiv.org/pdf/2112.04426.pdf
An example implementation: https://github.com/lucidrains/RETRO-pytorch
Any "large" data set of text as a first input is fine
Acceptance criteria:  A python test case that creates the knn vector database used for the encoded neighbors search, and makes that plus the underlying BERT based model accessible for an inference request.
Stretch goal:  Validate inference testing against the model.

@MostAwesomeDude I added a branch platform/retro-pytorch to the repository with a current attempt at this.  The train.py is simply code from the lucidrains/RETRO-pytorch readme.
You will still need to load some txt files into the text_folder for the system to ingest.

I recommend standard datasets that, are at start, highly curated. I am using this dataset:
https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T/tree/main
Cheers,
-steve

@rstarmer rather than stretch goals, would you consider adding a separate user story with the applicable priority?
Thank you,
-steve


issue caused by ordered augmentor

Just to bring a little problem:
Augmentor.Compose([aug1, aug2,...]) combines all aug operations in order, yet some of the ops are opposite themselves. For example if we applied EdgeRemoving and EdgeAdding some edges may be removed and then added thus two operations might cancel each other.
Although this problem might not appear very often, but it does exist.

Thanks for bringing this issue to our attention. We will take a look into it! @Linyxus

hello， while I'm running the PyGCL， there is the following error message shown， I want to know whether you meet this problem and how to solve it.   Thank you!
error message: Using backend: PyTorch
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Process finished with exit code 134


🦢 Feature/argocd 1.8.2 🦢

update to latest argocd 1.8.2
tested against UbiquitousJourney labs ci-cd

LGTM :)

LGTM :)


Fixed #39: Added the preprocess_image function.

Codecov Report

Merging #41 (8ab608d) into main (09d4149) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   95.89%   95.91%   +0.01%
==========================================
  Files          19       19
  Lines         756      759       +3
==========================================
+ Hits          725      728       +3
  Misses         31       31

Impacted Files
Coverage Δ

squids/tfrecords/__init__.py
100.00% <100.00%> (ø)

squids/tfrecords/feature.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[Bug]: beam_PreCommit_Python_Cron build failed

What happened?
Most recent build failed. See console for more details.
Issue Priority
Priority: 1 (data loss / total loss of function)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

no longer failing.


fix: avoid working outside of formik, dedupe is valid logic

Try out this version of the Hiro Wallet - download extension builds.

Recipient field wasn't updating properly as it wasn't bound to formik
Could bypass validation as it was at the submit button level, not on the form

@kyranjamie pretty confident the changes here break bns code in the Stacks form?

I think you just need to add the name prop to the input to bind it rather than spreading {...field}?

@kyranjamie pretty confident the changes here break bns code in the Stacks form?

Will check. If it does that's a problem with the component structure, as bns-handling code is leaking into generic non-bns components?

I think you just need to add the name prop to the input to bind it rather than spreading {...field}?

Reading docs, pretty sure you do, unless you're using their  component


OpenVPN can't connect: Exiting due to fatal error

Today after update, NordVPN stopped to work.
*.ovpn configs you can find here https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
---- Running with the following variables ----
Kill switch: on
HTTP proxy: off
SOCKS proxy: off
Proxy username secret: none
Proxy password secret: none
Allowing subnets: none
Using OpenVPN log level: 3
Listening on: none
Using configuration file: /data/vpn/us8854.nordvpn.com.udp.ovpn
Creating /data/vpn/us8854.nordvpn.com.udp.ovpn.modified and making required changes to that file.
Changes made.

Creating VPN kill switch and local routes.
Allowing established and related connections...
Allowing loopback connections...
Allowing Docker network connections...
Allowing specified subnets...
Allowing remote servers in configuration file...
  Using:
    IP: <IP_ADDRESS> PORT: 1194 PROTOCOL: udp
Allowing connections over VPN interface...
Preventing anything else...
iptables rules created and routes configured.

WARNING: OpenVPN credentials secrets not present.
Running OpenVPN client.

2022-03-12 18:53:33 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2022-03-12 18:53:33 OpenVPN 2.5.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 15 2021
2022-03-12 18:53:33 library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
2022-03-12 18:53:33 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'.  If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
2022-03-12 18:53:33 Exiting due to fatal error

and it's the same for all my containers now...

Issue was due to wrong docker-compose config, using
    environment:
      VPN_AUTH_SECRET: provider01_secret
    secrets:
      - provider02_secret

Strange OpenVPN error though...


How to prerender routes for production?

The readme says:

Run vite-ssr build for buildling your app.

I wonder how? The readme doesn't mention installing a CLI.
Context: my production server isn't actually running the application—I want to prerender all routes of my application as html files and put them on basic Apache hosting.

@kslstn Well it mentions you need to install vite-ssr as an NPM dependency, which also adds a small CLI to your project.
In any case, Vite SSR is for rendering routes at runtime in your server (server side rendering). It does not support rendering at build time out of the box, and that's what you seem to be looking for.
I would suggest having a look at vite-ssg, which has a similar API to vite-ssr.

Thank you! npx vite-ssr build is recognized a command (I tried npm vite-ssr build before, but that didn't work). Now unfortunately I don't get a build with the sample setup ("Cannot find module 'vite'"), so I'll try vite-ssg.


Feature request: Leverage wallet api to get local block height

Would it be possible to leverage the wallet api similar to discovery mode, but to have the hotspot look at its local block height and report it? Leveraging the ETL API for sync status at this scale is proving troublesome due to lag.

wallet-api gets its data from etl, so it won't be any better or beneficial unfortunately.


[Bug] Zabbix not showing as datasource

Describe the bug
The Zabbix Datasource is not showing in "datasource" page after installing and enabling the zabbix plugin (followed installation in docs using grafana-cli tool)
Expected behavior
Expect zabbix datasource to appear in the datasource configs
Screenshots
Plugin installed and enabled

Zabbix doesn't appear in datasource

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

9.3.2
6.2
4.2.10

Note : when adding the plugin as allowed unsigned plugin, the datasource appears, but after configuring, I have the same problem as #1419 (Cannot see Zabbix query )

Also related to #1042 ?

Hi!
This is a problem difficult. Your grafana instance run under RHEL/CentOS 8/9?
@alexanderzobnin your plugin was built under RHEL/CentOS 7, and linked /lib64/ld-linux-x86-64.so.2. This under Centos/RHEL7 is effectively the ld-2.17.so, this is the correct, your plugin that worked. But under RHEL/CentOS 8 this is effectively the ld-2.28.so and this has not worked.
This is why it throws datasource plugin permission denied in the log on the first load, and grafana doesn't use it anymore. The panel and app do not throw this error. Are you using some deprecated call there by any chance?
Note: zabbix6 not running CentOS/RHEL7, it needs an 8 minimum! (RHEL7 supports short time expired.)


bower package

It'd be nice to have this on bower so those of us that don't use browserify could still install this.

Note that you do not necessarily need browserify to install/use it. The latest standalone build is in https://github.com/TopCloud/socketcluster-client/blob/master/socketcluster.js
Or minified:
https://github.com/TopCloud/socketcluster-client/blob/master/socketcluster.min.js
^ You do need to wrap it in your own AMD define() block if you're using RequireJS though which is a bit tedious.
I will look into putting it on bower anyway to make the install process as convenient as possible.

Sure, of course. I just mean, it's much, much easier to bower install socketcluster-client. Basic configuration is pretty easy.
Thanks a ton!

I'd also appreciate this - we use bower for client side package management where possible because it's flat dependency structure prevents us from having multiple versions of the same libraries and thereby making our JavaScript bundles unnecessarily big.

Done


Tracks, Problems and Implementations

Context
Definitions:

Track - A language track.
exercise - abstract concept for the programming exercises you do on exercism.io
slug - short unique identifier for a problem. (e.g. 'hamming')
Problem - An exercise as specified in the x-common repository.
Implementation - A track-specific implementation of a problem.

With this in mind,
track.problems does not really make sense, it should be track.implementations
Most people seem to want to refer to the 'problems' belonging to a track, without having to worry about the distinction between Problems and Implementations.
However the interface of problems and implementations is different which means you still need both to get anything useful done.
Extra confusion:
exercism.io has it's own Problem class which is a value object combination of a track_id and a problem slug.
Making things better
The An Implementation is a Problem pull request takes a step towards making life better by making Implementation respond to the methods that Problem does, so you now only need a single track.implementations call to get all the information you need about the exercises.
But does inflict some confusion downstream by warning them that what they thought were 'problems' are actually 'implementations'
Suggestion.
Rename Trackler classes to match common usage.
Renaming the trackler classes will allow the intentions to be consistent across repositories, particularly with exercism.io which is probably more important since we want to make things easier for casual contributors.
'Trackler::Problem' => 'Trackler::Specification'
'Trackler::Implementation' => 'Trackler::Problem'
However doing this is likely to be super confusing, so I'd like to propose:
2 step solution.
Step 1:
'Trackler::Problem' => 'Trackler::ProblemSpecification'
'Trackler::Implementation' => 'Trackler::ProblemImplementation'
Deprecate 'Track.implementations' in favour of 'Track.problem_implementations'
Deprecate usage of the 'Track.problems' also in favour of 'Track.problem_implementations'
which knows everything about ProblemSpecifications anyway.
Update dependencies. (x-api, exercism.io)
Step 2:
(n months in the future, or possibly never.)
'Trackler::ProblemSpecification' => 'Trackler::Specification'
'Trackler::ProblemImplementation' => 'Trackler::Problem'
Discussion
Your thoughts?

@kytrinyx do you have any thoughts on this?
Should I just keep making PRs that push things in this direction?

slug - short unique identifier for a problem. (e.g. 'hamming')

For an exercise (problem or implementation)

Problem - An exercise as specified in the x-common repository.

An exercise as specified independently of a language-specific implementation. It might be defined in the x-common repository, or it could be defined as part of an exercise that is custom to a specific track.

Extra confusion:
exercism.io has it's own Problem class which is a value object combination of a track_id and a problem slug.

Nothing in exercism.io is the way I want it. Everything has accreted over the course of four years, and should not factor into to any of this.

Renaming the trackler classes will allow the intentions to be consistent across repositories, particularly with exercism.io which is probably more important since we want to make things easier for casual contributors.

No. I really don't want things to be consistent with exercism.io. I want exercism.io to go away.

'Trackler::Problem' => 'Trackler::Specification'

That seems fine to me.

'Trackler::Implementation' => 'Trackler::Problem'

How about Trackler::Exercise?
A track has exercises that you do. Exercises are implementations of a problem specification, a.k.a. specification.

'Trackler::Problem' => 'Trackler::ProblemSpecification'
'Trackler::Implementation' => 'Trackler::ProblemImplementation'

No, I don't think this helps at all.
I'd rather go straight to something that at least makes sense internally.

Thanks, that is helpful.
Take 2:
Definitions:

Problem - abstract concept for the programming tasks you do on exercism.io.
Slug - A short unique identifier for a problem. (e.g. 'hamming')/ Matches /^[a-z-]+$/
Specification - Language agnostic description of a problem (They live in x-common).
Exercise - A language specific implementation of a specification.
Track - A collection of exercises implemented in the same language.
id - short unique identifier for a track (e.g. 'csharp'). Matches /^[a-z-]+$/

Todo in Trackler:
Gradually rename Trackler classes to match intended usage:
'Trackler::Problem' => 'Trackler::Specification'
'Trackler::Implementation' => 'Trackler::Exercise'

Definitions [...]

Yepp, I like it. For the slug I would say A short unique identifier for a problem, specification, or exercise since it is used at every level of abstraction.
For the todo in Trackler, I'd suggest that we:

Create a Trackler::Specification that inherits from Trackler::Problem
Update all the downstream dependencies to use it
Rename the Trackler::Problem to Trackler::Specification and delete the inheritance.

Likewise with Implementation -> Exercise.

Based on the conclusions from:  https://github.com/exercism/discussions/issues/145
Take 3
Definitions:
Problem - abstract concept for the programming tasks you do on exercism.io.
Exercise - An instance of a problem made up of a specification and its implementation.
Slug - A short unique identifier for an exercise. (e.g. 'hamming')/ Matches /^[a-z-]+$/
Specification - Language agnostic description of a problem (They live in x-common).
Implementation - A language specific implementation of a specification.
Track - A collection of exercises implemented in the same language.
id - short unique identifier for a track (e.g. 'csharp'). Matches /^[a-z-]+$/

Todo in Trackler:
Gradually rename Trackler classes to match intended usage:
'Trackler::Problem' => 'Trackler::Specification'
'Trackler::Implementation' (unchanged)
Steps:

Create a Trackler::Specification that inherits from Trackler::Problem
Update all the downstream dependencies to use it
Rename the Trackler::Problem to Trackler::Specification and delete the inheritance.

Take 3

:-) I'm glad we had that conversation! I feel a lot better about the terminology that we've landed on.

I'll go ahead and do step 1 today.

Todo list:

[x] Add Trackler::Specification to replace Trackler::Problem (#57)
[ ] Update downstream dependencies

[ ] exercism.io
[ ] x-api

[ ] Remove references to Trackler::Problem

Alright: final PR for this one is over in #67


Generic Transaction Trait

Problem

The use of SanitizedTransaction is extremely slow in block-production

This is mainly due to the high level of nested allocations.
Legacy messages use 3 + 2 * num_instructions allocations
V0 messages use 4 + 2 * num_instructions + 2 * num_lookups

This has motivated the use of a new transaction type, however runtime & SVM do not support using anything other than SanitizedTransaction.
It would be convenient if we could slowly migrate to new transaction type, and have the runtime and SVM be generic over some transaction trait

Summary of Changes

Create 2 new traits: MessageTrait, TransactionTrait

MessageTrait is effectively to abstract current SanitizedMessage
TransactionTrait is an extension of MessageTrait that is effectively to abstract SanitizedTransaction

Implemented trait for the "reference" types SanitizedMessage and SanitizedTransaction
Implemented trait(s) for &T if T implements traits

this allows us to pass owned values or references to any function that is generic over the trait...this is really convenient
makes some existing code simpler: no more impl core::borrow::Borrow<SanitizedTransaction>

New crate and trait names are placeholders, will be using this PR as a platform to discuss naming. Possible trait names:

MessageTrait, TransactionTrait
Message, SignedMessage (@Lichtso had mentioned to me that he felt we use "transaction" incorrectly right now, and a "transaction" is a loaded message. i.e. users always send messages, transactions are what come out of those messages).

Some possible crate names (probably depends on above choice):

solana-transaction-trait
solana-signed-message

Fixes #

@LucasSte @t-nelson @Lichtso
Could I get input on naming here? I have a few options in the PR description, or feel free to submit your own idea(s)

I'm in favor of this! I also think it should be its own crate, as you have it.
My thoughts on naming: solana-transaction (crate), SolanaMessage and SolanaTransaction. Maybe also SolanaInstruction.

I'm in favor of this! I also think it should be its own crate, as you have it.
My thoughts on naming: solana-transaction (crate), SolanaMessage and SolanaTransaction. Maybe also SolanaInstruction.

I like these more than the current names I have

If we call this solana-transaction what do we call the crate we make when solana_sdk::transaction finally gets its own crate?
Fully support making this a new crate whatever we call it

If we call this solana-transaction what do we call the crate we make when solana_sdk::transaction finally gets its own crate?
Fully support making this a new crate whatever we call it. I suggest solana-transaction-trait

This is just my own bias, but I don't like putting "trait" or "struct" in the names, I'd lean toward solana-transaction-interface if we didn't want to nab solana-transaction. They could also be the same crate.

If they were the same crate then there would be more chance of users getting confused by the Instruction and MessageAddressTableLookup structs that this crate has.
Plus there'd be more bloat and it would be harder to rip out what's needed for transactions from solana-sdk, e.g. this crate requires solana_sdk::packet, which is not required by solana_sdk::transaction

I'm in favor of this! I also think it should be its own crate, as you have it.
My thoughts on naming: solana-transaction (crate), SolanaMessage and SolanaTransaction. Maybe also SolanaInstruction.

These names are good. I couldn't think of anything better (I'm terrible at naming things).

This is just my own bias, but I don't like putting "trait" or "struct" in the names, I'd lean toward solana-transaction-interface if we didn't want to nab solana-transaction. They could also be the same crate.

I actually want solana-transaction-interface for something else in the future 😉 (an ffi capable interface for transactions).
I think whatever name we choose, this should be a separate crate from the sdk transaction.

It would be convenient if we could slowly migrate to new transaction type, and have the runtime and SVM be generic over some transaction trait

I guess it wouldn't hurt to at least consider SvmTransaction and SvmMessage.
They don't look as nice as SolanaTransaction and SolanaMessage, but perhaps the "SVM" prefix describes the traits' intentions more. Thinking a bit about people using solana-svm outside of the validator.

If we call this solana-transaction what do we call the crate we make when solana_sdk::transaction finally gets its own crate?

Not sure if this makes the relationship any more clear, but you could have solana-svm-transaction for the interface and solana-transaction for the SDK structs that implement it. It might appear a bit backwards, but people working with Solana tooling on the chain itself would just use solana_transaction::Transaction, meanwhile SVM projects would spot solana_svm_transaction::SvmTransaction in the solana-svm library and see they can implement it with a custom transaction.
Or maybe it's even solana_svm_transaction::SvmTransaction and solana_transaction::SolanaTransaction. Seems a tad redundant, though.

I guess it wouldn't hurt to at least consider SvmTransaction and SvmMessage.

This was my original idea, but I'm a bit hesistant since there are a few things in the interface that are not strictly necessary for SVM, but are there for either the use inside of Runtime or Core.

Put me on record as strongly opposed to calling the new crate solana-transaction for the reasons above

ended up just going with solana-svm-transaction, SVMMessage and SVMTransaction.
nit on myself: any preference for SVM vs Svm in trait naming? Seems "proper" to do SVM, but also a bit unwieldy to read MMessage

I'll raise a question here about a related change.
There are several convenience functions that I plan to implement which use this trait, but imo don't belong on the trait itself.
These are largely fns that are useful within our codebase rather than something that needs to be public for using SVM, and I think ideally we'd either version it separately from this trait crate.
Some examples of functions I anticipate adding to that new module/crate:
    fn writable_accounts_iter(message: &impl SVMMessage) -> impl Iterator<Item = &Pubkey> + Clone;
    fn readable_accounts_iter(message: &impl SVMMessage) -> impl Iterator<Item = &Pubkey> + Clone;
    fn verify_precompiles(message: &impl SVMMessage) -> Result<(), TransactionError>;
    fn get_durable_nonce(message: &impl SVMMessage) -> Option<&Pubkey>;
    fn get_signature_details(message: &impl SVMMessage) -> TransactionSignatureDetails;

My gut feeling is these belong in some dependent crate, but wonder if you all think these belong in the same crate?

There are several convenience functions that I plan to implement which use this trait, but imo don't belong on the trait itself. These are largely fns that are useful within our codebase rather than something that needs to be public for using SVM, and I think ideally we'd either version it separately from this trait crate.

I'd agree and lean toward a separate crate - maybe something like solana-svm-transaction-extractors. Just be careful not to end up with a miscellaneous kitchen-sink of utils.

@buffalojoec @LucasSte I removed a few extra things from SVMTransaction; it only has the accessors for signatures.
I think the other stuff can be an extended trait that is only used inside of core/runtime.


Language Detection Not Working (HTTP Error 503: Service Unavailable)

from textblob import TextBlob
txt = u"Test Language Detection"
b = TextBlob(txt)
b.detect_language()
It is giving "HTTPError: HTTP Error 503: Service Unavailable"
Python Version: 2.7.6
TextBlob Version: 0.11.1
OS: Ubuntu 14.04 LTS & CentOS 6.8

from textblob import TextBlob
text = '''Please Miss Fried, He don't mean to be mean , He just needs to leave, He hopes he does not '''
blob = TextBlob(text)
blob.translate(to="es")
It shows:
HTTPError: Service Unavailable

Same issue on Python 3 with a simple translate, it always throws error 503
import discord
from discord.ext import commands
from .utils.chat_formatting import *
from .utils import checks
from textblob import TextBlob
import re

class Translate:
	"""Translates text to desired language."""

	def __init__(self, bot):
		self.bot = bot

	@commands.command()
	async def translate(self, *, text : str):
		"""Translates text to desired language."""
		pattern = re.compile("\-([a-z]{1,3})")
		m = pattern.match(text)

		if m:
			blob = TextBlob(text.split(' ', 1)[1])
			await self.bot.say("```" + str(blob.translate(to=str(m.group()[1:]))) + "```")
		else:
			blob = TextBlob(text)
			await self.bot.say("```" + str(blob.translate(to="en")) + "```")

@Sickness-chan "since approximately 2 days. It has worked just fine before." Same for me.

Same here. It seems that google translation uses a token (called tk) generated in javascript to avoid bypasses in its calls. I saw that there is a function in translate.py (_calculate_tk) that calculates it. I guess that that function should be updated, but I still didn't figure out how. I hope that this points someone in the right direction.

Any update on this?

I'm experiencing this same problem since 4 or 5 days ago.

Somehow fixed it. Not sure its a solution or workaround :D I just started fighting with it and made few changes in translate.py (/python/dist-packages/textblob/)
Change List (PFA translate.py.txt):

Updated tk calculation method. Now calculating tk using gTTS-token

TextBlob use to make http request using urllib (PY-3) & urllib2 (PY-2); somehow google marking this request as robot (although code is trying to fake it as browser using user-agent header). So I changed it to "requests" module of python.

Modified client param in the code which is creating data for http request, changed client's value as webapp, i.e. "client": "webapp".

Tested with Python 2.7.6, Ubuntu 14.04, TextBlob 0.11.1

Here is the Updated Code File:
translate.py.txt

Test Code:

from textblob import TextBlob
txt = u"मेरा नाम एलेक्स है"
#txt = "my name is alex"
b = TextBlob(txt)
print b.detect_language()
print b.translate(to='en')

Note: Changes made in existing code file is just to share a workable solution to the reported issue. It is shared by and as an individual; not from the owner or community.

@manurajhada Would you be so kind as to send a PR with your fix?

Its working for small text only, for large paragraph google response is "Your client has issued a malformed or illegal request."

Porting the code to requests cannot be very significant to the fix as requests uses urllib itself.
They must have changed something to the tk parameter that we might never have gotten right, in the first place. We got it from another project but it's reverse engineered from minified javascript.
The repo for gTTS-token hasn't been updated since June so it won't be enough, assuming they indeed changed the code.  Let's hope that someone can understand the new algorithm.

Any update on this issue ? Getting the same while using textblob.
It was working fine until 2-3 days back. Any idea how to fix this ???

Seems like all the modules which internally uses the Google Translation APIs are having the same problem. I have tried goslate and same error.

Yep, same problem here.. I've also tried other modules and they are all replying error 503 :-\

I've submitted PR #139, which works for me most of the time, but I still get some 503's.  Let me know if it works for you.

Affects me too, I learn traducing first to english (from spanish) now the learn databases are corrupted because the latest thing learned come from text in spanish, not traduced.

It seems that this is still broken.  I was getting this error in HangoutsBot, so I setup a virtualenv to test TextBlob specifically and I'm seeing the same 503 error. :(

up!

any API that uses Google as service will get 503! it's the same for others such as Goslate. It turns out that now you have to pay (https://cloud.google.com/translate/v2/pricing)

Same issue here. I switched to https://github.com/Mimino666/langdetect , which seems to work.

This has been fixed in #148 . I will cut a release shortly.


[Question]: AttributeError: 'SQLDatabase' object has no attribute 'get_single_table_info'

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Here is my code and the error I am getting
sql_database = SQLDatabase.from_uri(db_uri)
table_node_mapping = SQLTableNodeMapping(sql_database)
all_table_names = [
    "table1",
    "table2",
    "table3"]
table_schema_objs = []
for table_name in all_table_names:
    table_schema_objs.append(SQLTableSchema(table_name=table_name))

obj_index = ObjectIndex.from_objects(
    table_schema_objs,
    table_node_mapping,
    VectorStoreIndex,
)

 python main.py Traceback (most recent call last):   File "C:\Users\hp\Desktop\openai\main.py", line 64, in <module>     obj_index = ObjectIndex.from_objects(   File "C:\Users\hp\Desktop\openai\jmf-env\lib\site-packages\llama_index\objects\base.py", line 50, in from_objects     nodes = object_mapping.to_nodes(objects)   File "C:\Users\hp\Desktop\openai\jmf-env\lib\site-packages\llama_index\objects\base_node_mapping.py", line 55, in to_nodes     return [self.to_node(obj) for obj in objs]   File "C:\Users\hp\Desktop\openai\jmf-env\lib\site-packages\llama_index\objects\base_node_mapping.py", line 55, in <listcomp>     return [self.to_node(obj) for obj in objs]   File "C:\Users\hp\Desktop\openai\jmf-env\lib\site-packages\llama_index\objects\table_node_mapping.py", line 46, in to_node     f"{self._sql_database.get_single_table_info(obj.table_name)}\n" AttributeError: 'SQLDatabase' object has no attribute 'get_single_table_info'
Can someone help me how to resolve this error? I have tried to check my code everything seems to work perfectly fine

I solved the issue after running a diagnosis of my imports, I came to realize that there was another SQLDatabase class from langchain that was overriding the first one from llamaindex. Thanks so very much @logan-markewich  for the assistance.


[FEATURE] Filled and Outlined Circle

What's in this PR

New efficient functions to draw outlined and filled circles, based on the Midpoint Circle Algorithm, the filled one uses memset on the raw buffer for line-by-line rasterization.
Example files that shows off both functions (and acts as a test suite I guess)
Simple color utilities macros, so one can write FBGL_RGB(255, 12, 0) without dabbling in hex magic

Why the other changes
Other slight errors are still being introduced in the repository despite them being detectable by compiler warnings that are already turned on by the CMakeLists.txt.
For example, various bound checks for the keyboard codes were present that were actually useless:

unsigned char c
if (c > 256) {
// do stuff
}

Here c can never be greater than 256 as c is byte-sized, therefore it's maximum possible value is 255. This means that if the users enters 300 as a code, it's going to overflow to a correct value again anyway (you can't really catch this error library-side and you have to hope your user is listening to warnings...)
Another error that is flagged (and prevents compilation) is in keyboard.c, where the atexit function is called with the wrong number of parameters. I did not attempt to solve this as this requires a design decision that I am in no position to take.

I was about to do that, thank you that was a very good commit 🙏


add ForceReconnect API

Signed-off-by: Zhen Wang<EMAIL_ADDRESS>

LGTM, but can you describe why you need it ?

this API benefits for goovn user ovn-kubernetes to support ovndb TLS certFile and privkeyFile update on purpose.
https://github.com/ovn-org/ovn-kubernetes/blob/master/go-controller/pkg/util/go_ovn.go L87-97.
With new API,  I can use fsnotify watcher to watch the file change and update the tlsconfig.cert and call new API without worry about high layer use goovn.client.

example code to use the api:
`// watchForChanges exits if the configuration file changed.
func updateSslKeyPair(certFile, privKeyFile string, tlsConfig *tls.Config, ovndbclient goovn.Client) error {
if certFile == "" || privKeyFile == "" {
	return nil
}
watcher, err := fsnotify.NewWatcher()
if err != nil {
	return err
}

go func() {
	for {
		select {
		case event, ok := <-watcher.Events:
			if ok && event.Op&fsnotify.Write == fsnotify.Write {
				cert, err := tls.LoadX509KeyPair(certFile, privKeyFile)
				if err != nil {
					klog.Infof("cannot load new cert with cert %s key %s err %s", certFile, privKeyFile, err)
					continue
				}
				if reflect.DeepEqual(tlsConfig.Certificates, []tls.Certificate{cert}) {
					klog.Infof("tls update already finished")
					continue
				}
				tlsConfig.Certificates = []tls.Certificate{cert}
				err = ovndbclient.ForceReconnect()
				klog.Infof("dbclient %p force reconnect with new tlsconfig %p status %v", ovndbclient, tlsConfig, err)
			}
		case err, ok := <-watcher.Errors:
			if ok {
				klog.Errorf("Error watching for changes to ssl key err: %v", privKeyFile, err)
			}
		}
	}
}()

if err := watcher.Add(certFile); err != nil {
	return err
}
if err := watcher.Add(privKeyFile); err != nil {
	return err
}
return nil

}
`

what you think about adding such example to examples for this function in godoc format?

Sure, I will add it.

This is a very good feature. Should it be moved to libovsdb?

@amorenoz I think libovsdb needs more code changes to support this compare to support it in go-ovn layer.
The current OvsdbClient struct does not store  *tlsconfig info and endpoints address.

Current solution will trigger connect() to download the DB again.
After studying the go-ovn and libovsdb,  I think current interface can support
the feature without new code changes.
we can rely on underlying rpc2.client reconnect mechanism to reconnect with new cert.


Add isHoliday function and fix isTodayHoliday function

Hi, thanks for your contribution!
Actually I didn't get the reason of most of the changes you made.
The reason of changing constructors access level to public or calling dd method on line 167

Hi, Sorry for dd() I just missed removing it and making the constructor public helps that you can use this package as constructor arguments of your laravel services and do everything in the correct OOP way.
Actually, I think all of the methods should be Instance methods for ease of use.


Issue at dropdown

I guess there is a bug in Dropdown (upper right corner of the  screen), when somewhere else clicks, dropdown doesn't get closed (collapsed). It works on pressing (opening) menu, but the closing is buggy.

Thanks for this @alidehghan I'm going to have a look at resolving this weekend

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sorted collection: use binary search to insert items

Use _.sortedIndex to determine the new position of an element when inserting items in the simple iterator case. Continue delegating to sort for the comparator case.
Resolves #3242

If it's breaking still, let's leave this be for now...
As I said up top — sortedIndex insert at position is how this used to be implemented. We changed to sort'ing for some reason at some point.


Add TOTP URIs

This commit adds TOTP URIs regex and related tests.
You might find TOTP URIs in Google Authenticator, Authy, Bitwarden, etc. backups. Or just anywhere if you're doing Android/iOS pentesting. And with its base-32 key, TOTP is all yours !
I might add some other pentesting related regex in the next few days :)

Ok, just pushed the above edits and added a more complex test, especially to test arguments position swapping inside the URI.


Added changes in Doxyfile

- This allows README.md to be the default mainpage

Issue Link : https://github.com/rdkcentral/hal-doxygen/issues/3

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


MINOR: Fix transactions system tests

Transactions system tests fail in trunk: http://confluent-kafka-system-test-results.s3-us-west-2.amazonaws.com/2022-01-26--001.system-test-kafka-trunk--1643203818--confluentinc--master--100303aecc/report.html.
Error:
[2022-01-28 08:25:24,917] TRACE [Consumer clientId=console-consumer, groupId=concurrent_consumer] Returning empty records from `poll()` since the consumer's position has advanced for at least one topic partition (org.apache.kafka.clients.consumer.KafkaConsumer)
[2022-01-28 08:25:24,917] ERROR Error processing message, terminating consumer process:  (kafka.tools.ConsoleConsumer$)
org.apache.kafka.common.errors.TimeoutException

With https://github.com/apache/kafka/commit/ddb6959c6272d2039ed8c9f595634c3c9573f85e, Consumer::poll will return an empty record batch when position advances due to aborted transactions or control records. This makes the ConsoleConsumer exists because it assumes that poll returns due to the timeout being reached.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

The failing tests pass with the current patch: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4771/.

System tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4772/

System tests results: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2022-01-31--001.system-test-kafka-branch-builder--1643620164--dajac--minor-fix-transactions-system-tests--562ff7f04/report.html 👍🏻


Remove PodPreset related code

There is a custom reconciler for cluster-essentials specifically for handling of PodPresets. Pod presets are going to be removed from kyma entirely and have been deprecated since October 2022. See also https://github.com/kyma-project/kyma/issues/16656.
I would like to propose removing the cluster-essentials reconciler (which should mean default helm reconciler will be used iirc, but that should be fine because now it's the cluster-essentials becomes trivial helm chart). This should also allow pre-main-kyma-gardener-azure-alpha-eval job passing on https://github.com/kyma-project/kyma/pull/16647.

/assign: @tobiscr, @PK85

/retest

/hold
pending feedback on https://github.com/kyma-project/kyma/pull/16647#issuecomment-1403515560

I think it's safe to be merged. But I'd like the author, @kwiatekus to confirm - just to be sure.

/unhold
green light from @PK85

/assign @kwiatekus

/cc @kwiatekus


Extract and catalogue contents from azure blob containers and NFS storage

Walk through code that Matt already has that
reads the contents of a blob storage and NFS lockers:

semifield-uploads
semifield-developed-images

And outputs to a csv.
Notes:

Consider using a db instead of csv

1.@matt push AZcopy version changes to the feature/az_copy_blob_implementation branch
2. @jinamshah push local_batch_table_generator (3 storage locations) changes to another branch
3. Merge feature/az_copy_blob_implementation into feature/reimplementation
4. Merge feature/<jinam's NFS 3 storage location> to feature/reimplementation

add check_unpreprocessed and check_preprocessed stats in NFS lockers


Ignore JSON tags when marshalling and unmarshalling

Would you please add such a feature to Ignore JSON tags when marshalling and unmarshalling
Scenario:
type User struct{
UserName string json:"username"
Password string json:"-"
}
For example, I'd like to ignore the Password field when marshal to json and send to front end. with the tag json:"-", everything is ok. but before that, I want to marshal it to json and send it to redis , then get the json back  and  unmarshal to struct , The  Password value will be "" , I still need the Password value in my program.
The solution may be to marshal/unmarshal ignoring JSON tags, or more general purpose, with specified tag
The json encode/decode package I'm now using is json-iterator/go , it has supported such feature. When migrating to your library, I encounter such obstacle
Thank you for the excellent library
related questions in stackoverflow:
https://stackoverflow.com/questions/26426746/ignore-json-tags-when-marshalling
https://stackoverflow.com/questions/37118263/is-it-possible-to-have-a-struct-with-multiple-json-tags
https://stackoverflow.com/questions/38809137/golang-multiple-json-tag-names-for-one-field/50966527#50966527

Hi Everyone,
thanks for supporting this incredible json library.
I was wondering if there's a plan to implement this feature.
I think it would be very helpful in the scenario described by @surethink.
Thank you!


Import Error when running test_detection.py

Hi,
I'm a newbie in python. Could you explain how to run your code please?
I installed all dependencies (OpenCv3, numpy, pytest, mock) to run test_detection.py, but I've this error:
Traceback (most recent call last):
File "test_detection.py", line 11, in
import face.detection
ImportError: No module named face.detection
How can I fix it?
Thanks

Based on the scarce problem description you provided, I would assume one of the following is the problem:

you are not running code from project directory
(more likely) you haven't set your PYTHONPATH environment variable to current directory (export PYTHONPATH=".")

Thanks for the answer.
1- I must set PYTHONPATH at the root of the project, right?
2- I have a question about the requirements, too: Which version of python and openCV do you use?
- If I use python 2.7, I have an issue with methods super() in class creation, which belongs to python3+
- If I use python 3.6,  I have an issue with the import of cv2 library; but cv2 is specific to python2 from what I know
3- I had to add "init.py" file in "face" repository so that it could be considered as a module.
4- Could you, please, give a script that shows how to use your library to get a face detection (in order to obtain, for exampe, the result available in "images" repository)
Thank you very much for your time :)

You must set PYTHONPATH in your bash profile file.
This project uses Python 3. cv2 isn't Python 2 specific, but Python 3.6 is fairy new and OpenCV doesn't provide binaries for it right now. Try going with Python 3.4 or 3.5.
Hmm, this one is strange, there should be an __init__.py file in there already.
I already provided one, have a look at scripts/visualization.py.

@sakinachou Do you still need any help? If not I'll close this issue.

Hi PuchatekwSzortach maybe sakinachou does not need help anymore, but I do.
I have the same problem, using Python 3.6.
Traceback (most recent call last):
File "C:\face_detection-master\scripts\download_data.py", line 5, in <module>
    import face.detection
ModuleNotFoundError: No module named face

I created a new environment variable PYTHONPATH and set to C:\Python36. My system PATH value as well.
The project is located in C:\face_detection-master, and this folder is a PATH directory too.
OpenCV 3.2 successful when imported, same for numpy.
Where do you think the problem is?
Thanks

@edupignatelli PYTHONPATH variable isn't for pointing at Python executable, that's what PATH is used for. PYTHONPATH specifies directories in which Python should look for scripts you wish to execute. Usually it's best to set it to current directory ".", so that Python will look for scripts relative to directory from which you called them. This way if you call python ./scripts/download_data.py from C:\face_detection-master, appropriate script will be found.

I still need help, yes^^.
I set PYTHONPATH to the directory where there are the scripts, and I don't have "import error" anymore, but it is still writing in "Traceback"
Traceback (most recent call last):
  File "./scripts/visualization.py", line 14, in <module>
    import face.utilities

Don't know if it is really a problem.
Plus, I still have a problem with cv2. I added the path "../python2.7/dist-packages" which contains cv2.so with sys.path.insert because "../python3.4/dist-packages" doesn't contain it. So, now, I don't have "no module named cv2" error anymore, but I have:
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (PyInit_cv2)

Thanks for your help

@sakinachou As for first import issue - please pull latest commit d2b508d  and if problem still occurs, please report your input and full trackback.
As for OpenCV -  it looks like you are trying to use Python 3.4 OpenCV compiled for Python 2.7. You can't freely mix Python 2.7 libs with Python 3 interpreter. This is a problem irrelevant to my code and I recommend you look for solutions on Google. A good place to start would be to install Python and relevant OpenCV with Anaconda, then check if running import cv2 in Ipython succeeds.

I figured it out, if this can help.
Installed Python 3.5.3.
Downloaded the following wheels from here and installed with pip (python -m pip install "filename"): http://www.lfd.uci.edu/~gohlke/pythonlibs/

Keras-2.0.4-py2.py3-none-any;
numpy-1.13.0rc1+mkl-cp35-cp35m-win_amd64;
tensorflow_gpu-1.1.0-cp35-cp35m-win_amd64;
tensorflow-1.1.0-cp35-cp35m-win_amd64;
opencv_python-3.2.0-cp35-cp35m-win_amd64;
Shapely-1.5.17-cp35-cp35m-win_amd64;
scipy-0.19.0-cp35-cp35m-win_amd64;

Put the files in the referenced python PATH directory to make it find them.
Anyway, I have now more problems:

When running download_data.py it raises
HTTP Error 429: Too Many Requests

And when running train_model.py instead raises
'  File "C:\Users\epignatel\Documents\PythonProjects\face_detection-master\scripts\train_model.py", line 8, in
import keras
File "C:\Python35\lib\site-packages\keras_init_.py", line 3, in
from . import activations
File "C:\Python35\lib\site-packages\keras\activations.py", line 4, in
from . import backend as K
File "C:\Python35\lib\site-packages\keras\backend_init_.py", line 73, in
from .tensorflow_backend import *
File "C:\Python35\lib\site-packages\keras\backend\tensorflow_backend.py", line 1, in
import tensorflow as tf
File "C:\Python35\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import *
File "C:\Python35\lib\site-packages\tensorflow\python_init_.py", line 51, in
from tensorflow.python import pywrap_tensorflow
File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in
raise ImportError(msg)
mportError: Traceback (most recent call last):
File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 35, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 30, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Python35\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Python35\lib\imp.py", line 342, in load_dynamic
return _load(spec)
mportError: DLL load failed: The specified module could not be found.

See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions.'
Seems like it fails to load keras and tensorflow. Maybe this can help others.

@edupignatelli I suspect your Python installation isn't working correctly. Just as to @sakinachou, I would recommend to install Python using Anaconda and then import a few modules and run some simple code from IPython interpreter to check everything really works.

Thank you PuchatekwSzortach. Installing Python through anaconda maked it work.
I am still being rejected on the dropbox request, due to flooding I believe?
Would it be possible to access the resources in any other way?
Or maybe just see an example of the .txt file to understand the parsing logic?

@edupignatelli I tried accessing Celeb dataset over browser (you can google it up quickly) and it turns out their Dropbox account was temporarily disabled due to creating too much traffic. Sorry, I can't help you with this, but you could reach out to data owners - I did in the past and they replied quickly.

@edupignatelli
There are two txt files.

File paths list with entries like:
/some_path/data/faces/img_celeba/000001.jpg
/some_path/data/faces/img_celeba/000002.jpg
...

Bounding boxes file with entries like:
10000
image_id x_1 y_1 width height
000001.jpg  95 71 226 313
000002.jpg  72 94 221 306
...

where first line is the total number of images, second a simple cvs header, and following lines have format as described in second line.
These are then fed to generators, refer to main() function of ./scripts/train_model.py for an example, where training_image_paths_file is the first file with fully qualified paths and training_bounding_boxes_file is the corresponding bounding boxes file.

Thank you @PuchatekwSzortach , cv2 error disappear with anaconda.
@edupignatelli , which version of anaconda did you install? I installed the last one (for python3.6) because I can't find a way to choose the version I wish. (I followed this site: https://docs.continuum.io/anaconda/install-linux.html)
But now, as @PuchatekwSzortach forsaw, I have compabilities issues with modules, like shapely.

@sakinachou Here are old Anaconda versions: https://repo.continuum.io/archive/index.html
Problem with shapely seems unlikely, what exactly was it?

@sakinachou Also note that what exact version of Anaconda you installed isn't too important, as you can create different environments using different Python versions. You can read up about Anaconda environments on its documentation page, it's quite thorough and easy to understand.

Great! Thanks @PuchatekwSzortach it worked well to change version of Anaconda from 3.6 to 3.5 (python3.4 doesn't work with your code because we need tqdm and it's compatible for 3.5+).
But, did you guys have this error?
Traceback (most recent call last):
  File "scripts/visualization.py", line 121, in <module>
    main()
  File "scripts/visualization.py", line 116, in main
    log_face_detections(image_paths_file, logger)
  File "scripts/visualization.py", line 76, in log_face_detections
    model = face.models.get_pretrained_vgg_model(face.config.image_shape)
  File "/home/projet-d/Documents/tests_detect_track/testdeep_dense_YahooDetection/face/models.py", line 27, in get_pretrained_vgg_model
    x = keras.applications.VGG16(include_top=False, weights='imagenet')(input_layer)
  File "/home/projet-d/anaconda3/lib/python3.5/site-packages/keras/applications/vgg16.py", line 169, in VGG16
    model.load_weights(weights_path)
  File "/home/projet-d/anaconda3/lib/python3.5/site-packages/keras/engine/topology.py", line 2488, in load_weights
    raise ImportError('`load_weights` requires h5py.')
ImportError: `load_weights` requires h5py.

Although I have h5py installed:
# packages in environment at /home/projet-d/anaconda3:
#
h5py                      2.7.0               np112py35_0

(checked on the Internet for this error, they advise installing requirements --> Already have hdf5 and cython.) Hope it's a question relevant to your code

@sakinachou tqdm works on Python 3.4, I suspect you either didn't install it or have a directory containing some other Python coming in before your Anaconda in your path.
As for the import error it basically says you are trying to load model weights file that doesn't exist - since you probably didn't train one.

@sakinachou You could train a simple Keras model (on MNIST or whatever), save it and then try to load its weights to see if that works.

Hi PuchatekwSzortach,
Thank you for the layout.
I got the access to the celebA dataset. Here is the link for future questions.
https://drive.google.com/drive/folders/0B7EVK8r0v71pWEZsZE9oNnFzTm8
The algorithm still fails downloading the package, so I am trying to tweak the code to yield from local data.
It stops while searching for "validation_image_paths" and related bb.
Could it be possible to know what information should this asset contain?
Thank you as always

Probably data is not saved where software expects it to be. Looking through scripts/download_data.py and face/config.py you can see paths to which data is downloaded. Depending on where you put the code on your hard drive, these might be actually unreachable (in short data is expected to be at ./../data/faces/ relative to code directory). Make sure what paths data is really put on and modify paths it is search at accordingly if necessary.

Hi @PuchatekwSzortach ,
Here are the versions I have, but when I install pip install visual-logging with 3.5, I have errors (see above) so I had to add some python 3.4 to PYTHONPATH (no error of vlogging with python 3.4).
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/h5py_1490028461908/work/h5py/_objects.c:2846)
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/h5py_1490028461908/work/h5py/_objects.c:2804)
  File "h5py/h5f.pyx", line 78, in h5py.h5f.open (/home/ilan/minonda/conda-bld/h5py_1490028461908/work/h5py/h5f.c:2123)

projet-d@projetd-VirtualBox:~$ pip -V
pip 9.0.1 from /home/projet-d/anaconda3/lib/python3.5/site-packages (python 3.5)
projet-d@projetd-VirtualBox:~$ python --version
Python 3.5.3 :: Continuum Analytics, Inc.

I don't know how to train a model :/ I think I will look for another code a bit easier for me, who don't know a lot about python and deep learning. ^^""

@sakinachou pip version visual-logging seems to have a problem with Python 3, I recommend installing it from Github. To train a model just call scripts/train_model.py

@sakinachou BTW, aren't you using Miniconda, a minimalistic version of Anaconda, rather than full blown Anaconda by any chance? If so, you might have missing dependencies. I would recommend opting for a full Anaconda if possible.

I'll try to install it with GitHub. I checked and I have Anaconda 3, not Miniconda ;)
BTW, Where do I find training_image_paths.txt and training_bounding_boxes_list.txt and the same files on validation too?

@sakinachou Inside ./../data/faces/ folder, specified w.r.t. code directory. You can change this in face/config.py. All this information is right there in top level scripts, just read them.

I understand that I have to change the paths to fit with my own tree, but training_image_paths.txt, and other .txt files referenced in config.py, I don't see them anywhere, and I don't know what I'm suppose to put inside, if I have to create it.

@sakinachou These files are created by scripts/download_data.py. However this script will likely fail now, as Dropbox account it downloads data from has been temporarily disabled.
As for content of training_image_paths.txt, training_bounding_boxes_list.txt and friends, I described it a few comments above ( https://github.com/PuchatekwSzortach/face_detection/issues/1#issuecomment-302672676 )

@sakinachou, @edupignatelli  - Do you guys need any more help? If not, I'll soon close this issue.

Since I haven't heard from either @sakinachou nor @edupignatelli for a while, I'm closing this issue.


I can pay invoices on my mainnet LND node, but others cannot pay my invoices

I have an LND node running the 0.5.2-beta release on a 2 core, 8GB ram Ubuntu 16.04 VM. This is my node: https://1ml.com/node/02d5efae50c1cdc6011e40b74f061ea4f444088865ec14a59e4ee6cf0d71c842fc
I used the Raspibolt tutorial to setup this node. It appears to be working properly, however when trying to receive payments it doesn't work. I can make channels and stuff, the only issue is being unable to receive payments.
For example, I have a post on yalls. I have paid for posts, it works perfectly. However when I try to withdraw whatever I have earned through yalls, it says payout failed. When I try again it says invoice is for too much, although that is false. I can confirm I have entered the right node public key when creating the post as I tried my invoices on other yalls posts and it clearly says the node pubkey is different. Here is an imgur album demonstrating this.
I have also tested my invoices with BlueWallet, and it says LND api failure 7. Here is an imgur album showing this. I think the problem here is my node. Has anyone encountered this problem, or know of a solution to it?
TLDR: I can do everything with my LND Node, except receiving payments on invoices I make

I did not have any incoming connections with enough liquidity. I got some and it is working now.
Please close this.

I did not have any incoming connections with enough liquidity. I got some and it is working now.


CUR from master payer for all child accounts or CUR from EVERY account

Describe the bug
I've followed the steps outlined here: https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/set-up-the-cost-feature.html but the costs found in Workload Discovery only reflect costs in the account where Workload Discovery was deployed.  I have deployed the prescribed CUR and s3 replication from Control Tower org master (also one of our master payer accounts) to the WD deployment account and indeed the objects have been replicated successfully for the CUR objects bucket, but zero costs are included beyond the deployment account.
To Reproduce
Steps to reproduce the behavior:

follow instructions outlined here: https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/set-up-the-cost-feature.html
navigate to costs section of workload discovery (or load costs for a diagram)
Behold! No costs beyond those associated with the WD deployment account

Expected behavior
Costs for all accounts similar to how CUDOS/CID reports work
Additional context
I am curious as to the differing prefixes suggested for deployment account for external accounts. Anything related to this or is it designed to work with the two separate prefixes?
Do I instead need to set up CUR in every one of our accounts? We have like 50 accounts presently and it'll expand well beyond that with out intended work this year. I'd rather avoid having to deploy the CUR to each account if I can avoid it.  Have I instead missed something and it's a PEBKAC issue?

I am curious as to the differing prefixes suggested for deployment account for external accounts. Anything related to this or is it designed to work with the two separate prefixes?

This is a bug in the documentation, it should be aws-perspective for both. We will be fixing the docs it shortly. My guess is that's why you're not seeing the cost data from the CUR being replicated as the Glue crawler will be looking for the CUR in a folder with the aws-perspective prefix. Rather than wait for the next report to drop after changing the prefix, you can test it by going into the WD cost report bucket and manually move the contents of the workload-discovery folder to the aws-perspective folder.

Ah indeed, thanks @svozza! Now oddly enough the costs are kind of off, but it seems like that might be region based. I've tried importing the other two main regions we're in, but now it's basically un-discovered everything it previously had discovered from the primary region. It's been a bit, but I'll let it do its thing for a while.
In hindsight I suspect I should have let it complete the second region before adding the third.

When you say undiscovered, do you mean that resources from regions that were there are no longer present? If so, have a look inside the ECS logs for the task, there might be some info there. There are steps here (ingnore the section about lambda, we only care about ECS here): https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/debugging-the-discovery-component.html.

discovery_errors.csv
ECS filtered for errors attached. Also, yes, there were 50,000+ resources that went to 0. When I looked at the accounts section, clicking on an account and seeing the regions associated with them as being Not Discovered. They're now starting to be discovered but I thought I'd attach the log for you in case there's any beneficial information. It does look like items will be discovered fully as the straggling accounts and regions are fully incorporated.


Remove codeModulesImage e2e test isito parts

Description
For some reason we can run the codeModulesImage e2e with an istio: true arg, which does not really make sense.

The istio integration does not involve the codeModulesImage field, as the would require us to create a serviceEntry/virtualService for the custom image registry the customer may use to store the codeModulesImage.
This test does nothing really with istio, other then make it inject our components, but we do not configure it to do anything.

How can this be tested?
make test/e2e/cloudnative/codemodules still exists
make test/e2e/cloudnative/istio doesn't take that long (as we no longer run the codeModulesImage e2e test here)
Checklist

~[ ] Unit tests have been updated/added~
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report

Merging #2144 (842285e) into main (7e6fbcf) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main    #2144   +/-   ##
=======================================
  Coverage   63.79%   63.79%
=======================================
  Files         244      244
  Lines       15438    15438
=======================================
  Hits         9849     9849
  Misses       4859     4859
  Partials      730      730


Flip .svg functionality

Hi Ian,
Thank you (and everyone else) for helping on the discord channel.
I am using the svg-overlay plugin for OSD to lay a set of complicated and nested svg elements over the top of images in a high accuracy application.  Unfortunately, while the flip function works great on the tiled image, it does not affect the svg on top.  As a side affect, the svg's x-coordinates are reversed, so when I drag the image right, the svg moves left.  This is a pretty nifty parallax affect, but definitely isn't what I'm going for.
I would love for the svg to flip with the image, keeping it's exact positioning -- as if the svg were part of the image.  My viewer and overlay code are below for reference.
    var viewer = OpenSeadragon({
        id: "openSeaDragonWrapper",
        prefixUrl: "../openseadragon/images/",
        defaultZoomLevel: 0,
        preload: true,
        immediateRender: true,
        homeButton: "plateResetPanZoomButton",
        flipButton: "plateFlipButton",
        showFlipControl: true,
        showRotationControl: true,
        showNavigator: true,
        maxZoomPixelRatio: 4,
        zoomPerScroll: 2,
        tileSources: [
        {
          width: 4000,
          tileSource: {
            //required
            type: "zoomifytileservice",
            width: 2048,
            height: 2048,
            tilesUrl:
              "../assets/ZoomifyImageExample/",
            //optional
            tileSize: 256,
            fileFormat: "jpg"
          },
        },
      ],
    });

    var overlay = viewer.svgOverlay()
    //overlay.node().parentNode.style.pointerEvents = 'none';
    overlay.node().append(svgImage)

    for (let i=0; i < overlay._node.childNodes[0].childNodes.length -1; i++) {
      if(overlay._node.childNodes[0].childNodes[i].nodeName === "a"){
        new OpenSeadragon.MouseTracker({
          element: overlay._node.childNodes[0].childNodes[i],
          clickHandler: function(event) {
            var target = event.originalEvent.target;
            if (target.matches('a')) {
              if (target.getAttribute('target') === '_blank') {
                window.open(target.getAttribute('href'));
              } else {
                location.href = target.getAttribute('href');
              }
            }
          }
        });
      }
    }

Yes, this is a great idea! This plugin supports rotation, but not flipping yet. Adding flip support shouldn't be too hard; I would recommend looking at the existing rotation support as a guide. You would want to watch for flip events similar to this:
https://github.com/openseadragon/svg-overlay/blob/edb9d4b64a885abf2609f048da97354307fdfd45/openseadragon-svg-overlay.js#L53
... And actually calculate the effects of the flip here:
https://github.com/openseadragon/svg-overlay/blob/edb9d4b64a885abf2609f048da97354307fdfd45/openseadragon-svg-overlay.js#L87
I imagine it's a matter of negating one dimension of the scale. At the moment the scale is just a single number, but you can also use two numbers with a comma between them in the transform.
If you want to take this on, let me know if you have questions! Otherwise, perhaps someone else will take an interest.

Thanks for weighing in Ian!  I will be making an attempt, but in this case I would be more than happy if anyone else wanted to make this happen sooner.  I'm trying to get this operational for an art installation that opened last week.
I'm sure I will have questions :)

A pull request has been made here: https://github.com/openseadragon/svg-overlay/pull/46
The proposed code links the state of the svg flip to that of the tiled image.


Can I make a LIKE query using Find?

First off. Thanks for this lib. I like it better than Bookshelf and Sequelize.
Is there a way to create a LIKE query using Find? Something like thi?
db.contacts.find({'email like': 'gussie%'}, (e,r) => {});

Thank you.

I think you can just...
db.contacts.where("email like $1", ["rob"], (e,r) => {});

or
db.contacts.find("email like $1", ["rob"], (e,r) => {});

Oh I see. I just thought there was a 'like' operator for Find because there
is a greater than and lesser than.
Thank you.
BTW, love your pluralsight courses.
Em 14 de mai de 2016 12:55, "Rob Conery"<EMAIL_ADDRESS>escreveu:

I think you can just...
db.contacts.where("email like $1", ["rob"], (e,r) => {});
or
db.contacts.find("email like $1", ["rob"], (e,r) => {});
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/robconery/massive-js/issues/251#issuecomment-219227692

It's kind of a glaring omission imo, so I spent some time over the weekend seeing what I could do. Postgres has a bunch of neat expanded pattern-matching operators above and beyond just LIKE and NOT LIKE (case-insensitive ILIKE, regexes, weird mishmash of SQL pattern-matching and regex) and it's a shame to leave those out of the criteria finders. It's not quite ready yet but I'll probably finish it up and roll it in sometime this week.

@dmfay. That makes sense... Thank you for that.

👍
On Mon, May 16, 2016 at 5:42 AM, Dian Fay<EMAIL_ADDRESS>wrote:

It's kind of a glaring omission imo, so I spent some time over the weekend
seeing what I could do. Postgres has a bunch of neat expanded
pattern-matching operators above and beyond just LIKE and NOT LIKE
(case-insensitive ILIKE, regexes, weird mishmash of SQL pattern-matching
and regex) and it's a shame to leave those out of the criteria finders.
It's not quite ready yet but I'll probably finish it up and roll it in
sometime this week.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/robconery/massive-js/issues/251#issuecomment-219406483

Woohoo!

On May 16, 2016, at 05:00, John Atten<EMAIL_ADDRESS>wrote:
👍
On Mon, May 16, 2016 at 5:42 AM, Dian Fay<EMAIL_ADDRESS>wrote:

It's kind of a glaring omission imo, so I spent some time over the weekend
seeing what I could do. Postgres has a bunch of neat expanded
pattern-matching operators above and beyond just LIKE and NOT LIKE
(case-insensitive ILIKE, regexes, weird mishmash of SQL pattern-matching
and regex) and it's a shame to leave those out of the criteria finders.
It's not quite ready yet but I'll probably finish it up and roll it in
sometime this week.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/robconery/massive-js/issues/251#issuecomment-219406483

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Awesome, I was just trying to use ~* operator on body::text


Convert App.js to functional component?

to allow hooks (useEffect and useMemo suggested by @Smilerk )

Done with v4, which is all functional components