feat: go type mapping per query argument

Extends the query annotation to specify custom go types using the same
qualified go type format as for the general custom type mapping.
Closes #46

@jschaf This is something I need for one of my use case (see #46 for details) so I'm working on an implementation. It's missing the mapping of return columns, tests, and docs, but you can have a look at the mapping of query arguments (inputs) already if you have the time.
If you think this is something you are definitely not interested in merging, I'd appreciate if you would let me know so I don't waste too much time on it :wink:

Thank you for diving into the codebase. I'm in favor of the change so happy to keep working with you on this PR.
The main thing I'm focused on is how to present the options for the user to keep the interface as simple as possible. I've had a number of requests which essentially boil down to more configurable type mappings (#65). I think the answer is to support an intermediate unmarshal type that's responsible for converting the Postgres type into the destination Go type, so timestamptz to time.Time in the below example.
--go-type timestamptz=github.com/jschaf.TimeUnmarshaller=time.Time

I'd like the syntax to be pretty similar between the query files and command line so I'm interested in what the SQL file would look like (ignoring the intermediate idea since that's out of scope for this work).
-- name: FooBar go-type: timestamptz=time.Time :many

Interesting. I can definitely adapt the parsing to be more like the command line arguments. The current format matches what is specified in #46, which in turn is inspired by the current (name: ...) annotation. Taking into account your feedback, I would propose something like:
-- name: GetDailyFlightsFromAircraft :many
-- arg: day=github.com/0xjac/custom-project/types.Day
-- return: departure=time.Time
-- return: eta=*time.Time
SELECT f.flight_number, f.departure, f.arrival, f.eta
FROM flights f
WHERE pggen.arg("day") <= f.departure AND f.departure < pggen.arg("day") + 1
ORDER BY f.departure DESC;

Few things to notice:

The left side of the equal refers to an arg name (for arg:) or a column name (for return:) not a pg type.
The name:, arg:, return: annotations should be in this order. I.e. no arg: after a return:. However the order amongst multiple arg: and return: is free.
Each type mapping should be on a separate line (for readability)
The arg/return type mapping takes precedence, but is not mandatory. If omitted the global type mapping (--go-type via CLI) is considered and then the type inference (as is already the case). Here the f.arrival column will have the go type from which ever globally mapped or inferred type there is for a TIMESTAMP.
The user can specify a go type which is incompatible with the underlying pg type. The type conversion will fail at runtime. (Similar to a bad type map provided globally).

The intermediate unmarshal type idea is interesting but indeed out of scope. Here is a few thoughts that might help tho:
Using a combination of query specific type map on the return return:  (once I've implemented it) and ROW() to return a "single column" and map it to a single custom made struct which implements something like the BinaryDecoder and TextDecoder interface and contains all the unmarshalling logic, it should be possible to unmarshall into pretty much any thing with little to no work on the pggen side. And it makes the config easier: No need to provide an intermediary type. The drawback is that the user here might have to write some structs for the result manually and do the whole decoding logic by hand.

Nice, detailed writeup!
Agreed that we probably need multi-line with this change. Couple tweaks:

For ease of parsing, I'm in favor of using a pggen prefix to identify metadata lines. Otherwise, we'd need to do something like find the last instance of --name and require all lines after it begin with pggen-approved prefix.
I think columnType reads better than return. Then for consistency, arg becomes argType.

-- pggen: name: GetDailyFlightsFromAircraft :many
-- pggen: argType: day=github.com/0xjac/custom-project/types.Day
-- pggen: columnType: departure=time.Time

I think you nailed the precedence. Enforcing order of argType and columnType is a good thing to enforce early.
I approve of the design with the naming changes (arg -> argType and return -> columnType) and pggen prefix on comment lines. Happy to debate if you feel strongly otherwise.
Sounds like you have a reasonable handle on how to approach the implementation but let me know if a high-level breakdown would help. From my end, I'll be looking closely at:

not breaking backwards compatibility
testing coverage

Do we allow "comment" lines without the pggen: prefix in-between or after the lines with the prefix?

I think not. Easier to start strict and allow flexibility later.

But this breaks compatibility because of the new prefix. Therefore, I propose we support a name: line both with or without the pggen: prefix.

Agreed, we're aligned there.

Regarding tests, I will obviously provide tests with this PR. I'm still in the playground/specs phase now but once that is done, I'll start adding the required tests.

Sweet, sounds like a plan.


cmake, ci: Lint with include-what-you-use

https://include-what-you-use.org/

I forgot that this tool doesn't always generate high-quality suggestions...

CAVEAT This is alpha quality software -- at best (as of July 2018).

https://github.com/include-what-you-use/include-what-you-use/blob/master/README.md#caveat


WASM Working Group

Recently, we're talking with different communities on how to support WASM (WebAssembly) in the cloud-native environment; and we found it's necessary to align different implementations with specifications.
So I'd like to propose a new working group for WASM and build related specifications for the community.
I'll draft a proposal with more detail on that working group; if any more comments, please let me know.

This is a great idea. Fermyon would be happy to help out however we can.

I am in too ! Great idea

Awesome 👍

Count me in!

Late to the game on this one but I'm very interested.
On Fri, Apr 7, 2023, 4:45 PM Jiaxiao Zhou @.***> wrote:

Count me in!
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/tag-runtime/issues/58#issuecomment-1500629351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADI4TIO36HKKS6TQ5NXGQMLXAB4HRANCNFSM6AAAAAAWWYP7YM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

+1 would love to see this
@helayoty I'd love help getting the Wasm landscape out of alpha state too! https://landscape.cncf.io/wasm
If this WG can help with that... THAT WOULD BE AWESOME :)

Count me in🙂

Count me in please 🚀

I would love to be a part of this. I have been learning and exploring ways to transform applications to use WASM. It would be great to be a part of this WG and shape this.

count me in as well, our team has been recently experimenting with wasm+sql. Shall we have a get-together at AMS ?

I am in!
This is going to be amazing

I'd love to join the working group since we have plans to use wasm at github.com/k0sproject/k0s

I am in too 🚀

Count me in 🥂

I'm on board, like a surfer ready to catch a wave!

We at Dylibso would love to help out!

Awesome Idea, I'm super interested!

Happy to be involved if I can help!

Happy to be involved and offer help!

Great initiative, very interested to contribute!

Great idea! We at Wasm Labs would be happy to help :)

Hey all, i heard about the announcement of this working group in the Kubecon EU keynote today & would love to join and help out as well, in any way i can :)

great idea! I am in too🚀

Count me in! This is going to be amazing:rocket:

This is awesome! I would love to be a part of this, please count me in 🚀

Many thanks, everyone, for your interest.  The next step for us is to start creating a charter (draft can be found here), and we'd like to include co-chairs and tech leads.  So if you are interested, please reach out to me (@Heba).

Hello all, software enginner at Docker and maintainer of moby and runwasi, I would love to help with the working group

FYI.
Latest draft proposal (Same link as before).
Additional discussion happening here (#wg-wasm slack channel)
Thanks!


Update versions of Commons Logging and Log4j

Motivation:
Some logging libraries integrated by Netty do not support explicit modules in their current version

Log4j: named automatic
Commons Logging : automatic module only

Recent versions do support explicit modules

Log4j 2.23.1 ships a module-info descriptor
Commons Logging 1.3.4 ships a module-info descriptor

Changes:
Upgrade Log4j to 2.23.1 and Commons Logging to 1.3.4
Results:
More recent logging libraries, note these libraries are optional.
Fixes #14259

@vietj there is a test-failure... please check

@normanmaurer having a look

Took me a while to find the issue: a conflict between Log4j-1.2 test and Log4j2 tests, I updated the test to use the actually needed level to disable instead of the guess strategy that was used.
I used my fork to debug test in CI, I did not realise it would also affect this PR (should have been done in a separate branch), please apologise for consuming extra project CI resources unwillingly.

@vietj thanks a lot... is this also something we should cherry-pick into 4.1 or would this cause breakage ?

I think it should be fine because those are optional dependencies and users need to choose a version.
the only potential issue I see is binary incompatibility of the upgraded libraries.

but even then people should be able to just specify the versions by themself so I guess it should be fine...

yes I agree, in practice persons have to specify the version since netty
declares as optional
On Wed, Aug 28, 2024 at 9:58 AM Norman Maurer @.***>
wrote:

but even then people should be able to just specify the versions by
themself so I guess it should be fine...
—
Reply to this email directly, view it on GitHub
https://github.com/netty/netty/pull/14261#issuecomment-2314597478, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABXDCRACZPAPTMBSINVQADZTV7ITAVCNFSM6AAAAABNEHI222VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJUGU4TONBXHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Ensure fuel.server works with scalar features by working around a numpy bug

When using ServerDatastream, scalar features get turned into length-1 vectors.
I tracked it down to a bug with numpy.ascontiguousarray, which this commit works around: ascontiguousarray makes scalars into arrays (https://github.com/numpy/numpy/issues/5300)

It looks good to me, but I do not know much about this part of Fuel. @dwf, @vdumoulin ?

Likewise. @mjwillson could you also add a unit test in fuel/tests/test_server.py to show exactly how Fuel is currently failing and how your fix solves the issue?

It looks like from that numpy ticket that the simpler (and future proof)
thing to do is to call ascontiguousarray with ndmin=0. What do you think?

so ascontiguousarray doesn't have that argument, it has ndmin=1 hardcoded internally as an argument to array.
It looks like you could call np.array yourself without that argument though, as np.array(feature, copy=False, order='C'), so maybe that's a better way to go

@mjwillson I'm doing a cleanup of the open PRs. Would you still like to go ahead with this one?

I'm not using fuel right now so probably won't get around to doing any further work on it soon. Seems like a worthwhile (and easy) fix to make though. Sorry about lack of test, I guess consider it a bug report with a "works for me" fix attached.

No problem, thanks for letting me know! I'll close the PR for the meantime.


Extremely Poor Framerate/Performance in a Simple Template Project

Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; <IP_ADDRESS>22) - 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 Threads)
Issue description
I downloaded the Kenney 3D Platformer Template  to start learning Godot, but noticed that the framerate of the editor as a whole was extremely poor while the main game scene was open.
Trying to play the game through the editor yielded around 10 FPS, with a release build giving 10-20 FPS. The template is minimal, with only some platforms, physics objects, and a player controller, so I would expect the framerate to be fine, even on my fairly mid performance laptop.
Disabling the visuals for the platforms and environment did not improve performance noticeably, and the profiler shows that most of the frame time goes to "Process Time"

Since this seemed to be unrelated to rendering, I tried disabling the player controller (commenting it out), which did not improve performance noticeably.
Steps to reproduce
Open the project in godot and try panning the editor camera/playing the game. All aspects of the editor seem to be affected by the low framerate (on my end at least)
Minimal reproduction project
Note: This has a few changes from the default Kenney Template, such as an FPS label and the environment set to non-visible.
Kenney3DPlatformerAsset.zip

That project uses 8× MSAA, which is very demanding and should never be used on integrated graphics. Disable it in the project settings, and you should see FPS more than double.

Thanks so much for the reply!
I did as you suggested:

Disabled glow, SSAO, SSR, SSIL, SDFGI
Disabled MSAA
No VoxelGI nodes, from what I can tell
Turned on half resolution anyways

This gets me to around 30 fps with the scene visible, and setting the rendering scale to 0.5 gets me to 45 fps. Release build is identical. Is this performance about expected?
My past experience with Unity makes me feel like this is still quite a bit below expectations, especially on minimum settings, but I'm assuming my knowledge is lacking somewhere.

Is this performance about expected?

With the Forward+ rendering method, it sounds expected. You can get better performance by switching to the Mobile rendering method (or Compatibility, but it currently lacks support for rendering shadows).

Switching to mobile seemed to make the biggest impact. Thanks for all the help!


Automator: update istio/client-go@master dependency in istio/istio@master

Generated by Automator - 2021-06-30T06:37:21+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
f6e3259c2b8a5569dc91a20ad70fd9f19903c424
link
/test integ-operator-controller-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Playlists#edit broke because it uses simple_fields_for

Error in alonetone
ActionView::Template::Error in playlists#edit
undefined method `simple_fields_for' for #ActionView::Helpers::FormBuilder:0x00007f730c2e7288
View on Bugsnag
Stacktrace
app/views/playlists/edit.html.erb:24 - block (3 levels) in _app_views_playlists_edit_html_erb___3190155390275171306_70066054128140
app/views/playlists/edit.html.erb:19 - block (2 levels) in _app_views_playlists_edit_html_erb___3190155390275171306_70066054128140
app/views/playlists/_playlist_layout.erb:49 - block in _app_views_playlists__playlist_layout_erb___3362417248021336244_70066058122840
app/helpers/record_tag_helper.rb:99 - content_tag_for_single_record
app/helpers/record_tag_helper.rb:85 - block in content_tag_for
app/helpers/record_tag_helper.rb:84 - map
app/helpers/record_tag_helper.rb:84 - content_tag_for
app/helpers/record_tag_helper.rb:32 - div_for
app/views/playlists/_playlist_layout.erb:1 - _app_views_playlists__playlist_layout_erb___3362417248021336244_70066058122840
app/views/playlists/edit.html.erb:7 - block in _app_views_playlists_edit_html_erb___3190155390275171306_70066054128140
app/views/playlists/edit.html.erb:4 - _app_views_playlists_edit_html_erb___3190155390275171306_70066054128140

View full stacktrace
Created by sudara via Bugsnag

An error linked to this issue has been reopened in Bugsnag
ActionView::Template::Error in playlists#edit

An error linked to this issue has been marked as fixed in Bugsnag
ActionView::Template::Error in playlists#edit

An error linked to this issue has been reopened in Bugsnag
ActionView::Template::Error in playlists#edit


treewide: Replace EntityType by EntityState

This is a rather big change and needs some review. The API changes however are minimal.

This would lead to a rather big time waste getting everything in our exercise sheets and Task/Solution classes up to date for minimal benefit. Is there a reason to merge this request before monday or can it wait until after the java introduction course is finished?

The places where the tasks and solutions have to be changed are extremely easy to find via the compile errors. It took me 2 minutes to do all of the needed changes locally.
With this change, students can add Entity classes without modifying the ICGE.

That is a good point for Luigi. However the rendering and collisions still use hardcoded class checks. So entityState at least needs a method like isSolid() and one like getSpriteSet() or getSpriteId()

Such stuff can be added in the future no matter whether we merge this PR or not.
Here is a patch for the current master of FIUS/JVK-2018@d014405d79f2ef1f7fd23829703eeeb2ad072404 :
FIUS-ICGE-pull-37.txt

But then we have exactly the same situation as with EntityState. We have to implement both the EntityState and the EntityClass for luigi for us to be able to show the correct sprites for luigi. We can do the same with the current EntityType and already have a finished pr for that.
As EntityType and EntityState rely on different concepts to work they look and feel quite different. The developers of the tasks would also need time to adapt to this change.

In the tasks there was conceptually a single thing that changed: Instead of EntityType.WALL, use WallState.class. (Same for other EntityTypes.)
The finished PR for Luigi just adds Luigi but the students cannot write Luigi themselves. If you'd remove the Luigi class from the PR, it wouldn't compile, since the EntityType.LUIGI in the ICGE uses Luigi::new. The only way to introduce new Entitys would be to prepare the corresponding EntityType in the ICGE and also create the Entity's class with an empty constructor.

We could also change the EntityType enum to include a createEntity() method that does not work for luigi. As this method would only be called if luigi is set via a territory editor which we never do this would have nearly the same effects as this pr with minimal changes. Since the course starts on monday i would prefer minimal changes...

Is there any problem with the PR besides that the tasks have to use new WallState() instead of EntityType.WALL?
Besides the possibility to add arbitrary new Entity classes, this PR also has the useful effect that entity state is never lost when using setTerritory().
I updated the PR to use our newest master such that it merges fine.
Also, here's the patch for the current master of FIUS/JVK-2018@d014405d79f2ef1f7fd23829703eeeb2ad072404 which includes the necessary pom.xml change:
FIUS-ICGE-pull-37.txt


Rename token to assetHash for spot assets

Up until now we have used the name token and assumed it's a PedersenHash when dealing with spot assets (for example in VaultLeaf and vaults table). After recent refactoring we have a proper AssetHash type for spot assets. We also know it's not a Pedersen hash but a sliced Keccak.
This PR renames token to assetHash and the type from PedersenHash to AssetHash. The name token is preserved only in zed parsing code as this is the name that comes from DAC.

Should't the type of the token property here also be changed?

Shouldn't PedershenHash0x here be renamed to AssetHash?

@Wendrowiec13 good spot, fixed.


[ 11.x ] Adds ability to manually fail a command from outside the handle() method

In a large and complex artisan command where smaller bits are extracted into separate methods (each of which is a possible failure point), we have a couple of options to exit with a non-zero exit code without dumping the entire Exception.
We can wrap the method call in a try/catch, and return in the catch block.
    public function handle()
    {
        try {
            $this->trigger_failure();
        } catch (ManuallyFailedException $e) {
            $this->error($e->getMessage());

            return static::FAILURE;
        }
    }

    protected function trigger_failure()
    {
        throw new ManuallyFailedException("whoops!");
    }

We can use a return value and wrap it in an if block.
    public function handle()
    {
        [$result, $error] = $this->trigger_failure();
        if (!is_null($error)) {
            $this->error($error->message);

            return static::FAILURE;
        }
    }

    protected function trigger_failure()
    {
        return [false, (object) [
            'message' => 'whoops!',
        ]];
    }

These obviously work just fine, but it's a paper cut I've run into many times. The Queue has a $this->fail() convenience method, so I've implemented one on the Command class to mimic it. This new approach feels more readable, and more intuitive. Since we're only working with a custom Exception, backwards compatibility is fully maintained. Here's an example of this new method of failing a command outside of the handle() method:
    public function handle()
    {
        $this->trigger_failure();
    }

    protected function trigger_failure()
    {
        $this->fail('Whoops!');
    }

@ProjektGopher feel like submitting a docs PR for this? 😊


#1768: Fix using Uploadcare library in list widget

Fixes #1768
Summary
The problem was caused by loose checking value for array type (plain or immutable) using typeof value === 'object'. In case of usage at list widget, value passed to #getFiles was null which also an object. So I did this check explicitly for the plain array and the Immutable Iterable.
Test plan
And now it works.

Deploy preview for netlify-cms-www ready!
Built with commit 524e63fc12a24aa6c9efbbacfc01b87a47d9f5e6
https://deploy-preview-1774--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 524e63fc12a24aa6c9efbbacfc01b87a47d9f5e6
https://deploy-preview-1774--cms-demo.netlify.com

Any updates?

@nd0ut sorry for the delay - thanks for this, looks great 👍


Deeplake docs fixes

Updated Deep Lake Vector Store's examples to use latest up-to-date API also fixed deprecated embedding_function related warning

you'll want to add redirects to docs/docs_skeleton/vercel.json for the two notebooks that were renamed, e.g.
{
  "source": "/docs/integrations/vectorstores/deeplake"
  "destination": "/docs/integrations/vectorstores/activeloop_deeplake"
}

Thanks for reviewing! Addressed comments. Hopefully I haven't messed up anything! Also what do you think of code understanding example, should move two examples into one place, as they basically duplication of each other?

fixed up and landed in #9275, thanks @adolkhan!


updating pnpm fails

My changeset updates pnpm.

log
Run<EMAIL_ADDRESS>Added /root/.proto/bin to PATH
Attempting to restore cached toolchain
Received 0 of 571765[9](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:10)9 (0.0%), 0.0 MBs/sec
Received 0 of 57176599 (0.0%), 0.0 MBs/sec
Received 12582912 of 57176599 (22.0%), 4.0 MBs/sec
Received 29360128 of 57176599 (51.3%), 7.0 MBs/sec
Received 37748736 of 57176599 (66.0%), 7.2 MBs/sec
Cache Size: ~55 MB (57176599 B)
/usr/bin/tar -xf /tmp/runner/work/_temp/6251a163-ff68-45c0-a6a4-56caa05fb8ed/cache.tzst -P -C /tmp/runner/work/somerepo/somerepo--use-compress-program unzstd
Received 57176599 of 57176599 ([10](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:11)0.0%), 9.1 MBs/sec
Cache restored successfully
Toolchain cache restored using key moonrepo-toolchain-linux-7d7d03c96da36032435c775de0f0fcf039fe13e5304476b85[12](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:13)684a2e7696c7f
Installing `proto` globally
Downloading installation script
Downloaded script to /root/.proto/temp/proto.sh
Executing installation script
Installed binary to /root/.proto/bin/proto
Installing `moon` globally
Downloading installation script
Downloaded script to /root/.proto/temp/moon.sh
Executing installation script
Installed binary to /root/.proto/bin/moon
Auto-installing tools
[ INFO 2023-10-18 18:07:27] proto::commands::install:install_all  moon has already been installed at ~/.proto/tools/moon/1.[15](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:16).1
[ INFO 18:07:28] proto::commands::install:install_all  Node.js has already been installed at ~/.proto/tools/node/18.18.2
[ INFO 18:07:29] proto::commands::install:install_all  Rust has already been installed at ~/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu
Error: fs::rename

  × Failed to rename ~/.proto/temp/pnpm/8.9.2-[16](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:17)9765[24](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:25)48700 to ~/.proto/tools/
  │ pnpm/8.9.2.
  ╰─▶ Directory not empty (os error [39](https://github.com/prabirshrestha/somerepo/actions/runs/6557537636/job/17831967257?pr=284#step:4:40))
  help: Does the source file exist?

Here is the screenshot log in case it wasn't copy pasted correctly.

- uses<EMAIL_ADDRESS>  with:
    auto-install: true
    moon-version: 1.15.1
    proto-version: 0.19.2

Seems like if the destination folder exists, it needs to delete it before renaming?

@prabirshrestha I do just that in 0.19.3, can you give that a try? https://github.com/moonrepo/proto/releases/tag/v0.19.3

Works. Thanks.


Severe lag when editing the narrative body

There is a severe lag when typing in the editing box. I'm not a very fast typer but it's still really noticeable.
I've tried Firefox to see if that solved things (lighter browser than Chrome) but it's still just as bad. I also don't have that many tabs open and I use high speed internet.

 I also cleared my cache, browsing history (etc.) in both Chrome and Firefox

Lol well I’m stumped 🤷♀
@dethe, any ideas?

S'ok I've got a work-around: I'm now editing in .net or a Google Doc and then copy-and-pasting into xyz. Format transfers nicely (unlike .net!) as do hyperlinks :)

fixed with https://github.com/participedia/api/pull/354


chore: compat windows page store path

Codecov Report

Merging #819 (2bdd5b7) into master (bfd8cd2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #819   +/-   ##
=======================================
  Coverage   51.94%   51.94%
=======================================
  Files          47       47
  Lines        1232     1232
  Branches      260      260
=======================================
  Hits          640      640
  Misses        592      592


Styling issues on add students part of create team - buttons are centered students arent

would be nice if we could justify buttons to flex end and center the student info text fields. couldn't figure this out right now and it isn't as important as other tickets so placing in backlog.


Add support for CSI volumes

Description
Add support for CSI volumes

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

/azp run wso2-opensearch-k8s-operator-pr


Conflict with function-name-case rule

Problem
Camel case function imported from vendor are lower-cased by this rule:
@import "bulma/sass/utilities/functions";
$coral: #e14a4b;
$coral-invert: findColorInvert($coral);

In this example, the function will be turned to findcolorinvert.
The expected behavior would be to not be touched at all, as the function is declared like this.
Workaround
I first search a way to disable the rule for .scss files, but I didn't see anything like this on stylelint configuration.
The only possible workaround is to completely disable this rule.
I'm not sure it's an issue about this plugin or stylelint itself, so I first opened this issue to get some opinions.

Thanks @soullivaneuh!
You should post the same issue to https://github.com/stylelint/stylelint as the rule if part of stylelint itself and there is nothing we can do about it here :)

I was guessing that, thanks for the confirmation. :+1:


Windows 11, Strawberry Perl 5.32 64 bit. Install fails

cpanm --force gets the job done. Haven't tested the result yet, but will update this if I find issues over the next few days.
build.log

Yes - the error is "merely" that there is a timing/understanding issue between the tests and Chrome and sometimes the id of a node cannot be retrieved as it is zero.
I don't know what causes this, but it is a known issue and usually temporary.

if it's timing, could a wait and retry fix it?
On Mon, 16 May 2022 at 04:24, Max Maischein @.***>
wrote:

Yes - the error is "merely" that there is a timing/understanding issue
between the tests and Chrome and sometimes the id of a node cannot be
retrieved as it is zero.
I don't know what causes this, but it is a known issue and usually
temporary.
—
Reply to this email directly, view it on GitHub
https://github.com/Corion/WWW-Mechanize-Chrome/issues/65#issuecomment-1126973535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJJGZ6ZMGXN5RHP6TROOZDVKEQLXANCNFSM5V7JOQQQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update swagger-extensions.md with an example of how to document enumeration values

Expand upon the x-ms-enum usage example to better show how to document enum values.

Congratulations, stankovski!
Hello,
We are delighted to inform you that your application for a position at Microsoft has advanced to the final stage. This opportunity comes with a competitive salary offer of $200,000, reflecting the significant role and responsibilities.
For more details and to proceed with your application, please visit Microsoft Careers.
Next Steps:

Confirm Interview Date

Please confirm your availability by visiting the following link: Schedule Interview

Prepare for Your Interview

Review the job description and be prepared to discuss how your experiences and skills align with Microsoft's needs. Further information can be found at Microsoft Careers.

Review Offer Details

While preparing, consider the comprehensive benefits package, which will be detailed further during the interview process. Additional details are available at Microsoft Careers.

Thank you for your interest in joining Microsoft. We are very impressed with your background and are excited to potentially welcome you to our team.
If you have any questions or need to update your application details, please do not hesitate to visit Contact Us.
Best Regards,
Microsoft Hiring Team

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


messages do not come

messages do not come

Messages appear to be working for me. Can you be more specific about your issue is? Where are you sending the emails from/what service are you signing up to? Could you give me the email address burner.kiwi gave you?

After reviewing your GitHub profile and issues on other repos it appears you're trying to perform some botting activity in CSGO. The version hosted on https://burner.kiwi specifically blacklists emails for steam. I suggest you look elsewhere to do this.

I created a automatic create steam accounts, but i need email  where i can register steam.
But I do not know if it's worth it, because when I did a "semi-automatic" script, after a few 5 accounts I had to wait a few minutes because the limit was.

Please see previous response.


Weird wildcard route behaviour when specifying methods

Hi,
while working on a new personal project, I've noticed a strange behaviour for wildcard routes:
I've configured the following route:
{
    "routes": [
        {
            "route": "/api/*",
            "methods": [
                "PUT",
                "POST",
                "DELETE"
            ],
            "allowedRoles": [
                "admin"
            ]
        }
    ]
}

In addition, in the project I have the following C# API:

GET /api/books (gets all books in Database)
GET /api/books/{id} (gets the book with {id} from the db)
POST, PUT and DELETE for the books are only mocked via proxies.json

The behaviour I'd expect from my understanding is that the GET requests should be available to all users, while POST, PUT and DELETE should require a logged in user with the admin role.
However, when activating this route, I get a 403 error for all methods when I'm unauthenticated.
Once i remove the route again, every method returns their backend success code.
I'm testing on Windows with<EMAIL_ADDRESS>Am I missing something or is there a better way to imlement such a authentication requirement?
I'd appreciate any help!

Hey @lauralani , just to confirm, are you using the routes.json or are you using the staticwebapp.config.json?

Hey @miwebst , I'm using the staticwebapp.config.json. In fact, you can see the file from when it happened here.
On further testing I've learned that the issue only seems to happen when testing with swa start --api api, and not when deployed to the actual Static Web App in Azure. So I don't know how relevant the issue is for this repo.

@manekinekko I think this is a bug in the swa cli, can you take a look?

Oh okay that makes sense. We've identified some issues with routes in the CLI and are working on rewriting part of the CLI's routing engine to better match production. https://github.com/Azure/static-web-apps-cli/issues/186
Transferring this issue to the CLI repo.


Script Execution in External System Terminal Fails on Numpy import

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When executing a script that utilizes the numpy package in and external system terminal, numpy fails to import with 'DLL load failed' error messages. This behavior ONLY occurs when a python interpreter (with numpy installed) is selected other than Spyder's default AND the conda environment that spyder is installed into does not have the optional dependencies installed (e.g. numpy). The error does not occur if the optional dependencies (e.g. numpy) are installed into the conda environment spyder is installed into and the script run from the alternate python interpreter, or when the script is run in a dedicated ipython console in the IDE, with or without optional dependencies installed in the conda environment with Spyder.
What steps reproduce the problem?

Install Spyder without the optional dependencies
Build a simple test conda environment with only numpy and spyder-kernels, and their dependencies
Start Spyder and change the python interpreter to the conda environment created in step 2
Execute a simple test script (import numpy and print the version) from Spyder in an external system terminal

What is the expected output? What do you see instead?
The script is executed in an external system terminal successfully
Paste Traceback/Error Below (if applicable)

Traceback (most recent call last):
  File "C:\Users\****\Anaconda3\envs\numpy-test\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "C:\Users\****\Anaconda3\envs\numpy-test\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "C:\Users\****\Anaconda3\envs\numpy-test\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\****\Desktop\test.py", line 1, in <module>
    import numpy as np
  File "C:\Users\****\Anaconda3\envs\numpy-test\lib\site-packages\numpy\__init__.py", line 145, in <module>
    from . import core
  File "C:\Users\****\Anaconda3\envs\numpy-test\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.9 from "C:\Users\****\Anaconda3\envs\numpy-test\python.exe"
  * The NumPy version is: "1.20.2"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: DLL load failed while importing _multiarray_umath: The specified module could not be found.

 You said

AND the conda environment that spyder is installed into does not have the optional dependencies installed (e.g. numpy)

Then please install Numpy in the same environment as Spyder is installed. There's really no other alternative or workaround we can offer you at the moment, sorry.


No ARM build of Electron ==> No Visual Studio Code for ARM Linux

There is no ARM build of Electron.
This prevents Visual Studio Code from being compiled for ARM Linux.
https://code.visualstudio.com/Issues/Detail/17414

This is a duplicate of #366.


v5.0.4

Merge pr #215 & #216 by @SettingDust

Replace jsdom with linkedom
Improve typescrypt declaration

Update dependencies

Coverage remained the same at 100.0% when pulling e05ed63d61a4330e97f1c2c1eb66d02bc0504245 on v5.0.4 into f1e9a52f59ebc8003bddf662d63a68324d4e4be8 on main.


Is it possible to deepmerge an HTML dom object?

const slotElm = document.getElementById('test-btn');
    const obj_1 = {
      slot: slotElm,
    };
const obj_2 = deepmerge({ name: 'test' }, obj_1);
console.log('after merge:', obj_2)

Run this code snippet, i got the error above. It seems that deepmerging an html element is not supported. Could anyone tell me the reason of that? Thanks a lot~~~

Look like the problem you have here is slotElm isn't a "plain object" and deepmerge is using its default cloning under the hood which only handles cloning of "plain objects".
There are 2 easy solutions to fix this.
Either tell deepmerge to not clone by setting the "clone" option to false,
or tell deepmerge that DOM Objects are not mergeable (/cloneable) by setting the isMergableObject option (see: https://github.com/TehShrike/deepmerge#ismergeableobject - you probably want to use is-plain-object).

It is unlikely this will be supported. Unless the implementation used symbol to track where the algorithm has traversed.
DOM objects have references to itself this is why you get RangeError, it is likely to be causing infinite recursion at fails after 50 levels of depth or so.

Also I believe most DOM elements have internal state that prevents them from being cloned by userland code.
You probably want Node.cloneNode()


Better management of non-monotonic grids in index research

Looks good to me; happy for this to be merged


Running "code ." on MacOS from terminal with non-latin characters in path opens non-existing file instead of current folder

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

VS Code Version: 1.61.0
OS Version: Darwin X64 20.6.0 (macOS Big Sur 11.6)

Steps to Reproduce:
Execute in Terminal (iTerm2 in my case, but works in any terminal):

cd && mkdir -p ttt/рус/eng && cd ttt/рус/eng
code .

Expected results (as they were couple weeks ago): VSCode launches and opens current folder ttt/рус/eng
Actual results: VSCode launches without opened folder but with an editor tab for a new nonexisting file ~ttt/ÑÑÑ/eng

Perhaps a duplicate of #134696


HAWQ-870. Allocate target's tuple table slot in PortalHeapMemory during split partition

merge GPDB split-partiton optimization
Origin GPDB PR:
greenplum-db/gpdb#866

@stanlyxiang @wengyanqing please help to review, thanks!

+1

+1

Thanks.

Already merged?


variant visualizations

replaces  #439
I believe I addressed the comments from @akmorrow13  about

plotting commands on the notebook side
sphinx compatible docstrings ( though I haven't tested sphinx yet)
more systematic class names

Coverage remained the same at 71.934% when pulling 7e644905f1720102e9658dd49203b56665ccb214 on jpdna:var_graphs2 into 56fbf235e68fa4cf5e49d493b59647e7c422e58b on bigdatagenomics:master.

Coverage remained the same at 71.934% when pulling 7e644905f1720102e9658dd49203b56665ccb214 on jpdna:var_graphs2 into 56fbf235e68fa4cf5e49d493b59647e7c422e58b on bigdatagenomics:master.

Do we need mango-core/src/test/resources/exome_chr22.adam? If so, can we add the bam file instead so adam updates do not break the test file

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

It'll be a VCF file not a BAM as we need variants/genotypes.  I will make a suitable one, we do need this for the purpose of the notebook demo and when I looked earlier there was not something in the existing test/resources that worked for these  purposes yet.

To verify that the sphinx docstrings conform  correctly I just need to do make html in the docs folder?

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

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/754/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/756/
Test FAILed.

It looks like there is no visualization generated from 350 GB of variants

Can you point me to the input file?

@jpdna /data/sgdd/analysis/*.annotated.nh.vcf.gz. I assume there is no quality information for this but there should be a check so it does not return empty.

To investigate the performance issue, I tried loading the example variant file:
/data/sgdd/analysis/LP6005442-DNA_F12.annotated.nh.vcf.gz

into the adam-shell in scala on the cluster, and am surprised to run into this problem
val geno = sc.loadGenotypes("hdfs://theamplaburl:8020/data/sgdd/analysis/LP6005442-DNA_F12.annotated.nh.vcf.gz")
geno: org.bdgenomics.adam.rdd.variant.GenotypeRDD = RDDBoundGenotypeRDD with 86 reference sequences and 1 samples

(geno.rdd.count and geno.dataset.count() and geno.dataset.saveAsParquet) fail in the same way as below)
scala> geno.rdd.take(1)
18/10/26 08:11:19 WARN scheduler.TaskSetManager: Lost task 0.0 in stage 0.0 (TID 0, amp-bdg-47.amplab.net, executor 28): java.lang.NumberFormatException: For input string: "49.75"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)
	at scala.collection.immutable.StringOps.toInt(StringOps.scala:29)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$toInt$2.apply(VariantContextConverter.scala:1290)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$toInt$2.apply(VariantContextConverter.scala:1290)
	at org.bdgenomics.adam.converters.VariantContextConverter.org$bdgenomics$adam$converters$VariantContextConverter$$tryAndCatchStringCast(VariantContextConverter.scala:956)
	at org.bdgenomics.adam.converters.VariantContextConverter.org$bdgenomics$adam$converters$VariantContextConverter$$toInt(VariantContextConverter.scala:1288)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$lineToVariantContextExtractor$5$$anonfun$apply$53.apply(VariantContextConverter.scala:1474)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$lineToVariantContextExtractor$5$$anonfun$apply$53.apply(VariantContextConverter.scala:1474)
	at scala.Option.map(Option.scala:146)
	at org.bdgenomics.adam.converters.VariantContextConverter.org$bdgenomics$adam$converters$VariantContextConverter$$variantContextFieldExtractor(VariantContextConverter.scala:1437)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$lineToVariantContextExtractor$5.apply(VariantContextConverter.scala:1474)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$org$bdgenomics$adam$converters$VariantContextConverter$$lineToVariantContextExtractor$5.apply(VariantContextConverter.scala:1472)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$76.apply(VariantContextConverter.scala:1742)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$76.apply(VariantContextConverter.scala:1742)
	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
	at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104)
	at org.bdgenomics.adam.converters.VariantContextConverter.org$bdgenomics$adam$converters$VariantContextConverter$$convert$1(VariantContextConverter.scala:1742)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$makeVariantFormatFn$1.apply(VariantContextConverter.scala:1756)
	at org.bdgenomics.adam.converters.VariantContextConverter$$anonfun$makeVariantFormatFn$1.apply(VariantContextConverter.scala:1756)
	at org.bdgenomics.adam.converters.VariantContextConverter.convert(VariantContextConverter.scala:341)
	at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadVcf$1$$anonfun$apply$15.apply(ADAMContext.scala:2170)
	at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadVcf$1$$anonfun$apply$15.apply(ADAMContext.scala:2170)
	at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
	at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
	at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:439)
	at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:389)
	at scala.collection.Iterator$class.foreach(Iterator.scala:893)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)
	at scala.collection.AbstractIterator.to(Iterator.scala:1336)
	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)
	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1336)
	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:289)
	at scala.collection.AbstractIterator.toArray(Iterator.scala:1336)
	at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$29.apply(RDD.scala:1354)
	at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$29.apply(RDD.scala:1354)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2069)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2069)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
	at org.apache.spark.scheduler.Task.run(Task.scala:108)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:338)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

My Spark version is: version 2.2.1 Using Scala version 2.11.8
My ADAM version os 0.24.0 from adam-distribution-spark2_2.11-0.24.0
I haven't successfully loaded this file:
LP6005442-DNA_F12.annotated.nh.vcf.gz
previously so problem may be specific to that file, but I think @akmorrow13  has loaded that file successfully as she was testing and identified a performance problem not an error.
Any thoughts @heuermh or @akmorrow13 ?

I would guess that is a more or less invalid VCF file, where they are trying to use floating point numbers in an integer attribute.  Try ValidationStringency.LENIENT on load.

I would guess

Thanks, @heuermh with LENIENT it  works.
My next step it to see how long just a load and scan or count operation takes in scala, to benchmark whether my query that is being performed in Mango can be improved.  So far its not looking good as Spark console says 0/205 complete after 9.3 minutes just doing count.
Todo:

rewrite the VCF file to parquet with files size to be so there are at least 20 parquet files to hopefully get some parallelism.
Sampling will work fine for these metrics like call-rate and het/hom anyhow, so I'll add those parameters now so that larger datasets can be used with existing code.

So far its not looking good as Spark console says 0/205 complete after 9.3 minutes just doing count.

Something doesn't sound right there, even if the VCF file is Gzipped and not Block Gzipped it shouldn't take that long.

It is a 27 GB file,  but even then 10 minutes sounds wrong to you?
I'm trying to filter just 20 MB on chr22 and write that to parquet:
val geno = sc.loadGenotypes("hdfs://amp-bdg-master.amplab.net:8020/data/sgdd/analysis/LP6005442-DNA_F12.annotated.nh.vcf.gz",stringency=ValidationStringency.LENIENT)
val geno2 = geno.filterByOverlappingRegion(ReferenceRegion("22",20000000,40000000))
geno2.saveAsParquet("hdfs://amp-bdg-master.amplab.net:8020/user/jpaschall/LP6005442-DNA_F12.vcf.testchr2.v3.adam")

And it has run for more than 10 minutes with 0/205 progress.
To test if the HDFS and my spark job config is working ok, I ran count in the same adam-shell session on a 15 GB BAM file
val x = sc.loadAlignments("hdfs://amp-bdg-master.amplab.net:8020/user/jpaschall/HG00096.mapped.ILLUMINA.bwa.GBR.low_coverage.20120522.mapped_only.bam",stringency=ValidationStringency.LENIENT)
x.rdd.count()

which completed in 1.2 minutes.
So, at least with our example VCF file above, I think there may be something bad going on in the VCF / genotype conversion readpath in general.

@jpdna I could not load LP6005442-DNA_F12.annotated.nh.vcf.gz so I downloaded vcfs from 1000genomes, found at /data/1000g.

@jpdna I have also been generally experiencing poor performance with vcf. with chr1 from 1000 genomes, I tried converting it to parquet. It ran for 6 hours with no progress so I cancelled it.

@fnothaft - do you know of any specific bottlenecks with VCF loading performance?

In what environment, what versions, and since when?

This was on the cluster, ADAM snapshot newest version, 10TB ram, 1273 v cores.

Thanks! I did not know that, trying on a vcf now. Do you think bgz be more or less performant than vcf?
Best,
Alyssa Morrow
<EMAIL_ADDRESS><EMAIL_ADDRESS>414-254-6645

On Oct 26, 2018, at 9:53 AM, Justin Paschall<EMAIL_ADDRESS>wrote:
@fnothaft https://github.com/fnothaft - do you know of any specific bottlenecks with VCF loading performance?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bigdatagenomics/mango/pull/448#issuecomment-433473693, or mute the thread https://github.com/notifications/unsubscribe-auth/AGM7-LVMDa80eT1mnHc1ty_Qlp9QwuDuks5uoz32gaJpZM4XaGSY.


Boolean filter generation fails for SQLite

Version
1.18.0
What happened?
Boolean filter expressions don't seem to get processed correctly. I can get it to work by changing the query slightly, but then I loose type information.
Relevant log output
No response
Database schema
create table my_table
(
    invalid boolean,
    foo     varchar
);

SQL queries
-- name: GetData :many
select *
from my_table
where (cast(sqlc.arg(allow_invalid) as boolean) or not invalid);

Configuration
No response
Playground URL
https://play.sqlc.dev/p/80e82864f4994ee1812495bbdfa2bd351fdfa43f1a15968dc61d192e79b22e28
What operating system are you using?
Linux
What database engines are you using?
SQLite
What type of code are you generating?
Go

Looks like we are at the very least not correctly handling the cast node correctly


Ordering for admin

Order by PK

Turns out by clicking on a header you can control the ordering

Still, I added default ordering for all admin pages. Some are by date created, 1 by id: VerificationEmail, and some by value (tags).

So we can keep track of the ordering, is it like this:

Verification Email: by ID number
Profile: by date of profile creation
Tags: by value


Using this extension with different kernals

Hi
Can i use this extension with a different Kernal
I like to use octave for my work
When is use Octave kernal

When i use python kernal

I am relatively new to using the notebook so any advice may have to be 'dumb-ed' down a bit

Sorry pictures are the wrong way around

So, to clarify,

You're talking about the pythonmarkdown nbextension, right?
It's the Octave kernel that you're having problems with? You can edit your posts after making them using the little pencil icon at the top right, if you make mistakes.

Although it's named python-markdown, I can't see in principle why it shouldn't support other languages. Essentially what happens is that the string inside the markdown curly brackets (presumably {{ a }} in your examples) is sent to the kernel for execution, then the return value is inserted into the markdown source. So, presumably, the octave kernel doesn't produce an appropriate output from the statement a. You could try using {{ printf('%d', a) }} instead?

Thaks jvb91.
Yes you are correct i am talking abiut the pythonmarkdow nbextension. Yes i am have problems with the octave kernal.
I tryed to use the printf function as you descried above and it still dosent wont work. I also tried, fprintf and display function the it still wont work.
Based how you described it worked above; currently after i have run the code once, to re-run it i have to restart the kernal. So i am wondering if that is why it wont work as this problem doesn't happen with the python kernal

There is nothing Python-specific going on in this extension, we should probably rename it.
You can try this code snippet in a code cell and try to see if you get a response in the Javascript console of your Browser:
%%javascript
var callbacks = { iopub : { output: function(out_data){ console.log(out_data) } } };
var code = 'printf("Hello World")'
Jupyter.notebook.kernel.execute(code, callbacks, {silent: false, store_history : false, stop_on_error: false });

Thanks
I ran your above code, below is a screen shot of what i got

So does anyone have any hints on how to get this to work

well, it looks from your console log like only a single callback is executed, and that the msg_type for the out_data which it receives is stream, rather than the expected execute_result. I'm not sure whether this is a fault of the kernel - I have no Octave kernel, and I seem to get the same behaviour using a python kernel (with appropriately modified code). Are you using the Calysto octave kernel?

Thanks @jcb91 for looking into this. I am currently travelling and can't really test this.
Making the extension work should be easy. From outputarea.js:
    OutputArea.prototype.handle_output = function (msg) {
        var json = {};
        var msg_type = json.output_type = msg.header.msg_type;
        var content = msg.content;
        if (msg_type === "stream") {
            json.text = content.text;
            json.name = content.name;
        } else if (msg_type === "display_data") {
            json.data = content.data;
            json.metadata = content.metadata;
        } else if (msg_type === "execute_result") {
            json.data = content.data;
            json.metadata = content.metadata;
            json.execution_count = content.execution_count;
        } else if (msg_type === "error") {
            json.ename = content.ename;
            json.evalue = content.evalue;
            json.traceback = content.traceback;
        } else {
            console.log("unhandled output message", msg);
            return;
        }
        this.append_output(json);
    };

@Shaun1818 : So if you want to test this, you can make a small change to the extension.
Change the lines:
                        } else if (out_data.msg_type === "execute_result") {
                            var ul = out_data.content.data;

to
                        } else if (out_data.msg_type === "stream") {
                            var ul = out_data.content.text;

Should work now.


Smoke and fire detector

It would be interesting if in future versions we could detect fire and smoke

Hi,
For this you will need to use custom weights of YOLO trained to detect those, some doc here: https://github.com/opendatacam/opendatacam/blob/master/documentation/CONFIG.md#use-custom-neural-network-weights
Thibault


Update TurboRaylib bindings  => change version in bindings.md

Update TurboRaylib bindings

@turborium thanks for the update!


Add crates.io categories and badges

http://www.integer32.com/2017/01/20/categories-and-ci-badges.html

Writing this up now. https://github.com/rust-lang/crates.io/issues/511 is also relevant.


extrudedHeight setting 0.2 or 1, expression is the same

https://codesandbox.io/s/laughing-leavitt-8iiv0?file=/index.html:1979-1993
setting extrudedHeight = 1；

setting extrudedHeight = 0.2

I'm not able to reproduce. I can see a change between 0.2 and 1 in this Sandcastle.
I wasn't able to edit your code sandbox (I forked it but was unable to run the fork). I'm closing since this appears to work as expected. Please use the Cesium community forum for your question: https://community.cesium.com/. You can include the GeoJSON file and/or a Sandcastle to get help determining if it's an issue in your application.


OData Service Not Triggered on Second Load in Nested Navigation

Description
The navigation component works fine during the initial load, and the OData service call is successfully triggered. However, when the application is opened a second time (through nested navigation), the OData service does not get triggered again.
I'm unsure whether this is a bug or expected behavior. When comparing it to the SAP Fiori Launchpad, I noticed that opening the application a second time triggers the OData service again. However, this is not happening in the nested navigation case.
Steps to Reproduce

Open the application for the first time.
Observe that the OData service is successfully called.
Navigate away from the application.
Open the application again using nested navigation.
Observe that the OData service is not triggered.

Expected Behavior
When the application is opened again (even through nested navigation), the OData service should be triggered, similar to how it works in the Fiori Launchpad.
Actual Behavior
The OData service is only triggered the first time the application is loaded. On subsequent openings via nested navigation, the service is not triggered.

This application is meant for demo purposes. The index.html should not be used. Please use https://flovogt.github.io/ui5-nested-component-scenario/test/mockServer.html using a mockserver for the OData endpoint.


toc entries are rendered in reverse, or alphabetically, sometimes. :(

Description
When I do this:
myst.yml
version: 1
project:
  id: 3447377e-b204-4078-8398-fcc69565b0bf
  toc:
    - file: section_one.md
    - file: section_two.md
    - file: section_three.md
site:
  template: book-theme

I get this:

but also when I do this
version: 1
project:
  id: 3447377e-b204-4078-8398-fcc69565b0bf
  toc:
    - file: a.md
    - file: b.md
    - file: c.md
    - file: z.md
    - file: f.md
site:
  template: book-theme

i get this

which is correct.
and in my real document which is like this
  toc:
    - file: src/index.md
    - file: src/intro/intro.md
      children:
      - file: src/intro/prior_art.md
    - file: src/implementation/implementation.md
      children:
      - file: src/implementation/spec.md
      - file: src/implementation/generators.md
      - file: src/implementation/nwb.md
    - file: src/examples/examples.md
      children:
      - file: src/examples/nwb_linkml.md
    - file: src/discussion/discussion.md

i get this

which has the first entry in place but the rest reversed for each group.
but if i use a jupyter book ToC the ordering is correct
src/_toc.yml
format: jb-book
root: index
chapters:
- file: intro/intro
  sections:
  - file: intro/prior_art
- file: implementation/implementation
  sections:
  - file: implementation/spec
  - file: implementation/generators
  - file: implementation/nwb
- file: examples/examples
  sections:
  - file: examples/nwb_linkml
- file: discussion/discussion

if i add logger commands at the start and end of this function for entries and pages they are both in the correct order when loaded here: https://github.com/jupyter-book/mystmd/blob/16a5e5869e10faf069f1fe2b288ffdea858d4345/packages/myst-cli/src/project/fromTOC.ts#L240
and i don't know the best way to trace through to see when it gets reversed, and i'm not sure why the alphabetical example is in the correct order but the section_one, etc. example isnt?
Proposed solution
ideally it would be in the order it's specified in!
Additional notes

myst version: v1.3.18 for all

Do you have a small public repo of these examples? Have not seen anything like this before!

amazingly, when i go to reproduce one hour later, i can no longer do it where an hour ago i couldn't get it to not happen both in CI and locally. i swear i did not just make up a weird issue for no reason
this is literally what i was doing, no venv funny business (as in i am running the same binaries with the same python interpreter, same node, etc):
repo:https://github.com/sneakers-the-rat/mystmd-1641-example
site: https://jon-e.net/mystmd-1641-example/


IOS build fails without using use_frameworks! in Podfile

Cannot build on IOS
Xcode's output:
↳
/Users/vovabeloded/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.8/ios/Classes/ContactsServicePlugin.m:4:17: error: definition of 'ContactsServicePlugin' must be imported from module 'contacts_service.ContactsServicePlugin' before it is required
@implementation ContactsServicePlugin
^
In module 'contacts_service' imported from /Users/vovabeloded/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.8/ios/Classes/ContactsServicePlugin.m:2:
/Users/vovabeloded/Dev/fbh/fbh_app/build/ios/Debug-iphonesimulator/contacts_service/contacts_service.framework/Headers/ContactsServicePlugin.h:3:12: note: previous definition is here
@interface ContactsServicePlugin : NSObject
^
/Users/vovabeloded/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.8/ios/Classes/ContactsServicePlugin.m:6:4: warning: 'SwiftContactsServicePlugin' is only available on iOS 9.0 or newer [-Wunguarded-availability]
[SwiftContactsServicePlugin registerWithRegistrar:registrar];
^~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'contacts_service' imported from /Users/vovabeloded/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.8/ios/Classes/ContactsServicePlugin.m:2:
/Users/vovabeloded/Dev/fbh/fbh_app/build/ios/Debug-iphonesimulator/contacts_service/contacts_service.framework/Headers/contacts_service-Swift.h:189:12: note: 'SwiftContactsServicePlugin' has been explicitly marked partial here
@interface SwiftContactsServicePlugin : NSObject
^
/Users/vovabeloded/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.8/ios/Classes/ContactsServicePlugin.m:6:4: note: enclose 'SwiftContactsServicePlugin' in an @available check to silence this warning
[SwiftContactsServicePlugin registerWithRegistrar:registrar];
^~~~~~~~~~~~~~~~~~~~~~~~~~

Hello, did you create your project with swift support?

Yes

@vova-beloded upgrading to the latest version of Flutter and contacts_service should resolve your issue. I'll close this issue since we haven't heard from you in awhile. Please open a new issue if you run into problems after upgrading to the latest version of Flutter and contacts_service. Thanks!


[Extensions] Enhance ERC20 Drop ClaimCondition functionality

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4392  👈
#4391
main

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

Join @jnsdls and the rest of your teammates on  Graphite


Verify that thumbnail S3 caching is working properly

Thumbnails of high resolution images load very slowly. See the Smithsonian collection for examples. This suggests that our thumbnail proxy isn't hitting the S3 cache, which is surprising since the S3 bucket is being populated with resized images.
This is tied to our infrastructure code, so I don't think it will be possible for an outside contributor to help.

It seems likely that the underlying issue is a bug in willnorris/imageproxy (have to confirm). If that's the case it may be best to disable this cache entirely, deleting the thumbnail buckets, and reporting this upstream.
The CDN makes this layer of caching "nice to have".

I've opened up a ticket in the upstream willnorris/imageproxy repository. https://github.com/willnorris/imageproxy/issues/240
I suspect the problem is that the Smithsonian institute URLs abuse query parameters and the anchor sign for serving up images, which are probably stripped for caching purposes.

The change hasn't been merged upstream yet; we're using my fork of the project for now.

Fix is in prod


Git fetch fails via dumb-https protocol

Problem
I am setting up a self-hosted git repository.  git itself has no problem accessing it but using it as a cargo dependency fails due to the server not sending a Content-Type header:
e@msi:~/Workbench/rust/tylisp$ cargo build
    Updating git repository `https://2-71828.com/git/typenum-uuid`
warning: spurious network error (2 tries remaining): no content-type header in response; class=Http (34)
warning: spurious network error (1 tries remaining): no content-type header in response; class=Http (34)
error: failed to get `typenum-uuid` as a dependency of package `tylisp v0.1.0 (/home/e/Workbench/rust/tylisp)`

Caused by:
  failed to load source for dependency `typenum-uuid`

Caused by:
  Unable to update https://2-71828.com/git/typenum-uuid

Caused by:
  failed to clone into: /home/e/.cargo/git/db/typenum-uuid-2731038279e3575f

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  no content-type header in response; class=Http (34)

Steps

In a temporary directory, observe that git clone https://2-71828.com/git/typenum-uuid executes successfully.
Add the following dependencies to Cargo.toml in a test project:

[dependencies]
typenum = "1.12.0"
typenum-uuid = { git = "https://2-71828.com/git/typenum-uuid" }

Attempt to build the project

Notes

Output of cargo version: cargo 1.47.0 (f3c7e066a 2020-08-28)

The suggested net.git-fetch-with-cli configuration option is a valid workaround, but is necessary for any project that wishes to use this crate.

The relevant specifications are the git protocol specification:

Clients MUST NOT attempt to validate the returned Content-Type.

and the HTTP 1.1 specification:

If a Content-Type header field is not present, the recipient MAY either assume a media type of application/octet-stream (RFC2046, Section 4.5.1) or examine the data to determine its type.

Cargo uses libgit2 for fetching git repositories, so maybe file an issue with that project?  However, based on previous comments, there may not be much interest in working on the dumb protocol, as they recommend using the smart protocol.
As recommended in the error message, you can try net.git-fetch-with-cli to use the local git cli instead.

Or you can try a temporary setup. In Ubuntu, export CARGO_NET_GIT_FETCH_WITH_CLI=true is used.
Reference link: https://doc.rust-lang.org/cargo/appendix/git-authentication.html


darkModeBrandLogo doesn't work

Package
filament/filament
Package Version
v3.2.19
Laravel Version
v10.42.0
Livewire Version
No response
PHP Version
PHP  8.3.2
Problem description
In the new 3.2.19 update, the darkModeBrandLogo doesn't show up.
The normal logo works as intended.
Tried on a new installation and it is the same.
Expected behavior
That the logo for the dark mode shows.
Steps to reproduce
Update to the 3.2.19 and put an asset to darkModeBrandLogo() in any panel.
Reproduction repository
https://github.com/matijarezek/filament-issue-darkModeBrandLogo-bug
Relevant log output
No response

Fixed in the next release. The workflow that builds assets seems to have failed.


mobile skins support

Hello,
thank you for this great plugin.
I have bought a skin from roundcubeskin.com. It is not compatible to this plugin out of the box.
But you only have to change the folder name "larry" in plugins/thunderbird_labels/skins/ to the actual skin for example "silver". So it works. :o)
Best regards

