OverLays are written on top of each other

While using the SSD1306UiDemo, I've modified this one in order to have:
`void msOverlay1(OLEDDisplay display, OLEDDisplayUiState state) {
display->setTextAlignment(TEXT_ALIGN_RIGHT);
display->setFont(ArialMT_Plain_10);
display->drawString(128, 0, String(millis()));
}
void msOverlay2(OLEDDisplay display, OLEDDisplayUiState state) {
display->setTextAlignment(TEXT_ALIGN_RIGHT);
display->setFont(ArialMT_Plain_10);
display->drawString(128, 0, String("TESTTESTTEST"));
}`
Then:
// Overlays are statically drawn on top of a frame eg. a clock OverlayCallback overlays[] = { msOverlay1,msOverlay2 }; int overlaysCount = 2;
Running the example with these modifications, and you can see that "TESTTESTTEST" is written on top of the current milliseconds.

That is the expected behaviour. What is your expectations with doing this? A overlay is a way to define frame independent data on the display (like a clock). If you draw to the same pixels they sure overwrite what is currently there.

So in this case what is the aim of having multiple overlay defined?
It does not work the same way as frames? Frames does not overwrite on each
others so I was expecting to have the same behavior for multiple overlays.
One overlay should only overlay frames but I would not expect each overlay
to overlay any others.
Anyway if it is the way it is designed, how should we use the multiple
overlays callback in order to have something readable?
Thanks
Le mar. 5 juil. 2016 18:34, FWeinb<EMAIL_ADDRESS>a écrit :

That is the expected behaviour. What is your expectations with doing this?
A overlay is a way to define frame independent data on the display (like a
clock). If you draw to the same pixels they sure overwrite what is
currently there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/squix78/esp8266-oled-ssd1306/issues/59#issuecomment-230531484,
or mute the thread
https://github.com/notifications/unsubscribe/AB2VxiBS6vHkCn-mj5C1nVsgubNkYZ45ks5qSoesgaJpZM4JFE4X
.

In an overlay you can draw anywhere on the display. You can do something like this:
void msOverlay2(OLEDDisplay display, OLEDDisplayUiState state) {
display->setTextAlignment(TEXT_ALIGN_LEFT);
display->setFont(ArialMT_Plain_10);
display->drawString(0, 0, String("TESTTESTTEST"));
}

That would draw the string "TESTTESTTEST" in the upper left corner

Yes, this is what I've done next. Anyway still surprised that 2 overlays
callback can overwrite on each others whereas frames clear everything
between.
What should be the best option to update information on an overlay area
(with different information type, not a timestamp for example)? Should I
add a third overlay in order to clear the selected area ? Should i use an
empty graphic to do so ?
Le mar. 5 juil. 2016 à 19:05, FWeinb<EMAIL_ADDRESS>a écrit :

In an overlay you can draw anywhere on the display. You can do something
like this:
void msOverlay2(OLEDDisplay display, OLEDDisplayUiState state) {
display->setTextAlignment(TEXT_ALIGN_LEFT);
display->setFont(ArialMT_Plain_10);
display->drawString(0, 0, String("TESTTESTTEST"));
}
That would draw the string "TESTTESTTEST" in the upper left corner
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/squix78/esp8266-oled-ssd1306/issues/59#issuecomment-230539445,
or mute the thread
https://github.com/notifications/unsubscribe/AB2VxumiA8WlURsFOtsOP2DZvtuiUmU1ks5qSo7VgaJpZM4JFE4X
.

