The schema diagram keep "transmitting" when using graphql-voyager as a React component

The vanilla JS example with graphql voyager works fine but when I try to load a graphql schema (run locally) to graphql-voyager as a React component:
const ServiceVisualize: React.FC = () => {
    function introspectionProvider(introspectionQuery: any) {
        return fetch('http://localhost:8000/country/graphql', {
            method: 'post',
            headers: {
                Accept: 'application/json',
                'Content-Type': 'application/json',
            },
            body: JSON.stringify({ query: introspectionQuery }),
            credentials: 'include',
        })
            .then(function (response) {
                return response.text();
            })
            .then(function (responseBody) {
                try {
                    return JSON.parse(responseBody);

                } catch (error) {
                    return responseBody;
                }
            });
    }

    return <Voyager introspection={introspectionProvider} />
}

The result: (the diagram spot keep hanging, this seem like it is caused by the "Unexpected token >" err)

More info:

My project
The component
The introspection response

Any help, please?

You are getting an error because you are not passing the JSON object. you could return the parsed JSON like this:
function introspectionProvider(query) {
  return fetch(window.location.origin + '/graphql', {
    method: 'post',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ query: query }),
  })
  .then((response) => response.json())
  .catch((err) => {
        console.log(err);
     });
}

@BuiChiTrung Can you try it on 1.0.0-rc.31?
If it fixed your issue then you have the same exact issue as #259

@prakhathi-m I have tried this before, I doesn't work :((

@IvanGoncharov This version doesn't work, too. It doesn't ask me to install @emotion and viz.js module manually, but the same error is raised: "Unexpected token '<'" and the diagram keeps saying "Transmitting".

@BuiChiTrung Published 1.0.1 📦 Can you please try it?
It should allow using Voyager as a normal React component.

@IvanGoncharov sorry for the late response. Version 1.0.1 works. Many thanks!


api.Goa should provide a method Ignore(regex string) *api.Goa

At the time we register the advices, we should also be able to register functions or packages that should be ignored by the advices... It would be nice to have something like this
return api.New().
  Ignore("advice.*(...)...").
  WithBefore(advice.NewTracingAdvice, "*.*(...)*")

Done in branch feature/v0.0.2


Make access rights to certain information possible

8 PUNKTE
Gewisse Personen sollen nur auf gewisse Informationen Zugriff haben (ansehen bzw ändern)
(Bspw kann eine Person mit der Rolle "Professor" Informationen sehen, die ein Externer nicht sehen kann, während er zusätzlich mit der Rolle "HCI Leiter" alle Infos zum FG HCI ändern könnte)

I did some research how we could implement this; I found some gems that could do what we want:

CanCanCan can define permissions for user roles in a specific file and provides functionality to check whether the current user can do/view/anything/... something specific. I found this blog article as an introductory tutorial helpful.
Pundit works similar, but every policy (~permission) is its own class (in contrast to CanCanCan, where everything is a single file). See also this blog article for a tutorial.

See additionally this article for a comparison of CanCanCan and Pundit. Generally, Pundit makes it easier to write clean code and provide better structure, although CanCanCan seems to be easier to use. Functionality-wise there seems to be no meaningful difference.

Close: Valentins Team will be working on this feature


Make random text more random

As in, the randomizer isn't likely working very well.
Look at initialization.

Static classes are already the best way to go


Remove appcast from 17 discontinued casks

Them being discontinued doesn't make their appcasts invalid.

This was to avoid checkpoint update only PRs on these casks, a few have outdated appcasts but no new development or releases.

I agree with @reitermarkus, the appcast's are still valid and should remain.


oil: enable readline

Motivation for this change
The current package does not include readline, which results in a shell that lacks interactive features.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @lheckemann

@GrahamcOfBorg build oil

@GrahamcOfBorg build oil


Rspec: Test 'Like' functionality.

When a user presses the 'heart' icon within a resource panel, the count goes up by one. If they press it again, the count goes down by one.
For now this is cookie based, so technically a user can still like a resource multiple times by clearing cookies, switching browsers, etc. This is a known restriction.

This will be part of PR #87, assigned to @probinson2015

will test on site. Brenda Stensland

tested on site; confirmed click or double click will +1.
also deleted cookies and confirmed +1 stayed

still needs Rspec test cases added. if someone wants to pick up .

Thanks for testing, @SeattleSQAMeetup - @probinson2015 is adding the tests. :)


Xorg dependency error when trying to install Utopic

When running the command
sudo sh ~/Downloads/crouton -t unity -r utopic -e
after a while, it gives me an rsyslog error. There was already a thread about this and I got that solved. However, shortly after I get this error:
Unpacking libwayland-egl1-dummy (8.0.4) ...
dpkg: libwayland-egl1-dummy: dependency problems, but configuring anyway as you requested:
libwayland-egl1-dummy depends on libegl1-mesa-drivers; however:
Package libegl1-mesa-drivers is not installed.
Setting up libwayland-egl1-dummy (8.0.4) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libwayland-egl1-dummy
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 3072 B disk space will be freed.
(Reading database ... 17109 files and directories currently installed.)
Removing libwayland-egl1-dummy (8.0.4) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xorg : Depends: xserver-xorg (>= 1:7.7+7ubuntu2)
xserver-xorg-video-fbdev : Depends: xorg-video-abi-18
Depends: xserver-xorg-core (>= 2:<IP_ADDRESS>3)
xserver-xorg-video-intel : Depends: xorg-video-abi-18
Depends: xserver-xorg-core (>= 2:<IP_ADDRESS>3)
E: Unable to correct problems, you have held broken packages.
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in utopic
Not unmounting /mnt/stateful_partition/crouton/chroots/utopic as another instance is using it.
The output of sudo enter-chroot -n utopic croutonversion is
Entering /mnt/stateful_partition/crouton/chroots/utopic...
UID 1000 not found in utopic
Not unmounting /mnt/stateful_partition/crouton/chroots/utopic as another instance is using it.
Here is croutonversion when I get in to the chroot using root user
chronos@localhost / $ sudo enter-chroot -u root
Password:
Entering /mnt/stateful_partition/crouton/chroots/utopic...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] n
Skipping setup. You will be prompted again next time.
croot@localhost:~# croutonversion
crouton: version 1-20150127081428~master:e1bcac2b
release: utopic
architecture: amd64
targets: unity
host: version 6457.83.0 (Official Build) stable-channel lumpy
Here is the output of cat /etc/lsb-release from the chroot
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.10
DISTRIB_CODENAME=utopic
DISTRIB_DESCRIPTION="Ubuntu 14.10"
And here is the output of cat /etc/lsb-release from crosh
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={A854E62E-9CB3-4DBE-8BBE-88C48FD65787}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={A854E62E-9CB3-4DBE-8BBE-88C48FD65787}
CHROMEOS_RELEASE_BOARD=lumpy-signed-mp-v3keys
CHROMEOS_RELEASE_DESCRIPTION=6457.83.0 (Official Build) stable-channel lumpy
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_TRACK=stable-channel
CHROMEOS_RELEASE_VERSION=6457.83.0
I've tried installing the packages manually but some of the packages can't be installed with apt-get.. Can someone help? I've even tried reinstalling the installer and updating the chroot, but these things seem not to help.
NOTE: I've tested this with xfce, KDE, and Unity. From what I can tell, it doesn't matter what DE you use, but I haven't tried with other supported DEs.

This is #1182


check if dt-ANYTHINGHERE

would fix https://github.com/glennjones/microformat-node/issues/35

Hi Sebastian
The code you changed is part of microformats-shiv project. This project shares the same microformats parser files but uses a a different DOM parser cheerio. The index.js is built from mixing files from microformats-shiv and files in the lib directory files using a grunt build script.
I copied your changes over to microformats-shiv project there in
https://github.com/glennjones/microformat-shiv/commit/faf91e7aec873e53a1fb647adc42c2663ecac78b
https://github.com/glennjones/microformat-shiv/commit/b1a52286492c809c8bd3953fd7a4812b1d79c032
Thanks for taking the time to find the code which was causing the issue and providing PRs
Your fixes are now in microformats-node v2.0.1
Glenn


playground: ParseFile example at godoc.org cannot be run

example_test.go is used for Go example output test.
Is there anyway to make this runnable on golang.org?
If not, please feel free to close this.
Thanks!

What version of Go are you using (go version)?

https://golang.org/pkg/go/parser/#example_ParseFile

What operating system and processor architecture are you using (go env)?

https://golang.org/pkg/go/parser/#example_ParseFile

What did you do?
If possible, provide a recipe for reproducing the error.

Hit run button at  https://golang.org/pkg/go/parser/#example_ParseFile

What did you expect to see?

No error.

What did you see instead?

open example_test.go: No such file or directory

I'm not sure what we can do about this, but perhaps somebody will have an idea.

So in a weird twist, it seems like by the time that a snippet's Run is triggered, it has been removed from the file system or at least it isn't in the place that it reports being called from see https://play.golang.org/p/QJrwR06lnA or
package main

import (
	"fmt"
	"os"
	"path/filepath"
	"runtime"
)

func callerSourcePath() string {
	_, callerPath, _, _ := runtime.Caller(1)
	return callerPath
}

func main() {
	// Will walk up to the root from the call site of this file
	curPath := callerSourcePath()
	fmt.Printf("This file location is %q, attempt to walk up the root\n", curPath)
	for {
		if curPath == "" || curPath == "/" {
			break
		}
		fmt.Printf("walking to %v ", curPath)
		f, err := os.Open(curPath)
		fmt.Printf("\n\tpath %s exists=%v(f=%v) err=%v\n", curPath, f != nil, f, err)
		if f != nil {
			_ = f.Close()
		}
		curPath = filepath.Dir(curPath)
	}
}

when run on the playground shows that only /tmp exists but the file that it is purported to exist in cannot be found
This file location is "/tmp/sandbox025674958/main.go", attempt to walk up the root
walking to /tmp/sandbox025674958/main.go
	path /tmp/sandbox025674958/main.go exists=false(f=<nil>) err=open /tmp/sandbox025674958/main.go: No such file or directory