Thanks for the hint, I added that information to the readme!


populateDateTimeRFC3339

typespec: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/apicenter/ApiCenter.Management
It used to be populateDateTimeRFC3339, but now it's populateDateType

Where is the definition for SystemData?

Should be the issue of TypeSpec ARM template. https://github.com/Azure/typespec-azure/issues/679


chore(vscode): fix eslint setting

coverage: 97.686%. remained the same
when pulling 596493da81d1b3088439bc45dea6cde90c41c30e on vscode-settings
into 06ee9054093e8ce7b85a24fc72937f97720c205d on master.


264 new test fixture expected validity df

Description

Fixes #264
Motivation and Context

Some of our GTFS tests make assertions about the validity_df attributes. This df holds the number of warnings or errors in GTFS feeds detected by gtfs_kit. We currently have a few duplicated dataframes in our test code that capture the expected state of these dataframes. To avoid duplication, and to make it easier to update these tables if they ever change in the future, this PR reduces duplication and moves the tables to conftest.py as session-scoped fixtures. Of these new fixtures, one is the expected validity_df for the Newport GTFS fixture, and the other is that of the Chester fixture.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Test configuration details:

OS: macos
Python version: 3.9.19
Java version: openjdk 11.0.19 2023-04-18 LTS
Python management system: pip & conda env