Sorry but I don't understand what you would like to archive. Maybe @squix78 can help?
Overlays are information that are rendered always (even in a frame transition) so they can be used for status indicators like wifi signals or time, we choose to implement the ability to add more overlays so one can separate different aspects of the ui (not everyone want's to e.g. display an wifi signal indicator).

OK, so based on your latest explanation, I think I get it.
Adding more overlays does not behave like adding multiple frames. Every defined overlays are rendered all the time, and that is why they can interfere on each others.
Maybe you should add the way is has to be used with multiple overlays in the UI demo code ?

Yeah, we could really improve on example code for this library.

If you need some example, I wrote this one to test my boards, it use OLED (of course), the UI to display informations such as Wifi Networks, IC2 devices scanned, drive a WS2812 LED and manage progress bar and WS128 LED with OTA.
Full source code on my (github)[https://github.com/hallard/Scan-I2C-WiFi] and a small video to see in action


get() returns empty array in Android 10

get() is returning an empty array on my Android 10 device, although it returns a list of accounts on an Android 6.0.1 test device.
In AndroidManifest.xml, I have set the following permissions:
GET_ACCOUNTS
GET_ACCOUNTS_PRIVILEGED
Ominously, Android Studio underlines the GET_ACCOUNTS_PRIVILEGED line with the message "Permission is only granted to system apps".  Is this feature no longer supported since some version of Android, or is there a workaround?
See: https://stackoverflow.com/questions/53989497/ionic-4-cordova-get-device-accounts

Thanks @Pigsnuck what version are you using of the plugin and ionic native?

@Pigsnuck
Can you please try using getPermission()  instead of regular get() and let me know if that solves your issue.
This definitely sounds like a permission issue perhaps however I'd be interested to see if that function helps.

i have set android.permission.GET_ACCOUNTS and android.permission.GET_ACCOUNTS_PRIVILEGED in manifest and also granted in app. i am getting no response in get() ,
on getPermissions() it shows list of emails but when i select one i only get success as message in callback (need email id that user selected).
getEmails() gives error
"Error in Success callbackId: Permission1989722990 : TypeError: DeviceAccounts.getByType is not a function"

Hi @xUnholy ,
When calling getPermissions(), a dialog pops up asking which account I want to use (I only have 1 account on this test device). I select the account and getPermissions() returns a single string "SUCCESS" in the respose.
getPermissions() is unfortunately not an option for me, because I need to iterate ALL the accounts.

I just tried calling getPermission() before get() and I can confirm that this does indeed work.
For others experiencing this, I changed my logic to: call get(), if the accounts list is empty, call getPermissions(), which will cause Android to display a dialog so the user can select the appropriate account. Then the email addresses can be processed as usual.

i have a multiple emails on my android device i already get all those emails on get() the problem is how will i know which email being selected?

I think your Android device is running an older version of the OS if it's returning multiple emails?  If so, then you need to assume it could be ANY or ALL of those email addresses.


Las / LasZip files

I want to ask if libpointmatcher works with Lidar cloud or not (LAS/LASZIP)?

Here is the list of file formats we support for now: https://github.com/ethz-asl/libpointmatcher#file-formats

Okay thank you . it will be cool with las to add some plugins to CloudCompare Software

I think CloudCompare can export ply format (among others).
If you're referring to an integration within the graphical interface of CloudCompare, that's currently beyond our resources capability (unfortunately).


Add merge flag and merge_language flag to message

Mandrill API accepts a boolean for merge which indicates there is content in the email body that can be dynamically substituted.  Also, mandrill supports two different merge_language settings (handlesbars or mailchimp).
This PR allows you to set the merge flag and the merge_language.
This PR also does a fair bit of clean up:

cleanup usage of ‘@mail’ to ‘mail’
cleanup some double-quotes usage
cleanup %w usage per rubocop
use each_with_object to cleanup combine_extra_header_fields
DRY up #header specs.

Having long files with methods/lists not in alpha order was making me crazy so:

put  lib/mandrill_dm/message.rb attribute methods in alpha order
put message_spec.rb describe blocks (for methods) in alpha order
put to_json attributes in alpha order
put combine_extra_header_fields header list in alpha order

@jlberglund @kshnurov if if either of you have a few minutes, I'd appreciate some :eyes: on this.   There is a lot of noise in the message_spec.rb because I put things in alpha order (was making me crazy).
They use-case for this is that I want to customize links in emails for multiple recipients to include the email address of the individual who clicks the link (not waiting for webhook).  merge and merge_language let me do that.
If you have a link in the body of your email like below and you specify merge is true and merge_language is handlebars:
test link

the {{EMAIL}} will be replaced with the specific recipient email address.

Cleanup looks good. And merging seems like a good idea. I've run into a couple of instances where it would have been helpful (along with Mandrill templates). +1

@spovich If you want to use a style guide, btw, feel free to reference it in the Wiki.

@spovich global_merge_vars and merge_vars should be added to make merge really useful. I've created an issue #17


is there any issue with google search engine ??

I want to make a workflow using google search engine which read temperature. My code is
https://google.com/
type //*[@id="lst-ib"] as weather singapore [enter]
read //*[@id="wob_tm"] to temperature
snap page
echo temperature

my code run easily in bing, yahoo but not in google.
whenever i run my code for google it gives error -
START - automation started - Mon Nov 12 2018 16:31:57 GMT+0530 (IST)
https://google.com/ - Google

type //*[@id="lst-ib"] as weather singapore [Enter]
ERROR - cannot find //*[@id="lst-ib"]

is there any issue with google search engine ??

Hi, I believe you are running this in either headless or default phantomjs mode. Google tries to block robots, so headless browsers (as I know of) will not be able to load https://www.google.com. You will need to use the chrome option for scripts using google to work.

Yeah, you may also encounter more strange issues on other websites when you switched to headless or default PhantomJS invisible mode. Working with such cases is not impossible, in some cases, you can use live step to interactively test the webpage in headless mode. Using steps such as show, snap, save page - more details here - https://github.com/kelaberetiv/TagUI#steps-description
But it won't be easy, you can spend a lot of time but still can't get it to work. Some website intentionally do not want headless browsers to work, so those websites impossible to run headlessly. Of course, if your organizations uses virtual machines, you can run on the VMs in normal chrome mode but the VMs are run in background anyway.
(fyi Alvin, sometimes chipping in whenever I can, because gonna get real busy soon for me)

Thanks


Access denied for aws import

Hey there,
I am trying to test this cool tool to import some aws resources into our tf project.
Problem is, we are using cross account assumed roles, with 2FA enabled. For example, my ~/.aws/credentials file looks like this:
[default]
aws_access_key_id = ...
aws_secret_access_key = ...

[profile1]
role_arn = arn:aws:iam::<account-id-1>:role/<role-name-1>
source_profile = default
mfa_serial = arn:aws:iam::<central-account-id>:mfa/<my-username>

[profile2]
role_arn = arn:aws:iam::<account-id-2>:role/<role-name-2>
source_profile = default
mfa_serial = arn:aws:iam::<central-account-id>:mfa/<my-username>

so when trying to import s3 buckets, with this commands: terraformer import aws --resources=s3 --connect=true --regions=eu-west-1
I am getting:
2019/05/08 13:13:47 aws importing region eu-west-1
2019/05/08 13:13:47 aws importing... s3
2019/05/08 13:13:47 AccessDenied: Access Denied
	status code: 403, request id: 7164....5B8F351, host id: 7q8nhD6LnVeniWww9arkIcBQX.................NdzDgMCNBhC610MZM=

Ismy cross-account setup currently supported by terraformer?

shared_credentials_file - It's work with terraform as provider configuration, not support today in terraformer
BUT
shared_credentials_file = (Optional) This is the path to the shared credentials file. If this is not set and a profile is specified, ~/.aws/credentials will be used.
Try to set in ~/.aws/credentials path to shared_credentials_file

https://github.com/GoogleCloudPlatform/terraformer/issues/1 same

If you want to use assume role, it is recommended to assume-role.
You can easily use assume role.
$ assume-role your_profile terraformer import aws --resources=vpc,subnet --connect=true --regions=eu-west-1

If you want to use assume role, it is recommended to assume-role.
You can easily use assume role.
$ assume-role your_profile terraformer import aws --resources=vpc,subnet --connect=true --regions=eu-west-1

That still gets the resources from the default profile instead....


Upgrade Tokio for RUSTSEC-2021-0124

What type of PR is this?

Uncomment only one  /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:
/kind breaking
/kind bug

/kind cleanup

/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:
Upgraded Tokio and related crates to resolve the security advisory.
https://rustsec.org/advisories/RUSTSEC-2021-0124.html
Which issue(s) this PR fixes:

N/A
Special notes for your reviewer:
Hit me while testing locally, but has yet to hit CI as of yet? Either way, better to get in front of it.

🤔 hmnn. Struggling to reproduce this locally. How odd.

Aha!
make: *** [Makefile:65: test-examples] Error 101 - I should read my own error messages!


"Expression was too complex to be solved" fixed

fixes #4
Tested on Xcode 9 GM

Thank @fizzy871, I have merged your PR.
Cheers,
Thanh Nguyen


remove unnecessary slash from a horizon redirect

Preview is available here:http://developers-pr738.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr738.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr738.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr738.previews.kube001.services.stellar-ops.com


Add note about using correct network in Virtual Switch Manager

Proposed changes
My host was not starting, and I didn't know why. I discovered this comment that helped to resolve my issue.

Deploy preview for docsdocker ready!
Built with commit af39365ffa8e014f4f739aec05a9d338734b96ab
https://deploy-preview-7881--docsdocker.netlify.com

Good to go


Is it possible to add a blank page after the coverpage and before the titlepage?

The question is objective. I need this because I’m making a scrbook and the coverpage is scrambling with page numbering.
So I would have:
p. 1 = coverpage
p. 2 = blankpage
p. 3 = titlepage
p. 4 = includes1.tex etc.

Yes, you can include as many static tex files/pages as you need after the coverpage or titlepage. See instructions here:
https://nmfs-opensci.github.io/quarto_titlepages/06-static-files.html#copyright-dedication-and-other-static-pages
Basically I think you just need to create a file like blank.tex. I think this should do it but I didn't check:
\newpage
\thispagestyle{plain}
\mbox{}
\clearpage

Moving this to discussion Q&A.


Add client side shf waveform encoding

Until the SHFVector parsing is implemented inside the data server the complex waveforms need to be converted manually inside the client. The logic was temporary duplicated from the existing client.

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (4ea1fe4) 100.00% compared to head (5b85f13) 99.83%.

Files
Patch %
Lines

src/labone/core/shf_vector_data.py
88.00%
0 Missing and 3 partials :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #45      +/-   ##
===========================================
- Coverage   100.00%   99.83%   -0.17%
===========================================
  Files           31       31
  Lines         1797     1830      +33
  Branches       291      295       +4
===========================================
+ Hits          1797     1827      +30
- Partials         0        3       +3

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


LimitObject not exposed in armquota package

Bug Report

import path of package in question<EMAIL_ADDRESS>

SDK version: latest

github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/quota/armquota v1.0.0

output of go version: go version go1.22.1 darwin/amd64

What happened?

When trying to access a quota limit value, I expected the limit value to be an exported field, but is not. The example in this codebase portray this data to be exported as &armquota.LimitObject but it is actually exported as LimitJSONObjectClassification which does not give the quota limit data expected.
Example in codebase

What did you expect or want to happen?

I expected to be able to get quota limit values with the SDK

How can we reproduce it?

code below

Anything we should know about your environment.

Nothing special

Code to reproduce
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/quota/armquota"
)

var (
	family       = "standardLASv3Family"
	location     = "eastus"
	subscription = "some-id"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armquota.NewClientFactory(cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}

	scope := fmt.Sprintf("subscriptions/%s/providers/Microsoft.Compute/locations/%s", subscription, location)

	res, err := clientFactory.NewClient().Get(ctx, family, scope, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}

	// Expected to get have LimitObject (and mainly LimitObject.Value) but get LimitJSONObjectClassification
	limit := res.CurrentQuotaLimitBase.Properties.Limit

	fmt.Println(limit)
}

Hi @circa10a, I will replace it with my subscriptionId according to the code you provided above. The following is the expected result of execution

I'm unable to see how the Value field is accessible from the LimitJSONObjectClassification interface. Can you provide any sample code to access that field?
❯ go run main.go
# command-line-arguments
./main.go:105:20: limit.Value undefined (type armquota.LimitJSONObjectClassification has no field or method Value)

I'm unable to see how the Value field is accessible from the LimitJSONObjectClassification interface. Can you provide any sample code to access that field?
❯ go run main.go
# command-line-arguments
./main.go:105:20: limit.Value undefined (type armquota.LimitJSONObjectClassification has no field or method Value)

Maybe your Azure Subscription doesn't have the associated resources, so there's no return value?

I don't think that's the case here. Are you able to provide some sample working code that fetches the limit value?

I don't think that's the case here. Are you able to provide some sample working code that fetches the limit value?

I'm using the code you provided above.
LimitJSONObjectClassification type is an interface, you need to convert it to get to the Value

Example code if anyone else finds this issue:
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/quota/armquota"
)

var (
	family       = "standardLASv3Family"
	location     = "eastus"
	subscription = "some-id"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armquota.NewClientFactory(cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}

	scope := fmt.Sprintf("subscriptions/%s/providers/Microsoft.Compute/locations/%s", subscription, location)

	res, err := clientFactory.NewClient().Get(ctx, family, scope, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}

	limit := *res.CurrentQuotaLimitBase.Properties.Limit.(*armquota.LimitObject).Value

	fmt.Println(limit)
}


CAMEL-21273: camel-jbang - Detect saga dsl

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

You are welcome to backport to 4.8.x branch

Yeah, backport is done.


Docker run sub-command reference documentation needs improvement

Mount volume (-v, --read-only)
$ docker  run  -v `pwd`:`pwd` -w `pwd` -i -t  ubuntu pwd
The -v flag mounts the current working directory into the container. The -w lets the command being executed inside the current working directory, by changing into the directory to the value returned by pwd. So this combination executes the command using the container, but inside the current working directory.

Source: https://github.com/docker/docker/blob/master/docs/reference/commandline/run.md#mount-volume--v---read-only
Areas for improvement: :smiley:

It assumes the user understands pwd command is evaluated to get the current working directory: Perhaps it's simpler to use /current/directory in the example instead? (Similar to the the /doesnt/exist used in the example just below this block.)
Explanation for -w switch is confusing. My understanding is that the -w refers to a working directory insider the container. So the example should explain that the command is executed in a directory inside the container that happens to have the same name as the current working directory. In additional, because of the bind volume, the directory inside the container is mapped to the current working directory on the host.

#dibs

Let me close this ticket for now, as it looks like it went stale.


UI: fix icmp code/type of ACL rule are not display if the value is 0

Description
This PR fixes #8583

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan ui

@weizhouapache a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/8589 (QA-JID-272)

@NuxRo @rajujith
tested on QA server
https://qa.cloudstack.cloud/client/pr/8589/#/acllist/5c1191c2-72e4-4855-89b3-f1305908a926?tab=acl.list.rules


Don't make Owner writable by default

Describe the feature you'd like to request
It makes no sense to me why a user with write access to an object should be allowed to write the object to other users.
Do we allow them to overwrite the last edit date? Do we allow them to overwrite the creation date?
So why are users allowed to overwrite the owner field?
Describe the solution you'd like
Owner is not editable by default. Users must not be allowed to shoot themselves in the foot.
Describe alternatives you've considered
Create a simple "checkbox" within the Amplify Studio UI that allows users to easily toggle this "feature" to overwrite the owner field of objects they own.
Whatever solution is chosen, simply adding a warning in the CLI is not it.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[X] ⚠ This feature might incur a breaking change

Hi @Meerkov, Thank you for raising this request. We have noted it as a feature request for our team to review and consider. In the meantime, you can explore using field-level authorization as a workaround to achieve this functionality.


Guide is missing information/not working