walking to /tmp/sandbox025674958
	path /tmp/sandbox025674958 exists=false(f=<nil>) err=open /tmp/sandbox025674958: No such file or directory
walking to /tmp
	path /tmp exists=true(f=&{0x10434210}) err=<nil>

I came to this conclusion by stripping down os.Open down to the nacl implementation of syscall and running that raw implementation on the playground itself. Please see https://play.golang.org/p/9fMAPM6lNc
which produces
<nil> stat /tmp/sandbox890988319/main.go: No such file or directory

You (intentionally) cannot read files, which you didn't create before in the playground.
see https://play.golang.org/p/hORbzSS4NT for an example.

The tmp source file is created in another world (outside the nacl runtime)
and so the program cannot access it.

@nightlyone true, yap I tested that out too last night.
@minux ahh I see, could you please point me to a place I can see how this is done or might it be documented? I'll take a look at setting up my nacl environment locally then inspect it.
In relation to @nightlyone's comment, does this mean that the unintended consequence of intentionally sandboxing is that all godoc snippets whose underlying functionality involves the use of os.Open or even os.Stat(since these files were not created by the user) won't work on nacl?


Indirect Copies

Provide support for indirect copies that will translate a point in one index space through a field to another point as part of performing a copy operation.  This will require work to modify Legion, Realm, and the DMA system.

Adding @elliottslaughter to this discussion - have we scoped out what is needed on the Regent side for scatter/gather copies?

Are we going to include the affine indirection as part of this issue or make it into a separate issue? I'm fine including it on this issue. It's a pretty minimal amount of work for me to pipe through the affine mapping to realm for the indirection. It's more a matter of whether we want to implement that in Realm for this milestone or move it to a later one.

Affine/structured isn't ready on the Realm side, so I think we'll split that out into a separate issue.  However, it would be really nice to get Regent support in for the unstructured stuff.  @elliottslaughter , any chance of that in the next couple weeks?

Ok, I asked because @elliottslaughter has another use case for affine in addition to the Legate one that I have.

Let's split Regent support into a separate issue.

Legion and Realm support for unstructured scatter and/or gather is just about done.  Remaining work has been carved off into two separate issues:
#705 - structured (~affine) scatter/gather in Legion and Realm
#704 - Regent language support

Unstructured scatter/gather has been merged in with commit d9d370e.


only one post show in caterogies , is that correct ?

I have at least 2 posts in the ptt caterogies , but only one post shows in caterogies tree , is that normal ?
and is there any way to increase the size of caterogies ？

@changchichung Thanks for pointing out the bug. I'll fix it today. :smile:

@changchichung It's fixed now. I'm closing this issue. If there's still anything missing, feel free to reopen it.


Broadcast matrix trafo

This PR does the same update as the last 2 PRs (allow broadcasting); however this time for matrix_make_transform and all the functions it depends on.

This one requires a decision: In general we perform computations as 64-bit float. However, if out or dtype are given, then we accumulate the result in a buffer of a different type. At the same time, we ignore dtype if out is set. This can break (as it does here) if the dtype of out is not compatible with float64, e.g. if it is int.
Shall we raise in these cases (as the kernel currently does), or shall we convert to out.dtype? If the latter, when shall this conversion happen? Already during accumulation, or do we accumulate in a separate buffer and then convert if needed as the last step before the kernel returns. (This has implications on accuracy, since accumulating in a float32 is obviously less precise than doing so in float64.)

Shall we raise in these cases (as the kernel currently does), or shall we convert to out.dtype? If the latter, when shall this conversion happen? Already during accumulation, or do we accumulate in a separate buffer and then convert if needed as the last step before the kernel returns. (This has implications on accuracy, since accumulating in a float32 is obviously less precise than doing so in float64.)

I would recommend mimicking the numpy convention, which is to raise an error:
>>> out = np.empty((4,), dtype='f8')
>>> np.dot(np.eye(4, dtype=float), [1.,2.,3.,4.], out=out)
array([1., 2., 3., 4.])
>>> out = np.empty((4,), dtype='f4')
>>> np.dot(np.eye(4, dtype=float), [1.,2.,3.,4.], out=out)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<__array_function__ internals>", line 200, in dot
ValueError: output array is not acceptable (must have the right datatype, number of dimensions, and be a C-Array)

That works, and since it is the expected thing to do, I don't think we need to explicitly document it in the conventions unless it comes up again as unclear.
It does mean, however, that the current test violates this convention (because it explicitly tests the opposite). I will delete that part of the test


Decouple config from frontend

This PR addresses the bug/issue #252. We revert back to using the synStore_obj and feeding it to the synapse APIs/methods.

@milen-sage @sujaypatil96 when testing the metadata templates are generated and the columns don't seem to be sorted or ordered.
https://docs.google.com/spreadsheets/d/1SRMoxOpBRwT9bD65p37DZG-Q_G1AO8q47PjjgsplCeE/edit#gid=0
https://docs.google.com/spreadsheets/d/1SRMoxOpBRwT9bD65p37DZG-Q_G1AO8q47PjjgsplCeE/edit#gid=0
Does this happen when you try too?
dev app: https://www.synapse.org/#!Wiki:syn20930961/ENTITY

@sujaypatil96 looks like the relevant code for that (and perhaps other features) hasn't made it in the PR to the data curator, yet?

if that's expected behavior feel free to merge into this branch, I just won't merge into shiny-server until its all updated.

Hm..only the modules responsible for CSV to schema.org schema generation and validation rules handler(s) are missing from this PR as far I know, I'll take a look at the sorting part again. I will merge this PR for now, and I can open different PR(s) for the other(s).


add support for OpenMetrics message format

This commit adds support for the OpenMetrics message format1 which is
equivalent to the message format of Prometheus. Its advantage is to be
easily human readable as well as consumable by time series databases.
Lastly it's possible to display results directly within the GitLab CI.
It's now possible to pass 'openmetrics' as a message format, an example
is shown below:
criterion_benchmark_result_ns{id="address_scan",confidence="estimate",input_size="4",aggregation="slope"} 33811.02693018697
criterion_benchmark_result_ns{id="address_scan",confidence="upper_bound",input_size="4",aggregation="slope"} 35170.884432780265
criterion_benchmark_result_ns{id="address_scan",confidence="lower_bound",input_size="4",aggregation="slope"} 32402.287415202973
criterion_benchmark_info{id="address_scan",input_size="4",report_directory="/path/criterion/reports/address_scan/4"} 1

Closes: #54
Signed-off-by: Kevin Becker<EMAIL_ADDRESS>Signed-off-by: Paul Spooren<EMAIL_ADDRESS>

@bheisler please approve the CI

Friendly ping

Thanks for the pull request, and the patience! Those errors look unrelated to your changes, so I'll try and fix them and re-run the checks.

OK, this looks good. Thanks for the pull request!


Showcase Submission for code/1-intro/3-shapes-drawing

Thank you Joe DeNavas for your contribution! A member of the Coding Train team will review it shortly.

The Path
Joe DeNavas

Love this scene!


Centos7 build failing due to centos7 EOL

Centos7 build failing due to centos7 EOL
What is the expected behavior?
Build runs successfully
What is the actual behavior?
Build failing due to centos7 unable to download libraries from previous mirrors since its EOL is reached

https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/

CentOS Linux 7 End of Life: June 30, 2024
RHEL 7 reaches End of Maintance on June 30, 2024. After June 30, 2024, there will be no updates published for CentOS Linux 7.
If you want to stay within the RHEL ecosystem, you’ll need to decide if you want to move to a RHEL8 or a RHEL9 based distribution. You should carefully read each of these to help select the right platform for your systems:

The RHEL Lifecycle
Considerations for RHEL8
Considerations for RHEL9

The packages will be archived on vault.centos.org after June 30, 2024.


Add to HACS?

Personally I don't run the Home assistant OS so I can''t add the current version of this addon. But as the new version uses the Python MQTT saic gateway instead of a docker solution it should be possible to add it to HACS?
https://hacs.xyz/

Hi, both addons are docker based. To connect your car directly we need to create an integration instead of an addon. It's planned for the future.

Hi, both addons are docker based. To connect your car directly we need to create an integration instead of an addon. It's planned for the future.
Maybe keep it simple for now and make the mqtt (client) part an integration and leave it to the user to install the docker or the python mqtt gateway themselves?

We also can see if we can use 'MQTT Discovery' in Home Assistant. When using some magic topics/values HA can auto-generate a 'device'.

To clarify: Both addons in this repository are using mqtt, at the moment there is no "client part" in Home Assistant. After starting the addons you need to configure all mqtt sensors yourself. It is only an alternative way to avoid installing an additional docker instance!
My plan is to create an integration to avoid the manual config. But my time is rare at the moment :)

My bad: I thought this adding was also including the client part.

Thank you: runs so great at the moment!

hi, what about this? Is there any news about the integration from HACS? Thanks

You can try out the python gateway with auto discovery. It creates a mqtt device with all sensors and switches. No need for an hacs integration anymore.

Hi, I've installed this package in a container, but I have some problem
with the SAIC credentials. I don't know if the user is the phone number or
another string. Do you know how is the format of environment variables??
Thanks
El lun, 22 ene 2024, 20:20, Dennis Wehr @.***> escribió:

You can try out the python gateway with auto discovery. It creates a mqtt
device with all sensors and switches. No need for an hacs integration
anymore.
Screenshot.2024-01-<IP_ADDRESS>.png (view on web)
https://github.com/SAIC-iSmart-API/saic-home-assistant-addon/assets/59800400/f46507a2-d73c-470b-bc54-1e31b859b619
—
Reply to this email directly, view it on GitHub
https://github.com/SAIC-iSmart-API/saic-home-assistant-addon/issues/8#issuecomment-1904651919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDY3WSNMHFPEM3W575T6S3YP23XDAVCNFSM6AAAAAAXWIUHGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUGY2TCOJRHE
.
You are receiving this because you commented.Message ID:
@.***>

The username is an e-mail or phone number with this format: yyy-xxxxxxxx. yyy is the country code like 049 for germany.