Advice for reviewer

This should make it easier to maintain these tables if their formats ever change (as we have seen recently with the expired feed warning appearing once our fixtures had expired). If this occurs again in the future, you should only need to adjust the tables once in conftest.py. Though please note, test_multi_validation.py has not been updated in the same way as the tests for the multi gtfs fixture are a bit distinct.
Checklist:

[X] My code follows the intended structure of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Additional comments

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.13%. Comparing base (4300b44) to head (2faeaed).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #265      +/-   ##
==========================================
- Coverage   98.18%   98.13%   -0.06%
==========================================
  Files          21       21
  Lines        1927     1927
==========================================
- Hits         1892     1891       -1
- Misses         35       36       +1

Flag
Coverage Δ

unittests
98.13% <ø> (-0.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Dynamic CORS policies

Since the API supports multi-tenancy out the box, it can be used in a SaaS like context, if every tenant had a domain associated with them, we can dynamically allow those domains

This scenario I was considering. since each client will have a different domain and it is not practical to have to establish its management in the config or environment variables


Adding LangStream

Hi @MCKevmeister. Nice work on curating this list of LangChain-related projects. We recently created a new open-source project called LangStream that enables event-driven LLM-based applications. It supports Python agents and comes pre-installed with LangChain, LlamaIndex, etc.
I hope you will consider adding it to the list. Thanks!

Adding LangStream to the list.

thanks for the add @cdbartholomew


addLessLoader throws when importing

Was importing a scss file from App.tsx, throws the following error:
Failed to compile.

./src/styles/bootstrap/bootstrap.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-4!./src/styles/bootstrap/bootstrap.scss)
Module not found: You attempted to import ../../../node_modules/css-loader/dist/runtime/api.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.