I am hanging at the following point:
Entering chroot mode, you need mount the following files on to your system:
for dir in dev proc sys run; do mount --rbind /$dir /mnt/$dir; mount --make-rslave /mnt/$dir; done

System is complaining the mount point /mnt/dev does not exist

I crosschecked with other installation guides did get past the error mentioned above, but even after that rebooting into void says wrong fs for tmpfs...really borked guide.

Thanks for your feedback and taking your time to look it up at the guide
Entering chroot mode, you need mount the following files on to your system: for dir in dev proc sys run; do mount --rbind /$dir /mnt/$dir; mount --make-rslave /mnt/$dir; done
In this, void linux handbook recommends to use the xchroot command, use this tool instead or check the [https://docs.voidlinux.org/config/containers-and-vms/chroot.html#manual-method](manual method) if you want to do manually and for the tmpfs directory you can check https://docs.voidlinux.org/installation/guides/chroot.html#configure-fstab part at the handbook or omit this part and continue with the process as well, this guide will be upgraded pretty soon with new info, this guide is quite updated.
Sorry for the late response.


0019 - Remove Nth Node From End of List

Given a linked list, remove the n-th node from the end of list and return its head.
Example:
Given linked list: 1->2->3->4->5, and n = 2.

After removing the second node from the end, the linked list becomes 1->2->3->5.

Note:
Given n will always be valid.
Follow up:
Could you do this in one pass?

Closed with Commit


cli: allow to reset local config and data; separate data and config dirs

if config and data dirs from XDG are the same, append /config and /data to them
enable json output for cfg where
add cfg reset command to clear config and/or data.

$ ./bin/ak cfg where
Config home directory: "/Users/itay/Library/Application Support/autokitteh/config"
Data home directory:   "/Users/itay/Library/Application Support/autokitteh/data"

Override environment variable names:
XDG_CONFIG_HOME
XDG_DATA_HOME

$ ./bin/ak cfg where -j
{"config_dir":"/Users/itay/Library/Application Support/autokitteh/config","data_dir":"/Users/itay/Library/Application Support/autokitteh/data","config_env_var_name":"XDG_CONFIG_HOME","data_env_var_name":"XDG_DATA_HOME"}

$ ./bin/ak cfg where -J
{
  "config_dir": "/Users/itay/Library/Application Support/autokitteh/config",
  "data_dir": "/Users/itay/Library/Application Support/autokitteh/data",
  "config_env_var_name": "XDG_CONFIG_HOME",
  "data_env_var_name": "XDG_DATA_HOME"
}

In general the changes are OK (see some comments).
I have two main issues:

I think it dangerous to give the user such command. And we're stuck with the burden of maintaining it. I'm -1 on adding this
We're yak shaving config locations way too much. We had discussions on the location several times. We should let it rest.

I'm also -1 on adding this. +1 on splitting data/config and maybe allow user to specify AK_HOME. But if he wants to clean, there is rm -rf. Just a reminder - we also removed a couple of days ago CLI CMD allowing user to teardown DB


recipes-support: Add libqrtr-glib recipe

libqrtr-glib is a glib-based library to use and manage the
QRTR (Qualcomm IPC Router) bus. It is used by tools or other
libraries such as libqmi to communicate with remote services
such as ones exposed the by modem.
Signed-off-by: Loic Poulain<EMAIL_ADDRESS>

Given that libqmi is in meta-oe, doesn't that make more sense to get this one into meta-oe too? then you can also include a PACKAGECONFIG in qmi to enable the qrtr support?

Given that libqmi is in meta-oe, doesn't that make more sense to get this one into meta-oe too? then you can also include a PACKAGECONFIG in qmi to enable the qrtr support?

yes probably, I was thinking about libqrtr-glib as a BSP layer lib specific to qcom, but given qualcomm people expect to use that also over PCIe (and even USB), I'll submit it meta-oe, with comments addressed.

ok, then closing it here.


TFJS basic operations are extremely slow in comparison to Native JS

Issue type
Performance
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tfjs
Custom code
No
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I was just shocked when I saw that even basic operations like passing an array to tf.tensor is 60% slower than allocating a tf.buffer, setting each value one by one and calling toTensor(). When it comes to tf.randomNormal, which I believe is called many many times, there is a major slow down, even though the same Box-Muller algorithm is used.
Standalone code to reproduce the issue
<!DOCTYPE html>
<html>
<head>
    <title>Random Number Benchmark</title>
    <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
</head>
<body>
    <script>
        async function benchmarkTfjsRandomNormal(numSamples) {
            const start = performance.now();

            // Generate random floats using TensorFlow.js
            const randomFloats = tf.randomNormal([numSamples]);

            // Ensure the tensors are evaluated
            await randomFloats.data();

            const end = performance.now();
            tf.dispose([randomFloats]); // Clean up tensors
            return end - start;
        }

        function generateBoxMullerNormal() {
            let u = 0, v = 0;
            while (u === 0) u = Math.random(); // Converting [0,1) to (0,1)
            while (v === 0) v = Math.random();
            return Math.sqrt(-2.0 * Math.log(u)) * Math.cos(2.0 * Math.PI * v);
        }

        function benchmarkNativeRandomNormal(numSamples) {
            const start = performance.now();

            const randomFloats = new Float32Array(numSamples);
            for (let i = 0; i < numSamples; i++) {
                randomFloats[i] = generateBoxMullerNormal();
            }

            const end = performance.now();
            return end - start;
        }

        async function runBenchmarks() {
            const sampleSizes = [1000, 10000, 100000, 1000000];
            for (const numSamples of sampleSizes) {
                const tfjsTime = await benchmarkTfjsRandomNormal(numSamples);
                console.log(`TensorFlow.js (${numSamples} samples): ${tfjsTime.toFixed(2)} ms`);

                const nativeTime = benchmarkNativeRandomNormal(numSamples);
                console.log(`Native JavaScript (${numSamples} samples): ${nativeTime.toFixed(2)} ms`);

                const speedup = nativeTime / tfjsTime;
                console.log(`Speedup: ${speedup}`);
                console.log('');
            }
        }

        // Run the benchmarks and log the results
        runBenchmarks();
    </script>
</body>
</html>

Relevant log output
TensorFlow.js (1000 samples): 11.00 ms
test.html:49 Native JavaScript (1000 samples): 0.40 ms
test.html:52 Speedup: 0.03636363690549677
test.html:53
test.html:46 TensorFlow.js (10000 samples): 2.40 ms
test.html:49 Native JavaScript (10000 samples): 0.90 ms
test.html:52 Speedup: 0.3750000015522043
test.html:53
test.html:46 TensorFlow.js (100000 samples): 5.90 ms
test.html:49 Native JavaScript (100000 samples): 5.20 ms
test.html:52 Speedup: 0.8813559292925052
test.html:53
test.html:46 TensorFlow.js (1000000 samples): 64.80 ms
test.html:49 Native JavaScript (1000000 samples): 58.20 ms
test.html:52 Speedup: 0.8981481482120248
test.html:53
test.html:46 TensorFlow.js (10000000 samples): 648.90 ms
test.html:49 Native JavaScript (10000000 samples): 591.00 ms
test.html:52 Speedup: 0.9107720758122536

I am not sure if warmup needed for these experiments

@botcs TensorFlow.js uses the WebGL backend for faster computations. Please ensure WebGL is enabled and utilized.
For any further queries please raise a ticket in TFJS repository.
Thank you!


fix(baggage-span-processor): cannot find module

Which problem is this PR solving?
Fixes the following error:
Error: Cannot find module<EMAIL_ADDRESS>Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:415:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:665:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1034:27)
    at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue (/Users/long/Repos/wise-rock/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
    at Function.Module._resolveFilename (/Users/long/Repos/wise-rock/node_modules/tsconfig-paths/src/register.ts:115:36)
    at Function.Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/Users/long/Repos/wise-rock/apps/api/src/tracing.ts:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1241:14) {
  code: 'MODULE_NOT_FOUND',
  path<EMAIL_ADDRESS>  requestPath: '@opentelemetry/baggage-span-processor'
}

To reproduce, create a solution with otel and reference BaggageSpanProcessor. Compiles successfully but blows up during runtime.
Short description of the changes
I looked at sibling packages and followed the same convention. I tested it locally by altering node_modules/@opentelemetry/baggage-span-processor directly to make sure it works. It worked after that.

Whatever bundler test approach we end up adopting for https://github.com/open-telemetry/opentelemetry-js/issues/4744 we should also then port to opentelemetry-js-contrib to catch issues like this.


Function to return record length

Suggestion from @henridf in a public Slack thread:

Feature request for exploring messy data (which is quite wide and sparse):

length(<record>) returns the number of fields in a record (in particular I want to length(.))

Verified in zq commit 54a06df.
Taking the first line of the conn Zeek zed-sample-data for instance:
~/work/zq-sample-data/zeek-default$ zq -Z 'head 1 | put reclen=len(.)' conn.log.gz
{
    _path: "conn",
    ts: 2018-03-24T17:15:21.255387Z,
    uid: "C8Tful1TvM3Zf5x8fl" (bstring),
    id: {
        orig_h: <IP_ADDRESS>,
        orig_p: 39681 (port=(uint16)),
        resp_h: <IP_ADDRESS>,
        resp_p: 3389 (port)
    } (=0),
    proto: "tcp" (=zenum),
    service: null (bstring),
    duration: 4.266ms,
    orig_bytes: 97 (uint64),
    resp_bytes: 19 (uint64),
    conn_state: "RSTR" (bstring),
    local_orig: null (bool),
    local_resp: null (bool),
    missed_bytes: 0 (uint64),
    history: "ShADTdtr" (bstring),
    orig_pkts: 10 (uint64),
    orig_ip_bytes: 730 (uint64),
    resp_pkts: 6 (uint64),
    resp_ip_bytes: 342 (uint64),
    tunnel_parents: null (1=(|[bstring]|)),
    reclen: 19
} (=2)