Thanks, I will check it.
El lun, 22 ene 2024, 21:15, Dennis Wehr @.***> escribió:

The username is an e-mail or phone number with this format: yyy-xxxxxxxx.
yyy is the country code like 049 for germany.
—
Reply to this email directly, view it on GitHub
https://github.com/SAIC-iSmart-API/saic-home-assistant-addon/issues/8#issuecomment-1904734663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDY3WTFKAXELJ5FCBZQUGLYP3CHFAVCNFSM6AAAAAAXWIUHGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUG4ZTINRWGM
.
You are receiving this because you commented.Message ID:
@.***>


Docusaurus upgrade

Current eclipse-tractusx.github.io website Docusaurus version is outdated. Requirement of this issue is to upgrade Docusaurus version to latest.

Since Feb'23 the upgrade isn't possible due to underlying dependencies.
Topic refreshed in Jul'23, still open-api plugin is blocking point for the upgrade. Decision to postpone until stable open-api version is released supporting new Docusaurus.
More info: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/issues/130

Also new trg: https://github.com/eclipse-tractusx/sig-infra/issues/376


Add iOS support

Available on iOS 11, on an iPhone 7 (Plus): https://twitter.com/eddyverbruggen/status/871844669956784129

How did you go with this ?

Waiting for the next iOS 11 beta because I need to use the wife's iPhone 7 for this and I don't want to brick her primary phone with the seemingly unstable first beta.

Fair enough :)
I just tried a hello world NS app but had some issues with livesync etc. It
did a full rebuild on save and then complained about an app with the same
name already installed.

Beta 2 is out by the way :)  I just saw
http://adcdownload.apple.com/Developer_Tools/Xcode_9_beta_2/Release_Notes_for_Xcode_9_beta_2.pdf

I've got the basics working now. The entitlements handling seems to have changed a bit in Xcode 9, or it's due to the fact that it's in beta (4). The main task left is decoding the returned data from the NDEF tag.. hopefully I'll be able to do that soon. All code is on GitHub btw.

There's this: https://github.com/don/ndef-js

We're stuck in our loveless marriage with ionic for the moment, but still
looking longingly now and then at NS haha :)


CSS error in WelcomeItem.vue

Describe the bug
There is a problem with the initial page created by vite.
The position of icons on the Home page is wrong, there should be an error in WelcomeItem.vue.

line 49-28  in WelcomeItem.vue
 i {
    top: calc(50% - 25px);
    left: -26px;
    position: absolute;  // should be relative
    border: 1px solid var(--color-border);
    background: var(--color-background);
    border-radius: 8px;
    width: 50px;
    height: 50px;
  }

Reproduction
https://stackblitz.com/edit/vitejs-vite-p7zfkg?file=public%2FWelcomeItem.vue&terminal=dev
Steps to reproduce
Run 'npm creat vue@3'
Run 'npm run dev'
System Info
System:
    OS: macOS 13.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 67.91 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
  Browsers:
    Chrome: 113.0.5672.126
    Safari: 16.5
  npmPackages:
    @vitejs/plugin-vue: ^4.2.3 => 4.2.3
    vite: ^4.3.5 => 4.3.8

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

The effect after changing to 'relative'

Thanks for the report @zzxgbgba. This starter is maintained here https://github.com/vuejs/create-vue. Please send a PR with a fix or issue to this repo.


Push bool into array correctly

Bugfix similar to commit b3c44c947fe7ffdc60033e48d75da82129ab8cef, which only fixed pushing booleans to objects

@karelbilek , @jnewbery As the authors of the previous commit, you seem qualified to review this commit

Code review ACK 5f03f1f39a665d69ee076cedb1aef946014e459d

Where is this upstream?

Where is this upstream?


docs: properly format "here on Github" link

Change-type: patch
Signed-off-by: Matthew McGinn<EMAIL_ADDRESS>

Duplicate of #1131 ?


CI integration

As title, is it possible to integrate the Travis CI build?
If possible, I will do this and the send PR :+1: .

Hi, yes, of course you can do it and send a PR :)
Thanks!


LEETHUB not updating solutions FROM LEETCODE/GFG

Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.
Describe the bug
Installed the leethub extension . Linked it with the github repo but unfortunately it is not reflecting upon any of my leetcode solutions which I submitted
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Facing same problem

A solution is pushed here https://github.com/QasimWani/LeetHub/pull/464 and waiting for being merged


Add an omission of isFF logic to avoid no changes after run in other browsers.

I'm an outreachy candidate, and trying to understand the project.
I'm interested in both the Tor browser and the TZP project, and I find that they both require some knowledge of the FireFox browser, so I'm still working on that.
I've only made one tiny contribution so far, and I had to submit it due to Outreachy's deadline. But I will continue to try to contribute to the project by diving into and completing some of the Tasks mentioned in Issues.

This is an old test that is not applicable anymore. Here's how I would fix it
there is no dom element called isFF, it is a global variable. And I wouldn't put it in the outputAppLanguage() function. Instead I would automatically display it (that's promising get_globals() and then display the text) , and then I would stop anything happening (like clearing the results) when the user clicks run  - that's the rerunAppLanguage() function
If you want to amend your PR, then I can commit it
function rerunAppLanguage() {
	if (!isFF) {
		return
	}
	// clear
	let items = document.getElementsByClassName("c")
	for(let i=0; i < items.length; i++) {
		items[i].innerHTML = "&nbsp"
	}
	// pause so users see change
	setTimeout(function() {
		outputAppLanguage()
	}, 170)
}

Promise.all([
	get_globals()
]).then(function(){
	if (!isFF) {
		dom.appLang1.innerHTML = "this test requires "+ s4 + "GECKO" + sc +" ... and you're not it"
	}
})

Oh, thanks for the suggestion, I will amend my PR


(cloud-merge) Modify the cluster name in ttl test

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Hook on android

I tried the hook in android and in log, I successfully created dummy device and hook the present method, however when it reach the ImGui draw for vulkan, it doesn't show anything and the present method stops executing. If I removed the init for imgui vulkan and the draw method and also remove the 2 lines for submit command buffer, the app renders normally. I don't really have idea how vulkan works and just learn from examples. Please contact me at<EMAIL_ADDRESS>if you have time to help me.

Did you get it to work by now ?


Missing Material 3 Components 1.5.0-rc01

Missing components for material 3 1.1.1

ModalBottomSheet
SearchBar, DockedSearchBar
ExposedDropdownMenuBox

Plattform:

Desktop

Kotlin version*: 1.8.0

Compose Multiplatform version*: 1.5.0 -beta02 / -rc01

OS version(s)* (required for Desktop and iOS issues): Arch Linux

We resolved the major blocker (a common Popup) for such commonization, but we postponed commonization of the components itself after the 1.5.0 release.
I can't tell the ETA, but we will be working on this commonization in the near months.
We also planned an intermediiate small feature release 1.5.10 before the 1.6. If there won't be major blockers for the commonization, some of the components (or all) will be in 1.5.10.

Not available in 1.5.1

All mentioned components were merged in main branch and will be available in the next release

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


⚠ Thumbnails API Endpoint has degraded performance

In d981bba, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1069 ms

Resolved: Thumbnails API Endpoint performance has improved in 7436d89.


Critical bug in ZXByteArray

In ZXByteArray the stop condition for iterating over potential arguments is variadic argument should be -1. This is not the case. Hence, if you emit only two bytes, you may result in an Array which contains those two bytes correctly, but tons of other randomly created bytes from the memory. In addition, the length obviously is also incorrect.
- (id)initWithBytes:(int)byte1, ... {
  va_list args;
  va_start(args, byte1);
  unsigned int length = 0;
  for (int8_t byte = byte1; byte != -1; byte = va_arg(args, int)) {
    length++;
  }
  va_end(args);

  if ((self = [self initWithLength:length]) && (length > 0)) {
    va_list args;
    va_start(args, byte1);
    int i = 0;
    for (int8_t byte = byte1; byte != -1; byte = va_arg(args, int)) {
      _array[i++] = byte;
    }
    va_end(args);
  }

  return self;
}

Potential fixes:

Using NSMutableArray and the shorthand syntax (basically arrayWithObjects selector)
Providing both, length and the bytes
Something else...

Current workaround, but would be nicer to hand over an array.
- (id)initWithLength:(unsigned int)length bytes:(int)byte1, ... {
  if ((self = [self initWithLength:length]) && (length > 0)) {
    va_list args;
    va_start(args, byte1);
    _array[0] = (int8_t) byte1;
    for (int i = 1; i < length; i++) {
      int byte = va_arg(args, int);
      _array[i++] = (int8_t) byte;
    }
    va_end(args);
  }

  return self;
}

Can also be found in other elementary classes!

Ah nope, it is in general a problem if you are working with primitives as you can not check for nil. The condition byte != -1 is not fulfilled.

Thus, you are leaking memory. More importantly: test can fail because the [[ZXByteArray alloc] initWithBytes:-128,10]; will return length > 2. This shouldn't be the case.

👍

You could also just append -1 in the end. But this is not always the case :)


Update the hint of simple-icons

Changes