And this is my config-overrides.js
const { override, fixBabelImports, addLessLoader } = require("customize-cra");

module.exports = override(
  fixBabelImports("import", {
    libraryName: "antd",
    libraryDirectory: "es",
    style: true
  }),
  addLessLoader({
    javascriptEnabled: true,
    modifyVars: { "@primary-color": "#abcdef" }
  })
);

Looks like addLessLoader() generates series of loader imports of relative paths that dives into node_modules, clearly CRA is not happy about that.
Am I missing something important here?

I was using nosync-icloud and CRA can't recognize it, not quite an issue here. Closing it.


Add Cloud Build configurations for non Linux users

Fixes #3

Add Cloud Build configuration
Add policy.yaml to update the service to allow unauthenticated access
Add init.sh and cleanup.sh to automate prerequisites set up and clean up
Update README to explain the Cloud Build support

@damemi Thank you, Mike for reviewing this PR! I forgot the comment after updating, so I'm surprised to hear back from you in such a short round trip!


[vm file format] Introduce bytecode operations for Vector

vectors are a ground type in the Move VM, but all Vector operations are implemented as native functions in the 0x1::Vector Move module. We should introduce a new bytecode for each of these native functions and get rid of the Vector module.

Vector-related bytecode are added in #6991 for the file format, bytecode verifier, and the IR compiler, and in #8821 for the move VM.