Note that the way this is currently counting, an embedded record (such as id in this case) counts as 1 toward the length, as opposed to counting its sub-fields individually.
Thanks @mccanne!


Headings should have no paragraph space after them

Or body text should have no spacing before it. I.e. Those indicated here
should have 0 spacing


Retry optimisation: for a cluster in error state reconcile only the failing components if cluster wasn't changed in the meantime

Description
To reduce the reconciliation effort for clusters. in error state, the reconciliation should only consider the failing component if following pre-conditions exist:

cluster is in error state and the last two successful reconciliations were using the same cluster configuration
the cluster is error hasn't received any cluster updates since the reconciliation is failing

Goal is to reduce the reconciliation efforts for cluster which are in error state but could be successfully reconciled before.
Reasons
Reduce reconciliation efforts for clusters in error state which seem to fail caused by a transient error.
Attachments

Feature no longer required, will be solved by #464


Prevent ripple from overflowing Android picker

@sobitneupane @chiragsalian
Fixes regression of https://github.com/Expensify/App/pull/16103
Details
After some further review, it looks like we can combine both proposed solutions for fixing the ripple overflow. For older Android, we can inset the items, and for >= v31 we can use the android:clipToOutline property for a cleaner look.
This is achieved by using the version specific values directories that Android supports.  In the screenshots area below I've provided a recording with side-by-side comparison for devices running Android v29 and Android v33.
This is optional of course, if we want it to look identical on old and new we can drop the second commit.
Fixed Issues

$ https://github.com/Expensify/App/issues/15460
PROPOSAL: https://github.com/Expensify/App/issues/15460#issuecomment-1493273780
Tests

Sign into the Android native app
Navigate to a page containing a picker
Open the picker
Scroll to a position where the top item is partially out of the scroll view of the picker
Long press on the item and confirm that the ripple effect does not extend beyond the background of the picker
Scroll to the end of the list, to a position where the bottom item is partially out of view
Long press on the item and confirm that the ripple does not extend beyond the background of the picker

On Android 11 and below, the ripple effect should be clipped at the "inset", and on on Android 12 and above, the ripple effect should be clipped at the outline.  See Android testing videos for proper display expectations.
Example pages containing a picker:

Workspaces -> Workspace -> General Settings -> Default Currency
Workspaces -> Workspace -> Reimburse Expenses -> Track Distance (Unit)
Settings -> Profile -> Personal Details -> Home Address -> Country

[X] Verify that no errors appear in the JS console

Offline tests

Sign into the Android native app
Navigate to a page containing a picker
Open the picker
Scroll to a position where the top item is partially out of the scroll view of the picker
Long press on the item and confirm that the ripple effect does not extend beyond the background of the picker
Scroll to the end of the list, to a position where the bottom item is partially out of view
Long press on the item and confirm that the ripple does not extend beyond the background of the picker

On Android 11 and below, the ripple effect should be clipped at the "inset", and on on Android 12 and above, the ripple effect should be clipped at the outline.  See Android testing videos for proper display expectations.
Example pages containing a picker:

Workspaces -> Workspace -> General Settings -> Default Currency
Workspaces -> Workspace -> Reimburse Expenses -> Track Distance (Unit)
Settings -> Profile -> Personal Details -> Home Address -> Country

QA Steps

Sign into the Android native app on the staging environment
Navigate to a page containing a picker
Open the picker
Scroll to a position where the top item is partially out of the scroll view of the picker
Long press on the item and confirm that the ripple effect does not extend beyond the background of the picker
Scroll to the end of the list, to a position where the bottom item is partially out of view
Long press on the item and confirm that the ripple does not extend beyond the background of the picker

On Android 11 and below, the ripple effect should be clipped at the "inset", and on on Android 12 and above, the ripple effect should be clipped at the outline.  See Android testing videos for proper display expectations.
Example pages containing a picker:

Workspaces -> Workspace -> General Settings -> Default Currency
Workspaces -> Workspace -> Reimburse Expenses -> Track Distance (Unit)
Settings -> Profile -> Personal Details -> Home Address -> Country

[X] Verify that no errors appear in the JS console

PR Author Checklist

[X] I linked the correct issue in the ### Fixed Issues section above
[X] I wrote clear testing steps that cover the changes made in this PR

[X] I added steps for local testing in the Tests section
[X] I added steps for the expected offline behavior in the Offline steps section
[X] I added steps for Staging and/or Production testing in the QA steps section
[X] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[X] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[X] I included screenshots or videos for tests on all platforms
[X] I ran the tests on all platforms & verified they passed on:

[X] Android / native
[X] Android / Chrome
[X] iOS / native
[X] iOS / Safari
[X] MacOS / Chrome / Safari
[X] MacOS / Desktop

[X] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[X] I followed proper code patterns (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[X] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I followed the guidelines as stated in the Review Guidelines
[X] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] I verified that if a function's arguments changed that all usages have also been updated correctly
[X] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[X] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Screencast from 2023-03-19 11:30:39 AM.webm

Mobile Web - Chrome
https://user-images.githubusercontent.com/1311325/226198823-2f7f3c70-5604-497d-b928-0d49e8fafb63.mp4

Mobile Web - Safari
https://user-images.githubusercontent.com/1311325/226198838-4a2491db-5dcd-4171-be25-30b30541ab80.mp4

Desktop
https://user-images.githubusercontent.com/1311325/226198847-216ca91a-310e-458f-9cba-dfd1dadb9ddd.mov

iOS
https://user-images.githubusercontent.com/1311325/226198858-9a3ecdad-2302-4dd8-8063-399d151a9cb6.mov

Android

Left: Inset method (< API 31) | Right: ClipToOutline method (>= API 31)
Screencast from 2023-04-05 21-03-10.webm

@chiragsalian @sobitneupane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

Screenshots/Videos
API 29
https://user-images.githubusercontent.com/25876548/230377569-92311be4-8e1b-4fd9-9537-aacce1a6c77d.mov
API 32
https://user-images.githubusercontent.com/25876548/230377615-2993472b-2912-4bd8-99a9-87e379a047ff.mov

@redstar504 The branch has merge conflict. Can you please resolve it and let me know.

@sobitneupane Conflicts resolved.  There was also one style declaration I added that is not necessary so I removed it.  Tested again on API 29 and 33 and works as expected.

@sobitneupane I have added the test steps.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.2.99-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 1.2.99-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Almundo superfactura vulnerability

Hey @mauro-oto,
This PR talks about the vulnerability for the Almundo billing system.
Please check it out.
Thanks!

@etagwerker looks good!
What do you think about adding some context to Almundo for foreigners reading the page, like: http://www.alexa.com/siteinfo/almundo.com.ar, or explaining that it's a flight booking service ala booking.com?
Also, even though they patched the vulnerability for Almundo (which looks like their biggest client), maybe they didn't do it for their smaller clients, like:
http://solways.superfactura.com.ar/un_comprobante_pdf.php?s=1&f=73455&tc=F13&tf=B
http://swan.superfactura.com.ar/un_comprobante_pdf.php?s=1&f=73455&tc=F13&tf=B
http://destinet.superfactura.com.ar/un_comprobante_pdf.php?f=59643
It's weird that the data shown in those PDFs is different than the one in the Almundo PDFs. Maybe if you were to use a valid id for the f parameter, you might be able to see the bills.

@mauro-oto Done!

Thanks! :+1:


fix: make donate modal scrollable

I'm not quite sure what you all had in mind for this @raisedadead - but this seems like a quick and easy fix to the scrolling issue - which allows you to get to the close button.
Also, the close button text was underlined - so I got rid of that.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #36756

Thanks, can you also reduce the font size on the buttons a notch.

@ahmadabdolsaheb will you be adding the changes like we discussed?

screenshot


No command for downloading from shopify

Problem
It will be great if you add new command like THEMEKIT's download command
something like this
slate-tools download

Hey @w-lemon -- for now this is not in the scope of Slate v1 due to how there are now very clearly defined 'source' files and 'dist' files. If we had a download command, it would download 'dist' files from Shopify servers. We would then need to reverse compile those files to get 'source' files.
We understand that the developer workflow around working on an already implemented theme needs some improvement. Here is one proposal that might help https://github.com/Shopify/slate/issues/403


First Blog - Echo Blog

https://echosmile.github.io/2018/06/25/First-Blog/
Every failure is leading towards success.

测试


Create customer without a User model

Is it possible to create a customer and have the relevant webhooks and methods created for a model that is not a User?
For example, I have User models (which are users) and Business models (which have users attached to them). Users can make payments and so can businesses. I have attached customer objects to the users and would like to do the same with businesses.
If this is not possible, how do I handle the webhooks that pinax stripe handles? I would like businesses to have default payment methods and (eventually) subscriptions.
Or is this something that I should just be using stripe-python for? Just thought I'd ask to save me having to mix and match pinax-stripe with a custom solution.
Any help would be great.

I'm also working on a project that has subscriptions tied to a model other than User. If there's a way to swap out the User model dependency easily, I'd love to know. I'm trying a few different django <-> stripe solutions and would love to give this one a try too

I also ran into this, and so can't use pinax-stripe it seems.


Qt5

Related to https://github.com/SAP/fedem-gui/issues/17
Ok, it seems the whole problem on my system is Qt4. Would you be interested on upgrading to Qt5?

I see. Well, porting the GUI code to Qt5 or later is a big endeavor and it might require quite some code changes for everything to work as before. We actually started to port everything to Qt6 recently, on a side branch before we went open source. So it is perhaps even better to continue on that track instead of spending the effort to go view Qt5. In any case, some of the other third party libraries might require an update as well.
I'll see if I can put that Qt6 branch out on this repo soon, in case you want to have a look.

Sure! Qt6 even better!
I really want to be out of your way. So feel let me know if you rather want me to contribute or you think I will be just hampering the process