Update the hint of simple-icons. (https://github.com/simple-icons/simple-icons-website/pull/281)
Fix the link of slug.md. We should use the slug.md file on the master branch instead.

The reason I linked to develop is because that's the default branch on the simple-icons repo. I can't see any docs in https://github.com/simple-icons/simple-icons that explain the branching model. Does the tip of master correspond to the latest released version?

Simple Icons has a weekly script to create a pull request to merge develop to master like this: https://github.com/simple-icons/simple-icons/pull/8501.
And the npm publish workflow only triggers when the master branch change. See https://github.com/simple-icons/simple-icons/blob/cea8a4365098fd27076ed53b3fa4678644089976/.github/workflows/publish.yml.

Thanks. Makes sense.
I've made some minor edits to the text but I'll merge this.
More importantly I'll update https://github.com/badges/shields/pull/9014 with this. Hopefully we are close to the final days of this frontend :crossed_fingers:


Fixed the TF inspect tensor

Type of Change
Bug fix
API changed or not: None
Description
Please convert the dump result from bf16 format to fp32, if needed.
How has this PR been tested?
Pre-CI on SPR
Dependency Change?
None

Incorrect branch, close it first.

Reland by https://github.com/intel/neural-compressor/pull/1074


implementing with threading library

I've a script where the threading library is used everywhere. Is it possible to rewrite the script to work with the treading library?

if you want to use multiple accounts, currently not available with current script.
please give me time till this month, i will add something new. thanks

AltLayer Airdrop Season One Announcement

Exciting news! AltLayer token (ALT) is set to launch on Binance on January 25, 2024. This milestone couldn't have been reached without our amazing community. Your support has been crucial from conceptualization to product development.
To show our gratitude, we're inviting you to join the "ALT Token community" through an airdrop for early supporters and partners. Below is a summary:

Total Allocated ALT Tokens: 300,000,000 (3% of total supply)
Distribution Categories:

NFT Holders
Altitude Campaign Participants
EigenLayer Restakers
EigenLayer Ecosystem Partners
Celestia Stakers and others

For detailed criteria and information, check the full announcement here.
Claim opens from January 25 to February 25, 2024. Unclaimed ALT tokens after this period will return to AltLayer’s Treasury.
Thank you for being part of AltLayer's success! More to come in Season One, stay tuned.
Note: Certain regions are restricted from the airdrop. Please review the disclaimer before participating.
Winners: @ChinaGopher, @Ledjob, @DenverLiu, @pyramidk, @maxrossi, @hubdr, @ivanturner3, @johnywellington, @dethie, @lucianovasso, @blkrt, @agramajo, @ChristianGuerreiro, @lrzkingmaster, @joereycrypto, @thickforest, @mreza27796, @Noudea, @roman10241, @pimentelluiz

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
Quadrifolo, @hindhelpcare, @gokayokyay, @lewandy, @masong91, @sahilt20, @justinkhant, @tortuvshin, @shsl, @rasmuslp, @JonaFly, @eon01, @yangmingming, @abhicsdev, @bok7luck, @Yacoff, @davidlbt, @fordnox, @amoghkini, @kmr0877


Sync-ALZPolicies outdated Assignment files

Describe the bug
The June updates are not synced into the assignments within this repository. This will result in assignment errors as AMA en AUM policies have been removed: https://github.com/Azure/Enterprise-Scale/wiki/Whats-new#-ama-updates. I also get the impression that the May updates also have not been processed.
To Reproduce
Do a new Sync-ALZPolicies and do a Build-DeploymentPlans. Will result in errors.
Expected behavior
Up to date assignments.
EPAC Version
EnterprisePolicyAsCode\10.3.0

Fixed in 10.3.1. More less a feature to sync up with Enterprise Scale changes

I've updated them again just today - am waiting on the PR to be approved internally and will be available in the next version.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jordy @.>
Sent: Friday, June 7, 2024 6:39:45 PM
To: Azure/enterprise-azure-policy-as-code @.>
Cc: Subscribed @.***>
Subject: Re: [Azure/enterprise-azure-policy-as-code] Sync-ALZPolicies outdated Assignment files (Issue #659)
Fixed in 10.3.1. More less a feature to sync up with Enterprise Scale changes
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/enterprise-azure-policy-as-code/issues/659#issuecomment-2154369590 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACWCJVV2S47XDWISC7LPGMLZGFWVFBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDOMRVHE4DSNBXHCSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJTGM3TCNRSHAZTRAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMZTHE4DCMBTGUYYFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDOMRVHE4DSNBXHCTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


MiKo_1115 codefix is now aware of numbers

@CodiumAI-Agent /describe

Title
MiKo_1115 codefix is now aware of numbers

User description
@CodiumAI-Agent /describe

PR Type
enhancement, tests

Description

Enhanced the SeparateWords method in StringBuilderExtensions to handle numbers and uppercase letters more effectively.
Refactored StringExtensions to improve performance and readability, including correcting the IsUpperCaseLetter method.
Added new test cases in StringBuilderExtensionsTests to verify the handling of numbers in the SeparateWords method.
Updated FormatWith method usage in AnalyzerTests for consistency.

Changes walkthrough 📝
Relevant filesEnhancement

StringBuilderExtensions.csEnhance `SeparateWords` method to handle numbers and uppercase

MiKo.Analyzer.Shared/Extensions/StringBuilderExtensions.cs
Improved handling of uppercase and numeric characters in SeparateWords method.  Removed redundant comments and streamlined logic.  Enhanced logic to handle numbers in string separation.

+29/-12

StringExtensions.csRefactor `StringExtensions` for performance and readability

MiKo.Analyzer.Shared/Extensions/StringExtensions.cs
Corrected the order of checks in IsUpperCaseLetter method.  Removed an unused FormatWith method overload.  Improved code formatting for better readability.

+71/-69

Tests

StringBuilderExtensionsTests.csAdd tests for `SeparateWords` method with numbers

MiKo.Analyzer.Tests/Extensions/StringBuilderExtensionsTests.cs
Added new test cases for SeparateWords method.  Verified handling of numbers in word separation.

+7/-0

AnalyzerTests.csUpdate `FormatWith` usage in `AnalyzerTests`

MiKo.Analyzer.Tests/Rules/AnalyzerTests.cs

Updated FormatWith method usage for consistency.

+1/-1

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information


Error-messages installing jake

TypeScript Version:  pulled repro today (Aug 12th)

npm install -g jake
Code
npm install -g jake
Expected behavior:
Installation of jake.
Actual behavior:
Error messages in attached log
npm-debug.log

Sorry, it's an npm-issue.


Run time estimation

Hello!
What is the run time estimation for the correction of the long reads? I used the default command for running Ratatosk Ratatosk correct -v -c 90 -s short_reads.fastq -l long_reads.fastq -o out_long_reads and it's been running for 6 days now on a computing server. We don't have multiple nodes on the server so I'm running it on single node mode but I wouldn't have expected it to run for this long. At the moment is in this step Ratatosk::addCoverage(): Subsampling reads. How more would you say it can take?
Best regards,
Jonatan

Hi @Akazhiel,
Ratatosk's running time is mostly proportional to how many reads you want to correct, so basically coverage. It also depends on the complexity of the genome the reads are from: reads containing a lot of repeats are expected to take longer to correct. So without a genome size and coverage estimation, it is impossible for me to say how long this is gonna take. 80x of ONT reads for a 3.2 Gbp human genome should be currently around 6000 to 7000 CPU hours. Next Ratatosk version should get this below 4000 CPU hours.
That being said, Ratatosk is a 2-rounds correction process: Each round builds an index and use that index to correct the long reads. Step Ratatosk::addCoverage(): Subsampling reads indicates that you are at the end of the indexing part of one of the 2 rounds. I am hopeful that after 6 days, this is the indexing part of the 2nd round. The correction in the second round is also usually a lot faster than in the first round.

Hello,
Thanks for the quick reply. I also hope it's the 2nd round that is doing now although I'm not so sure. Our coverage on the long reads I believe is close to 30x, but the coverage of the short reads is unknown since it wasn't mapped and I couldn't find any data about it. The fastq is 254Gb compressed but that hardly tells us something. It is human data. I'd guess the run time is also affected by the coverage of the short reads that are being used to correct?
Really looking forward to the improvements in the next version!
Cheers,
Jonatan

Well it's hard to say from a compressed FASTQ file but I think a rough estimate of 50x to 90x coverage (ballpark) seem reasonable here, nothing that Ratatosk cannot handle. As you said, more short reads there are and technically more time we spend on index construction and read correction. This is why internally, the short reads are downsampled anyway because even 50x would be too much data to add in the graph. Obviously, more short reads there are and more time we spend in the index construction step since it takes more time to downsample.
Most main steps in the output are suffixed with either (1/2) or (2/2) to indicate which round you're at. In case you cannot see that, you can also have a look at the output files. Look for a file with suffix .2.fastq: if this file exists and its last modification is at least a couple of hours old, then it means you are in the second round of correction.
My plan is to push the next version of Ratatosk some time next week, just to make sure everything is in order.

The only output files I have for now are the H2009_corrected.index.k63.fasta which I'd assume is the index the program generates. Then I have H2009_corrected.2.pids.1 and a couple minutes ago this other one popped up H2009_corrected.2.pids.2 but is empty for now. Does this mean is just starting the 2nd round of correction?

If those are the only output files you have, it means that you are still in the first round of correction. As a matter of fact, you are still constructing the index of the first round of correction so no correction has started yet. This is clearly not good and unusual and I would like to look into it, see what is the issue. For HG002, 60x short reads + 80x ONT, I think index construction is about 1500 CPU hours for the first round so 6 days with 90 cores is way too much. Can you share the following with me?

The output log of Ratatosk currently in your terminal. This should contain some useful info that can help me with pinpoint what steps is struggling
The input data (short and long reads)

Hello, the current output log in the terminal is the following:
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Processed<PHONE_NUMBER> reads.
Ratatosk::addCoverage(): Collecting branching information.
Ratatosk::addCoverage(): Subsampling reads.
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [9, 42[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [42, 84[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [84, 102[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [102, 113[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [113, 122[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [122, 135[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [135, 154[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [154, 174[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [174, 203[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [203, 261[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [261, 372[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [372, 683[
Ratatosk::addCoverage(): Subsampling reads (0.0609756) coloring vertices with k-mer coverage [683, 194226923[
Ratatosk::addCoverage(): Compacting subsampled reads.
Ratatosk::addCoverage(): Coloring graph with subsampled reads.

And the data was downloaded from the SRA. Here the Nanopore and here the Illumina reads.
Also as of now, it's been 4576 CPU hours.

It seems I have underestimated the compression ratio in my previous coverage estimate (to be fair, I didn't know it was SRA compression either). From the output, I see that you have about 3.6 billion short reads which should be a 170x coverage data set. This is a lot of short reads so it comes to me at no surprise that the index construction takes such a long time. You even have a 31-mer in the graph which alone occurs in about 194 million reads. Given that 60x short reads required 1500 CPU hours, having at least 4500 CPU hours for the index construction does make sense to me now.
It might seem to be a lot of time spent into downsampling reads but Ratatosk does not do "completely" random downsampling. We instead select randomly reads from unitigs with different ranges of coverage in order to cover as many paths as possible with the downsampled set. This might actually be really important since the reads are from a study of somatic SVs in cancer genomes (which explains the really high coverage).
The good point now is that the downsampling is finished and Ratatosk will work from now on with the downsampled reads only. You still have the detection of SNP and STR candidates left for the index construction but this should be fast enough. The "bad" point is that I imagine you have submitted this as a job to your cluster with a time limit. And you already used 6 days on this limit. How much time do you have left before the job gets canceled?

We are actually using this data because we are trying to predict SV from Nanopore data with base-pair resolution to predict putative neoantigens.
For your question, I am working on a cluster but since it hasn't been fully implemented yet I am running Ratatosk inside and interactive Docker container which means there is not a time limit. I'm only limited if my sysadmin needs to restart the server for whatever reason.
For the future I'll probably take the 2-step approach in the case it needs to be stopped so I don't lose everything.

As of now, you just need to complete the 1st round of correction to not loose everything. The 1st round of correction should produce a file named H2009_corrected.2.fastq which are the reads corrected by the short reads. You already have the file named H2009_corrected.index.k63.fasta which is the graph for the second round of correction. Those 2 files are the only ones you need to build the full index for round 2 because the short reads won't be used anymore from that point. Note that because only the long reads are used in round 2 and your ONT dataset is only 30x, this should go a lot faster than round 1.
Could you let me know how things are progressing beginning of next week?

Also make sure you have the latest Ratatosk version.

Yes, I will keep you updated on how it goes. And yes, the version I'm running was installed by cloning the git repo 6 days ago right before running it.

Hi @GuillaumeHolley,
Quick update on how it is going. It has almost generated the H2009_corrected.2.fastq file, it's at 87Gb now so it should finish this step today hopefully and then will only remain the 2nd correction step.

Good to know it is still running and progressing. You have about 11 millions ONT reads to correct so by having a look at the Ratatosk's log or by counting the number of lines in H2009_corrected.2.fastq (divided by 4), you can see how much Ratatosk has done.

Hello!
I believe it finished completely since this is the last that was printed to the terminal:
Ratatosk::correct(): Processed 11125000 reads
Ratatosk::correct(): Processed 11126000 reads
Ratatosk::correct(): Processed 11127000 reads
Ratatosk::correct(): Processed 11128000 reads
Ratatosk::correct(): Processed 11129000 reads
Ratatosk::correct(): Processed 11130000 reads
Ratatosk::correct(): Processed 11131000 reads
Ratatosk::correct(): Processed 11132000 reads
Ratatosk::correct(): Processed 11133000 reads
Ratatosk::correct(): Processed 11134000 reads
Ratatosk::correct(): Processed 11135000 reads
Ratatosk::correct(): Processed 11136000 reads
Ratatosk::correct(): Processed 11137000 reads
Ratatosk::correct(): Processed 11138000 reads
Ratatosk::correct(): Processed 11139000 reads
Ratatosk::correct(): Processed 11140000 reads
Ratatosk::Ratatosk(): Couldn't remove temporary file

And I also have a file called H2009_corrected.fastq

Hi @Akazhiel,
Glad to know you could complete the run. I'll then close the issue. Don't hesitate to reach out if you have more questions.
Guillaume


Add a cheatsheet

Warning
This is an open discussion and example of what a cheatsheet could look like. This is not intented to be approved or merged for now.

This shows what a cheatsheet could look like. This is not intended to replace documentation. The goal is to provide very quick reminders or pointers so that a user can then refer to the actual documentation, code, etc.
This means no text or as little as possible (not an FAQ), information may not be exhaustive (for example the pay/spend items do not mention reference scripts/inputs which would have small items of their own), there may be redundancies (e.g. the item about initial distribution and the item about permanent values), provided example pieces of code have variables that are not defined (e.g. foo, bar), provided pieces of code have holes (...), etc.
The idea would be to CTRL+F in such a document, or look at an automatically generated table of contents. Check the github rendered document for an example.
Do you think such a document may be useful in addition to traditional documentation and tutorials?

I think this is interesting to have indeed.

I have added some missing items after our latest audit. IMO, the cheatsheet is ready to be merged for V3.


Typescript fix

Please describe the changes this PR makes and why it should be merged:
Status

[x ] Code changes have been tested against prettier, or there are no code changes
[ ] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ x] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[x ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Updated typescript MillionProps to accept any type and clarified the usage of interfaces when passed as a generic in the docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 31.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
912

Relevant Lines:
3031

💛  - Coveralls


Microsoft.Azure.KeyVault.KeyVaultClient.GetSecretVersionsAsync GET's incorrect URL

Calling 'GetSecretVersionsAsync' on Microsoft.Azure.KeyVault.KeyVaultClient throws an exception of type 'KeyVaultClientException'
At that time, the value of 'RequestUri' on the exception is:
https://mykeyvault.vault.azure.net/secrets//secrets/1/versions?api-version=2015-06-01
Notice that 'secrets' is duplicated in the URL, which causes a 404 Resource not found error.
The bug is in Microsoft.Azure.KeyVault.Internal.SecretOperations.cs line 449, where an additional '/secrets' string is appended to the vault URL.
Note that the other Secret-related operations (SetSecretAsync, DeleteSecretAsync) don't tamper with the vault URL.

@loekd Hi, a vault URL should just be the name of the vault and should not contain any path information as the SDK handles that automatically. For example, https://mykeyvault.vault.azure.net is a valid vault name, but https://mykeyvault.vault.azure.net/secrets is not. Would you check that you're not passing in the additional path segment?


[FIX] gnome-terminal for gnome-session

From Ubuntu 16.04,  gnome-session is now returned as gnome-session-b when performing ps -eo comm.
To check, on Ubuntu 16.04, just run the following command (which is the above ps command, shortened for this case only):
ps -eo comm | grep -E "gnome-session" | grep -v grep
it returns
gnome-session-b
This patch takes care of the retro-compatibility, it will work either if it's gnome-session which is returned or gnome-session-b

Thanks for the fix! Looks good to me, will land by the end of the week (want to do manual testing first).

This has been merged/released in 1.12.0. Thanks again for the PR! =)

Thank you ! :)


system/Database/BaseConnection.php Change in getFieldNames() method

getFieldNames() method sistematically looses $this->connID unless calling $this->initialize() again.
After this:
public function getFieldNames($table)
	{
		// Is there a cached result?
		if (isset($this->dataCache['field_names'][$table]))
		{
			return $this->dataCache['field_names'][$table];
		}
		//... rest of the funcion ...//

We have to call $this->initialize() again:
public function getFieldNames($table)
	{
		// Is there a cached result?
		if (isset($this->dataCache['field_names'][$table]))
		{
			return $this->dataCache['field_names'][$table];
		}
		if (empty($this->connID))
		{
		    $this->initialize();
		}
               //... rest of the function ...//

As you know, I'm not proficient in making pullrequest. ;-)

By the way, I'm getting 0.1178 sec of execution time instead of 0.0701 sec with CI3. Exactly the same page except for a little less logic in CI4. In fact, not big deal, but we are "increasing". Thanks.

There is no file system/Database/BaseConnection.php

This issue belongs in the CodeIgniter4 repo :-/

And do we have CI4 repo?

CI4 repo: https://github.com/bcit-ci/CodeIgniter4

Oka. Issue changed to CI4 repo. Sorry.


What‘s the meaning of “consistent voting”?

First of all, thank you for sharing, I feel I have learned a lot. But I would like to ask about the meaning of "consistent" in "consistent voting". Is there any "non-consistent"?

Hi @bogeyixiu,
Thanks for your interest.
For example, non-consistent features are generally located in plane region 3DMatch, where the target points found through the multi-scale features are not consistent. Because features of plane region may not be represented well for matching.
Here, we visualize consistent points (red) and non-consistent points (green) in one sampled source point cloud as follows:

We can roughly sense their location distribution.
Best regards.

Thank you very much for your reply, I have benefited a lot. Thanks again!


[ebpf] Refactor offset guessing code

What does this PR do?
Refactor the offset guessing process in the ebpf module. The most important changes are:

We only enable the kprobes  responsible for tracing  network data after the offset guessing process is complete, allowing us to simplify part of the eBPF code;
Instead of relying on tcp_v4_connect events for offset guessing we use instead the tcp_get_info kprobe. By doing so, we can open a TCP connection, wait until all fields such as RTT stabilize, and then call GETSOCKOPT(2) multiple times to guess the offsets of those fields.

Motivation
This changes are required to add RTT tracing support to system-probe which will be done in another PR.
Additional Notes
Anything else we should know when reviewing?

Looking really good so far! I still need to dig into pkg/ebpf/offsetguess.go, which has a lot of involved logic so I'll try to review it tomorrow morning

Lets make sure we thoroughly test this :)


Can't create ticdc job when the sink database is mariadb on Mac M1

What did you do?

tiup playground nightly --ticdc 1
tiup cdc:nightly cli changefeed create --sink-uri="mysql://root@<IP_ADDRESS>:3306/"
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -p
tiup cdc:nightly cli changefeed create --sink-uri="mysql://root@<IP_ADDRESS>:3306/?time-zone=Asia"

What did you expect to see?
create job successfully.
What did you see instead?
in step 2:
Starting component cdc: /Users/hongyunyan/.tiup/components/cdc/v6.3.0-alpha-nightly-20220901/cdc cli changefeed create --sink-uri=mysql://root@<IP_ADDRESS>:3306/
Error: [CDC:ErrMySQLConnectionError]fail to open MySQL connection: Error 1298: Unknown or incorrect time zone: 'UTC'
in step 3:
Enter password: Warning: Unable to load '/usr/share/zoneinfo/+VERSION' as time zone. Skipping it.
ERROR 1064 (42000) at line 12: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Offset, Is_DST, Abbreviation) VALUES
(@time_zone_id, 0, -968, 0, 'LMT')
,(@t...' at line 1
in step 4:
Starting component cdc: /Users/hongyunyan/.tiup/components/cdc/v6.3.0-alpha-nightly-20220901/cdc cli changefeed create --sink-uri=mysql://root@<IP_ADDRESS>:3306/?time-zone=Asia
Error: [CDC:ErrMySQLInvalidConfig]MySQL config invalid: is a directory
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
nightly

Upstream TiKV version (execute tikv-server --version):
nightly

TiCDC version (execute cdc version):
nightly

mysql_tzinfo_to_sql reads your system's time zone files and generates SQL statements from them. mysql processes those statements to load the time zone tables:
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

Ref: https://dev.mysql.com/doc/refman/8.0/en/mysql-tzinfo-to-sql.html


Merge editor randomly fails to detect conflict markers

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.69.2
OS Version: macOS 12.5

Steps to Reproduce:

git rebase main mybranch
Open Source Control tab and click through merge conflicts

Some of the files properly show the 3-way editor, others show just the plain code file (without the old "accept" buttons). It's just plain code with conflict markers highlighted as errors ("Merge conflict marker encountered").
Looking for a pattern here, I can see that when the code contains this:
||||||| parent of 3d3f981 (Add Twitter support)
=======

That empty block trips up the merge editor parser, and it's not recognized as a file that needs resolution.

/duplication #153897


Scuba Tank duplication (And item deletion)

If you try to swap out a scuba tank from your armor slot  while its being drained, whatever you tried to swap it with, will be deleted and another scuba tank replacing it.

Fixed for v9 :)


Can't login

I get this error always:
{"errors":[{"code":32,"message":"Could not authenticate you."}]}

I get that this is now no longer supported but realistically, it needs to be left as somewhat working before you guys abandon ship. A lot of projects still rely on this framework as its the only clear way of authenticating your users via Twitter. Please fix all of the intermittent issues when you guys get a change as it being in such as state reflects poorly on Twitter as a whole. Thank you.

اتمنى استرجاع حسابي


Add Plague Inc OST - Plague Blossom by Plasstyre

Song Name
Plague Inc OST - Plague Blossom
Artist Name
Plasstyre
Source
Youtube
Youtube Link
-Rr1Vrw60WidYcuG
Direct File Link
No response
Song ID
396093
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 65050608

reject
invalid yt link


xorg.xrandr: 1.5.0 -> 1.5.1

Motivation: https://cgit.freedesktop.org/xorg/app/xrandr/ indicates that 1.5.0 is 5 years old, 1.5.1 only 14M.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Replaced by #104056


getting images from unknown url

Describe the bug
My Eufy-Instance is trying to get images from my homebase ID
To Reproduce
Steps to reproduce the behavior:

direkt after installation

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
Could not download the image within 5 attempts from url: https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/thumb/2020/11/11/station/T8010N23194910CA/QOl1mK0Y19sh9jXU
Versions:
Version 0.5.2
IOBroker Docker on Synology
Additional context

Hi @Gilligan2k10,
this is a problem of Eufy, because this URL is pulled from the Eufy cloud. Sometimes this url is no longer valid and thus the adapter can no longer download the image.


TLS WampSharp router example

Can we have step by step demo on TLS WampSharp router setup and client connection to wss://localhost/ws serving by WampSharp, please?

Will write something in the weekend.
Elad

Not sure I'll write something in the weekend, but @esso23 has written a sample here (note my remarks).
If you or anyone else are willing to write such a tutorial, I'd be happy to merge it.
Elad


Explicitly document that Connectors can post adaptive cards

The section on this page is named "Send adaptive cards using an incoming webhook", with instructions specific to incoming webhooks specifically. We need to be explicit that Connectors in general support adaptive cards. Right now searching for "teams connector adaptive card" or similar does not return a definitive answer as to whether Connectors support adaptive cards.
https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#send-adaptive-cards-using-an-incoming-webhook

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

ID: 28316a67-22fa-8a05-1ae0-fbe1c5720ef9
Version Independent ID: 8a250e46-2a30-af86-839d-9f83a8b48041
Content: Sending messages to Connectors and Webhooks - Teams
Content Source: msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

@laujan , I think the suggestion provided above is right. We need to provide it explicitly since recently there were many queries regarding same.

Currently. send adaptive cards are only supported using incoming webhook.


os: test is timing out on plan9-arm

The os test has been timing out on plan9-arm after 18m on every run, apparently since CL313514

The TestExecutableDeleted test is hanging when subprocess testdel.exe goes into Plan 9 "Broken" state instead of exiting. This behaviour seems to be new with commit 02ab8d1.

Looking at the source of testdel.exe, I'm surprised this test has ever passed on Plan 9. The program deletes its own executable file while running, which is likely to cause it to crash because Plan 9 does demand paging directly from the executable file and doesn't protect files from deletion while being executed. I think the commit must have had the side effect of changing the program's paging behaviour such that it now touches a previously unreferenced page after the file deletion,.
This test is already skipped on windows, openbsd, freebsd, and aix. I think it should be skipped on plan9 too.


[BUG]

Following the official tutorial concering about yurt-app-manager hereby https://gitee.com/mirrors/openyurt/blob/master/docs/tutorial/yurt-app-manager.md, I failed to create NodePool resource. To be precise, when try to apply the example config demonstrated within the mentioned link, I got error as below:
[root@cloud-master opt]# kubectl apply -f nodepool.yml
Error from server (InternalError): error when creating "nodepool.yml": Internal error occurred: failed calling webhook "mnodepool.kb.io": Post https://yurt-app-webhook-service.kube-system.svc:443/mutate-apps-openyurt-io-v1alpha1-nodepool?timeout=30s: context deadline exceeded:
Since the K8S cluster provided by kubeadm has already been transformed to openyurt cluster, nodepool resource should be crated successfully:
Following the above official tutorial, after initializing openyurt cluster from kubeadm managed K8S and installing yurt-app-manager operator, execute the below command:
cat <<EOF | kubectl apply -f -
apiVersion: apps.openyurt.io/v1alpha1
kind: NodePool
metadata:
name: Pool-A
spec:
type: Edge
annotations:
apps.openyurt.io/example: test-Pool-A
labels:
apps.openyurt.io/example: test-Pool-A
taints:
- key: apps.openyurt.io/example
value: test-Pool-A
effect: NoSchedule
EOF:
Yurt-app-manager pod has already been running normally:
[root@cloud-master opt]# kubectl get pod -n kube-system |grep yurt-app
yurt-app-manager-6bf675f789-dnxdv          1/1     Running   0          62m:
Environment:

OpenYurt version: 0.3.0
Kubernetes version (use kubectl version): 1.18.0
OS (e.g: cat /etc/os-release): centos7.4
Kernel (e.g. uname -a): 3.10.0-693.el7.x86_64
Install tools:
Others:

@yang-zhang-edge Thank you for filing issue.
@kadisi  Would you take a look the problem of yurt-app-manager?

@yang-zhang-edge
yurt-app-manager has been removed to new repo.
you can follow this tutorial:

clone yurt-app-manger code

# cd $GOPATH/src/github.com/openyurtio
# git clone git@github.com:openyurtio/yurt-app-manager.git

# cd  yurt-app-manager

push yurt-app-manager to your private registy ， for example

make push REPO=registry.cn-your-registry.com/edge-kubernetes

if REPO value is assigned  registry.cn-your-registry.com/edge-kubernetes， the make push command will eventually build an image named registry.cn-your-registry.com/edge-kubernetes/yurt-app-manager:{git commit id} and push it into your  private repository. and make push command will also create a file named yurt-app-manager.yaml in _output/yamls dir.

install nodepool and uniteddeployment controller

kubectl apply -f _output/yamls/yurt-app-manager.yaml

@yang-zhang-edge we will close this issue because not active over two months, if you have any other questions about yurt-app-manager, please raise a new issue.


Access to RangeAnnotation coordinates

Feature Request
Feature that provides access to the coordinates of the annotations drawn on the chart (RangeAnnotations).
The current implementation of RangeAnnotations simply draws a colored container on the chart. This restricts how various applications would like to display annotations. Getting access to the annotation coordinates allows for custom annotations to be drawn.
Describe the solution you'd like
A callback function that retrieves the list of annotation coordinates used to draw the annotation container on the chart.
The following PR#970 implements the solution.
Additional context
Here are some use cases where getting access to the RangeAnnotation coordinates can help in rendering custom annotations.
The following was implemented with the changes made on this PR#970

Hey @imaNNeoFighT, I'd appreciate your thoughts on this and PR request.

@Dnathan33 I didn't understand the problem.
Where is the custom annotations in your samples?

@imaNNeoFighT The custom annotations are drawn under the chart seen in the images attached aboce |_____|. The custom annotation is drawn from the Offset coordinates returned.
I have added a sample chart that makes use of the coordinates to draw a custom annotation. Please, look at the attached image and /line_chart_sample11.dart for further details.


Replace all naked print statements with log.printer (fix #466)

I had a few minutes and low mental energy so did this.
Note that I had to create a new category of log. printer because the other ones all have some sort of preamble like INFO which makes them spammy.  We could also change log.info to have no cruft and use that, but let's wait until we actually start to redirect output and see what we need.
Honestly, if you hated this and didn't want to do it, I wouldn't care.  :-)

(Oh, I didn't change the print statements in the tests area, because we have zero need to redirect print statements in unit tests...)

Checks fail!  But I ran all the tests... :-o  Checking.

Exactly Python 3.6 failed.    I'll lengthen the wait somewhat in another commit.  Bounced the CI...

Now all the Python 3 CI tests are failing - but I can't see a reason for it in the log...?!
Wonder if it's a Travis thing?

+1 since you fixed this elsewhere


Problem during install of libatlas-base-dev

When I get to "sudo apt-get install libatlas-base-dev" after I type y when it asks if I want to continue the install, I get this error:
Err:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgfortran-6-dev armhf 6.3.0-18+rpi1
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 http://mirrordirector.raspbian.org/raspbian stretch/main armhf gfortran-6 armhf 6.3.0-18+rpi1
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gcc-6/libgfortran-6-dev_6.3.0-18+rpi1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gcc-6/gfortran-6_6.3.0-18+rpi1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Any ideas?

I tried adding "--fix-missing" btw.  This is what I got:
Err:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgfortran-6-dev armhf 6.3.0-18+rpi1
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 http://mirrordirector.raspbian.org/raspbian stretch/main armhf gfortran-6 armhf 6.3.0-18+rpi1
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Unable to correct missing packages.
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gcc-6/libgfortran-6-dev_6.3.0-18+rpi1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gcc-6/gfortran-6_6.3.0-18+rpi1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Aborting install.


fix: concise uuidToBytes

Putting up two possible implementations of uuidToBytes for us to consider:

This PR, uuidToBytes_concise, is similar to what's on master.  Slightly better perf and compactness, pretty readable.
PR #464, uuidToBytes_fast is @awwit's approach in v9, but with the numberToBytes stuff done inline.  Yields slightly better performance and saves a bytes when minified.  Not great readability (as tends to be the case with highly optimized code), hence the extra comments.

Here are the numbers for the various flavors:

branch
performance (ops/sec)
size (minified+gzip bytes)1

master2
138-141K
132

v9
209-221K
247

uuidToBytes_concise
146-170K
125

uuidToBytes_fast
228-230K
183

Thoughts?  Pick one, I guess.  :-)

"size" is for just the uuidToBytes() implementation run through jsmin | gzip -c | wc -c
master implementation does not currently validate() like the other approaches mentioned here do.

Tough call, I have no strong opinion 🤷♂
I'm a huge fan of conciseness but I also think bundlesize is not an issue for v3/5 and performance is a promise that this library gives.
I would make good-enough test coverage the requirement for the complex fast solution (I haven't checked how good the test coverage is for this specific code path).
In the next step we could also consider exposing this method alongside bytesToUUID (#180).

TBQH, the (code in here](https://github.com/uuidjs/uuid/pull/464/files#diff-4c3fa2fbfa9d4b899d8be4b79ae6907fR11-R37) is not entirely illegible, especially with the comments.  If that is the only concern I would go with it for the small perf and size improvement.
And also, 👍 to exposing it or moving it out to a separate package.  Either one would have solved the issue I had in #180

Moving forward with #464


Cannot navigate to commands as buffer dynamically updates

From @Tyriar:

Fill the scrollback
Run some command that outputs over time
Focus accessible buffer
Navigate commands via the quick pick, _bufferToEditorIndex will point at the original stale values

How is this command done? "Navigate commands via the quick pick, _bufferToEditorIndex will point at the original stale values". Not sure what _bufferToEditorIndex is, thanks!

It's expected to navigate to the command you currently have active in the quickpick like what is shown here
https://user-images.githubusercontent.com/29464607/234960843-08bc20b1-e4ad-4131-afbf-a6803e0ee617.mov


Unable to create package

Hi,
I am facing issue at step Week 1 Unit 5: Creating an OData service.
While executing the class /dmo/cl_fe_travel_generator am getting message in console .
PUT operation failed.
Class name:
CX_XCO_GEN_PUT_EXCEPTION
Source position:
Line 8 of EXECUTE in CL_XCO_GEN_O_PUT_ABSTRACT
Additional messages:
DEVC ZFE_TRAVEL_000**: Object R3TR DEVC ZFE_TRAVEL_000** is already locked on transport request TRL***.
After that above package is not visible while adding to favorite.
Can you please advice how to proceed further on this.
Regards,
Rajesh K

Hi Rajesh,
we are aware of the issue and a transport with a fix is already on its way. Should be working by EOB today. Will keep you posted.
Best regards,
Stefan

Thank you stefan, issue solved.

Package creation issue is solved, but it does not have any objects.
Empty package got created, can you please check again

Hello,
I have the same error and can't create the package.
The system URL is :
https://fafe2a05-536e-4ed6-b44f-4ad66ae6bfb7.abap.eu10.hana.ondemand.com
Everything is correct?
Thanks.

Hi,
Similar problem for me too. A new package and a new transport request are created but the package is totally empty.
Here is the message I get when I run the generator:
SAP Fiori elements exercise generator
The following package got created for you and includes everything you need: ZFE_TRAVEL_000117
In the "Project Explorer" right click on "Favorite Packages" and click on "Add Package...". Enter "ZFE_TRAVEL_000117" and click OK.
PUT operation failed.
Class name:
CX_XCO_GEN_PUT_EXCEPTION
Source position:
Line 8 of EXECUTE in CL_XCO_GEN_O_PUT_ABSTRACT
Additional messages:
DDLS ZI_FE_STAT_000117: Creation of CDS views is not allowed in the current environment.
DDLS ZI_FE_CARR_000117: Creation of CDS views is not allowed in the current environment.
DDLS ZI_FE_CONN_000117: Creation of CDS views is not allowed in the current environment.
DDLS ZI_FE_FLIG_000117: Creation of CDS views is not allowed in the current environment.
Thanks for your help.

For the trial system with the URL https://fafe2a05-536e-4ed6-b44f-4ad66ae6bfb7.abap.eu10.hana.ondemand.com it's now working. A colleague with a user in that system just tried it an hour ago and the package and its contents were successfully generated. Can you guys try again? If the problem persists, can you right-click at the ABAP Cloud Project -> Properties -> ABAP Development and then tell me the "System URL"?

I've just retried. Same problem as yesterday. I'm using the trial system with the URL https://f53f7607-c777-4233-b357-b0090de15eda.abap.us10.hana.ondemand.com.

I've just created a Frankfurt subaccount which has the URL https://5422bbff-4781-4b19-8ca9-5f7ac9d4a30b.abap.eu10.hana.ondemand.com and the generator is working fine in this system.

The system is working fine for me too.
Thanks.

In case someone is still facing the issue feel free to reopen the issue or create a new one. Have fun with the exercise! 😊


chore(labels): sort alphabetically

Coverage remained the same at 100.0% when pulling 4ee499ebfce09da04e85159a9504c99d3be9297c on chore-labels-sort-alphabetically into f05a55bd9bb227b6de69e8c0b18355b415cc8828 on main.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


wrong owner after script runs

Luckily I caught this early because I have 10,000's of files I was going to execute this on. By comparing the console output and using https://developers.google.com/drive/v2/reference/permissions/getIdForEmail, I can tell that the correct drive#permissionId is being obtained for the email provided in the command-line, but by looking at new owners in drive and activity for affected items, I've found that the wrong account is getting ownership.
I'm forking to investigate and possibly provide some output control options making this hard to use for me. I'll update here and/or submit a PR if I find anything conclusive.

Is it assigning the files to a different Google user? Can you provide a concrete example?

My apologies, but I had to work around so I changed my approach with accounts and don't think I can reproduce now. Hopefully this was just a bad perception on my part. If I do run across it again, I will reply here and reopen.


test: Make cluster in single binary

The blocker to the upcoming release 0.11 is the performance problem: My assumption on the performance is 1000 shards is easy for this library. However, the test cases often fails in CI. It is not sure whether my assumption is wrong or my library is suboptimal.
All tests are against a cluster made for the specific test. What's under the cluster is containers each runs testapp made with this library. This looks sane for testing of distributed application though, this also makes it hard to do certain analytics such as test coverage and profiling since they often requires single binary as running program.
Among these analytics, profiling will help a lot in my situation by knowing the bottleneck in computation.
My current plan is fully rewrite the test infrastructure so the cluster wii be made in a single binary.  Sorry for inconvenience.

How to get a free port?
We can use port_check to get a free port for each server task.
How to distinguish nodes in the consolidated log?
We can use tracing and add span for each server task.

I tried to tweak tracing to prepend node number to the log but no avail. More precisely, I tried to add independent subscriber to each svc_task with a formatter wrapper.
pub struct PrefixedFormatter<F> {
    inner: F,
    prefix: String,
}

impl<F> PrefixedFormatter<F> {
    pub fn new(inner: F, prefix: String) -> Self {
        Self { inner, prefix }
    }
}

impl<S, N, F> FormatEvent<S, N> for PrefixedFormatter<F>
where
    S: tracing::Subscriber + for<'a> LookupSpan<'a>,
    N: for<'a> tracing_subscriber::fmt::FormatFields<'a> + 'static,
    F: FormatEvent<S, N>,
{
    fn format_event(
        &self,
        ctx: &fmt::FmtContext<'_, S, N>,
        mut writer: Writer<'_>,
        event: &tracing::Event<'_>,
    ) -> std::fmt::Result {
        write!(writer, "{}> ", self.prefix)?;
        self.inner.format_event(ctx, writer, event)
    }
}

My current best solution is make tokio runtime for each server and give it a node number as thread name. Then the tracing formatter includes the thread name in the log.
#[tokio::main]
async fn main() -> Result<()> {
    let format = tracing_subscriber::fmt::format()
        .with_thread_names(true)
        .with_target(false)
        .compact();
    tracing_subscriber::fmt().event_format(format).init();

    let mut free_ports = vec![];
    for _ in 0..10 {
        let p = port_check::free_local_ipv4_port().unwrap();
        free_ports.push(p);
    }
    dbg!(&free_ports);

    for port in free_ports.clone() {
        let nd_number = format!("ND{port}>");

        let svc_task = async move {
            info!("I am not spawned.");

            tokio::spawn(async move {
                info!("I am spawned.");
            });

            let svc = proto::my_service_server::MyServiceServer::new(App);
            let socket = format!("<IP_ADDRESS>:{port}").parse().unwrap();
            tonic::transport::Server::builder()
                .add_service(svc)
                .serve(socket)
                .await
                .unwrap();
        };

        std::thread::Builder::new().name(nd_number.clone()).spawn(move || {
            let runtime = tokio::runtime::Builder::new_multi_thread()
                .thread_name(nd_number)
                .enable_all()
                .build()
                .unwrap();
            runtime.block_on(svc_task);
        }).unwrap();
    }

    tokio::time::sleep(Duration::from_secs(1)).await;

    let mut rng = thread_rng();
    for _ in 0..10 {
        let tgt_port = free_ports.choose(&mut rng).unwrap();
        // dbg!(tgt_port);
        let mut cli = proto::my_service_client::MyServiceClient::connect(format!(
            "http://localhost:{tgt_port}"
        ))
        .await?;
        cli.ping(()).await?;
    }

    eprintln!("done");
    Ok(())
}

Here is the output:
[src/main.rs:72:5] &free_ports = [
    51740,
    51741,
    51742,
    51743,
    51744,
    51745,
    51746,
    51747,
    51748,
    51749,
]
2024-09-24T00:45:50.615535Z  INFO ND51745> I am not spawned.
2024-09-24T00:45:50.615918Z  INFO ND51747> I am not spawned.
2024-09-24T00:45:50.615935Z  INFO ND51740> I am not spawned.
2024-09-24T00:45:50.616019Z  INFO ND51748> I am not spawned.
2024-09-24T00:45:50.616130Z  INFO ND51748> I am spawned.
2024-09-24T00:45:50.615535Z  INFO ND51742> I am not spawned.
2024-09-24T00:45:50.616174Z  INFO ND51747> I am spawned.
2024-09-24T00:45:50.615620Z  INFO ND51744> I am not spawned.
2024-09-24T00:45:50.616426Z  INFO ND51749> I am not spawned.
2024-09-24T00:45:50.616648Z  INFO ND51743> I am not spawned.
2024-09-24T00:45:50.616656Z  INFO ND51741> I am not spawned.
2024-09-24T00:45:50.617083Z  INFO ND51749> I am spawned.
2024-09-24T00:45:50.617148Z  INFO ND51742> I am spawned.
2024-09-24T00:45:50.617143Z  INFO ND51744> I am spawned.
2024-09-24T00:45:50.617186Z  INFO ND51741> I am spawned.
2024-09-24T00:45:50.617242Z  INFO ND51743> I am spawned.
2024-09-24T00:45:50.617297Z  INFO ND51745> I am spawned.
2024-09-24T00:45:50.617531Z  INFO ND51740> I am spawned.
2024-09-24T00:45:50.617645Z  INFO ND51746> I am not spawned.
2024-09-24T00:45:50.617914Z  INFO ND51746> I am spawned.
2024-09-24T00:45:51.623680Z  INFO ND51740> ping
2024-09-24T00:45:51.626532Z  INFO ND51742> ping
2024-09-24T00:45:51.629530Z  INFO ND51749> ping
2024-09-24T00:45:51.632401Z  INFO ND51740> ping
2024-09-24T00:45:51.635057Z  INFO ND51744> ping
2024-09-24T00:45:51.637540Z  INFO ND51744> ping
2024-09-24T00:45:51.639801Z  INFO ND51745> ping
2024-09-24T00:45:51.642016Z  INFO ND51741> ping
2024-09-24T00:45:51.644456Z  INFO ND51749> ping
2024-09-24T00:45:51.647021Z  INFO ND51747> ping

It is very important to sort out the pros/cons
pros:

The boot of the server is much faster because docker control isn't involved.
All tests can be run in parallel because no resource is shared.


Protocol error (Page.addScriptToEvaluateOnNewDocument): Session closed

I updated to latest version and with this version I regularly get following error :
Unhandled exception. PuppeteerSharp.PuppeteerException: Protocol error (Page.addScriptToEvaluateOnNewDocument): Session closed. Most likely the Page has been closed.Close reason: Target.detachedFromTarget
   at PuppeteerSharp.CDPSession.SendAsync(String method, Object args, Boolean waitForCallback) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\CDPSession.cs:line 157
   at PuppeteerExtraSharp.Plugins.ExtraStealth.Utils.EvaluateOnNewPageWithUtilsScript(Page page, String script, Object[] args)
   at PuppeteerExtraSharp.PuppeteerExtra.<>c__DisplayClass9_1.<<Register>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

It seems to be an issue between PuppeteerExtra and PuppeteerSharp. I will try to make a simple reproducable case

Hi, I'm waiting for your reproducible case

Following code triggers the issue. If I remove the using statement on page it works.
public static async Task Main(string[] args)
        {
            int parallelismDegree = 20;
            List<string> sources = new List<string>();

            for (int i = 0; i < 200; i++)
            {
                sources.Add("https://www.refugederborence.ch/?=" + i.ToString() );
            }

            // Initialization plugin builder
            var extra = new PuppeteerExtra();

            // Use stealth plugin
            extra.Use(new StealthPlugin());

            // Launch the puppeteer browser with plugins
            var version = new BrowserFetcher().DownloadAsync().Result;

            // Launch the puppeteer browser with plugins
            using (var browser = await extra.LaunchAsync(new LaunchOptions { Headless = true, ExecutablePath = version.ExecutablePath, IgnoreHTTPSErrors=true }))
            {
                int sourceIndex = 0;
                while (sourceIndex < sources.Count)
                {
                    Console.WriteLine(string.Format("Running {0} tasks from startIndex : {1}", parallelismDegree, sourceIndex));
                    var tasks = sources.Skip(sourceIndex).Take(parallelismDegree).Select(async source =>
                    {
                        // Create a new page
                        using (var page = await browser.NewPageAsync())
                        {
                            await page.GoToAsync(source);
                            Console.WriteLine(string.Format("Running task : {0}", source));
                        }

                    });

                    await Task.WhenAll(tasks);
                    sourceIndex += parallelismDegree;
                }
            }
            Console.WriteLine("Press a key to continue");
            Console.ReadLine();
        }
`

Should be fixed by #26. Please update your NuGet package version to 1.3.1


RFP - android-messages-desktop

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL :https://github.com/OrangeDrangon/android-messages-desktop
Direct download URL for the software / installer : https://github.com/OrangeDrangon/android-messages-desktop/releases/download/v5.3.1/AndroidMessages-v5.3.1-win-x64.exe
Software summary / short description:
This app is for sync messages between Android and Windows PC

The one that shows in the chocolatey bot it seems abandoned project and this one is newest project

As it's the same software (just a fork of the original) it could be published under the same the package name. And in that case this would need to be an RFM request.


It is weird that curly braces are italic in jsx.

It happens only in jsx. I think it would be better to keep curly braces normal.
palenight for Opearator Mono

This looks great @SidKwok . I'll look into it in a few minutes.


Clean up v1beta1 crds schemas

Type of change

Bugfix

Description
Cleanup the v1beta1 schemas in preparation for conversion to CRD v1s by removing some unstructural schema warnings.
These changes have no functional impact.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests testcase=CustomResourceDefinition*Test

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: pr
TEST_CASE: CustomResourceDefinition*Test
TOTAL: 22
PASS: 22
FAIL: 0
SKIP: 0
BUILD_NUMBER: 1400
BUILD_ENV: oc cluster up


Update device registration helper methods for test fixes with local flight for keystore keys enabled, Fixes AB#3039504

Changes to fix tests for local flight run when keystore key flight is enabled. (Install cert operation is not supported separately with keystore keys flight enabled)

When Authenticator is the active broker perform device registration with Authenticator settings UI instead of Device settings
When adding account from Device settings page handle install cert UI only when it appears, (it doesn't appear when keystore keys flight is enabled, in that case just press ok to complete the action)

AB#3039504

Why would the test fail specifically when Auth app is the active broker? I mean why skip device reg from settings page in this case?


Copy/Paste

Currently, it is not possible to copy text bubbles within the app. It would be helpful to have the ability to copy both specific pieces of text within ChatGPT's replies and the entire chat bubbles themselves.
Edit (Jan 13, 2022):
I found a solution to this. Add ".textSelection(.enabled)" under Text(message.text)
struct MessageRow: View {
    var message: Message
    var body: some View {
        HStack {
            if message.isFromUser {
                Spacer()
                Text(message.text)

                    .textSelection(.enabled)
                    .padding(10)
                    .background(Color("AccentColor"))
                    .foregroundColor(.white)
                    .clipShape(RoundedRectangle(cornerRadius: 10))
                    .padding(.horizontal, 10)
                    .padding(.vertical, 5)

            } else {
                ScrollView {
                    Text(message.text).italic(message.isResponding)

                        .textSelection(.enabled)
                        .lineLimit(1...)
                        .padding(10)
                        .background(Color(.systemGray6))
                        .clipShape(RoundedRectangle(cornerRadius: 10))
                        .padding(.horizontal, 10)
                        .padding(.vertical, 5)
                }
                Spacer()
            }
        }
    }
}

Would you like to submit a pull request? You can fork the repository, create a new branch to address the issue, and then make a pull request to merge your changes back into the main repository.


Constructive geometry

Additional operations should be added to combine shapes:
intersection :: [Picture] -> Picture
difference :: Picture -> Picture -> Picture

(Names are debatable.)  intersection should produce a picture bounded by the intersection of the list.  The second should produce a picture containing all areas of the first image that are not also in the second.  Note that together with the existing pictures, this gives the three basic operations for constructive geometry.
The implementation is a little tricky.  Combining two images in this way can be done with globalCompositeOperation (https://developer.mozilla.org/samples/canvas-tutorial/6_1_canvas_composite.html)  But getting the resulting shapes to nest correctly will involve using off-screen canvases as temporaries.  Since creating a new off-screen canvas is expensive, this should involve determining the minimum number of offscreen canvases needed, and reusing them between frames.

I really want to do this!
The big blocker isn't so much that the implementation is tricky, as that the semantics are unclear when computing the intersection, difference, or union of pictures with color and transparency.  In an ideal world, we'd have separated "Shape" from "Picture", and the former would have no concept of color or transparency.  But CodeWorld doesn't make that distinction, so we need a reasonable answer for union, intersection, and difference that incorporates color and transparency.  I also want to preserve the property that coloring a shape with full transparency makes it equivalent to blank, and I want to use pictures and & instead of a distinct union, to avoid adding too many similar functions.

I think there may be a synergy between this and #1397.  My theory on #1397 is that &, which is currently used to overlay images, is just too much like the English word.  One could imagine replacing it with a different operator.  I might choose |+| because it sort of looks like overlaying two images (from a side view).  That opens the door to |*| for intersection, and |-| for subtraction.
I think this definitely needs field testing before making a decision.  I'll have to see whether I can find a good setting for that field testing.