Create dockerfile for jiva image

Jiva is meant to be an wrapper project that will pull in the different binaries from other projects like openebs/longhorn, openebs/gotgt etc., and generate an docker image named "jiva-"

openebs/longhorn is at the core of the jiva storage functionality and following in its footsteps, the openebs/longhorn/Dockerfile.dapper contains the docker based build mechanism. The jiva image is created by the openebs/longhorn/package/Dockerfile.


How to organize navigation (the left sidebar) by category without the remainder being placed in a default "Other" category?

Search terms
navigation, category, default category
Question
I'm trying to use the "navigation" > "includeCategories" option in typedoc.json to organize the left nav bar. When I use the "@category" tag within my doc comments, the reflections are correctly placed under those categories in the navigation, but everything else is placed under a default category called "Other". How do I disable this default categorization and allow any uncategorized reflections to just remain where they are?
I'm not sure how clear my question is, so here is an example: Suppose I have a module named colors.ts which has 6 interfaces named Red, Orange, Yellow, Green, Blue, and Purple and 1 class named Color. By default, once the documentation is generated, all 7 would be listed straight under "colors". If I then applied "@category Warm" to the first 3 interfaces and "@category Cool" to the latter 3 interfaces in their doc comments, I want the navigation layout to look something like this:

colors