No, all contributions are welcome, and appreciated. Make no doubts about that!
One note: When raising more general questions about the code, like this one. You can also use the Discussions tab in github.

Oki! I am waiting then for such Qt6 branch

@sanguinariojoe Here is the current Qt6 branch: https://github.com/kmoks/fedem-gui/tree/qt6-port.
I pushed it to my personal fork only as this is work in progress. I have verified that it builds on my Windows system - but not tested on Linux/gcc. There are a lot of commits there which will be squashed (most of them) before this will be merged. But this way it is easier to track issues and bugs related to different code changes.
Notice: You need to configure with -DUSE_QWTLIB=OFF since the version of Qwt included is not compliant with Qt6 (or Qt5). This means that the 2D curve plotting feature is not available. We'll do that later (feel free to contribute on updating the Qwt library). You may also need -DUSE_COMAPI=OFF, at least when building on Windows, as the src/comApi sources have not yet been ported to Qt6.
Also notice there is an associated update in the fedem-mdb repository, in the branch https://github.com/SAP/fedem-mdb/tree/qt6-port. You'll need this also for a successful build. The submodule reference in this repository is updated to reflect this.
Feel free to fork this repository and commit changes to your own branch as you discover issues to be fixed (I'm sure there will be some). It is better than adding a new Issue in this repository for each item. Then we can clean up the history at then end when things work.
Thanks, and Good luck!


Game Crashes within entering any song

Describe your bug here.
I recently downloaded 0.6.0 ver and switched all my mods to it, i started to play the game and my songs i have in the engine, but suddenly, when i tried to play ugh, tried to go to chart editor to test the events, and tried to play tutorial, it crashed. Is there any solution to this problem?
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I only switched all my stuff i have in the previous ver to the ver that i recently installed.

There’s no 0.6.0-

bottom left

bottom left of psych engine

WHAT

There’s no 0.6.0-

yes there is 💀
maybe read releases


Updated CHANGELOG for release of 2.0.0-pre.14

BREAKING: Bundler options now include strategy and urlMapper.  These
have been moved from the generateManifest method which now only takes
the entrypoints array.
Added new url mapper functions to make customizing destination of shared
bundle files easier: generateSharedBundleUrlMapper and
generateCountingSharedBundleUrlMapper in src/build-manifest.
Fixed an issue where <link rel="lazy-import"> tags were being moved
out of their containing <dom-module> tags.
Export all of the bundle manifest types and functions on the default
namespace of polymer-bundler.
[x] CHANGELOG.md has been updated

polymer-bundler 2.0.0-pre.14 published 🎉


bug(Angular 14): Error on build loading (SassError + Module Not found)

Is this a regression?

No

The previous version in which this bug was not present was
No response
Description
I'm trying to setup a new work environment in a client remote server (Windows server 2019) for them to be able to build a new site whenever changes are uploaded to the git repository. As a clarification, this project does build perfectly on my computer and the computer of another programmer
I did the following on that machine:

I made sure no previous version of node/npm was installed before, validate this folders

Installed the same version of NodeJS I have locally (16.5.0) including the additional components option in the nodejs installing option (python, chocolatey)

Installed the same version of Angular cli I have locally (14.1.1)

npm i runs well, no vulnerabilities detected

When I do ng build, it fails. See the messages I see:

It starts with warnings about "Invalid dependencies have been reported by plugins or loaders for this module". It shows for basically all ts files that import something:

Then some warnings about not using comments with "//" and to please use "/* ... */" (is that important?)

Then I get the breaking errors:

"SassError: Can't find stylesheet to import." followed by "module not found"

Just after that, errors about not recognizing stuff like "describe" or "beforeEach" in test files

And finally a message about all scss files "didn't return a string."

Important files
tsconfig.app.json

angular.json (this is where I tried a couple of things with the "stylePreprocessorOptions > includePaths" but no luck so far)

I really have no idea how to solve this after looking for a solution for the last couple of days. All the solutions I could find are related to either using an older version of angular than me or using an older version of angular material. This is a new project that was created on angular 14 and was working fine
I do suspect it might be related to something in Windows Server since is the only difference I can think of. Appreciate any help/suggestions
NOTE: To compile on the server is a requirement by the client, we don't have the people/time/resources to build something to deploy via CI/CD and/or docker, and honestly, is crazy we can't do a simply ng build
Reproduction
I have no idea how to reproduce this problem in another machine
Expected Behavior
Create a build
Actual Behavior
Build fails with import errors related to scss files/angular material/other files
Environment

Angular: 14
CDK/Material: 14.1.1
Browser(s): N/A
Operating System (e.g. Windows, macOS, Ubuntu): Windows server 2019

ng version info:
Angular CLI: 14.1.1
Node: 16.15.0
Package Manager: npm 8.5.5
OS: win32 x64

Angular: 14.1.1
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1401.1
@angular-devkit/build-angular   14.1.1
@angular-devkit/core            14.1.1
@angular-devkit/schematics      14.1.1
@angular/flex-layout            14.0.0-beta.41
@schematics/angular             14.1.1
rxjs                            7.5.7
typescript                      4.7.4

Ok so, just to not leave this open, the issue was that the folder name had a "#" char in it, as soon as I did this in another folder without the "#" then it compiled correctly. Not sure if this is documented anywhere and if it's a windows only issue


Mention that the acme-dns implementation can only do one challenge per subdomain

Preview: https://deploy-preview-574--cert-manager.netlify.app/docs/configuration/acme/dns01/acme-dns/#limitation-of-acmedns

Fixes https://github.com/jetstack/cert-manager/issues/3610

@james-w I think Prow also requires a /lgtm 👍

/lgtm


Works only with http and not https

I´ve installed Saltcorn on Ubuntu 22.04 and there is no problem to enter it. Everything works fine (but only if it is the first software I install on new server).
Accessing SSL certificate over Let´s encrypt in Saltcorn doesn´t work. There´s an error saying my IP address and the domain doesn´t match, what is false. (Base URL domain 'mydomain.com' does not match hostname '#.###.###.###')
And as soon as I get the certificate out of Saltcorn and activate https for the domain, Saltcorn won´t start any more.
Any idea how I can fix this? Is it because Saltcorn continues listening on http port? Can I set the preferences without logging in Saltcorn over terminal?

I´ve managed to enable LetsEncrypt certificate:

But https connection still doesn´t work.

I confirm it also doesn't work with custom certificates (csr and key files downloadad from my AD CS). Saltcorn.service stays on endless loop of crashes.


.focus() is crashing

.focus() function is crashing if I'm explicitly calling it.
I have attached a snippet for reference. @dabakovich kindly let me know if I am missing something.
inputRef = createRef();

componentDidMount() {
     this.inputRef.focus();
   }

       <MentionInput
                 ref={(r) => (this.inputRef = r)}
                 value={comment}
                 autoFocus={autoFocus || false}
                 scrollEnabled={true}
                 onChangeText={(comment) => {
                  this.setState({ comment })
                 }}
                 }}
                 partTypes={[
                   {
                     trigger: '@', // Should be a single character like '@' or '#'
                     renderSuggestions: this.renderSuggestions,
                   },
                 ]}
               />

@liqiankl use inputRef instead of ref as mentioned in docs


Fortnite added new Anti cheat

Game Title
Fortnite
Status of the Anti-Cheat
🚫 Denied
Tinkering Steps
No response
Proof of Mention
https://fortnitetracker.com/article/1876/fortnite-adds-new-anti-cheat-in-effort-to-combat-rising-levels-of-foul-play#:~:text=In Wednesday's v21.20 update,are currently unable to play.

According to the anti cheat creator's website, they support Linux but I doubt this will change Fortnite's status. Haven't been able to test to confirm though.

According to the anti cheat creator's website, they support Linux but I doubt this will change Fortnite's status. Haven't been able to test to confirm though.

Yeah probably, especially since Tim Sweeney explicitly doesn't want to support Linux.
 That's absurd
They should rather think about some proper match making system that matches likely cheaters against other likely cheaters instead of adding a dozen more client side anticheats lmao

According to the anti cheat creator's website, they support Linux but I doubt this will change Fortnite's status. Haven't been able to test to confirm though.

There's also this tweet by one of the founders which gives a little bit of hope regarding support for games on Wine/Proton in general. However, it seems like Hyperion in Fortnite in particular is an interesting case; it seems to run alongside EAC/BattlEye, instead of it being standalone like the others.

According to the anti cheat creator's website, they support Linux but I doubt this will change Fortnite's status. Haven't been able to test to confirm though.

There's also this tweet by one of the founders which gives a little bit of hope regarding support for games on Wine/Proton in general. However, it seems like Hyperion in Fortnite in particular is an interesting case; it seems to run alongside EAC/BattlEye, instead of it being standalone like the others.

Yeah it makes sense to run the ac along side the others as from the website it seems the ac is way too weak for fortnites standards

According to the anti cheat creator's website, they support Linux but I doubt this will change Fortnite's status. Haven't been able to test to confirm though.

that particular anti cheat might support linux, but the actual problem is that fortnite actually detects wine now and stops you from playing with a popup saying "wine is not supported". (earlier you could actually load into the lobby, but you can no longer do that)
I guess this was a way to combat cheaters...?


feat: UEFI MVP

