2022-12-09 Xpublish & ZarrDAP meeting notes

On 2022-12-09 we met to discuss various Xarray based data server projects. Discussion post announcing meeting
Purpose: Meetup to discuss progress and plans for OpenDAP, WMS and other API layers on top of the Xarray/Dask (aka Pangeo) Python stack, such as:

Xpublish

xreds built on top of Xpublish

ZarrDAP

Implements OPeNDAP and a custom HTML ZarrDAP Catalog, from which it generates an Intake catalog.

Attendees:

Rich Signell / USGS / @rsignell-usgs
Alex Kerney / Gulf of Maine Research Institute & NorthEast Regional Association of Coastal and Ocean Observing Systems / @abkfenris
Anthony Aufdenkampe / LimnoTech / @aufdenkampe

Helping USGS NHGF to configure pygeoapi-edr (+ZarrDAP or Xpublish) against the same stac to document XYZT zarr data in S3

Joe Hamman / Earthmover / @jhamman

started Xpublish

Filipe Fernandes / IOOS / @ocefpaf
Don Setiawan / UW OOI Regional Cabled Array @lsetiawan
Jonathan Joyce / RPS Group / @jonmjoyce
Matthew Iannucci / RPS Group / @mpiannucci
Dave Blodgett / USGS Water /
Andrew Buddenberg / NOAA/NCEI

thinks he's in charge of ZarrDAP now

Shane Mill / NOAA/NWS / @ShaneMill1
Steve Olson / NOAA/NWS / @solson-nws

Implementing EDR

Jon Blower / National Oceanography Centre, UK / @jonblower
Chad Whitney / NOAA/NCEI
Paul Tomasula / LimnoTech / @ptomasula
Sarah Jordan / LimnoTech / @sjordan29
Xavier Nogueira / LimnoTech / @xaviernogueira
Dave Stuebe
Michah Wengren / IOOS / @mwengren
Patrick Tripp / RPSgroup / @patrick-tripp

Agenda & Notes

Intros

(Go around by order in attendee list, probably 1-3 min each)
who are you, where do you work, background in the space.

Why are you/org intrested in working on Discussion & Python

Xpublish (Matt)): need a THREDDS replacement (not cloud-ready) data servers?

See issue Create xpublish routers for building APIs around xarray datasets #23
xreds built on top of Xpublish
Kerchunk is a bridge to putting legacy grib and netcdf data into zarr aggregations

ZarrDAP

Chad: Andrew just open-sourced ZarrDAP, but introduced a bug that they need to fix
Andrew: We're tired of THREDDS

Mark Capece connected ERDAP to ZarrDAP and got a fantastic speedup.
Alex's experimentation with replacing Xpublish dataset loading with opening any ERDDAP GridDAP dataset: https://xpublish.onrender.com/docs & https://github.com/abkfenris/xpublish-erddap

Dave B: THREDDS team is well-aware of thes issues.

THREDDS team taking apart to build microservices from allll THREDDS functionality
Key issue with THREDDS is cost of S3 egress fees
We need ...

PyGeoAPI-EDR

Shane building AWS scaling capabilities, which he wants to contribute to PyGeoAPI-EDR

AWS API Gateway + Lambda & Fargate, reaching out to ECS.

Xpublish update from Joe.

Very open to others working on it. Such as Benoit Bovey
Could still benefit from more active developers
We need example arcitectures that use Xpublish
Perhaps a router plugin interface would be useful

(similar round robin)

What are folks working on?