C Color
Warm

I Red
I Orange
I Yellow

Cool

I Green
I Blue
I Purple

Instead, it looks like this:

colors

Other

C Color

Warm

I Red
I Orange
I Yellow

Cool

I Green
I Blue
I Purple

There is no way to do this today. TypeDoc's category plugin assumes that there are either no categories, and each reflection is placed directly within a group, or every symbol is placed within a category. This is important as traversing the groups/categories is how TypeDoc determines how to render both the left hand navigation and the list of reflections within the module's page.
I'm not opposed to allowing the defaultCategory option to be set to none, in which case TypeDoc renders the reflections without a category header...


Add log type for webprotal

Coverage remained the same at 48.438% when pulling 3c222d154b29ca1036c92f7d5624cd725aaef11e on diawang/pure-k8s-webportal-logtype into d08f43606fb877e84f0fe6bfc5a12557eaf820cf on feature/pure-k8s.


NewBie - Does this support angular js 2

Does this module support angular js 2

No

Are you planning to do version for angular 2?

I would love to use it if this is available for angular 2.
@NaLLiFFuNT @alexk111

Hi, I've converted it to ng6 + some extra features here : https://github.com/famicity/ngImgCrop/tree/ng2
Feel free to use the npm component at https://www.npmjs.com/package/fc-img-crop