This is the UEFI MVP (https://github.com/hermit-os/loader/pull/285) based on the reorganization in https://github.com/hermit-os/loader/pull/324 and https://github.com/hermit-os/loader/pull/330, without GOP support.

I'll still have to add a device tree.
CC: @sarahspberrypi, @jounathaen

This is now ready for review, though not ready to merge, since this uses a WIP hello_world for CI.


Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'

Tried to build my app in my Android device and get this error please help me :

What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :react-native-gesture-handler.
Required by:
project :app
Unable to find a matching configuration of project :react-native-gesture-handler: None of the consumable configurations have att
ributes.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get fu
ll insights.

Get more help at https://help.gradle.org

BUILD FAILED in 22s
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
Command failed: gradlew.bat installDebug
Error: Command failed: gradlew.bat installDebug
at checkExecSyncError (child_process.js:625:11)
at Object.execFileSync (child_process.js:643:13)
at runOnAllDevices (C:\Users\Saddam\MoviesAndMe\node_modules\react-native\local-cli\runAndroid\runAndroid.js:299:19)
at buildAndRun (C:\Users\Saddam\MoviesAndMe\node_modules\react-native\local-cli\runAndroid\runAndroid.js:135:12)
at isPackagerRunning.then.result (C:\Users\Saddam\MoviesAndMe\node_modules\react-native\local-cli\runAndroid\runAndroid.js:65:12)
at processTicksAndRejections (internal/process/next_tick.js:81:5)

Hi @hackthemachin3 ，you may need run
yarn add react-native-gesture-handler
react-native link react-native-gesture-handler

@hackthemachin3,
Thank you for reaching out! It looks like the react-native-gesture-handler library can not be found. Did you install it correctly? You can follow the installation instructions here: https://kmagiera.github.io/react-native-gesture-handler/docs/getting-started.html#installation. Also make sure react-native-gesture-handler exists in your node_modules folder by running yarn install. If you still have problems you can use StackOverflow for additional help.
I'm closing this issue because it does not seem like a bug or regression in the core React Native library. If you don't agree, please feel free to file a new issue report with the reason why you think this is a react-native issue. Make sure to include steps to reproduce the behavior. Thank you!

Hi @hackthemachin3 ，you may need run
yarn add react-native-gesture-handler
react-native link react-native-gesture-handler

I run yarn add react-native-gesture-handler and i get the problem
error An unexpected error occurred: "EPERM: operation not permitted, unlink 'C:
\Users\user.user-PC\mobile-app\node_modules\@babel\plugin-transform-runtime
\node_modules\.bin'".

in your build.gradle file add www to maven { url 'https://jitpack.io' } so that it ends up being maven { url 'https://www.jitpack.io' }


[bug]: When using --group_key AND --enable_emission the assets have different tweaked_group_key

Background
When emiting a second emissions of an asset, if you set --group_key AND --enable_emission, the second asset emited will have a different tweaked_group_key.
Your environment
tapd v0.3-rc2

Steps to reproduce
I mint my first asset
tapcli assets mint --type normal \
                --name unlimitedRoylloCoin1 \
                --enable_emission true

I get this result:
"name": "unlimitedRoylloCoin1"
"asset_id": "ce2d57a6bef7668a781bc149f5491aab7392b30a2f4368f013722f46a57abc70"
  "asset_group": {
    "raw_group_key": "036c1fb8f682b877b9caa27ddb7068a242f662332ea7eb99e3c32c12170c15a0bc",
    "tweaked_group_key": "0349d60c6689bbbb2ffc9b30b45b96a3d6e5fd5fd01c867344c0054f6105048241",
    "asset_witness": "0140e0c383aaecabb44bee72683d825118b7ef7124a9c8be149c82b7c4c525340aceb4194a177bc1e13e0bee7df5425720f4b5f30335faed586bef129780146b7a2c"
  },

I mint a second a second asset:
tapcli assets mint --type normal \
                --name unlimitedRoylloCoin2 \
                --enable_emission true \
                --group_key 0349d60c6689bbbb2ffc9b30b45b96a3d6e5fd5fd01c867344c0054f6105048241

And as result:
"name": "unlimitedRoylloCoin2",
"asset_id": "8deae8ae25e1e46f8d74ba47b28860001965628d2c011f8f19f9e07dbecec7d0"
  "asset_group": {
    "raw_group_key": "02a97752df0a27efc44bf7bf0dcf7113b391ba6e1884cd5a78fe493f4da91e8f99",
    "tweaked_group_key": "02807f3a0009f9ed5c3ba0e3662c511619beb216e7f165b9ba77668c4835776b96",
    "asset_witness": "0140d5cccebf06fb9e26a8baa1fccf01f59c3c411a87dde8ff16e710fe0193eded77153dfb5d954f810b7f5920192f72f856b024e89f4eba1099087fb3dc4b3efe35"
  },

tweaked_group_key are different for both emissions.
Expected behavior
It works if I remove  --enable_emission true. To void mistakes that could make people loose money, I think that you should not be allowed to use  --group_key AND --enable_emission at the same time.

Thanks for the issue.
I see how this might be confusing. Let me explain:
In general, the --enable_emission (btw., that is a boolean flag by itself and specifying true with a space might lead to it being seen as a positional argument, so better to avoid setting a value for boolean arguments) indicates that the issue minted with that command is the very first in a group. Any subsequent mint into that group should only use the --group_anchor (useful for minting into the same batch) or the --group_key (when referencing an asset from a batch that is already finalized or confirmed).
BUT: If you don't want to auto-generate a group key, you can also specify one when creating the very first asset of a group. For that you would also use the --group_key flag but in combination with --enable_emission.
But maybe we should use different flags for the two use cases? For example --custom_group_key when using with --enable_emission and --anchor_group_key when referencing an existing group?

I think this should have failed if enableEmission and a group key or anchor were set:
https://github.com/lightninglabs/taproot-assets/blob/e7859ee9e95896c4d5864149aee06970cedf160d/rpcserver.go#L345
So, --enable_emission=true for the group anchor, and then only --group_key or --group_anchor for following assets intended for the same group.

related to https://github.com/lightninglabs/taproot-assets/issues/236

Closed by #681 .


Error: Cannot find module '../../../build/Release/demangle'

module.js:340
    throw err;
          ^
Error: Cannot find module '../../../build/Release/demangle'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/ubuntu/node-stap/lib/elf-atos/loaders/elf_loader.js:29:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

I made sure to do the npm install and systemtap and kernel headers are installed. I feel like there's a missing step here or I'm missing something.
Thanks

Is it because ../../../build/Debug exists ?

@jburnham what command did you run?

node cmd/torch.js $PID text 10

Is there a step I need to do to compile the demangle code?

There should not be.  @Raynos's question is a good one—does that directory exist?  Do you have a BUILDTYPE environment variable set?

ubuntu@server:~/node-stap/lib/elf-atos/loaders$ ls -l ../../../build
ls: cannot access ../../../build: No such file or directory
That ../../../ should be the root of the project and there is no build directory there.
BUILDTYPE is not set to anything

Curious.  I've tried this on a few types of systems and haven't seen a failure to create ${projroot/{build/.  If you're still trying, would you mind gist'ing up your "npm install" output and npm and node versions?  Thanks for your help on this as an early adopter!

If the nod binary was compiled with Debug on then installing / compiling with NPM using that will put binaries into Debug not Release

So it looks like there were two things that I needed to do to fix this.

Fix a local issue specific to my environment with the npm install (not relevant to this project).
I needed to apt-get install build-essential to get the compilation tools necessary to finish the install

Now the script works but fails on something else. This is probably because I am using the systemtap that comes with ubuntu 14.04 (2.3 instead of 2.7 like the README states).
ubuntu@server:~/node-stap$ sudo node cmd/torch.js 6347 raw 10 > ../raw.txt
Sampling 6347 for 10s, outputting raw.

[stap stderr] make[1]: *** Deleting file `/tmp/stap8vZ6Fa/stapconf_83f8d8d871e76f8bfc186d05a6524d9d_687.h'
make[1]: *** [/tmp/stap8vZ6Fa/stapconf_83f8d8d871e76f8bfc186d05a6524d9d_687.h] Terminated
make: *** [_module_/tmp/stap8vZ6Fa] Terminated
WARNING: kbuild exited with signal: 15 (Terminated)
Pass 4: compilation failed.  [man error::pass4]

What environments are you running this in? Did you install a backport version of systemtap?

@jburnham did you make any progress on this, I'm in a similar situation.

I've pushed a quick fix that I think should address this; mind trying again?

I think that fixed it!
I'm getting output now but there is an error in my flame.html(likely unrelated).

@danielheller, I spoke too soon.
I get some output with the flame option but when I try to view the flame.html in chrome, all I see is something similar to the following with no flamegraph:

Flame graph
Hover over a block for summary information. Click a block for details. Reset view

With the raw option, the raw.txt is completely empty.
Pardon the false positive.

@makenova that is consistent with sampling a process which is not doing anything.  Can you confirm with top that the process you're sampling is reasonably active on-CPU?
This discussion is, however, a bit off-topic for this issue. @makenova if you confirm that the process you're sampling is actively consuming CPU, then please open an issue with the richest reproduction steps you can and I will eagerly debug.
@jburnham If I understand the issue you're hitting correctly, it would affect any usage of a native add-on, and is therefore somewhat outside the scope of a readme for this specific project.  I'm therefore going to mark this one as resolved.  If I'm incorrect and this is an issue specific to node-stap, then apologies and please re-open.


Raise a more helpful error for duplicated columns in Join

Fix #819
Raise an error >>> ValueError: columns overlap but no suffix specified: ['letter'] if the duplicated column(s) is found but no suffix is specified.
Also added the pytests.

Codecov Report

Merging #820 into master will decrease coverage by 2.26%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   94.33%   92.06%   -2.27%
==========================================
  Files          32       32
  Lines        5844     5849       +5
==========================================
- Hits         5513     5385     -128
- Misses        331      464     +133

Impacted Files
Coverage Δ

databricks/koalas/frame.py
95.17% <100%> (-1.65%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
77.5% <0%> (-7.5%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/namespace.py
84.96% <0%> (-1.31%)
:arrow_down:

databricks/koalas/plot.py
93.34% <0%> (-0.96%)
:arrow_down:

databricks/koalas/utils.py
97.24% <0%> (-0.69%)
:arrow_down:

databricks/koalas/testing/utils.py
77.35% <0%> (-0.63%)
:arrow_down:

... and 1 more

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 1b00e3d...08f25bd. Read the comment docs.


Error: The provided socket.io client (io) has already been augmented into a Sails socket SDK instance (it has io.sails).

Having trouble getting this websocket to work
when the page loads i get "Uncaught SyntaxError: Unexpected token < _getcookie:1"
The when i navigate to a new page i get the error in the title of this post.
I'm using chrome and have an extension that enables cross domain, could this be the issue?

import socketIOClient from 'socket.io-client';
import sailsIOClient from 'sails.io.js';

componentDidMount() {
var io = sailsIOClient(socketIOClient);

    // Set some options:
    // (you have to specify the host and port of the Sails backend when using this library from Node.js)
    io.sails.url = 'http://myurl.com';
    console.log('url', io.sails.url)
    var test = io.socket.get('/api2/job', function serverResponded (body, JWR) {
      // body === JWR.body
      console.log('Sails responded with: ', body);
      console.log('with headers: ', JWR.headers);
      console.log('and with status code: ', JWR.statusCode);

      // ...
      // more stuff
      // ...

      // When you are finished with `io.socket`, or any other sockets you connect manually,
      // you should make sure and disconnect them, e.g.:
      io.socket.disconnect();

      // (note that there is no callback argument to the `.disconnect` method)
    });
}

Hi @AWR14,
Just wanted to let you know we are moving all open Sails issues into one repo so in hopes that it will be easier for our devs to keep a better eye on things.
~ Cheers!

@AWR14  - Thanks for providing the detailed info and examples so far.
What versions of Sails, sails-hook-sockets, & sails.io.js socket client are you using at the moment?
As for browser extensions, it's certainly worth testing with them temporarily disabled when in doubt.

same issue here:
{     "sails.io.js": "^1.2.1",     "socket.io-client": "^2.2.0",     "sails": "^1.2.2",     "sails-hook-sockets": "^1.5.5", }

@navid-kalaei Thanks for the workaround!  This will certainly be considered for further socket developments.

same issue here:
{
    "sails.io.js": "^1.2.1",
    "socket.io-client": "^2.2.0",
    "sails": "^1.2.2",
    "sails-hook-sockets": "^1.5.5",
}

It happens when I initialize socket in react in different files. I have a sense in front end even the socket is initializing in different palaces it is global to the whole project and cannot be connected to the same endpoint twice.
SOLVED: Initialized the socket just once as a service then stored it as a context in the app then consumed it whenever it was needed instead of creating a new socket each time. FYI: If you are facing the same problem and have no clue how to consume your socket in React, store it in a context and develop a high order component for consuming and injecting the socket to your desired component. BTW, the right place for updating your state is componentDidMount in class components and in useEffect hook.

Hi @navid-kalaei,
Could you please include an example for storing socket in a context and consuming? Thank you!

Hey @MaheshkumarSundaram,
I don't have an example of react code that does this.
Is there a reason why you wouldn't use the built in socket client to accomplish this? https://sailsjs.com/documentation/reference/web-sockets/socket-client#socket-client-sails-io-js-

Hey @MaheshkumarSundaram, I don't have an example of react code that does this. Is there a reason why you wouldn't use the built in socket client to accomplish this? https://sailsjs.com/documentation/reference/web-sockets/socket-client#socket-client-sails-io-js-

Hi,
I tried varies solutions I found across the internet but only this worked for me. But the problem is it works well for JS but in Typescript, it doesn't.
In TS, the error is at the line: if (socketIOClient.sails), which is basically saying Property 'sails' doesn't exist on socketIOClient which is pretty valid as the Socket IO Client doesn't have a sails prop by default and it's injected later by sails.io.js. But I'm not sure how to fix this problem in TS?
If anyone could help, it would be very much appreciated. Thanks.


Update ExpectAPI.md

(Typo) Removed word "to"

Summary
Identified a minor typo when reading documentation in context.  Suggested change involves removing a single word ("to") from relevant documentation.
Test plan

Hi and thanks - can you also make this change in the old versions of the file within versioned_docs? This is so that your change will immediately appear on the latest version of the docs as well, not just in the next version until released :)

@dmarvasti a follow up that fixes the typo in the versioned docs as well would be greatly appreciated!

Will do :)
On Tue, Jun 23, 2020 at 10:25 AM Simen Bekkhus<EMAIL_ADDRESS>wrote:

@dmarvasti https://github.com/dmarvasti a follow up that fixes the typo
in the versioned docs as well would be greatly appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/jest/pull/10141#issuecomment-648190280, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABSNF3FH54PHCQEISCQVOLRYC3OXANCNFSM4NYLYDZQ
.


Chaotic Feat:  add contact us page

Describe your chaotic idea

I want to use GSAP
Use scrollTrigger

Add Screenshots or Sketches
contact page shows error

Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] #61
[X] I'm Hacktoberfest registered Contributor

@vansh-codes please assign me this task under level-3

Website is been migrated to Reat
Check #53
If you interested in implementing it in React then you can otherwise you may close the issue

@vansh-codes  Sure, I can work with react 👍

Okay I will let you know when the migration is complete so you can start working on this!

Go ahead!
use GSAP and work on REACT folder
chaosweb-v@2

Are you still interested in working in this task or shall I close this issue?


C Message

The description of the C message item Boost says
3 MSB bits are duration:
value is in minutes * 5 but value 7 means 60 min.
5 LSB bits are valve opening in % * 5
I think it should be
3 MSB bits are duration:
value is in minutes / 5 but value 7 means 60 min.
5 LSB bits are valve opening in % / 5


Provide import & export methods to upgrade versions

The interface sled provides seems good: https://docs.rs/sled/latest/sled/struct.Db.html#method.import

I decided this is not a good idea, since it could limit the ability to add new features. For example, storing type names with table definitions could not be done in a backwards compatible way

Any suggestions on how to deal with upgrades between different versions instead?
This pattern
let old = old_sled::open("my_old_db")?;

// may be a different version of sled,
// the export type is version agnostic.
let new = sled::open("my_new_db")?;

let export = old.export();
new.import(export);

assert_eq!(old.checksum()?, new.checksum()?);

would be really nice for us, being able to deal with development changes.

Ya, I'd suggest something like:
let new = Database::create(new_path);
let old = Database::open(old_path);
let new_table = new.open_table(TABLE);
let old_table = old.open_table(TABLE);

for (k, v) in old_table.iter() {
  new_table.insert(&k, &v);
}

Unfortunately it's unlikely that redb will have import/export methods due to the limitations that would impose. However, the file format is getting fairly close to being done, so I hope to have it finalized later this year


Replace LAA with AMA: Text Mistake

Please correct the mentioning of 'Log Analytics Agent' in the highlighted lines:
https://learn.microsoft.com/en-us/azure/sentinel/connect-cef-ama#:~:text=The Syslog daemon on the,Analytics workspace in Microsoft Sentinel.

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

ID: f2e85c61-71f5-e722-0e97-c6181d0e7ad8
Version Independent ID: 28aef1ff-5669-7ac6-e766-b1843084b351
Content: Stream CEF logs to Microsoft Sentinel with the AMA connector
Content Source: articles/sentinel/connect-cef-ama.md
Service: microsoft-sentinel
Sub-service: microsoft-sentinel
GitHub Login: @limwainstein
Microsoft Alias: lwainstein

@the-sentinental-guy
Thanks for your feedback! We will investigate and update as appropriate.

@the-sentinental-guy
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Fix issue with calling JSON.stringify on an object with internal properties

Not sure what’s up with the CI. Unit test probably needs a copyright?

Added the copyright, sorry about that. The prefast warnings on the Windows CI is something we have been seeing for a few days now, @rajatd mentioned that that code hasn't been touched in quite a while. Ubuntu CI seemed to just have a bit of a fit. Retesting now.

@dotnet-bot test Ubuntu shared_ubuntu_linux_debug please

@jackhorton good catch and Thanks for the test case!

@dotnet-bot test Windows please

@dotnet-bot test Windows arm_release please
@dotnet-bot test Windows x64_release please
@dotnet-bot test Windows x86_release please

@dotnet-bot test Ubuntu shared_ubuntu_linux_debug please


NameError when executing Dataflow pipeline to get NQ tables dataset

As stated here, I tried to generate the NQ table dataset by executing the following command:
python3 tapas/scripts/preprocess_nq.py \
  --input_path="gs://natural_questions/v1.0" \
  --output_path="gs://${GCP_BUCKET}/nq_tables" \
  --runner_type="DATAFLOW" \
  --gc_project="${GCP_PROJECT}" \
  --gc_region="us-west1" \
  --gc_job_name="create-intermediate" \
  --gc_staging_location="gs://${GCP_BUCKET}/staging" \
  --gc_temp_location="gs://${GCP_BUCKET}/tmp" \
  --extra_packages=dist/tapas-table-parsing-0.0.1.dev0.tar.gz

After some time, this results in the following error:
NameError: name 'beam' is not defined [while running 'Parse']

This is easily solved by adding the option --save_main_session, so I would suggest changing this command to:
python3 tapas/scripts/preprocess_nq.py \
  --input_path="gs://natural_questions/v1.0" \
  --output_path="gs://${GCP_BUCKET}/nq_tables" \
  --runner_type="DATAFLOW" \
  --gc_project="${GCP_PROJECT}" \
  --gc_region="us-west1" \
  --gc_job_name="create-intermediate" \
  --gc_staging_location="gs://${GCP_BUCKET}/staging" \
  --gc_temp_location="gs://${GCP_BUCKET}/tmp" \
  --extra_packages=dist/tapas-table-parsing-0.0.1.dev0.tar.gz \
  --save_main_session

Great point, we added the save_main_session precisely for this reason but we forgot to added the to the doc. Will add it for the next release

This has been updated, thanks a lot!


Helper functions for serializing and deserializing

The most common operations people do with rkyv involve multiple steps which can get repetitive and noisy. Some helper functions would make this easier and less error-prone:

rkyv::to_bytes would wrap up constructing a serializer, serializing the data, and unwrapping the bytes
rkyv::from_bytes would wrap up validating bytes and deserializing them
rkyv::from_bytes_unchecked would be unsafe and wrap up accessing and directly deserializing data from bytes

Fixed by 07f1a90802579120b10c8a6b94dfc30660fa878b


bump tokio_rustls to 0.24

Ah, there already was an open PR for this. :shrug:
Anyway, this change requires a "major" version bump since rustls is part of the public api.

Sorry for delay - updated to tokio_rustls to 0.25 in tracing-gelf 0.8.


Question: does the build executable binary rely on a dynamic linked liblmdb library?

Hi, I just want to confirm, when using this library in a single-binary rust project.
Does the final built executable binary rely on a dynamic linked liblmdb library?
Because usually in C/C++ project, this will happen, I'm not quite sure about the cargo build behavior.
I found that cargo build will by default build a static executable (except the glibc on linux, and the crt runtime on Windows), but how about third party C source code like the lmdb-master-sys in this project?

You can easily check using ldd:
$ ldd target/release/<your-executable>
	linux-vdso.so.1 (0x00007ffddbd24000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd87bcd4000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd87b915000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd87b600000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd87bd10000)

There is no reference to libmdb, so it is statically linked (except libc and co.)

Thank you!


This issue also happens on Vulnerabilities tab > Defect URL
Duplicate Steps

"Click here to insert a hyperlink" to open and close window several times
"Click here to insert a hyperlink" again, it will show blank window first
Wait around 5s, then can see the text field to enter URL.
After that it always need longer time (around 5s) to show full window.

Expected Results
It should immediately show complete window
Version Detected
1.1.0
Attachments

Notice: On my side, happening on build, not on dev.


Improve Koa and KoaJsonRpc classes

Signed-off-by: georgi-l95<EMAIL_ADDRESS>Description:

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Base: 72.02% // Head: 72.02% // No change to project coverage :thumbsup:

Coverage data is based on head (aef9a5b) compared to base (88f52d9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #580   +/-   ##
=======================================
  Coverage   72.02%   72.02%
=======================================
  Files          15       15
  Lines        1026     1026
  Branches      166      166
=======================================
  Hits          739      739
  Misses        236      236
  Partials       51       51

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update Twirpy for Protocol v7

Updated protoc plugin to generate as per v7
Updated docs
Updated example which shows use of custom prefix with server_path_prefix param
Manually tested

with a custom prefix
empty prefix
default prefix

LGTM.
Now that more people use it outside of verloop, I think we should add tests to be certain any changes are not breaking their use cases.


Getting Access Denied error

I'm currently using logstash 5.6.1 version and
logstash-cloudtrail-codec-3.0.0 version but I'm getting this error that I don't seem to understand
[ERROR] 2018-01-11 00:24:05.705 [[main]<s3] pipeline - A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::S3 access_key_id=>"XXX", bucket=>"cloudtrail.cimsprd", region=>"us-east-1", secret_access_key=>"XXX", prefix=>"AWSLogs/072478573200/CloudTrail/", type=>"np", exclude_pattern=>".\/CloudTrail\-Digest\/.", add_field=>{"source"=>"gzfiles"}, codec=><LogStash::Codecs::CloudTrail id=>"084358194712e162546210adf13d763cd90d870f-1", enable_metric=>true, charset=>"UTF-8">, id=>"084358194712e162546210adf13d763cd90d870f-2", enable_metric=>true, delete=>false, interval=>60, temporary_directory=>"/tmp/logstash">
Error: Access Denied
I don't seem to understand this access denied message.
Can you please help me in this regard.
Avinash

Version: 5.6.1
Operating System: Ubuntu 16.04
Config File:

input {
s3 {
access_key_id => "xxxx"
bucket => "xxxx"
region => "us-east-1"
secret_access_key => "xxxx"
prefix => "AWSLogs/xxxx/CloudTrail/"
type => "np"
exclude_pattern => "./CloudTrail-Digest/."
add_field => { source => gzfiles }
codec => cloudtrail {}
}
}
filter {
mutate {
replace => [ "xxxxx", "cims-prd" ]
}
}
output {
elasticsearch {
hosts =>["xxxx"]
user => "xxxx"
password => "xxxx"
ssl => true
index => "ctrail-%{type}-%{+YYYY.MM}"
}
}

The error is from the logstash-input-s3 plugin because your accesss credentials are not valid.
The error is not from logstash-codec-cloudtrail


Loot Log not showing boosts dropping?

Not sure if this was an intentional change in code or something broke, but it's no longer logging when the boosts drop in ITOPOD.... or anywhere else it seems.

Its intentional. It removes a lot of spam from the loot log


Game state stopped syncing mid game

"Next state update 0 seconds"
In the console log, I see:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.blockcypher.com/v1/btc/test3/addrs/tb1q5s232zcpdlgjny8nym0t6qz7w9wl29es5fqze2. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 429.

I refreshed the page, put in the opponent's pubkey back into the game, but it didn't resume from where I left off. It generated a new pubkey for me which was different from the original one. I was one move away from checkmate, I want my testnet money back :(
I try to view the readonly game of it and it has a bunch of tweakchain is undefined errors.
https://supertestnet.github.io/bitcoin-chess/view-only.html
White: 02851267c66418f0e7ae3437c340aa8bb4ae3368201ee2b2480b31a80bfd379fe5
Black: 02154eb3ad4e8ef423498078bb3b8052e1022a9d4fec6c6ada397e13e09cf1d8db
I think it's related to CORS issues too.

I run into that issue occasionally, I suspect that blockcypher enforces their rate limit by redirecting your request to an error page that does not have a good CORS policy. This breaks the game.
For what it's worth, I had no trouble following your game in view only mode up to the point where White's bishop took Black's queen. You probably couldn't do it because blockcypher was still redirecting your requests to their error page. If you try it again now you should have no trouble following along.
I'm not sure how to fix the rate limit issue, assuming that I've correctly identified the problem. Maybe I should use blockstream instead of blockcypher, blockstream has a much higher rate limit, or maybe no rate limit at all.


Adding Altova UModel takes out wax

I added Altova UModel to a project after Wax was already installed and it throws a bunch of errors now.

If you know why please help

Please try the latest build from http://vsixgallery.com/

It still didn't work.

Same exception?

Not quite

Did this "UModel" add a new project to your solution?

It was already involved with this project is has lots of added material I only added the visual studio extension part for UModel to give me use of the UModeling that I've done. That was when I noticed that Wax was throwing exceptions.

There is a project in your solution that seems to be only partially implemented - what kind's of projects are in your solution? Only C#/VB?

UModel writes C#

but there must be at least one project in your solution that is not C# - Visual Studio projects don't have those properties not implemented.

I think from what i am gathering from UModel is that the diagrams might be UML other than that this program has .ico and .dll and .inf included but that is it.

Are the diagrams in a separate project of your solution?

No they are under the Umodel file tree project.

I added another check, try the try the latest build from http://vsixgallery.com/

What is the "Umodel file tree project"?

That fixed it Thanks!  Much appreciated

I would still like to understand what the "Umodel file tree project" is.

Ya that was a pour choice of words. But it is the solution explorer Project file sub files( File Tree).

You have a screen shot?

Here Like i said poor choice of words.

I see, so the *UModel.ump is a project in your solution, right?

Yes Sir. I use it for state machines diagraming

Then I understand what has happened, this is a special project kind that does no implement some basic properties.

Great I'm glad to help.
Again thanks  a lot. Wax makes Wix a lot easier to use.

You could help making it more popular by sharing your experience here: https://marketplace.visualstudio.com/items?itemName=TomEnglert.Wax#review-details 😄


ServiceConfig now based on server name, caching

This introduces two changes to how loading config for service server connection handlers works:

Configuration is now path-based, where for a server named foo, the config is checked in colossus.service.foo falling back to defaults in colossus.service.default.  While it is still possible to directly pass a config object to load a service config, by default it will now use the default loaded config and check these paths.  So in practice users should almost never have to create ServiceConfig objects.
Since each instantiation of a connection handler attempts to load config, basic caching of ServiceConfigbased on service name has been added.  Again this is only used when the path-based config is used, so users are still free if (for some odd reason) they want to differently configure different connection handlers for the same server.

[Current coverage][cc-pull] is 83.45%

Merging [#400][cc-pull] into [develop][cc-base-branch] will decrease coverage by 0.15%

2 files (not in diff) in .../main/scala/colossus were modified. more

Misses +7
Hits -7

File .../ServiceServer.scala was modified. more

@@            develop       #400   diff @@
==========================================
  Files            75         76     +1
  Lines          3747       3760    +13
  Methods        3527       3521     -6
  Messages          0          0
  Branches        220        239    +19
==========================================
+ Hits           3133       3138     +5
- Misses          614        622     +8
  Partials          0          0

Powered by Codecov. Last updated by [c9158ce...88d7c09][cc-compare]
[cc-base-branch]: https://codecov.io/gh/tumblr/colossus/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/tumblr/colossus/compare/c9158cee780c0a097e37055e39a583e3f1a866ce...88d7c09a24673704ce6c582a9f37913c4a23ae46
[cc-pull]: https://codecov.io/gh/tumblr/colossus/pull/400?src=pr

👍


Issue

Any JS or CSS problem. Please help me to solve it.

To be able to help you, you should clearly add more information.

@abuzubair if you have an issue, briefly state the problem in the title and then add a full description of the issue. You can include screenshots, code or steps to replicate the issue. Once you have all of the information, open a new issue and we'll be happy to help.
Thanks,
Abdullah