(we can start round robin, but this can move into more of a discussion, we will want to keep moving so we don't get bogged down in any one avenue of work)
Demos?

How can we work together, rather than duplicate each others efforts?

Can XPublish & ZarrDAP efforts or codebase be "merged"?

Matt: interesting to see that Xpublish & ZarrDAP seem to have almost identical approaches for accessing the data despite being developed totally independently

Alex's vision for Xpublish

Make it modular. Maybe a core/plugin/distro interface

Xpublish becomes the core, similar to the Linux kernel with a standard set of interfaces for routers and data loaders to interact with.
Routers are plugins, so that 'router' interfaces are all separate repos, such as:

OpenDAP (via https://github.com/gulfofmaine/xpublish-opendap)
EDR (via https://github.com/gulfofmaine/xpublish-edr)
WMS (via https://github.com/asascience-open/xpublish-wms)

Various deployments will assemble different router and data loading plugins for various use cases.
I'll post a more full fledged write up of my idea in the discussions

Andrew: Are you suggesting that ZarrDAP be rewritten to be plugin to XPublish? Alex: maybe...

Alex: I've made a very alpha OpenDAP Xpublish router ( https://github.com/gulfofmaine/xpublish-opendap ), but you've tested it much more. I'm thinking that you refactor onto Xpublish and adapt your data loading into xpublish.get_dataset. It also means that as we create new Xpublish routers, you can get those for free

Caching discussion

Dave S: demo of real-time Forecast Model Run Collection (FMRC) for HRRR, with caching using fsspec 'simplecache' command
Will post PR for adding the core parts of the HRRR aggregation to https://github.com/asascience-open/nextgen-dmac

Action items

Move conversation to XPublish repo, which is followed a bunch of additional people not on this call.
Try to get a regular meeting going. Possibly under the Pangeo umbrella?

I added my thoughts on how do we make an Xpublish ecosystem based on Xpublish as a core, routers and data loaders as plugins, and opinionated collections as distros, over in the discussions: https://github.com/xarray-contrib/xpublish/discussions/139

We had a few similar demos, so I didn't share this so we could keep the discussion going. Here is a new model viewer that I've been working on for NERACOOS that's focused on informal users, think fisherman, sailors, surfers. It's currently using Xpublish and an EDR router for time series data, and THREDDs for WMS (though I intend to try swapping in @mpiannucci 's router). It uses STAC to identify what layers are available, and what services.
I also experimented with using Xpublish to add new data services to existing servers. https://xpublish.onrender.com/docs & https://github.com/abkfenris/xpublish-erddap uses the awesome-erddap server list to add EDR and zarr endpoints to most existing ERDDAP datasets other there that are served by GridDAP.

@abkfenris thanks so much for suggesting this meeting and for the great notes!  That model viewer is very cool, and I look forward to seeing use of the WMS service that @mpiannucci demonstrated today.
Did you use xstac to create the STAC records for your model data?   The construction of that viewer would make a nice blog post!

@rsignell-usgs other folks took most of the notes, I just made the structure and cleaned it up.
I've been manually generating STAC items so far, though it looks like I might be able to replace some of the more problematic parts of my workflow with xstac.

It sounds like folks have made a bunch of cool things since we last met, so lets find a time to meet again: #172


High CPU usage

I installed the Chrome extension earlier today and found it to have high CPU usage. I don't think I was using any IPFS-compatible websites besides checking the ipfs.io blog.
macOS: 10.13.2
Chrome: 65.0.3325.181
IPFS Companion: 2.2.0

Thank you for reporting this. Was it running against external or embedded node?

Thank you for reporting this. Was it running against external or embedded node?

Embedded node

Embedded node uses js-ipfs, which is not as mature as go-ipfs. I was able to confirm problem under Chromium: after a few minutes with embedded node the CPU usage is indeed very high.
Let's keep this issue open until upstream issues are resolved:

High CPU when publishing files with js-ipfs https://github.com/ipfs/js-ipfs/issues/1190
Connection Closing https://github.com/ipfs/js-ipfs/issues/962

Also related:

IPFS light clients https://github.com/ipfs/notes/issues/206

Workarounds for lowering CPU usage
For the time being I suggest using go-ipfs which requires smaller amount of resources.
If you run on laptop or other mobile device, try additional settings suggested in https://github.com/ipfs/go-ipfs/issues/4137#issuecomment-322557758, namely:

you probably want to use ipfs daemon --routing=dhtclient
Its probably also worth turning off the reprovider with: ipfs config Reprovider.Interval "0" so your node doesnt rebroadcast all this things it has every 12 hours.

Why not just use the new WASM functionality of golang ?
It would keep the J's and golang versions aligned

@gedw99 "just" is bit too optimistic :) We may investigate that route, but my intuition is that it won't be easy. There are low details (such as lack of raw socket API in web browser, storage) that require custom handling etc. Also, there is a huge benefit in having two independent implementations interop in the wild:  it verifies if the spec is clear enough.
It may be easier to optimize js-ipfs by introducing WASM (as a technology) in hot paths (eg. crypto), but that is a discussion for https://github.com/ipfs/js-ipfs.


Validating Arrays, Slice or Maps should point to an ID / PK

Ozzo, First of all thank you for this library.
But I encountered a challenge where by, when I am validating a slice, I wanted to show the a respective field of that struct. For example;
// Provided this slice ...
addresses := []Address{
    Address{Code: "id1", State: "MD", Zip: "12345"},
    Address{Code: "id2", Street: "123 Main St", City: "Vienna", State: "VA", Zip: "12345"},
    Address{Code: "id3", City: "Unknown", State: "NC", Zip: "123"},
}

I should do something like this
err := validation.Validate(addresses, "Code")
fmt.Println(err)

And it should show
ID1: (City: cannot be blank; Street: cannot be blank.); ID2: (Street: cannot be blank; Zip: must be in a valid format.).

How is that?

Thanks!
Are you trying to validate the ID field only? This is no longer supported in the latest version. You would have to write a for-loop to do it explicitly.

Ok Ok.


Storage Capacity goes up TPS goes down

Issue description:
Refined Storage causes server to cease working, lowering tps as discs fill up.
What happens:
TPS drops to nothing, freezing the server.
What you expected to happen:
For TPS to not be affected regardless of storage capacity.
Steps to reproduce:

Setup some sort of automated farm and input it via Importer to RS system, fill up 8 64k drives.
Watch as TPS slows to a hault.
Remove RS controller, watch TPS jump back to 20 as if nothing happened.
...

Version (make sure you are on the latest version before reporting):

Minecraft: 1.11.2
Forge: <IP_ADDRESS>4
Refined Storage: 1.4.10

Does this issue occur on a server? yes
If a (crash)log is relevant for this issue, link it here:
It doesnt crash it freezes.
[pastebin/gist/etc link here]

You may want to check out this issue: (https://github.com/raoulvdberge/refinedstorage/issues/1041).
I had a similar issue and was going to try this, but I ended up having to start a new world before I could try. So, I don't know if it will work. But, it's worth a shot.

Interesting.. We started stress testing this again and tps is holding. I've only had the issue when logging back in after a while of being gone (today was getting messages that the server stopped for over an hour) got in where tps was @1 and removed the controller and poof tps 20. However plugging back in the controller and letting the system run again for over 10 minutes now and TPS is holding at 20. I know how to "fix" the issue via removing the controller but not how to replicate, apparently.

Again had the tps drop resulting in a crash this time with a different user. Once we broke the controller tps stabilized. Ask how long the system was up before this happened and was informed that it was up for days, tps began to drop as they teleported back from someplace.

That's intriguing. I was teleporting also, which seemed to cause the problem to occur quicker. But, the problem did still occur even if I just ran the distance.
Do you know about Sampler? I've seen them ask for a profile in several posts.
Sent from my Motorola XT1254 using FastHub

#1041

Also I'd appreciate it if you posted your performance report in there as well. Because reports as these without report are useless and wasting my time.
https://refinedstorage.raoulvdberge.com/wiki/profiling


Allow filtering metrics using labels

This will allow for a more elegant solution to
https://github.com/hashicorp/consul/pull/4042
TODO:

[X] Add unit tests

@banks Suggestion to go forward with thoses patches ?
Kind Regards

I think @kyhavlov had some suggestions he was going to make here.
We’ve had a busy couple of weeks but I’ll ping him today to take a look.

Hello @kyhavlov, @banks ,
Could someone have a look, so I can continue on https://github.com/hashicorp/consul/pull/4042 ?
Kind regards

Looks good to me :+1:

Hey @pierresouchay sorry for the delayed response. I think the idea behind this seems sound, but it feels weird to be blocking labels globally by name without it being attached to series name at all. Do you think it makes sense to make the label filters specific to a given series name for more fine-grained blocking?

@kyhavlov Well for our use-case (aka adding labels in Consul everywhere), it will be more pain than ease, on a API point of view, it make more sense.
What would you like me to do ?

Regex based ? (In that case, it probably means that all calls with pay the price for matching regex)
prefix ? (I that case the patch will be quite invasive since I will have to change all radix based structures)

Tell me what you want in that case.
Kind regards

@kyhavlov Thank you for the review, PR updated with requested fixes

Hello @kyhavlov @banks ,
I made the fixes, would you consider merging it so I can go forward on https://github.com/hashicorp/consul/pull/4042 ?
Thanks a lot
Kind regards


Update usage section to use values

Description
Usage sections currently shows the use of var. which does not give much details on what to pass as input. Aligned with overall conventions here, suggest to pass dummy value that are self-documenting to give an idea on what structure of input variables to pass.

PR merged, closing this issue


Usage with icon field in defineType?

Thanks for this repo, works perfect!
I'm wondering if it's possible to use these icons for the icon property of defineType, I tried the following but this throws errors
  name: 'newsCategory',
  type: 'document',
  title: 'News Category',
  icon: <Icon icon="material-symbols:account-circle-off-rounded" />,

Since this issue is not directly related to this plugin, but more to sanity and @iconify/react I'll close this for now. But let me know if you have any more questions or encounter any other issues!


feat(frontend): Av/temp/carousel

WIP
Motivation

Changes

Tests

This PR was a feature branch that was integrated with PRs:

#3770
#3777
#3783
#3811
#3812
#3816
#3825
#3842
#3844
#3856
#3861
#3865
#3867
#3869
#3876
#3880


chore(deps): update terraform terraform-ibm-modules/icd-postgresql/ibm to v3.19.4

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/icd-postgresql/ibm (source)
module
minor
3.18.0 -> 3.19.4

Release Notes

terraform-ibm-modules/terraform-ibm-icd-postgresql (terraform-ibm-modules/icd-postgresql/ibm)
v3.19.4
Compare Source
Bug Fixes

added fix to exclude group from point in time recovery (#525) (ed0458e)

v3.19.3
Compare Source
Bug Fixes

fix bug when setting use_ibm_owned_encryption_key to true in the DA (#522) (857e1fd)

v3.19.2
Compare Source
Bug Fixes

deps: update terraform-module (#500) (bd9c2aa)

v3.19.1
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#501) (2ef000c)

v3.19.0
Compare Source
Features

expose the ability to use default encryption keys in fscloud submodule + DA
exposed the ability to set the IBM terraform provider visibility in the DA (#521) (ed78199)

v3.18.2
Compare Source
Bug Fixes

updated required IBM provider version to >= 1.70.0, < 2.0.0
updated CBR module to 1.28.1 (#519) (7a73dc5)

v3.18.1
Compare Source
Bug Fixes

Fix an issue in the original ICD hosting model logic for conditionally including the group block during a database restore operation (#516) (a1ab78d)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 4.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


help

Sir, i am very passionate about coding but I'm doing BCA by distance education so i think that i don't have any future because I am not even a regular college going student can you give me some tips can i get job in a good company in the future what can i do and sir i was a biology student so didn't have maths in 11th and 12th so i am very weak in maths so can you tell me the maths topics used in web development (front end and back end both) so that i can learn it.
I'm passionate about web development and android development  (maths according to these careers)
Q2. How important are DSA to get into startups and how we can learn it for companies like Google, Microsoft, etc.
Thank you so much

The main thing is, build your basics first! There's enough help on youtube to build your logic.
Coming to the Maths, nothing complex is required. Basic Algebra and logical statements are commonly used. (See the link attached)
https://www.freecodecamp.org/forum/t/should-i-be-good-at-math-to-be-a-web-developer/109535
http://jumpstartlab.com/news/archives/2013/04/08/wdm-101-web-development-math-101
So maths is not not the issue!
DSA is super important as companies always tend to look out for it. Assuming you're starting out, have immense knowledge in this topic.
https://www.tutorialspoint.com/data_structures_algorithms/index.htm
Here's a link to get you started.
Be patient, coding is like working out at a gym. You get better as time progresses!


adding some extra documentation

After going over the deploy of the qiita-rc, I realized that it would be good to add some extra documentation about the qiita's job allocation and update the CHANGELOG.md. Also noticed that it will be good to move the admin software page so is accessible for all users - I'll do that in the next PR.

Codecov Report

Merging #3018 into dev will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev    #3018   +/-   ##
=======================================
  Coverage   94.93%   94.93%
=======================================
  Files          74       74
  Lines       14239    14244    +5
=======================================
+ Hits        13518    13523    +5
  Misses        721      721

Impacted Files
Coverage Δ

qiita_db/test/test_artifact.py
99.85% <100.00%> (+<0.01%)
:arrow_up:

qiita_db/util.py
90.60% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks @antgonza!


Unable to Share Specific Chrome Window in Screen Sharing - Shares Entire Screen Instead

Sway Version: 1.8
Description:
I have encountered a significant issue while attempting to share a specific window from Chrome during video calls or screen sharing sessions (like Google Meets). Instead of sharing just the selected Chrome window, the entire screen gets shared, including all open applications and desktop activities. This problem specifically occurs when trying to share a window; however, sharing a single tab within Chrome or the entire screen functions as expected. This issue raises privacy concerns and limits the flexibility needed during presentations or collaborative work sessions.
Steps to Reproduce:

Open Chrome and navigate to any website.
Start a video call using Google Meets (or any other application where the issue occurs).
During the call, choose to share your screen and select the option to share a window.
Select a Chrome window from the list of available windows to share.

Expected Behavior:
Only the selected Chrome window should be shared with participants, hiding any other applications or desktop activities.
Actual Behavior:
The entire screen is shared instead of just the selected Chrome window, displaying all open applications and desktop activities to the participants.

Hi @rmasad. AFAIK, this is a known issue for sway. Wayland currently lacks a protocol that allows for sharing windows. This comment tracks the status / progress for window sharing.

Currently the best workaround for this is to create a headless display and share that instead of one of your physical monitors. You can then move any windows you want to share.

As a side note, sway 1.9 is availabe in noble as part of regolith 3.2 beta 1 release.  Although it is unlikely to fix this, you can still give it a try. https://regolith-desktop.com/docs/reference/Releases/regolith-3.2-release-notes/

I update to 3.2 beta 1 but now it give me some errors updating:
regolith-inputd : depends: libglib2.0-0t64 (> = 2.28.0) but it is not installable
regolith-unclutter-xfixes: depends: libev4t64 (> = 1: 4.04) but it is not installable

Reading the threads on the topic, have you analyzed Regolith+hyprland? It looks like a version of sway with fewer problems.

The regolith ecosystem was originally built mainly around i3 as the window manager. sway, being as close to a drop-in as possible, made creating a functionally equivalent desktop environment reasonably straightforward. Another benefit of sticking with sway is the stability / backwards compatibility it provides. It has been in development since almost 9-10 years now. In comparison, the development effort required to keep up with Hyprland would probably be significantly more, given its rapid development speed.
That said, imagining a Hyprland based version of Regolith is not entirely impossible. I have occasionally considered trying this out as a hobby project, but it would require a lot more time and effort than any of us can spare.

Thanks @SoumyaRanjanPatnaik


Make row and col elements of container?

Good day!
Bootstrap grid classes are supposed to be used a s a system (I mean as a block in BEM). That means we can't use row outside of container and col outside of row. It seems logical to rename those classes according to BEM methodology  the following way:

.layout or .grid instead of .container
.layout__row or .grid__row instead of .row
.layout__col or .grid__col instead of .col

What do you think?

Hi @ivangretsky!
Thanks for the feedback and giving me something to chew on. In the first version of the grid, I considered this as well, but that made things a bit too complicated for me. I agree that a row cannot live outside a grid, but neither can a col live outside a row.
So this will lead to the following classes, which makes it kinda weird:

.grid
.grid__row
.grid__row__col
.text

To be honest, I'm not really sure if a element can have another element as a child/parent relationship. What are your thought about this?
My apologies for the late response. Updating the repository has been on my todo list for a long time, but I couldn't find the time to do this. I've already updated the grid drastically and it is easier for me to add functionality in the future. Thanks for thinking with me and making the grid better each step.

According to BEM principles there should not be an elements of an element. But frankly speaking I am now just using Bootstrap grid "as is" (only including bootstrap-grid.scss), as it is easier to teach and to support. All the other components are named in BEM convention/
But something like this library IMHO should go BEM-style all the way, like inuit or Blaze.
Thanks for your work!


Set X-Frame-Options to ALLOWALL

To enable our visual diff tool to work, we need to set X-Frame-Options to ALLOWALL so that the component guide can be embedded into an iframe.

I wonder if we can add a test for this 🤔

I'm not quite sure what the context is here, but if govuk-puppet is somehow involved, it also sometimes configures NGinx to add the X-Frame-Options header.
1: https://github.com/alphagov/govuk-puppet/search?utf8=✓&q=X-Frame-Options&type=

@cbaines We need this available when running review apps on Heroku.
It allows us to overlay a component guide on master with a PR version using iframes and css blend modes, for visual diffing.


Sharing another benchmark for nnn

I was referring to the benchmark section and decided to run it on my personal system. I have a SSD drive (stats are du:91.562G free:19.316G files:358098).
I got the the following results at cold boot with gdu and nnn:
$ time gdu-linux-amd64 /
gdu-linux-amd64 /  2.24s user 2.48s system 149% cpu 3.153 total
$ time nnn -T d /
nnn -T d /  0.17s user 4.06s system 36% cpu 11.504 total

Considering the CPU usage difference also I see the user+system time is comparable: gdu 4.72s, nnn 4.23s.
ATM I am not sure why the benchmarks vary so much so wanted to share this.

You mean why nnn and gdu vary or why your and mine benchamarks vary?
My results:
$ sync; echo 1 > /proc/sys/vm/drop_caches
$ time gdu /

real	0m6,646s
user	0m7,938s
sys	0m7,470s
$ sync; echo 1 > /proc/sys/vm/drop_caches
$ time nnn -T d /

real	0m31,119s
user	0m0,363s
sys	0m7,115s

You mean why nnn and gdu vary or why your and mine benchamarks vary?
My results:
$ sync; echo 1 > /proc/sys/vm/drop_caches
$ time gdu /

real	0m6,646s
user	0m7,938s
sys	0m7,470s
$ sync; echo 1 > /proc/sys/vm/drop_caches
$ time nnn -T d /

real	0m31,119s
user	0m0,363s
sys	0m7,115s

I took the readings at cold boot so nothing was cached.
Anyway, user+sys would account for the actual CPU time usage which in your case is: gdu 15408s, nnn 7478s.

I took the readings at cold boot so nothing was cached.
Anyway, user+sys would account for the actual CPU time usage which in your case is: gdu 15408s, nnn 7478s.

I think it would be a good idea to publish the actual CPU time usage (user+sys) along with the real (wall clock) time usage given most of the utilities you are running the benchmark against are single-CPU.

I think it would be a good idea to publish the actual CPU time usage (user+sys) along with the real (wall clock) time usage given most of the utilities you are running the benchmark against are single-CPU.

Good idea, I will add it.

Good idea, I will add it.

Thanks for checking it out!

Thanks for checking it out!


Missing button to go from pokedex tab to defense?

Since the update I can't find the button that previously was there to go to Defense tab of a pokemon from the pokedex search result?

Hey Marc, thanks for filing this issue. I had to remove the Bulbapedia link since I'm using PokéAPI now instead, but perhaps I was a bit hasty in removing the Defense link too...
Let me think about how to add that feature back in without messing up the carefully redesigned layout.

Maybe a little shield icon link or something?
(Rough mockup)

Yes sir that would be perfect! That shortcut is super useful! :P

While I have your attention, would an "Offense" shortcut be useful too? Like one that went to the offense screen for Fire+Flying? It would be roughly the same amount of work to add both

I guess it would be a little less relevant since the pokemon types doesn't always represent it's moveset? But I mean why not maybe it could still be useful!

It could be a starting point. I usually keep a move for each type so I can take advantage of STAB bonus, but yeah I definitely wasn't sure, and thus didn't add it before

@851marc Thanks for opening the issue. The fix is live! https://www.pkmn.help/pokedex

I realized sword/shield icons for offense/defense could be confusing because of Pokemon Sword/Shield (and harder to tap/click), so I went with text and made room for them elsewhere :)

This is perfect thank you for your work! <3


rc7 breaks unit tests

At rc7, my unit tests break with:
Promise rejected before it exists: Attempting to register an unknown factory: `ember-intl@adapter:-intl-adapter

ember-intl@adapter:default now.  Updated wiki to reflect that.


Trending

This PR adds functionality to generate a genotype document for the trending database. It should be run through the cli with a sample Id as argument and it should return a dictionary.
How to test:

install genotype on hasta stage
Run command:

genotype --database  prepare-trending --days 150
This will return a dict with samples created within the last 150 days. Keys are sample ids and values are documents for the trending database.
One can also run the command:
genotype --database  prepare-trending --sample ACC5346A3
This will return the document for that sample .
Expected outcome:
EG:
(cg) 130-229-2-11-dhcp:~ mayabrandi$ genotype --database  prepare-trending -s ACC5346A3
{'_id': 'ACC5346A3', 'status': None, 'sample_created_in_genotype_db': '2019-05-23T10:51:18', 'sex': 'male', 'snps': {'sequence': {'rs10144418': ['C', 'C'], 'rs1037256': ['G', 'A'], 'rs1044973': ['C', 'T'], 'rs1065772': ['C', 'T'], 'rs11010': ['C', 'C'], 'rs11789987': ['C', 'T'], 'rs11797': ['C', 'T'], 'rs12906163': ['A', 'A'], 'rs14105': ['G', 'G'], 'rs1469375': ['T', 'C'], 'rs16888055': ['T', 'T'], 'rs2070106': ['G', 'G'], 'rs2075511': ['C', 'C'], 'rs2159158': ['A', 'G'], 'rs216193': ['G', 'G'], 'rs2229741': ['C', 'T'], 'rs2229974': ['G', 'A'], 'rs2230772': ['T', 'T'], 'rs2250411': ['C', 'C'], 'rs2279077': ['A', 'G'], 'rs2296288': ['C', 'C'], 'rs26840': ['T', 'T'], 'rs325400': ['G', 'G'], 'rs3734404': ['T', 'T'], 'rs3734441': ['G', 'A'], 'rs3745681': ['G', 'G'], 'rs3752714': ['G', 'A'], 'rs3764535': ['A', 'A'], 'rs3812471': ['T', 'T'], 'rs4077410': ['A', 'G'], 'rs42427': ['A', 'A'], 'rs4488761': ['A', 'G'], 'rs4804': ['T', 'T'], 'rs4871': ['A', 'A'], 'rs4898': ['C', 'C'], 'rs492702': ['G', 'A'], 'rs501231': ['A', 'G'], 'rs507577': ['G', 'A'], 'rs5744857': ['C', 'C'], 'rs648396': ['G', 'G'], 'rs6855349': ['G', 'G'], 'rs710098': ['C', 'C'], 'rs7195377': ['A', 'A'], 'rs7255265': ['C', 'C'], 'rs7300444': ['C', 'C'], 'rs7797': ['G', 'G'], 'rs7953': ['G', 'A'], 'rs8654': ['G', 'A'], 'rs8716': ['G', 'G'], 'rs9302885': ['A', 'G'], 'rs9434742': ['T', 'T']}}}
Review:

[ ] code approved by
[x] tests executed by @mayabrandi
[ ] "Merge and deploy" approved by
Thanks for filling in who performed the code review and the test!

This is patch|minor|major version bump because ...

Yes, I'd like the applications to not know about each other. In other words, they should preferably have no names from each other

Can this be merged now or do you have any further comments? @patrikgrenfeldt
I don't manage to fix the lint issues that are left.

I looked at the two remaining linting issues and they complain about a unused passed variable. Any reason you can't just remove that variable?

I've updated the PR text. Can you fill in how to tests this, maybe even test it already to show that it works, and motivate the version bump?

Hej! Yes. If I remove the variable the database queries inside the functions build_snp_dict and prepare_trending give connection errors, eventhougn the genotype_db is never used explicitly. I can show you if you have time. Maybe you can come with a better solution.

9 sep. 2019 kl. 16:28 skrev Kenny Billiau<EMAIL_ADDRESS>I looked at the two remaining linting issues and they complain about a unused passed variable. Any reason you can't just remove that variable?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/genotype/pull/28?email_source=notifications&email_token=AAJ65XJJLVJTNDISRLIJFYTQIZMQHA5CNFSM4INWHJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HY6II#issuecomment-529501985, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ65XPFNBFL252RZHJWH3LQIZMQHANCNFSM4INWHJPA.

Will do!

9 sep. 2019 kl. 16:31 skrev Kenny Billiau<EMAIL_ADDRESS>I've updated the PR text. Can you fill in how to tests this, maybe even test it already to show that it works, and motivate the version bump?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/genotype/pull/28?email_source=notifications&email_token=AAJ65XJ576O3VPE722ADCRDQIZM27A5CNFSM4INWHJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HZJYY#issuecomment-529503459, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ65XLICAW3QFOP33BL5QLQIZM27ANCNFSM4INWHJPA.

Alright, I think we can let the last two linting errors just slip by. When the test cases are documented, I can sign off for deploy

I have updated the test spec in the PR text now. Se if it is okej.

10 sep. 2019 kl. 10:04 skrev Kenny Billiau<EMAIL_ADDRESS>Alright, I think we can let the last two linting errors just slip by. When the test cases are documented, I can sign off for deploy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/genotype/pull/28?email_source=notifications&email_token=AAJ65XPWVV4M7PUINMWFIELQI5IIHA5CNFSM4INWHJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6KHBZY#issuecomment-529821927, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ65XLE5SMMOSADG4DUPX3QI5IIHANCNFSM4INWHJPA.

There is no update script for genotype-stage on clinical-db, let me quickly make one.
I would change the text to the following so it is clear for whomever that tests it what to do. It also configures genotype
How to test:

install genotype on clinical-db stage
In stage, run command:
genotype --database prepare-trending --days 150

This will return a dict with samples created within the last 150 days. Keys are sample ids and values are documents for the trending database.
One can also run the command:
genotype --database prepare-trending --sample ACC5346A3
This will return the document for that sample .

Thanks a lot!

10 sep. 2019 kl. 11:03 skrev Kenny Billiau<EMAIL_ADDRESS>There is no update script for genotype-stage on clinical-db, let me quickly make one.
I would change the text to the following so it is clear for whomever that tests it what to do. It also configures genotype
How to test:
install genotype on clinical-db stage
In stage, run command:
genotype --database prepare-trending --days 150
This will return a dict with samples created within the last 150 days. Keys are sample ids and values are documents for the trending database.
One can also run the command:
genotype --database prepare-trending --sample ACC5346A3
This will return the document for that sample .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/genotype/pull/28?email_source=notifications&email_token=AAJ65XP7BYL7VS5ETDIRXNDQI5PG7A5CNFSM4INWHJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6KMORA#issuecomment-529844036, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ65XPJDWN6P6X2TG4UOA3QI5PG7ANCNFSM4INWHJPA.

Oh wait, I'm wrong, this is to be tested on hasta, right? It needs to be coupled to cg, right?

Test has been performed on hasta with expected results.

Don't forget to motivate the version bump

"Since this is adding a new feature to the package, it should probably get a major version bump?" @mayabrandi you may add to an API and calling it minor as long as it doesn't break any old parts

Okej!

24 okt. 2019 kl. 10:06 skrev patrikgrenfeldt<EMAIL_ADDRESS>"Since this is adding a new feature to the package, it should probably get a major version bump?" @mayabrandi https://github.com/mayabrandi you may add to an API and calling it minor as long as it doesn't break any old parts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/genotype/pull/28?email_source=notifications&email_token=AAJ65XNKTI3YYLUMK633SZLQQFJSFA5CNFSM4INWHJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEDWCQ#issuecomment-545798922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ65XIPKQTGLIMTL4Q7RETQQFJSFANCNFSM4INWHJPA.

@patrikgrenfeldt @henrikstranneheim
Ive split the cli into two different commands for the two different types of queries to the database, as we talked about. Also tried to take away anything that reminds of mongo in the doc strings, variables and function names. Pleas have a look and let me know whats left. When we have decided that this is what the structure will look like, I will update the tests. They are out of date atm. Thanks for today!

@patrikgrenfeldt @henrikstranneheim Ive updated the things we talked about here.
remove _id from export dicts
remove sample option
rename from trending to export
remove export of empty dict
I did not change from option to argument. had some issues there

@patrikgrenfeldt @henrikstranneheim I consider myself done with the tests now, if you want to have a look.

Is this one ready for approval? The failing checks don't seem to have anything to do with this PR. @patrikgrenfeldt

The tests have been run in October and several dozen new commits have been added. Can you rerun the tests?

The checks work again, https://travis-ci.org/Clinical-Genomics/genotype/builds/621520029?utm_source=github_status&utm_medium=notification,
there are some linting left

Can this one be approved and merged now @patrikgrenfeldt?

deployed


Story epic progress

Cute animal pic

Link to Trello card (if applicable)
https://trello.com/c/pjCczuhe
Description
The commit messages say what you did; this should explain why and/or how.

[ ] Description is in Trello card

 Metecho epics › progress


Library Failed to install . CheaquePy ver 12.0.0

Failed to install opencv-python>=<IP_ADDRESS> from https://files.pythonhosted.org/packages/3c/61/ee4496192ed27f657532fdf0d814b05b9787e7fc5122ed3ca57282bae69c/opencv-python-<IP_ADDRESS>.tar.gz (from deepface).
Python =  > 3.10

install deepface with no dependencies: pip install deepface --no-deps
install opencv's latest version: pip install opencv-python
ps: sface will not work if you do not install the opencv version <IP_ADDRESS>


Create a rustfmt.toml and reformat

This is based on my own rustfmt.toml I usually use.  I  tend to set these for the following reasons:
imports_granularity = "Crate"  # this combines a bunch of lines at the top, but it doesnt match google style so I removed it
tab_spaces = 2 # param lists and chained calls tend to be longer and more common in rust, I think this increases readability
fn_params_layout = "Tall" # this is way easier to read than non tall
format_strings = true
use_try_shorthand = true # replace any ugly try! macros with the pretty ?
wrap_comments = true
max_width = 100 # If we can do it in Java, we can do it in Rust

PR #76


change in seed game

hello phil
thank you for your great work
in the seed game there is been a change when you click on worm
in the previous version of the game you can sell it directly after claim it, but in the new version you must click on "Yep" button and this worm goes to shop tab and you can sell it later
maybe change this line can solve the problem
(line 90)     xpath = "//button[.//p[contains(text(), 'Sell now')]]"

must to be mentioned that current code is working well and catch every worm that appear on the tree
its just for perfection :)
another matter i want to address is seed balance that does not print in the logs like screen bellow

Hi,
Thanks, we will take a look at the change in the coming days


small fix for NMT build job

This change is

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.96%. Comparing base (368120f) to head (1b848ec).

Files with missing lines
Patch %
Lines

machine/jobs/nmt_engine_build_job.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #119   +/-   ##
=======================================
  Coverage   87.96%   87.96%
=======================================
  Files         262      262
  Lines       15500    15500
=======================================
  Hits        13634    13634
  Misses       1866     1866

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

machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
Why was this change necessary?

When I was refactoring for SMT engines split out, I was mirroring the return type, returning the train corpus size.

machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
parallel_corpus.count() will result in the full parallel corpus being read, so it would be better to use model_trainer.stats.train_corpus_size. I looked at HuggingFaceNmtModelTrainer and it looks like it might not be properly setting train_corpus_size. We should fix that bug instead.

I looked at the code and can't tell where it should be fixed (added to).  If you already know what fix needs to be made, can you go ahead and make it?

machine/translation/huggingface/hugging_face_nmt_model_trainer.py line 370 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
You should compute the length once. This might require iterating over the entire dataset.

Done.

machine/translation/huggingface/hugging_face_nmt_model_trainer.py line 382 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
This shouldn't be necessary. The type checker can infer the type from the isinstance call.

Done.


Tiller process crash when running helm list on objects that no longer exist in k8s

helm list
2016/08/19 16:03:06 transport: http2Client.notifyError got notified that the client transport was broken EOF.
Error: transport is closing

k get deployments,pods,svc --namespace=kube-system | grep tiller
tiller-deploy-610593871-xq3bk                        0/1            Error         2                   40m

k logs tiller-deploy-610593871-xq3bk --previous  --namespace=kube-system
Tiller is running on :44134
Tiller probes server is running on :44135
Storage driver is ConfigMap
2016-08-19 23:03:05.799271 I | Listing all deployed releases in storage
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x576ec9]

goroutine 56 [running]:
panic(0x14729c0, 0xc42000a030)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
k8s.io/helm/pkg/storage.StatusFilter.func1(0xc420340f50, 0xc42027d550)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/storage/filter.go:65 +0x19
k8s.io/helm/pkg/storage.FilterFunc.Check(0xc42027d550, 0xc420340f50, 0xc420340f50)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/storage/filter.go:30 +0x35
k8s.io/helm/pkg/storage.(*Storage).ListDeployed.func1(0xc420340f50, 0x0)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/storage/storage.go:84 +0x41
k8s.io/helm/pkg/storage/driver.(*ConfigMaps).List(0xc42027cc20, 0x16c15f0, 0x1, 0x13d1d60, 0xc420324320, 0x2fa39abd, 0x1ec1f80)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/storage/driver/cfgmaps.go:108 +0x282
k8s.io/helm/pkg/storage.(*Storage).ListDeployed(0xc42027cc30, 0x7f784c6944b0, 0x0, 0x2, 0xc420076578, 0x16bdff2)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/storage/storage.go:85 +0xc1
main.(*releaseServer).ListReleases(0xc420022258, 0xc4202b8400, 0x1e940a0, 0xc420324310, 0x0, 0xc420295cd0)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/cmd/tiller/release_server.go:64 +0x4a
k8s.io/helm/pkg/proto/hapi/services._ReleaseService_ListReleases_Handler(0x1588420, 0xc420022258, 0x1e927e0, 0xc420076500, 0x0, 0xc4201ce800)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/pkg/proto/hapi/services/tiller.pb.go:518 +0x117
k8s.io/helm/vendor/google.golang.org/grpc.(*Server).processStreamingRPC(0xc420076c00, 0x1e941c0, 0xc420088120, 0xc4200802a0, 0xc420474680, 0x1eaf6c0, 0xc4203528a0, 0x0, 0x0)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/vendor/google.golang.org/grpc/server.go:575 +0x22a
k8s.io/helm/vendor/google.golang.org/grpc.(*Server).handleStream(0xc420076c00, 0x1e941c0, 0xc420088120, 0xc4200802a0, 0xc4203528a0)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/vendor/google.golang.org/grpc/server.go:650 +0xc33
k8s.io/helm/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc4204681b0, 0xc420076c00, 0x1e941c0, 0xc420088120, 0xc4200802a0)
	/home/ubuntu/.go_workspace/src/k8s.io/helm/vendor/google.golang.org/grpc/server.go:323 +0xab
created by k8s.io/helm/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
	/home/ubuntu/.go_workspace/src/k8s.io/helm/vendor/google.golang.org/grpc/server.go:324 +0xa3

k get configmap ardent-otter --namespace=kube-system
NAME           DATA      AGE
ardent-otter   1         49m
k get configmap ardent-otter --namespace=kube-system -o yaml
apiVersion: v1
data:
  release: <snip>
kind: ConfigMap
metadata:
  creationTimestamp: 2016-08-19T22:11:21Z
  labels:
    CREATED_AT: "1471644681"
    NAME: ardent-otter
    OWNER: TILLER
    STATUS: DEPLOYED
    VERSION: "1"
  name: ardent-otter
  namespace: kube-system
  resourceVersion: "100128"
  selfLink: /api/v1/namespaces/kube-system/configmaps/ardent-otter
  uid: dc28c0fa-6659-11e6-9465-42010a800005

helm version
v2.0.0-alpha.3

Ewww.
What do you mean "objects that no longer exist"? Was a ConfigMap manually deleted or something?
We'll definitely hunt this one down.

So in this specific case this is what happened
I have a trunc 24 on the Name which sometimes lands it on a hyphen. I think theres an issue on this already open. Need to dig
helm install charts/spark/ --namespace=spark
Error: release tufted-garfish failed: [Service "tufted-garfish-zeppelin-" is invalid: metadata.name: Invalid value: "tufted-garfish-zeppelin-": must match the regex [a-z]([-a-z0-9]*[a-z0-9])? (e.g. 'my-name' or 'abc-123'), Deployment.extensions "tufted-garfish-zeppelin-" is invalid: [metadata.name: Invalid value: "tufted-garfish-zeppelin-": must match the regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)* (e.g. 'example.com'), spec.template.spec.containers[0].name: Invalid value: "tufted-garfish-zeppelin-": must match the regex [a-z0-9]([-a-z0-9]*[a-z0-9])? (e.g. 'my-name' or '123-abc')]]

Even though I get an error here it still lays down the resources. I was nuking them manually but missed cleaning up the configMap.
Something like
k delete deployments,svc -l release=tufted-garfish --all --namespace=spark
Once I found that the configMap was still laying around. Thanks Jason H! I could simply nuke it and problem solved. We should simply handle this error I guess.

Nah, you shouldn't ever manually nuke the configmap. That is the one condition that I can imagine actually causing the panic (though it should be an error, not a panic).
Simply deleting the resources shouldn't cause a nil pointer, or even an error on a list command. So something in there didn't get handled correctly.

LMK if you need any further detail.

Thanks for the quick response!

Ah! The error indicates that there's something corrupt in the snipped out section of the configmap. I found where it's happening. The status field is missing in the base64-encoded data. I'll hunt that down on Monday.
The good news, though, is that it has nothing to do with your deleting things out of Kubernetes. THere's just a bit of code somewhere that is not setting the right status.

I still have the snip b64 payload. Would it help to attach it?

/cc @fibonacci1729

I'm hitting this too. What's the best way to recover? Can I delete the data key/val from the configmap?

This issue is cause by helm init installing an unversioned tiller image.  It has been fixed in #1118
If you need a work around you can install the correct image by running init with the correct version.
helm init --image gcr.io/kubernetes-helm/tiller:v2.0.0-alpha.3

appears to be still not working for me, I did:
kubectl --namespace kube-system delete pod tiller-deploy-610593871-gkeai
helm init -i gcr.io/kubernetes-helm/tiller:v2.0.0-alpha.3
helm list
and got:
transport: http2Client.notifyError got notified that the client transport was broken EOF.
Error: transport is closing

my mistake, should have been deleting the deployment and not the pod
kubectl --namespace kube-system delete deployment tiller-deploy


Add homepage URL (this repo) to ar-multidb.gemspec

Adding the homepage attribute will allow rubygems.org to link back to this page, which is helpful for filing issues, creating PRs, etc.

I had a very hard time finding this repo. Hope this gets merged!


Fixed EMT Assignment 1

Can you please provide a description of what you have done in this PR?

Cleaned up EMT Assignment 1, fixed bugs and made sure everything was Python-friendly, removed the last bits of R-related code.


feat/10: system alerts provisioning code

implemented code for writing system_alerts
Note:
Not calling writeSystemAlerts in setInterval like others, because the record to be inserted immediately
In writeSystemAlerts method, not checking for data.length > commitSize because the record to be immediately inserted

@davehorton can you pls review and merge

published in v0.2.11


change master.quarter format

@yulqen Is it possible to change the master.quarter structure so that str(master.quarter) returns [quarter]_[year_one]_[year_two] i.e. Q2_20_21, rather than Q2 20/21? It would be helpful for automatically including the quarter stamp in the saving of output files e.g. data_analysis_Q2_20_21 .
Just an idea. Sure it wont be difficult to develop a function to do this in analysis_engine also.

Here you go. Using pythons regular expressions library - regular expressions.
Makes more sense for you to convert the text to whatever you want rather than changing the API.
import re

def make_file_friendly(quarter_str: str) -> str:

    # regular expressions start with an "r" in python. This is the crucial bit - a pattern that states what string you want to match.
    regex = r"Q(\d) (\d+)\/(\d+)"

    # we use the `search()` function to match the string we want with the pattern
    m = re.search(regex, quarter_str)

   # this returns the string we want, keeping the bits in brackets from `regex` and writing them out separated by underscores instead of the forward slash.
    return re.sub(regex, r"Q\1_\2_\3", test_str)

# just testing it works
test_str = "Q2 10/23"
print(make_file_friendly(test_str))

Excellent. Thanks for providing this.


Make find command only match against 4-character substring when matching UUID

Otherwise, any arbitrary number or letter within the uuid will cause a person to be returned in the search, even though the user will not have any idea why that person is being returned.
Already assumed to be the case in UG.

done


Security encapsulated Notification Reports are not logged as serial data for some reason

13:55:02.523 SERIAL « [ACK]                                                                   (0x06)
13:55:02.780 DRIVER « [Node 040] [REQ] [ApplicationCommand]
                      └─[SecurityCCCommandEncapsulation]
                        │ sequenced: false
                        └─[NotificationCCReport]
                            notification type:   Access Control
                            notification status: 255
                            notification event:  Auto lock locked operation
                            event parameters:

user error :)


Feature Keyboard System

I hope this suggestions help the future development of gbstudio as an open source project on creating gameboy games:
It is better if you can associate a setting/scene/command for keyboard in gameboy for typing names or other thing relative with writing text. Aside from that additional string for variable as text. (Ex. When i set variable $01$ as mark, ans set a string '%' for text when i type a text on display dialogue: "i am %01%", it will display "i am mark"
Suggested Solution
add a keyboard scene or screen layer for keyboard, string for variable as text.

This seems related to issue #146


[RFC]: Need Discord Bot Documentation for Onboarding Developer on RDS

Problem Statement
Currently, When a new developer joins Realdevsquad after completing the Lift-Simulation task, they will be assigned a new task(Suppose a task related to Discord Bot)
The new developer starts exploring the feature and tries to understand the task and sometimes while exploring the feature, they might understand something wrong or get confused, and then the new developer reaches out for help to other developers and there can be a case where the other developer also does not know that feature well because they might never get a chance to work on that feature or never get time to explore that feature and In most of the cases the flow of the feature is well known by few developers who already worked on that feature.
This leads to a couple of problems:

There's a dependency created on a few developers and due to this, the new developer needs to spend much time to understand when the dependent developers might be busy or unavailable when he needs them the most.
Finally, after understanding the task they will not get enough time to think about new ideas(i.e. not knowing the feature end to end) they will only focus on writing code for that particular task and try to finish before the deadline.

Benefits of Having Documentation of the Feature:

Things get faster and the new developers will not only focus on writing code but also think about how that particular task has to be done. Once they know the feature end to end well, they try to use the feature practically and can come up with new ideas.

When the new developer gets a task, they will simply go through the Feature documentation  (i.e. brief context of how the feature works end to end). They get the idea of which part they have to work on quickly. While working on that task comfortably, they will get time to start exploring more things around that feature and can find new bugs too.

Now, the new Developer reaches out for help to any existing developer then that existing developer also knows what he is trying to build and its end result. So any existing developer can guide/help better, the developers (here we decrease the dependency).

Most importantly, the developers will be in the phase of creating new ideas and not just working on others' ideas.

Can you please write one example of any topic like "How to contribute?"


Add fontStyle property and italic shorthand

It would be awesome to be able to write italic, just like bold.

Similarly I would like to see a fontWeight property. @jxnblk is this something you would consider? I love what you are doing with axs but I am missing a more granular control over typographic features.


Try new play-ws when running play-scala-tls-example on Java 11

Refs #17

Nice! I've created 2.8.x and re-targeted https://github.com/playframework/play-samples/pull/16 to it. Maybe we can retarget this PR too.


Regression: host metrics are not available running only source plugins

Describe the bug
After this change, https://github.com/falcosecurity/libs/pull/1362 host metrics will no longer be available when running a source plugin like k8saduit. This is a regression and we need to find a way to address it.
Metrics extracted with dummy plugin in Falco 0.36.0-rc3
{
	"output_fields": {
		"evt.source": "dummy",
		"evt.time":<PHONE_NUMBER>561603364,
		"falco.container_memory_used": 0,
		"falco.cpu_usage_perc": 0.0,
		"falco.duration_sec":<PHONE_NUMBER>,
		"falco.host_boot_ts": 0,
		"falco.host_num_cpus": 0,
		"falco.hostname": "",
		"falco.kernel_release": "",
		"falco.memory_pss": 25,
		"falco.memory_rss": 29,
		"falco.memory_vsz": 1779,
		"falco.num_evts": 18641280,
		"falco.num_evts_prev": 0,
		"falco.outputs_queue_num_drops": 0,
		"falco.start_ts": 0,
		"falco.version": "0.36.0-rc3",
		"scap.engine_name": "source_plugin"
	},
	"sample": 1
}
{
	"output_fields": {
		"evt.source": "dummy",
		"evt.time":<PHONE_NUMBER>561553388,
		"falco.container_memory_used": 0,
		"falco.cpu_usage_perc": 0.1,
		"falco.duration_sec":<PHONE_NUMBER>,
		"falco.evts_rate_sec": 3573155.7144059963,
		"falco.host_boot_ts": 0,
		"falco.host_num_cpus": 0,
		"falco.hostname": "",
		"falco.kernel_release": "",
		"falco.memory_pss": 25,
		"falco.memory_rss": 29,
		"falco.memory_vsz": 1908,
		"falco.num_evts": 36506880,
		"falco.num_evts_prev": 18641280,
		"falco.outputs_queue_num_drops": 0,
		"falco.start_ts": 0,
		"falco.version": "0.36.0-rc3",
		"scap.engine_name": "source_plugin"
	},
	"sample": 2
}

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

Pitching one approach to get out of this regression here: https://github.com/falcosecurity/libs/pull/1362#issuecomment-2238352359

Oh hey @gnosek

Special notes for your reviewer:
This is definitely not the first time around the block with this, so I'm waiting for the inevitable "revert this" PR ;)

... the day has come ;)
Instead of reverting, would the following be acceptable to get out of the regression for the host metrics falcosecurity/falco#2821 when you run Falco w/ plugin source only, but still on Linux.

Add a new sinsp_mode_t called SINSP_MODE_PLUGIN_HOST_METRICS (or similar) that complements SINSP_MODE_PLUGIN when running Falco w/ a plugin source only (no syscalls), but also with the Falco metrics framework enabled
When running in mode SINSP_MODE_PLUGIN_HOST_METRICS, allocate a new platform that could be called scap_linux_host_metrics_alloc_platform or similar. It would basically be a Linux light platform that would only alloc what is needed in order to have m_machine_info, m_agent_info and the iflist (for a new metrics field in the making) available to the metrics framework.
Other ideas?

Hey @incertum, long time no see :)
I like the idea of a separate linux-lite platform that would skip the process list, but still collect non-process metadata. Having said that, I can't express how much I dislike adding a new mode (and the concept of sinsp modes in general) :)
My suggestion would be:

add the linux-lite platform (as a scap_platform implementation; would just share most of the code with the full linux one)
introduce a special-purpose enum for the platform selection (generic/lite/full linux)
replace the sinsp_mode_t param to sinsp::open_plugin with the enum (we'd still pick a mode for sinsp; would probably be SINSP_MODE_PLUGIN for the lite platform)

I am going to sidestep the question of which should be the default by making the parameter mandatory, and therefore the caller's problem :D
I went through the libs code and the specific mode doesn't seem to matter in this case, so let's try and slowly move towards having no modes (they're effectively a class hierarchy smeared all over the code).
Sadly, this will break the sinsp API, but it feels better than adding a new mode value that's only ever used in one place (and would have to be handled in is_plugin or is_live)
[side rant: scap does not care about machine_info etc. one bit, except for capture files so this could all happily live in sinsp; this would need a giant-but-ultimately-trivial PR to untangle that I have made several times already but never ended up submitting it because $REASONS]

@gnosek yes SGTM https://github.com/falcosecurity/falco/issues/2821#issuecomment-2242124223
Also thanks for opening the PR, I was gonna suggest that you would be most suited for this clean up ;)
re

scap does not care about machine_info etc. one bit, except for capture files so this could all happily live in sinsp;

We are still always going back and forth with what should be in sinsp vs scap. Btw @mrgian is moving more of the metrics stuff to scap in order to make it multi-OS, see the PR https://github.com/falcosecurity/libs/pull/1870.

Sigh :)
That looks like it could use moving libsinsp/metrics_collector.cpp to something like libsinsp/linux/metrics_collector.cpp and some build system changes to avoid #ifdef __linux__ in platform-agnostic code (either provide a stub for other platforms, or a #define HAS_METRICS_COLLECTOR or some such)
I'm not opposed to platform-specific code in libsinsp (honestly, there's little else in there), I'm just opposed to spreading it around the codebase with ifdefs or hidden assumptions. I'd love to see e.g. platform-agnostic interfaces with platform-specific implementations.
Ceterum censeo libscap esse delendam :)

Ceterum censeo libscap esse delendam :)

:) looking forward to it!
Also thanks for posting on Gianmatteo's PR with few suggestions!

This was addressed by https://github.com/falcosecurity/libs/pull/1969
Closing for now. If we still see issues we can re-open this issue.


[dv, push pull agent] Support for 4-phase req-ack

Add support for 4-phase req-ack
add pull_handshake_e type
Update cfg, agent, monitor, driver and interface to support this
Refactor and minor fixups in monitor and sequences

Signed-off-by: Srikrishna Iyer<EMAIL_ADDRESS>

@NigelScales
The push pull agent can now be used for AST ADC ctrl interface. It now supports 4-phase req-ack handshake.


Tidy up docs

This PR adds some general maintenance to the docs:

Links functions to the appropriate section in the API reference.
Cleans up code outputs, formatting, images/fixes code examples in Searching the Hub.
Adds DatasetSearchArguments and ModelSearchArguments to the API reference.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@osanseviero fetch this on the hubs-docs repo?

Why? This PR is for the library documentation. See https://huggingface.co/docs/huggingface_hub/how-to-downstream

Fair, have we removed the docs that should be in the other repo from this repo?


downloading issues

hello, i am not sure weather you still check here.
If you do i could use some help, see ive been trying to use your "aggie.io" for a bit but i have been unable to get the pen pressure to work. yes i have the extension, yes i downloaded the files.
i use google chrome,
i also tried re-installing the files but even then, when i tried to re-download them it said i already had the latest software installed? is there an uninstaller i have to use?

What tablet and system do you use ?


Let users start the app with API key and shared secret

The API key and shared secret will be stored as a compiled resource. To avoid having new users recompile the app with their own set of API credentials, it should be possible to provide them at app launch (as command line parameters). They should be saved to the resource. If there already are credentials stored, the user should be prompted whether they want to overwrite the credentials.

Done.

Done.


I ported inference to OPT

https://github.com/Ph0rk0z/GPTQ-Merged/commit/24b57d83467ade90116869729668be7d9c7e4d69
I got it doing inference on opt. Not sure on training as I've not trained a single thing yet.
Inference for the 6b wasn't bad at least. Have to convert the 13b or the 30b but it takes time and will be obsoleted by the new GPTQ.
Output generated in 2.25 seconds (5.77 tokens/s, 13 tokens, context 77)
Model to test with : https://huggingface.co/autobots/opt-6b-4-bit/tree/main
opt-13b.. took 4 hours to quantize.
Output generated in 4.03 seconds (2.98 tokens/s, 12 tokens, context 97)
Output generated in 8.71 seconds (0.92 tokens/s, 8 tokens, context 1848)
Output generated in 16.67 seconds (2.34 tokens/s, 39 tokens, context 1782)

I will upload it soon and attempt GPT-J and GPT-NeoX.
I guess it would be nice to have a good way to check coherence on these.

So today I have made it generic and now GPT-J works.. like pygmalion and all. https://github.com/Ph0rk0z/GPTQ-Merged/commit/ca722fddfb9fed3137d270dea6add0c5640484ea
But neox for some reason fails.
Loading settings from settings.json...
Loading GPT-NeoXT-Chat-Base-20B...
Found models/GPT-NeoXT-Chat-Base-20B-4bit.pt
Loading Auto Model ...
Traceback (most recent call last):
  File "/home/mint/text-generation-webui-testing/server.py", line 234, in <module>
    shared.model, shared.tokenizer = load_model(shared.model_name)
  File "/home/mint/text-generation-webui-testing/modules/models.py", line 101, in load_model
    model = load_quantized(model_name)
  File "/home/mint/text-generation-webui-testing/modules/GPTQ_loader.py", line 73, in load_quantized
    model, tokenizer = load_auto_model_4bit_low_ram(path_to_model, f"models/{pt_model}.pt" )
  File "/home/mint/text-generation-webui-testing/repositories/GPTQ-Merged/autograd_4bit.py", line 219, in load_auto_model_4bit_low_ram
    model = accelerate.load_checkpoint_and_dispatch(model=model, checkpoint=model_path, device_map='auto')
  File "/home/mint/miniconda3/envs/textgen/lib/python3.10/site-packages/accelerate/big_modeling.py", line 479, in load_checkpoint_and_dispatch
    load_checkpoint_in_model(
  File "/home/mint/miniconda3/envs/textgen/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 862, in load_checkpoint_in_model
    set_module_tensor_to_device(model, param_name, param_device, value=param, dtype=dtype)
  File "/home/mint/miniconda3/envs/textgen/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 131, in set_module_tensor_to_device
    raise ValueError(f"{module} does not have a parameter or a buffer named {tensor_name}.")
ValueError: Autograd4bitQuantLinear() does not have a parameter or a buffer named weight.

Maybe it does not have lm_head?
https://github.com/Ph0rk0z/text-generation-webui-testing/commits/main and you can try it out without disturbing regular textgen ui or hard-coded patches.
python server.py --gptq-bits 4 --model pygmalion-6b_dev --autograd --cai-chat --gptq-model-type gptj
Next up get the multi-gpu working somehow and submit a PR back here.

Probably can close this since it's working for multiple modles.


update VM readme and VM install docs to reference R interpreter adds

What is this PR for?
Updates Virtual Machine documentation to include SparkR information.
What type of PR is it?
Documentation
Questions:

Does the licenses files need update?  No
Is there breaking changes for older versions? No
Does this needs documentation? No

Looks good !

LGTM


Ported to sbt 1.0

what is the status of this PR?

FYI: @sullis I sent an email in January to what I thought was the address for @brkyvz (guessed from profile), but never received a reply. I'm worried this has become abandonware, and maybe a community fork is needed. I hope I'm wrong, but I can't think of any other options at this point to keep it moving forward. Ideas?

@metasim @sullis Sorry folks, been very busy with the Spark 2.3 release. I'll take a look at this (test it etc) as soon as possible. Really appreciate the PR!

+1 on this PR

@brkyvz Any update here?

Closed due to lack of maintainer interest.

@metasim is this something that could be taken up for Scala 2.12 and modern Spark? The GraphFrames project needs it to work with late model sbt.


Terminal font messed up in WSL windows

Issue Type: Bug
Three simple steps:

Open WSL remote window
Look at terminal
Cringe

;-)
This is how the terminal looks on a local window:

And this is on the remote window:

Note that the colors are gone and a non-monospaced font is used which makes the output pretty unreadable. Also the cursor is invisible.
This seems to be a regression because it worked previously just fine.
This happens only in the terminal, by the way. The code editor displays normally. Also, it seems to happen only with WSL, not with SSH. (I didn't test the other remote options.)
Update:
The whole terminal style tag seems to be missing.
DOM tree on local window:

DOM tree on remote window:

No errors in the devtools other than #74321 which doesn't seem to be connected (I fixed it temporarily and the terminal was still broken).
VS Code version: Code - Insiders 1.35.0-insider (6b081a9f0089062b2cd105e1f1ab366591291534, 2019-05-24T21:28:41.464Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-17763-Microsoft
Remote OS version: Linux x64 4.4.0-17763-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.83GB (4.65GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL

OS
Linux x64 4.4.0-17763-Microsoft

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

Memory (System)
15.83GB (4.65GB free)

VM
0%

Item
Value

Remote
WSL

OS
Linux x64 4.4.0-17763-Microsoft

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

Memory (System)
15.83GB (4.64GB free)

VM
0%

Extensions (71)

Extension
Author (truncated)
Version

language-x86-64-assembly
13x
2.2.11

Doxygen
bbe
1.0.0

vscode-standardjs-snippets
cap
0.8.4

LogFileHighlighter
emi
2.5.0

Lua
key
0.0.9

vscode-nsis
Kry
0.0.1

VBScript
lug
0.0.2

dotenv
mik
1.0.1

remote-containers
ms-
0.54.0

remote-ssh
ms-
0.37.0

remote-ssh-edit
ms-
0.37.0

remote-ssh-explorer
ms-
0.37.0

remote-wsl
ms-
0.36.0

debugger-for-chrome
msj
4.11.3

vscode-docker
Pet
0.6.2

ejs-language-support
Qas
0.0.1

vscode-autohotkey
sle
0.2.2

vscode-todo-highlight
way
1.0.4

rebound-delete
aar
1.1.0

paste-fixer
aar
1.0.0

Bookmarks
ale
10.4.3

vscode-color
ans
0.4.5

htmltagwrap
bra
0.0.7

vscode-standardjs
che
1.2.3

npm-intellisense
chr
1.3.0

bracket-select
chu
2.0.1

jsrefactor
cms
2.18.2

gitignore
cod
0.6.0

compulim-vscode-closetag
Com
1.2.0

vscode-markdownlint
Dav
0.26.0

jshint
dba
0.10.20

vscode-eslint
dba
1.9.0

vscode-new-file
dku
4.0.2

vscode-npm-source
dku
1.0.0

xml
Dot
2.4.0

gitlens
eam
9.8.1

EditorConfig
Edi
0.13.0

vscode-npm-script
eg2
0.3.7

gc-excelviewer
Gra
2.1.32

beautify
Hoo
1.5.0

RelativePath
jak
1.4.0

hungry-delete
jas
1.6.0

join-comment-aware
joh
0.0.3

typings-autoinstaller
jvi
1.2.0

edge
luo
0.3.2

rainbow-csv
mec
1.1.1

ecdc
mit
1.0.5

find-jump
mks
1.2.4

prettify-json
moh
0.0.3

python
ms-
2019.4.12954

cpptools
ms-
0.23.1

node-modules-resolve
nau
1.0.2

prettier-standard-vscode
num
0.5.0

quicktype
qui
12.0.46

java
red
0.45.0

json-organizer
rin
0.0.4

LiveServer
rit
5.6.1

ActiveFileInStatusBar
Ros
1.0.3

vscode-paste-and-indent
Rub
0.0.8

bracket-jumper
sas
1.1.8

trailing-spaces
sha
0.3.1

rewrap
stk
1.9.1

ignore-gitignore
stu
1.0.1

sort-lines
Tyr
1.8.0

bracket-padder
via
0.1.0

vscode-java-debug
vsc
0.18.0

quokka-vscode
Wal
1.0.216

change-case
wma
1.0.0

join-lines
wma
0.2.2

FilterText
yhi
0.0.14

html-css-class-completion
Zig
1.19.0

I am also seeing messed up terminal text on macOS, on Insiders build for the last several days at least. In contrast to the original report, this is happening for me locally.
It is a problem even when running with extensions disabled.
Rendering looks messed up; selection is broken; ANSI colors are broken.
For example, in Apple terminal:

In VSCode:

Build 6b081a9f0089062b2cd105e1f1ab366591291534.

Editing the terminal.integrated.fontFamily config setting works for me as a temporary fix. Every time I open a vscode instance, I simply edit the value of that setting and then set it back to my preferred value.
Also, this only seems to be happening when terminal.integrated.rendererType is set to dom.

Interesting. Because I tried setting the font too and that didn't change anything for me.

I'm facing the same issue. This is not happening in the stable build, but only in the insider build
Version: 1.35.0-insider (user setup)
Commit: 16de3c28db1d2c6fbe2227d1ffe91c5e7e683bc9
Date: 2019-05-27T05:19:20.616Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362

When I edit the settings to change the Terminal > Integrated: Font Family setting, the font magically gets fixed but only until the next start. FYI, I'm using the "Iosevka SS07" font for the terminal.

As a workaround, you can set the Terminal > Integrated: Renderer Type to Canvas in settings to fix it for now.

/duplicate https://github.com/microsoft/vscode/issues/74183


VuetablePaginationInfoMixin - Expected ':' error in IE

Hi I am using vuetable, vuetable pagination and vuetable pagination info on my app. But for some reason it is not working on IE and found out that it's because of this line of code:

I think it is because my app was not able to transpile the function shorthand syntax.
Below is how I import the vuetable components:
import Vuetable from 'vuetable-2'; import VuetablePagination from "vuetable-2/src/components/VuetablePagination"; import VuetablePaginationInfo from 'vuetable-2/src/components/VuetablePaginationInfo';
I can confirm that babel is working on my app but it's not working for vuetable dependecies.

Is there any solution for this issue?

@imbyungjun @binoperez
If you using vue-loader v14, you can set loader by options field.
{
    test: /\.vue$/,
    loader: 'vue-loader',
    options: {
        loaders: {
            js: { loader: 'babel-loader', options: {'presets': ['@babel/preset-env']}}
        },
    },
},

this means inner


How to use as a variable

Would like to set the rfs size in a variable but not able. Is there a good way to do this?

@dlewand691, do you mean a CSS Custom Property or a variable in SCSS/SASS/PostCSS/Less/Stylus?

Sorry, what I was trying to do is not possible in Sass.


Can not compile package

Receiving this error during compilation.
Darwin, go1.16
../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:33:13: undefined: Environment ../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:512:23: undefined: Environment ../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:562:12: undefined: Environment

I have similar findings. I cannot compile it. I get the following errors.
pkg/clips/callback.go:50:5: could not determine kind of name for C.EnvArgTypeCheck
pkg/clips/callback.go:33:2: could not determine kind of name for C.EnvPrintRouter
pkg/clips/callback.go:45:16: could not determine kind of name for C.EnvRtnArgCount
pkg/clips/callback.go:91:3: could not determine kind of name for C.EnvRtnUnknown
pkg/clips/callback.go:27:22: could not determine kind of name for C.WERROR

I have forked the repository as it does not seem to be maintained by the original author.
Go here to find a working version, including instructions for building the executable or using clipsgo in your own Go code.


Set latest Github release to the latest release

Under https://github.com/a8m/pb/releases , 1.0.0-alpha.2 is marked as the latest version

Done. Thanks!


[unfinished-cogs/] Prepare stuff for pending branch removal for cogs merged into v3

[x] Determine date of branch removal
[x] Send message to owners about branch removal
[ ] DM known users

Affected cogs:

[x] banmessage
[ ] modroles (still have to DM known user)
[x] nitrorole

Closing this, there's one possible user of my cogs who isn't in Red servers anymore so unless he accepts my friend request, I can't DM him.


Collision Issues: Only Background detected as being collide.

If I introduce in any way the background, the hit event of the player always gets activated since Quintus believes that the player is colliding with the background always.
http://codepen.io/acarlstein/pen/yVaBzv

How can I prevent any object to "collide" with the background?
How can you handle multiple collision.
For example, two objects have already collide. We make the "glued" together and a third object collides?

Code:
`
/**

Libraries loaded:
-> https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js
-> http://cdn.html5quintus.com/v0.2.0/quintus-all.js
-> https://cdn.rawgit.com/cykod/Quintus/master/lib/quintus_scenes.js
Note: To turn text js into cdn go to http://rawgit.com/
Warning: If one of the sources for the resources (such the images being used), it stop existing or it is not available, this code will not work.
*/

var backgroundUrl = "http://www.elblender.com/wordpress/wp-content/uploads/2016/11/bg5.jpg";
var player1WalkUrl = "http://www.elblender.com/wordpress/wp-content/uploads/2016/11/p1_walk.png";
var player2WalkUrl = "http://www.elblender.com/wordpress/wp-content/uploads/2016/11/p2_walk.png";
var resourcesUrlList = [backgroundUrl, player1WalkUrl, player2WalkUrl];
// Include Sprite module and set game's canvas size
var Q = Quintus().include("Sprites, Anim, UI, 2D, Input, Scenes, Touch")
.setup({width: 800, height: 480})
.controls();
Q.Sprite.extend("Background", {
init: function(background){
this._super(background, {
asset: backgroundUrl,
x: Q.el.width / 2,
y: Q.el.height / 2,
collisionLayer: 0,
type: Q.SPRITE_NONE
});
}
});
Q.Sprite.extend("Player1", {
init: function(player){
this._super(player, {
sprite: "player1",
sheet: "player1",
speed: 50,
type: Q.SPRITE_FRIENDLY
});
this.p.x = this.p.w;
this.p.y = (Q.el.height / 2) - this.p.h;
this.add("animation");
this.play("default");
this.on("hit", "collision");
},
"step" : function(dt){
this.p.x += this.p.speed * dt;
this.stage.collide(this);
},
"collision" : function(col){
console.log(col.obj);
if (col.obj.isA("Player2")){
col.obj.destroy();
this.destroy();
Q.clearStages();
Q.stageScene("level1");
}
}
});
Q.Sprite.extend("Player2", {
init: function(player){
this._super(player, {
sprite: "player2",
sheet: "player2",
speed: 50,
flip: "x",
type: Q.SPRITE_ENEMY
});
this.p.x = Q.el.width - this.p.w;
this.p.y = (Q.el.height / 2) - this.p.h;
this.add("animation");
this.play("default");
},
"step" : function(dt){
this.p.x -= this.p.speed * dt;
}
});
Q.scene("level1", function(stage){
// Trying to find the right one
//stage.insert(new Q.Background());
//stage.insert(new Q.Repeater({asset: backgroundUrl}));
//stage.collisionLayer(new Q.Background());
//stage.insert(new Q.UI.Container({x: Q.width/2, y: Q.height/2, fill: "rgba(255,0,0,1)"}));
//stage.insert(new Q.Sprite({asset: backgroundUrl}));
stage.insert(new Q.Player1());
stage.insert(new Q.Player2());
});
var playerSheet = {
tilew: 66, tileh: 92,
sx: 0, sy: 0,
w: 256, h: 512
};
var playerAnimationFrame = {
default: {
frames: [0, 1, 2, 4],
rate: 1/4
}
};
Q.load(resourcesUrlList, function(){
Q.sheet("player1", player1WalkUrl, playerSheet);
Q.sheet("player2", player2WalkUrl, playerSheet);
Q.animations("player1", playerAnimationFrame);
Q.animations("player2", playerAnimationFrame);
Q.clearStages();
Q.stageScene("level1");
});
`

removal of background sprite will detect the collision with other sprites but i don't know how to then insert the background


Link listed in GitHub repo goes to SourceForge – should be updated to point to GitHub Pages

The link for this repository, under the About section, still points to SourceForge:

Probably best to set it to point to the GitHub Pages location.

Many thanks Mike, I will update it as suggested.


新人遇到bug -- Internal Server Error

本地调试的时候，http://<IP_ADDRESS>:4000， 出现
Internal Server Error
undefined method `key?' for nil:NilClass return unless @mime_types_charset.key?(typ) ^^^^^
WEBrick/1.8.1 (Ruby/3.1.3/2022-11-24) at <IP_ADDRESS>:4000
terminal上显示
ERROR NoMethodError: undefined method key?' for nil:NilClass\n\n          return unless @mime_types_charset.key?(typ)\n                                           ^^^^^ 	/Users/kai/.gem/ruby/3.1.3/gems/jekyll-3.9.3/lib/jekyll/commands/serve/servlet.rb:191:in conditionally_inject_charset'
/Users/kai/.gem/ruby/3.1.3/gems/jekyll-3.9.3/lib/jekyll/commands/serve/servlet.rb:176:in do_GET' 	/Users/kai/.gem/ruby/3.1.3/gems/hawkins-2.0.5/lib/hawkins/servlet.rb:134:in do_GET'
/Users/kai/.gem/ruby/3.1.3/gems/webrick-1.8.1/lib/webrick/httpservlet/abstract.rb:105:in service' 	/Users/kai/.gem/ruby/3.1.3/gems/webrick-1.8.1/lib/webrick/httpservlet/filehandler.rb:242:in service'
/Users/kai/.gem/ruby/3.1.3/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in service' 	/Users/kai/.gem/ruby/3.1.3/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in run'
/Users/kai/.gem/ruby/3.1.3/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
想问一下这该如何修改？

我遇到了一样的问题，请问你解决了吗?

I met the same problem, and I made it solved by the following commands
bundle update
run run_server.sh

bundle update is not working

the same problem

The same problem
I find a solution here.
You should use jekyll serve -l (short for jekyll serve --livereload) instead.  in run_server.sh
This is because:
jekyll liveserve was added by a now-unmaintained Jekyll plugin ("Hawkins"), but the functionality got merged into Jekyll https://github.com/jekyll/jekyll/pull/5142.

@mmhzheng  Thanks!

jekyll serve -l

Thanks，the issue was successfully resolved!


Added the paper MVSplat: Efficient 3D Gaussian Splatting from Sparse Multi-View Images.
Thank you.

Thank you!


Exclude java/lang/String/StringRepeat.java on windows32 with jdk17

excluding : adding one exclusion statements in https://github.com/adoptium/aqa-tests/blob/master/openjdk/excludes/ProblemList_openjdk17.txt (it should belong to jdk_lang section, like just after Line 81 ).
java/lang/String/StringRepeat.java#id1 https://bugs.openjdk.java.net/browse/JDK-8221400 windows-x86
Fixes #3002

hi @smlambert @llxia  a cleaner PR as per your earlier recommendations . can it be reviewed ?  thank you


The 'Portal Info' is not running

I clicked on 'Portal Info' in the View menu, but the portal information did not appear.
If this bug is solved then can i see the portal name ("pn")?
Thanks.

Fixed !

@Elem8100 It works very well! Thank you!


[fix] too many popup instances created

Coverage decreased (-31.3%) to 53.404% when pulling ec43440c7efc1db18cba595e93e606f4d253f2b2 on sunny4381:fixes/too-many-popup-instances-created into d89912b6b11d83cd12ddc78fb771da19b22b0289 on shirasagi:master.


Editor Array subhints bug

Godot version:
v3.2alpha for sure, probably other versions as well.
OS/device including version:
Windows 10
Issue description:
hint_string for restricting array sub-type and sub-hint in editor UI is not parsing properly, resulting in default array editor.
This feature is possible when adding NodePath property, and looking at the source,
for array editor it should be possible there as well - but it seems parsing is failing.
Steps to reproduce:
Create export property like this:
ADD_PROPERTY(PropertyInfo(Variant::ARRAY,    "hints_array", PROPERTY_HINT_NONE, itos(Variant::NODE_PATH)+":"+itos((int)PROPERTY_HINT_NODE_PATH_VALID_TYPES)+"/RigidBody"), "set_hints", "get_hints");
This should allow to enter only NodePath elements, pointing at RigidBodies.
Default array editor is rendered instead.
Minimal reproduction project:
Test node type with property as described above.
array_subhint_example.zip

Fix proposal: https://github.com/godotengine/godot/pull/32871

Likely no longer valid after export hints rewrite in GDScript 2.0. Not sure if similar bug still exists in the new system, but there's a missing feature here, see https://github.com/godotengine/godot-proposals/issues/1048


Bump Dependencies #3994175923

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/3994175923

 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.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Snyk] Security upgrade react-scripts from 3.4.1 to 5.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

demo/package.json
demo/yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIHTML-1296849
Yes
Proof of Concept

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIREGEX-1583908
Yes
Proof of Concept

661/1000  Why? Recently disclosed, Has a fix available, CVSS 7.5
Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
Yes
No Known Exploit

681/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.2
Command Injection SNYK-JS-LODASHTEMPLATE-1088054
Yes
Proof of Concept

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Open Redirect SNYK-JS-NODEFORGE-2330875
Yes
Proof of Concept

529/1000  Why? Has a fix available, CVSS 6.3
Prototype Pollution SNYK-JS-NODEFORGE-2331908
Yes
No Known Exploit

494/1000  Why? Has a fix available, CVSS 5.6
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430337
Yes
No Known Exploit

579/1000  Why? Has a fix available, CVSS 7.3
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430339
Yes
No Known Exploit

494/1000  Why? Has a fix available, CVSS 5.6
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430341
Yes
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Improper Input Validation SNYK-JS-POSTCSS-5926692
Yes
No Known Exploit

646/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Server-side Request Forgery (SSRF) SNYK-JS-REQUEST-3361831
Yes
Proof of Concept

646/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Prototype Pollution SNYK-JS-TOUGHCOOKIE-5672873
Yes
Proof of Concept

589/1000  Why? Has a fix available, CVSS 7.5
Prototype Pollution SNYK-JS-UNSETVALUE-2400660
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Open Redirect
🦉 Prototype Pollution
🦉 More lessons are available in Snyk Learn

Folder /Demo no longer exists


Fix mac international keyboards

fixes https://github.com/replit/codemirror-vim/issues/56

What about international characters entered using both the Shift and Option key?
For example, this is the kind of mapping I have to do right now (before this PR because it hasn't been merged into Obsidian yet):
nmap <A-S-ˇ>f :TableFormat

On a macOS keyboard this ˇ character is generated by holding Shift+Option

@huyz what is the expected behavior in this case?

I would expect that all I need to do is map:
nmap ˇf :TableFormat

without specifying the redundant <A-S- modifiers.
That seems to be correct behavior, but I could be wrong.


java binding: added types needed by datachannel and rtcp stats, and some other fixes

The datachannel bits haven't been verified yet, but the rest has. All of it builds and works with all pre-datachannel features.

Afaik it's the only option, since java only has signed types. I think we'll run into bigger troubles if we map between types with different size.

Yeah, was looking at how only the latest JDK has support for unsigned types, and that's not available on Android of course. I don't understand how mapping, say, unsigned short to signed int would cause problems. What will go wrong?

If you have an array of values the size will be incorrect. For a single value it might get truncated without warning.

Mapping between signed and unsigned of the same size will cause problems if values are outside the positive range of the signed integer.
Mapping between signed type and unsigned type of a bigger size will generally work, but has the size problem for arrays @Rugvip just mentioned. You would have to add a conversion step.

How would you want to represent a unsigned parameter to a function in owr? A larger type and a warning if it's too big?

Either that, or a type with the same size and doing range checking before casting.

It's all broken, no matter what you do, unless using the Java 8 unsigned types.

Verified that the datachannel related changes work as well.
Dunno about the size/unsigned issue, but it's not really related to these changes.
Signed short is the maximum message size for the datachannel anyway


Xml cnn

Implement KimCNN, XMLCNN
Remove get_network(), use model_name to get the network instead
Allow setting weight initialization method
Add config to log
Allow fixed length (for dynamic max-pooling)
Add config files for EUR-Lex

On 2021-04-30 16:25, sianchen wrote:
Yes, you are right.. So please modify the comment to say the difference
you mentioned

@SIAN-CHEN commented on this pull request.
In data_utils.py [1]:

     with open(config.vocab_file, 'r') as fp:

       vocab_list = ['**PAD**'] + [vocab.strip() for vocab in

fp.readlines()]

   vocabs = Vocab(collections.Counter(vocab_list),

specials=[''],

       vocab_list = [PAD] + [vocab.strip() for vocab in

fp.readlines()]
Why we need this comment?
For the other case (vocab_file is not used), PAD is also put in the
beginning.
--
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2]. [ { @.": "http://schema.org", @.": "EmailMessage",
"potentialAction": { @.": "ViewAction", "target":
"https://github.com/ASUS-AICS/LibMultiLabel/pull/22#discussion_r623704155",
"url":
"https://github.com/ASUS-AICS/LibMultiLabel/pull/22#discussion_r623704155",
"name": "View Pull Request" }, "description": "View this Pull Request
on GitHub", "publisher": { @.": "Organization", "name": "GitHub",
"url": "https://github.com" } } ]
Links:
[1]
https://github.com/ASUS-AICS/LibMultiLabel/pull/22#discussion_r623704155
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHXMCNSNQABGNGSIW5LTLJSONANCNFSM43T53ZIQ


Dialog position need percentages and bottom right positioning

Problem and Limitation
Right now, the Dialog Position can only be set by 2 variables: X and Y: Initial top right position of dialog in px.
This is limiting since we might want some dialogs to doc near the bottom or the right of the screen. We have the possibiliity to calculate where is the bottom or the right right now, but if we enlarge the browser window, the dialog will stay where it is and now follow the bottom of the screen.
Also, a set amount of pixels means that the dialog will never move even if the browser window change size.
Ideal Solution
Instead of X and Y, we could have Top, Bottom, Left and Right like CSS. And like width and height they could be of type string | number , this would allow percentages and pixels (Ex: "50%", "50px" or 50)
Other alternatives
A few work arounds I have considered right now

Make the window movable so the user can redock it at the bottom if the Dialog get lost in the center.
Calculate percentage manually with ScreenVieport on Dialog creation.

Context
Exemple of smaller screen where it fits right at the bottom of the screen:

But when we enlarge the viewport, it get lost in the center of the screen:

Hi, this can be acheived with the current system by providing a css class to your dialog and overriding the default positionning (which becomes permanent if you dont set the dialog to movable)
Here is an example of this: https://www.itwinjs.org/sandboxes/RaphaelLemieux/positionned-dialog
Let me know if this helps.


Deficient documentation detection a methodology to locate deficient project documentation using topic analysis

Paper link: http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6624005

The authors use three datasets:
One which is already in the OpenScience repository: the Stack Overflow website’s post data provided by MSR2013.
The authors only provide the link for the other two:

PHP documentation:
http://www.php.net/download-docs.php
Python documentation:
http://docs.python.org/3/


[SchemaRegistry] first version json encoder in main package

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-schemaregistry


Added support for exporting of C field expressions

This closes #619

I don't understand what this PR is adding. This is my guess after reading the test included in this PR:
#define foo a.b

@thejoshwolfe Check the issue I referenced. It creates support for c macros that whose targets are fields of unions / structs. Right now the classic OpenGL function loader (e.g. gl3w) doesn't work.

Let's try to get this integrated with the inline-function generator like we have for this test case:
    cases.add("generate inline func for #define global extern fn",
        \\extern void (*fn_ptr)(void);
        \\#define foo fn_ptr
        \\
        \\extern char (*fn_ptr2)(int, float);
        \\#define bar fn_ptr2
    ,
        \\pub extern var fn_ptr: ?extern fn();
    ,
        \\pub inline fn foo() {
        \\    (??fn_ptr)()
        \\}
    ,
        \\pub extern var fn_ptr2: ?extern fn(c_int, f32) -> u8;
    ,
        \\pub inline fn bar(arg0: c_int, arg1: f32) -> u8 {
        \\    (??fn_ptr2)(arg0, arg1)
        \\}
    );

So I think we should try to get this to work, instead of outputing:
pub const glClearUnion = glProcs.gl.Clear;

we should output:
pub inline fn glClearUnion(arg0: GLbitfield) {
    (??glProcs.gl.Clear)(arg0)
}

I think it's reasonable to assume that if you #define foo fn_ptr then you intend to call foo as a function, which asserts that fn_ptr is non-null. Indeed this is how the OpenGL API works.
Unrelated, appveyor tests failed:
C:/projects/zig-d3l86/src/c_tokenizer.cpp: In function 'void begin_token(CTokenize*, CTokId)':
C:/projects/zig-d3l86/src/c_tokenizer.cpp:104:12: error: enumeration value 'CTokIdDot' not handled in switch [-Werror=switch]
     switch (id) {
            ^
cc1plus.exe: all warnings being treated as errors
make[2]: *** [CMakeFiles/zig.dir/build.make:183: CMakeFiles/zig.dir/src/c_tokenizer.cpp.obj] Error 1

@dimenus your intuition about macro_symbols and  macro_table not needing to be separate was correct.


tests: added_test_for_vsipattern_and_nocompute_example_in_pr_test

Description
Added automated tests for vsi standard pattern and upgrade tests for no-compute
https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/issues/354
No release required

[x] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other changes that don't affect Terraform code

Release required

[ ] Bug fix (patch release (x.x.X): Change that fixes an issue and is compatible with earlier versions)
[ ] New feature (minor release (x.X.x): Change that adds functionality and is compatible with earlier versions)
[ ] Breaking change (major release (X.x.x): Change that is likely incompatible with previous versions)

Release notes content
Replace this text with information that users need to know about the bug fixes, features, and breaking changes. This information helps the merger write the commit message that is published in the release notes for the module.

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Merge by using "Squash and merge".

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author.
The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).

This PR was clubbed with https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/pull/378 - hence closing it


ngx-input-star-rating - a11y

The buttons on the rating component are missing the appropriate aria-label attributes.

fixed https://github.com/coryrylan/ngx-libraries/commit/53645fec6074d82fc5629e152d3a78f677244097