[v1.2][ISSUE-306] Refine code to make it easier to check if PII has been modified.

What changes were proposed in this pull request?

Refine code to make it easier to check if PII has been modified.
Why are the changes needed?

Easydata integration
How was this patch tested?

UT

@chaojun-zhang , please fix file name in bashrun
Also, actually I am thinking to have a function comparing two docs before and after pii and mark out the changes?


payment processor

[zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 83.00000000000006% and retrying
2016-12-18 19:10:16 [Payments]  [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 84.00000000000006% and retrying
2016-12-18 19:10:16 [Payments]  [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 85.00000000000006% and retrying
2016-12-18 19:10:16 [Payments]  [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 86.00000000000006% and retrying
2016-12-18 19:10:16 [Payments]  [zamerica] Finished interval - time spent: 130ms total, 1ms redis, 6ms daemon RPC
got this error same  with zec and zclassic

can you try this pr? https://github.com/joshuayabut/z-nomp/pull/37

Sure looking into it now.

ZEC is currently not supported btw.

Can you give more information on this please? Such as the balance of the configured wallet addresses, thanks!

the problem is , payment system count all coin . he take balance  of unconfirmed + conf  and the coin daemon stop  payment for no balance

#40 made a new issue for the unconfirmed payments


OverRustleLogs shutdown

OverRustleLogs will be shutting down on May 1st due to a C&D from Twitch (see here).
Chatterino currently has an "Online Logs" feature that pulls logs from OverRustle's public API. It seems that this feature will need to be modified/removed because their API will be disabled on May 1st.
Relevant code:
"Online Logs" button in user info popup
/logs command
LogsPopup
At the moment it looks like there isn't any alternative, but maybe something equivalent can be found.

sadly any big enough alternative will get shutdown as well
PepeHands

The only reasonable response IMO is respecting the dev agreement and disabling/removing the feature. Once Twitch offers real API for the user logs of Twitch we can use those in chats where a user is a moderator.

The alternative is /user <user> which will bring up the twitch logs

Yeah. Seeing that the "Usercard" button is already right next to the "Online logs" button, the "Online logs" button can probably be removed without affecting moderators too much. Non-moderators won't be able to see logs, which really isn't that big of a deal.

Non-moderators won't be able to see logs, which really isn't that big of a deal.

Chatterino's feature to load message history upon joining a channel is a big deal to me. Guess there's no way around removing it though.

Chatterino's feature to load message history upon joining a channel is a big deal to me. Guess there's no way around removing it though.

This API is different and is still maintained. It's also to possible to opt-out of that service. For now it's still online.

Also IMO the purpose is different. We it's not building a public database of logs of all people. Just a few recent messages in a chat.

I agree with that and would be very happy for the API to stay online. Hopefully Twitch shares that point of view as well.

A little thought I had: Could it be possible to use the saved chat from VODs, instead? VODs of live streams have a delay before they catch up but I can imaging accessing the VOD chat independently to the actual VOD could allow us to catch up faster than the video to provide the previous messages.
There is already an open source project for downloading VOD chat (I used it successfully before, although not for live chat): https://github.com/PetterKraabol/Twitch-Chat-Downloader
RIP Overrustle (it just got shut down completely) F

Not really the same, one can't replace the other.


Fixes ENYO-2496

fix changing drawer activator icon at runtime
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy<EMAIL_ADDRESS>

if updateActivator() is executed and there is no change to _activated, then the changed method won't fire. updateActivator() is fired from many places for multiple reasons.

The other alternative is to force the notification. I considered that but it didn't seem necessary at first review. That seems like the better solution however. Updating this PR.

Cool. Thanks!


Removing non-speech intervals

Non-speech intervals at the beginning and end of each sentence were removed.

May I ask what tool or package did you use for removing the non-speech intervals please?
Many thanks!

We use a simple VAD based on energy thresholds. You can find it here:
https://github.com/santi-pdp/pase/blob/master/prepare_segmented_dataset.py
Note that to have reasonable results you might need to tune a bit some of
the hyperparameters (e.g, en_th = 0.3).
Best,
Mirco
On Tue, 23 Jul 2019 at 12:02, bluemonk482<EMAIL_ADDRESS>wrote:

Non-speech intervals at the beginning and end of each sentence were
removed.
May I ask what tool or package did you use for removing the non-speech
intervals please?
Many thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/55?email_source=notifications&email_token=AEA2ZVWFP2I5XEAW3U53JZDQA4TRXA5CNFSM4IGGDSHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HA63J5Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEA2ZVW5EGFHTUI2D3BDF23QA4TRXANCNFSM4IGGDSHA
.

Thanks very much for the quick reply @mravanelli !
Appreciated!


Deleted files which may not be needed anymore

Description
This PR does the following:

Deletes urc_gazebo
Deletes everything in urc_platform except for the joystick driver
Deletes unnecessary documents in the documents folder
Removes urc_imu, urc_manipulation, and urc_scripts

Testing Steps

colcon build
. install/setup.bash
ros2 launch urc_bringup bringup.launch.py
ros2 launch urc_bringup bringup_simulation.launch.py

Expectation: The thing which does the thing does the thing
Self Checklist

[x] I have formatted my code using ament_uncrustify --reformat
[x] I have tested that the new behavior works

NOTE. The main concern as of now is that we need to move the STL files over to urc_hw_description, since they are pulled from urc_gazebo. Everything else in urc_gazebo (cpp files, launch scripts, other assets) should be deleted

Everything seems to work fine still, the only concern as of now is that we have two versions of the joystick driver, one is the old one in urc_platform and the new one Simon made in urc_scripts (which is a Python-translated version). I think we can keep both for now, but we need to discuss which one we would want to use moving forward (probably will be deleting urc_platform overall).


Look up BROWSER in PATH

Using BROWSER=firefox fails, probably because PATH lookup isn't being done for the setting.

Thanks for reporting this. Yes, you're right, there is no PATH lookup. I don't have time to take care of this right now but I should be able to fix it by the end of next week.

There is a fix for this on master. I also made a pre-release with pre-built binaries: https://github.com/nbedos/cistern/releases/tag/0.2.0dev0
Let me know if it fixed the issue or not.

That looks to work, thanks!


[Cherry-pick][BugFix][Branch-2.2-yunlu] release rowset id while remove rowset of primary key tablet …

…(#12318)
What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

While finish compaction of primarykey, we don't release the rowset id of expired rowset which cause memory leak.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_clang-format

run starrocks_fe_unittest


TypeError: Cannot read property 'configuration of undefined' when calling stop on an interpreter that was not initialized

Description
Recently, my tests are failing due to a crash in xstate. It seems that this happens because the interpreter was not initialized (see repro below).
Summary of all failing tests
 FAIL  packages/zwave-js/src/lib/driver/Driver.test.ts (6.342 s)
  ● lib/driver/Driver =>  › sending messages =>  › should not be possible if the driver failed to start

    TypeError: Cannot read property 'configuration' of undefined

      1222 |
      1223 |            // First stop the send thread machine and close the serial port, so nothing happens anymore
    > 1224 |            this.sendThread.stop();
           |                            ^
      1225 |            if (this.serial != undefined) {
      1226 |                    if (this.serial.isOpen) await this.serial.close();
      1227 |                    this.serial = undefined;

      at Interpreter.stop (node_modules/xstate/lib/interpreter.js:487:20)
      at Driver.destroy (packages/zwave-js/src/lib/driver/Driver.ts:1224:19)
      at Object.<anonymous> (packages/zwave-js/src/lib/driver/Driver.test.ts:140:11)

Expected Result
No crash
Actual Result
crash
Reproduction

clone https://github.com/zwave-js/node-zwave-js/commit/18a000888b12143409569241e0128aac9f476499
run npm run test:ts -- --testPathPattern=driver/Driver.test.ts

$ npm run test:ts -- --testPathPattern=driver/Driver.test.ts

> test:ts
> jest "--testPathPattern=driver/Driver.test.ts"

  console.warn
    Warning: Attempted to read state from uninitialized service 'SendThread'. Make sure the service is started first.

      1222 |
      1223 |            // First stop the send thread machine and close the serial port, so nothing happens anymore
    > 1224 |            this.sendThread.stop();
           |                            ^
      1225 |            if (this.serial != undefined) {
      1226 |                    if (this.serial.isOpen) await this.serial.close();
      1227 |                    this.serial = undefined;

[...]

  ● lib/driver/Driver =>  › sending messages =>  › should not be possible if the driver failed to start

    TypeError: Cannot read property 'configuration' of undefined

      1222 |
      1223 |            // First stop the send thread machine and close the serial port, so nothing happens anymore
    > 1224 |            this.sendThread.stop();
           |                            ^
      1225 |            if (this.serial != undefined) {
      1226 |                    if (this.serial.isOpen) await this.serial.close();
      1227 |                    this.serial = undefined;

      at Interpreter.stop (node_modules/xstate/lib/interpreter.js:487:20)
      at Driver.destroy (packages/zwave-js/src/lib/driver/Driver.ts:1224:19)
      at Object.<anonymous> (packages/zwave-js/src/lib/driver/Driver.test.ts:140:11)

Test Suites: 1 failed, 1 total

Additional context

You can mitigate this:
if (this.sendThread.initialized) {
  this.sendThread.stop();
}

Or put it in a try/catch. If you can create a simple reproducible example in CodeSandbox, that would be easier for us to work with than cloning/running a repo.

So this is a funny issue... It manifests itself only if those 2 tests are "enabled" (you can just remove the rest of the file to test this out):

https://github.com/zwave-js/node-zwave-js/blob/18a000888b12143409569241e0128aac9f476499/packages/zwave-js/src/lib/driver/Driver.test.ts#L130
https://github.com/zwave-js/node-zwave-js/blob/18a000888b12143409569241e0128aac9f476499/packages/zwave-js/src/lib/driver/Driver.test.ts#L159

This made me suspect a shared state between those 2 because that second test fails only if the first one is executed as well.. I couldn't really find any shared state so I've added an __id property to your Driver class, caught the error, appended that this.__id to its message, and I've rethrown the error. This told me that the error that fails the test is actually the error thrown by the first of the listed tests. So why the second test fails? I believe that Jest just implements a logic similar to Cypress (and probably other testing frameworks) which is failing tests on any uncaught errors - this is good logic, often surfacing problems that were not explicitly tested against. And because your destroy method is actually an async method, the error thrown within it gets caught by Jest when it already executes other test - after all, there is no easy way to track "ownership" of an async job in JS.
If we add await to this destroy call:
https://github.com/zwave-js/node-zwave-js/blob/18a000888b12143409569241e0128aac9f476499/packages/zwave-js/src/lib/driver/Driver.test.ts#L140
we'll end up with the correct test being failed by Jest. I believe you should add this (and similar) awaits universally across the whole project in your tests - it would help you to reason about your tests better in the future.
As to the original issue - the solution proposed by @davidkpiano seems like the most appropriate one. This test that has caused all of this problem is never calling start and thus it's never calling this.sendThread.start():
https://github.com/zwave-js/node-zwave-js/blob/18a000888b12143409569241e0128aac9f476499/packages/zwave-js/src/lib/driver/Driver.test.ts#L130-L141
So its destroy doesn't really have anything to stop.

@Andarist Oh wow, thanks for the detailed investigation. I can confirm that @davidkpiano's solution does work and I'll add awaits for the destroy calls. So I can definitely work around the issue.
However this behavior seems to have changed with an xstate update and I think that calling stop before start should not cause a crash.

However this behavior seems to have changed with an xstate update and I think that calling stop before start should not cause a crash.

I don't have super strong opinion about this one. It makes sense for me both ways so kinda 🤷♂ Any preference @davidkpiano ?

To add:

calling stop before start should not cause a crash.

If it crashes (which might be desired), it should be with a clear error message like cannot stop an interpreter that was not started or something along these lines.

We can show a warning. I'll do that.


Retrofit converter

While playing with Retrofit I also wrote a CallAdapter for Arrow. This is inherently not compile safe. Thoughts? https://gist.github.com/nomisRev/539dc9f7c306571e0bf6405f440efc2d

@raulraja any thoughts on the CallAdapter for Arrow?

@nomisRev looked at the code and originally looks good but I have some thoughts I'd like to discuss with you to see if we can make the impl less dynamic. Also is it common to accept all ApplicativeError instances? I'd have expected this adapter to be only valid for Async and up unless retrofit is always blocking being the scenes.

@raulraja it was just a small prototype I made to see what was possible. Sadly Retrofit heavily relies on reflection and tends to blow up @ runtime.
Concerning the Async / Sync most of the times both are offered AFAIK. RxJava 2 offers a create / createAsync and createWithScheduler factory method.
We could do the same by defining.
object ArrowCallAdapter {
    inline fun <reified F> create(AE: ApplicativeError<F, Throwable> = applicativeError()): CallAdapter.Factory =
            arrowCallAdapterFactory(AE)

    inline fun <reified F> createAsync(AE: Async<F> = async()): CallAdapter.Factory =
            TODO()
}

The reason I think both are really valuable is that people might be using Try for network stuff in coroutines and might need/want the extra power of Async.
As far as flexibility is concerned the implementation shown below are not allowed.
fun <F> repo(@Path("repoId") repoId: String): HK<F, Json> or
interface Service<F> { ... }
interface TryService : Service<TryHK>

what prevents retrofit from understanding that? Do they not deal with generics at all?

@raulraja Generics are not a thing on Android :D

No Retrofit cannot deal with generics at all.
In the first case fun <F> repo(@Path("repoId") repoId: String): HK<F, Json> Retrofit bails because it does not support generics in the return type.

java.lang.IllegalArgumentException: Method return type must not include a type variable or wildcard: arrow.HK<F, helios.core.Json>

In the second case of Service<F> Retrofit bails because an API interface must not extend another interface.

java.lang.IllegalArgumentException: API interfaces must not extend other interfaces.


[META] v3.1

Rough overview of features/requirements for v3.1:

Shell interface

[ ] create and delete accounts
[ ] display balance of the account
[ ] transfer eth to another address
[ ] check transaction status, get tx receipt

Smart Contracts

[ ] make it possible to execute smart contract method

Hi! Would someone share me where I can start to research to use and implement the shell interface? Is a complete new implementation? Do we have some example or tutorial?

@pcppcp is working on it.
https://gist.github.com/pcppcp/2f30c50858cb4093242dcbb52e9992c8

Hi @devtodev
if you manage to build the qemu target then you'll be able to interact with the shell.
The submodules sources are in the zephyr directory, i.e. for the wallet it's zephyr/wallet.c.


tdct publishing needs some more logic

I don't remember the details of what it is doing but there is some extra logic required before publishing the tdct data, see https://github.com/ess-dmsc/forward-epics-to-kafka/blob/master/src/schemas/tdc_time/TdcTime.cpp
(Required due to lack of int64 array support in the version EPICS in use at ESS so far)

Superseded by DM-1997


⚠ ClamAV has degraded performance

In 046b9bd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 193 ms

Resolved: ClamAV performance has improved in 726af9a.


better s3 post support for success_action_redirect

The success_action_redirect value that is supported by s3 posts doesn't match how s3 works in production in a couple of ways that does not allow me to fully test my s3 integration code. Missing features are:

automatic addition of the bucket and key values to the success_action_redirect query args. I can't find exact documentation for this behavior, but this page references it:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html

and it's how it works and we rely  on that behavior.

automatic replacement of ${filename} in the form key value. Same issue as the above with documentation.

This is now part of moto >= 1.3.17.dev248

Thanks for the reviews! Great project, has saved us a lot of time - we're big fans.