streamsReducer tests [nfc]: Factor out a mkAction helper

From discussion: https://github.com/zulip/zulip-mobile/pull/5346#discussion_r854633431
When writing this helper, if we leave out an annotation on its
parameter event, then we end up with a bunch of Flow errors:

The type-checker sees that event can be any of several different
shapes, from the different call sites.

It assumes that the type of event should be some one type -- just
as it normally assumes that any given parameter, variable, etc.,
should be some one type.  That type must therefore be a supertype
of all of those types from the call sites -- so, a supertype of
the union of those.

Then that doesn't work (when the result of mkAction is eventually
fed to streamsReducer, which expects an Action), because there
is no branch of Action where that union type can go.
In particular, there's no branch of the event property on
EventAction that's both able to have a streams property and
able to have a name property, each of which appears at some of
the call sites of mkAction.  This is what the error message
focuses on:
Cannot call streamsReducer with action bound to action because
in property event: [incompatible-call]
 • Either property name is missing in object type [1] but
   exists in object literal [2].
 • Or property name is missing in object type [3] but exists
   in object literal [2].
 […]
 • Or property streams is missing in object type [6] but
   exists in object literal [2].

The solution is to tell Flow that the type of event won't actually
be any single type, but may be a different type at different call
sites: in other words, that mkAction is generic.
This is something that the type-checker won't reach for on its own,
because to have it try to guess where such a generalization will
actually help would mean giving it a much harder problem to solve --
would edge toward making it a full-blown theorem prover, rather than
a proof checker.  So when we do need it to generalize in that
direction, we have to give it a hint.
In particular, the types only work out because there is some
commonality between the call sites, some commonality which is
relevant in making sense of the definition.  So we have to identify
what that commonality is and provide it as a bound for the generic.
That's this:
const mkAction = <E: $Diff<StreamEvent, {| id: mixed, type: mixed |}>>(event: E) =>

which says that when checking the body of mkAction, Flow should use
the assumption that event is a value (of some subtype E) of the
type $Diff<StreamEvent, {| id: mixed, type: mixed |}>.

Great, thanks for that thorough explanation! It makes sense. Merging.


Registrar IANA ID parsing

Some whois results contain this field, might be useful to include it in parser output

Thanks for adding this. I agree this definitely could be useful.


[AutoPR sql/resource-manager] Sqldb serverless

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5760

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4666


Private mode error

Fix private mode error for washingtonpost and nytimes

nytimes issue fixed in f144d45fec2697a5f6a21eaf3f5e1b1c53a91553
pending washington fixes


Running js-ipfs

What do we need?

[ ] /ws bootstrappers (separate ipfs network)
[ ] /webrtc-star signaling servers

how many
or will they become obsolete once we have the /ws bootstrappers?

[ ] more?

@diasdavid @haadcode @dignifiedquire

/ws bootstrappers (separate ipfs network)

That is not finished in go-ipfs. So can't do.

/webrtc-star signaling servers

how many
or will they become obsolete once we have the /ws bootstrappers?

We need two, one to be the default and another ones for demos (so that we keep it nice and clean).
Signalling Server won't become obsolete with /ws bootstrappers. It would require relay to be in place in IPFS so that the Signalling can happen through IPFS

We also need:

[ ] @haadcode's redis pub/sub

Vagrant.configure(2) do |config|
  config.vm.box = "digital_ocean"
  config.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
  config.vm.synced_folder ".", "/vagrant", disabled: true

  config.vm.define "orbit-server" do |node|
    node.vm.provision "shell", inline: <<-SHELL
      sudo apt-get update
      sudo apt-get install -y python gcc make g++ git build-essential tcl8.5
      sudo apt-get install -y wget htop screen nano

      wget --quiet https://nodejs.org/dist/v4.4.4/node-v4.3.0-linux-x64.tar.gz
      tar -C /usr/local -zxf node-v4.4.4-linux-x64.tar.gz --strip 1

      wget --quiet http://download.redis.io/releases/redis-stable.tar.gz
      tar xzf redis-stable.tar.gz
      cd redis-stable
      make
      sudo make install

      screen -X -S redis quit
      echo 'bind <IP_ADDRESS>' >> ./redis.conf
      echo 'port <port>' >> ./redis.conf
      echo 'requirepass <password>' >> ./redis.conf
      nohup screen -S redis -d -m redis-server ./redis.conf

      screen -X -S webrtc quit
      sudo npm install -g libp2p-webrtc-star
      nohup screen -S webrtc -d -m star-sig

      screen -X -S server quit
      sudo rm -rf /orbit-server
      sudo mkdir /orbit-server
      cd /orbit-server
      git clone https://github.com/haadcode/orbit-server.git
      cd orbit-server
      npm install --production
      export REDIS_PASSWORD=<password>
      export REDIS_PORT=<port>
      nohup screen -S server -d -m npm start

    SHELL

    node.vm.provider :digital_ocean do |provider, override|
      override.ssh.private_key_path = "~/.ssh/digital-ocean"
      override.vm.box               = 'digital_ocean'
      override.vm.box_url           = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
      provider.token                = '<insert_your_DO_token_here>'
      provider.image                = 'ubuntu-14-04-x64'
      provider.region               = 'AMS3'
      provider.size                 = '512mb'
    end
  end

end

https://github.com/haadcode/orbit-server/commit/61fc6151a298cb85c3791710847889f8f606b830

This runs on orbit.libp2p.io for now, through the ipfs.io gateway -- needed a non-https domain because we don't have https multiaddrs yet.


Azure: Update subscription handlers

Also add placeholder schedule handler endpoint

Codecov Report

Merging #300 (ec85d48) into develop (63c89d4) will decrease coverage by 0.51%.
The diff coverage is 40.40%.

:exclamation: Current head ec85d48 differs from pull request most recent head ce4769a. Consider uploading reports for the commit ce4769a to get more accurate results

@@             Coverage Diff             @@
##           develop     #300      +/-   ##
===========================================
- Coverage    61.49%   60.98%   -0.52%
===========================================
  Files           43       43
  Lines         4350     4370      +20
===========================================
- Hits          2675     2665      -10
- Misses        1500     1530      +30
  Partials       175      175

Flag
Coverage Δ

unittests
60.98% <40.40%> (-0.52%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/adapters/grpc/faas_grpc.go
0.00% <0.00%> (ø)

pkg/worker/faas_worker.go
0.00% <0.00%> (ø)

pkg/worker/schedule_worker.go
0.00% <0.00%> (ø)

pkg/worker/subscription_worker.go
50.00% <0.00%> (ø)

pkg/worker/worker.go
100.00% <ø> (ø)

pkg/worker/route_worker.go
70.58% <16.66%> (ø)

pkg/plugins/gateway/appservice/http.go
52.72% <48.43%> (-17.61%)
:arrow_down:

pkg/worker/grpc_handler.go
60.41% <75.00%> (ø)

pkg/plugins/gateway/cloudrun/http.go
68.62% <100.00%> (ø)

pkg/plugins/gateway/dev/gateway.go
77.14% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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

Closing until we have a better versioning/release strategy between the CLI and membrane.


[Enhancement] Allow passing values from one task to another task

[Enhancement] Allow passing values from one task to another task
Or something similar to the GitHub Actions outputs or env_var.
tasks:
  - call: get-date@default
     id: task1
  - call: print-to-console@default
     args:
       text: ${{ task1.outputs.textString }}

Thanks.

[Triage]
@peterzhuamazon can you please share this use case are we looking for any specific task ?

Task1: Add issue to project (return item id)
Task2: Add field to item (using item id retrieved from Task1)

The above is just one example, there a many similar ones you can find in github actions.

This has been completed in the #39 PR.


Build error!

I followed the docker setup commands as in the readme.
docker ps  # to verify docker works without sudo
bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh

But after that when I try building using 'apollo.sh', this is the error I get. Any idea what's happening ?
System check passed. Build continue ...
[WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md.
Start building, please wait ...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
Building on x86_64...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
ERROR: /apollo/modules/common/BUILD:5:1: no such package '@ros//': Error downloading [https://github.com/ApolloAuto/apollo-platform/releases/download/1.5.0/ros-indigo-apollo-1.5.0-x86_64.tar.gz] to /home/jlockwo1/.cache/bazel/_bazel_jlockwo1/540135163923dd7d5820f3ee4b306b32/external/ros/ros-indigo-apollo-1.5.0-x86_64.tar.gz: Unknown host: github.com and referenced by '//modules/common:common'
ERROR: Analysis of target '//modules/common:common' failed; build aborted
INFO: Elapsed time: 0.601s
FAILED: Build did NOT complete successfully (2 packages loaded)
============================
[ERROR] Build failed!
[INFO] Took 1 seconds

Solved! It was a proxy issue! I set the environment variables (HTTP_PROXY, HTTPS_PROXY and NO_PROXY) properly and it built fine.

@ankitvora7  how you do that? The bazel seems to ignore proxy. Thank you


Can not retrieve previous commands using UP or DOWN Arrow keys in Terminal on Windows after relaunching the VS Code

VS Code Version: 1.54.3
OS Version: Windows 10 Enterprise 20H2, build 19042.867

Steps to Reproduce:

run some commands in Terminal
close VS Code
relaunch VS Code
in Terminal, press UP Arrow key of the keyboard, can not see previouse command

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

I can't reproduce this issue.
Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label "needs more info" integrated-terminal

rendererLog.txt
screenshot and log file is attached.


[BUG] - InvalidBlock error on Cardano node v8.10.1 (sanchonet environment)

I encountered an issue while running my Cardano node on version 8.10.1 in the sanchonet environment. I observed the following error messages in the logs:
Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.InboundGovernor:Info:65] [2024-06-07 07:24:37.97 UTC] TrMuxErrored (ConnectionId {localAddress = <IP_ADDRESS>:6001, remoteAddress = <IP_ADDRESS>:3001}) (InvalidBlock (At (Block {blockPointSlot = SlotNo 29444064, blockPointHash = f85269d4bbba996a78bcde2e9a5f900223ef53d792028bcd25772484d3becfdb})) afb86d842f84e842ca2ba7e464851d55b7ee21534b94b8c5882398c4b160a666 (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError (ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (AlonzoInBabbageUtxowPredFailure (PPViewHashesDontMatch (SJust (SafeHash "7d56dc4ea6d6cb67f6eebdc3cc1be10b19c7f7b8e8458945917696d5ef55a226")) (SJust (SafeHash "a5a26d9fcdb51a295b28a457108a2cdcccec2c71c80c3665b2e8782e164ae9c7"))))))) :| [ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (UtxoFailure (AlonzoInBabbageUtxoPredFailure (UtxosFailure (CollectErrors [NoCostModel PlutusV3])))))))]))}))))))))))) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.PeerSelectionActions:Info:4624] [2024-06-07 07:24:37.97 UTC] PeerStatusChanged (HotToCooling (ConnectionId {localAddress = <IP_ADDRESS>:6001, remoteAddress = <IP_ADDRESS>:3001})) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.ConnectionManager:Info:4621] [2024-06-07 07:24:37.97 UTC] TrConnectionHandler (ConnectionId {localAddress = <IP_ADDRESS>:6001, remoteAddress = <IP_ADDRESS>:3001}) (TrConnectionHandlerError OutboundError (InvalidBlock (At (Block {blockPointSlot = SlotNo 29444064, blockPointHash = f85269d4bbba996a78bcde2e9a5f900223ef53d792028bcd25772484d3becfdb})) afb86d842f84e842ca2ba7e464851d55b7ee21534b94b8c5882398c4b160a666 (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError (ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (AlonzoInBabbageUtxowPredFailure (PPViewHashesDontMatch (SJust (SafeHash "7d56dc4ea6d6cb67f6eebdc3cc1be10b19c7f7b8e8458945917696d5ef55a226")) (SJust (SafeHash "a5a26d9fcdb51a295b28a457108a2cdcccec2c71c80c3665b2e8782e164ae9c7"))))))) :| [ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (UtxoFailure (AlonzoInBabbageUtxoPredFailure (UtxosFailure (CollectErrors [NoCostModel PlutusV3])))))))]))}))))))))))) ShutdownPeer) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.ConnectionManager:Info:4621] [2024-06-07 07:24:37.97 UTC] TrConnectionManagerCounters (ConnectionManagerCounters {fullDuplexConns = 0, duplexConns = 0, unidirectionalConns = 0, inboundConns = 0, outboundConns = 2})
Steps to reproduce:
Start the Cardano node on version 8.10.1 in the sanchonet environment.
Monitor the logs for any error messages.
Expected behavior:
The Cardano node should run without encountering any errors.
Actual behavior:
The node encounters an InvalidBlock error, as shown in the provided logs.
This issue seems to be impacting the node's functionality, and I believe it needs investigation and resolution.

@ironmask285> can you share here the conway genesis file you are using? It probably has conway and genesis in its name, in your node directory; and its extension is .json.

sure, hrere's my conway-genesis.json
conway-genesis.json
please help me  @smelc

@ironmask285> your conway genesis looks fine (I was looking if the Plutus V3 cost models were present, since your error message indicates that they are missing).
Can you try a version of the node more recent than 8.10.1? (see https://github.com/IntersectMBO/cardano-node/releases)


integration: Add docker containers integration-tests

Add support for running integration-tests for non-Kubernetes containers. The implementation is divided into following steps:

Introduce a package container-utils/testutils to facilitate management of non-Kubernetes containers. Currently, only docker is supported. Use functional options to make creation API cleaner.
Introduce an TestStep interface allowing a  consistent test workflow (Courtesy @blanquicet )
Adds tests for docker containers and hook them in the CI.

IMO, it is ready to go. I let you the decision of the naming :)

After bit more thinking I felt that TestStep seems better so I updated the PR. :) Can you please have a look again before I merge this?


VIDEO-XXXX update dependency to 4.6.3

4.6.3 (December 10, 2021)
API Changes

New error code TVIErrorParticipantSessionLengthExceededError (53216) is added to support configurable participant session limit.

Bug Fixes

Fixed a bug where media could incorrectly be detected as not flowing after the network connectivity changes. [VIDEO-7685]

Known Issues

Audio playback fails when running a simulator on a Mac Mini. #182
Carthage is not currently a supported distribution mechanism for Twilio Video. Carthage does not currently work with .xcframeworks as documented here. Once Carthage supports binary .xcframeworks, Carthage distribution will be re-added.
Unpublishing and republishing a LocalAudioTrack or LocalVideoTrack might not be seen by Participants. #34
H.264 video might become corrupted after a network handoff. #147
iOS devices do not support more than three H.264 encoders. Refer to #17 for suggested work arounds.
Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]

Size Impact

Architecture
Compressed Size
Uncompressed Size

Universal
10.0 MB
21.4 MB

arm64
4.8 MB
11.3 MB

armv7
5.2 MB
10.1 MB

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[ ] I acknowledge that all my contributions will be made under the project's license.

@timrozum Thanks for the review.. PR updated..


Request header match to container storage

Azure documentation issue guidance
I currently have multiple domains. Eg

game1.azureedge.net
game2.azureedge.net
game3.azureedge.net
....

1 common storage divided into separate containers containing the source of each game: game1, game2, game3,...
Example: Going to game1.azureedge.net will get content storage.azure/game1/index.html
Request with any domain will get the corresponding content container. I set up CDN request with header, rewrite url with container path, but it doesn't work. Has anyone done this before?
Rule setup

Error

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

ID: 15ddde86-fa0a-4cf2-29aa-ab229584bd1d
Version Independent ID: 9e018240-2bec-f9b0-8e3d-ef564f6e7d11
Content: Match conditions in the Standard rules engine for Azure CDN
Content Source: articles/cdn/cdn-standard-rules-engine-match-conditions.md
Service: azure-cdn
GitHub Login: @duongau
Microsoft Alias: duau

@ducle0211 Thank you for your feedback . We will investigate and update the thread.

@ducle0211
Thanks for leveraging Azure docs feedback channel to raise this question. This channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements. We didn't determine any changes for this documentation upon reviewing this feedback.
If your issue is specific to a use case, we request you to please reach out in forums like Microsoft Q&A or Stackoverflow. We have our engineers and other community members who will be happy to assist. Forums have a better suited audience for such queries. Once your issue is posted in forum, please do share the forum thread link here for tracking.
If you have a document which you are following and if you think it needs an update, please let us know about that here.
Thank you!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Implement the selection functor

This PR implements the lifting of functions on objects of discreet categories into functors. I'm open to a better name than Select, I just couldn't come up with any better ones myself.

I think this is the action of the Discrete functor: https://github.com/agda/agda-categories/blob/master/src/Categories/Adjoint/Instance/Discrete.agda
So maybe one could call it Discrete₁?
I think it's a good idea to factor the components of adjoint functors into separate modules -- not least because they can often be made more universe-polymorphic that way. But we should probably try to come up with a system to consistently name and organize the corresponding modules.

I think this is the action of the Discrete functor

...whoops, I spoke too soon. This is a different (more general?) construction?

FromDiscrete ?  Especially if done via a qualified import, it could become Functor.FromDiscrete, which isn't too bad.  Variants on that idea might be even better, that's the one that came to mind now.

Do you have references for where this construction occurs?  That might help scrounge up a name too.

I mostly need it for constructing (co)limits. For example, when viewing a (co)product as a (co)limit, you need a functor from the 2 element  discrete category to select your two objects.
FromDiscrete seems like it could be a good choice!

That application seems to have non-trivial overlap with what @HuStmpHrrr is doing with finite categories -- have you looked at that?

I mostly need it for constructing (co)limits. For example, when viewing a (co)product as a (co)limit, you need a functor from the 2 element discrete category to select your two objects.

But that seems very specific to (co)products, no? If you want to define (co)limits over diagrams with arrows (e.g. pullbacks/pushouts) a functor out of a discrete category won't work, right?
Still, I think it might be a useful abstraction for other purposes.

I don't think you can generate products from discrete categories. the category generating products as limits is the following
a <------- b -------> c

which is not discrete.

@sstucki Yes, it doesn't work for limits over diagrams with non-identity arrows. However, I found myself implementing this functor for Discrete Bool, and realized that I could generalize it!
@HuStmpHrrr You do use a discrete category, see https://ncatlab.org/nlab/show/limits+and+colimits+by+example#product for more details.
There definitely seems to be some overlap with the finite category stuff. Maybe we could have a notion of a discrete shape for any finite type?

yes, you are right. I was not thinking.

How are we doing on finding a better name?

I think FromDiscreet is the best one so far. Will make the changes later today

FYI, I am about to merge the finite category PR which I have prepared forever. from there, I proved a theorem which shows a limit can be derived from a finite shape if a category is finitely complete. special limits like products are easy corollaries.

I  think FromDiscreet is the best one so far.

FromDiscrete ?

I think FromDiscreet is the best one so far.

FromDiscrete ?

Looks like auto-correct has it's own opinions on what this should be named!
Anyways, I've renamed it to FromDiscrete, so this should be good to go.


Achievements don't show up

Been months and the achievements still don't update, it just sits at 0%. Anyone got a fix for it?
https://imgur.com/a/2VKEOnB

Same issue with achievements, according to logs, plugin grabs them after few syncs, but they don't show up and I get "plugin has crashed, retry" info in integration window.
Maybe it'll help to know I have over 28k AP, so maybe it's a matter with size of the data?
I'm uploading (rather big) log with few sync tries.
plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log

I have 10k AP and it still doesn't work for me.

Well, looks like it could be connected with the amount of achievements.
I'll try to have a look at this problem in the coming days.

Please try to use v0.5.0
https://github.com/Mixaill/galaxy-integration-gw2/releases/tag/v0.5.0
Unpack it to %localappdata%\GOG.com\Galaxy\plugins\installed\galaxy-integration-gw2` (or something similar if you have installed integration via GOG Galaxy client)

Looks like plugin no longer disconnects, but still no achievements (or expansions) are being synchronized.
Would you like an API key to test it? I can create one temporairly, or you can use Vallun's public key from his twitch (C6612820-0269-7E41-8750-8D31382925F2BA2E2083-F80C-4BD1-94B9-1F1B83B2FF0D)
He has 40k+ AP, that should be good testing platform ;]

Also, something changed with this version I think. There is grayed out "install" button on game page. GoG doesn't see GW2 installation.

I spoke too early. it seems plugin still disconnects sometimes.
Any update on achievements?

Completely forgot about this topic, i can confirm that the problem wasn't fixed. The plugin also disconnects really often.

Please try v0.5.1, some fixes were made. https://github.com/Mixaill/galaxy-integration-gw2/releases/tag/v0.5.1
However it looks like there is bug in Galaxy itself.
When achievements number reaches some threshold, GOG Galaxy breaks and show none of them.
So, after using key from https://github.com/Mixaill/galaxy-integration-gw2/issues/18#issuecomment-717174594 my GOG account is broken as well and shows zero achievement even if I login back with my own key with low amount of achievements.

I installed it manually this time, it doesn't crash anymore but the achievements are still bugged showing at 0%. My last time played is also stuck at 6 months ago, tho playtime does get updated. Hopefully they patch it someday, thank u for trying to fix it.

Unfortunately, it doesn't work @Mixaill
I haven't noticed any disconnects, and played time is updating flawlessly, but achievements indeed are still stuck at 0%. Shame it's GoG fault.


[Feature Request]: newtypes for arbitrary inner types

Currently
Currently #[nutype] macro can be applied only on predefined set of types: integers, floats, String.
It enables defining specific sanitizers/validators depending on the inner type.
Feature request
However, there is some demand to use #[nutype] for other (unknown to nutype) types.
It must be still possible to define custom sanitizers and validators with with = .
Related issues

https://github.com/greyblake/nutype/issues/4

First off, amazing crate, really making working with new types a breeze. Thank you!
Thought I would share one use case where I thought I would use this crate before I realised arbitrary types were not supported: to maintain invariants on some polars' DataFrames.
By defining custom validators which validate the shape, column names, presence of None/NaN, etc. Would allow to pass wrapped DataFrame around with confidence.
This is particularly helpful as transformation on data frames usually involve multiple chained operations (using the lazy-API) which makes a computational mistake "corrupting" the DataFrame a frequent issue when working with polars. This crate has the potential to offer a nice QoL improvement for this workflow I believe.
Anyway, thanks again for the great crate!

@Proksima Hi!
Thanks for your feedback! I have a plan to add support for arbitrary types, however there will be a couple of limitations:

There are will be no predefined sanitizers or validators (only custom ones)
Because of that it won't be possible to derive arbitrary::Arbitrary for those types

What do you think about supporting Vec?
#[nutype(validate(sorted))]
#[derive(Clone, Ord)]
struct MySortedUsizeVec(Vec<usize>);

where sorted could be something akin to
use itertools::Itertools;

fn is_sorted<I>(data: I) -> bool
where
    I: IntoIterator,
    I::Item: Ord + Clone,
{
    data.into_iter().tuple_windows().all(|(a, b)| a <= b)
}

I'm wondering how to express mut self Vec operations then. Should nutype make all of Vec methods directly available from the outer type? Should validation happen right after each of these calls? What about introducing methods that behave a bit differently based on the validation properties? v.push(42) would then place 42 at the right spot in the inner vec.

@fenollp  I have a further plan to have some special support of collections (not only Vec).
However, the support of arbitrary types will be first. Having that in place users will be able to wrap collections and implement their custom validations.
Speaking of mutability (v.push(42)) it maybe be bit problematic, cause we need to be sure that constraints are not violated. We probably can have mutable operations, but they will be fallible.

Addressed in https://github.com/greyblake/nutype/pull/88

@fenollp
So, here is what you can achieve with Vec at the moment:
use nutype::nutype;

#[nutype(
    derive(Debug, PartialEq, Deref, AsRef),
    sanitize(with = |mut guests: Vec<String>| { guests.sort(); guests }),
    validate(predicate = |guests| !guests.is_empty() ),
)]
pub struct GuestList(Vec<String>);

fn main() {
    // Empty list is not allowed
    assert_eq!(
        GuestList::new(vec![]),
        Err(GuestListError::PredicateViolated)
    );

    // Create the list of our guests
    let guest_list = GuestList::new(vec![
        "Seneca".to_string(),
        "Marcus Aurelius".to_string(),
        "Socrates".to_string(),
        "Epictetus".to_string(),
    ]).unwrap();

    // The list is sorted (thanks to sanitize)
    assert_eq!(
        guest_list.as_ref(),
        &[
            "Epictetus".to_string(),
            "Marcus Aurelius".to_string(),
            "Seneca".to_string(),
            "Socrates".to_string(),
        ]
    );

    // Since GuestList derives Deref, we can use methods from `Vec<T>`
    // due to deref coercion (if it's a good idea or not, it's left up to you to decide!).
    assert_eq!(guest_list.len(), 4);

    for guest in guest_list.iter() {
        println!("{guest}");
    }
}

Note, you still cannot push, because the GuestList is immutable.

The functionality is available in 0.4.0-beta.1 at the moment:
https://crates.io/crates/nutype/0.4.0-beta.1


Docs is breaking

The theme variables page is broken.

Variables here

@sankhadeeproy007 thanks for the pointing me there. However the documentation page is broken. Can you please verify and fix the page?

Sure, will do!


Timeout while downloading branches

Hi,
This is something I intend to look at, but filing an issue for it in case others have thoughts; basically, for large repos/branches, downloading the branch may take a long time creating the .zip archive on the backend. There are actually two related issues here, that I think have the same solution:
1.) We may timeout on the download if the archive's not been created yet, and
2.) Gitea may handout an archive that's not yet complete
I think the solution is to push archiving into a queue and make this an async process that checks in for completion; then the download endpoint can check if archiving this particular commit/branch is in progress rather than handing out an incomplete archive.
This can be observed on lower-end hardware and/or with large repos, e.g. any of the branches here on my instance: https://git.kevans.dev/kevans/freebsd/branches/ -> these should all hit nginx's default timeout (and actually caused a DoS of sorts when people were apparently attempting to download one of my branches). I'd push it to try.gitea.io, but I think the problem is easily enough visualized to not need to push the ~2-4GB repo over there.

i have a ~5GB repo with 671 branches. i have a 5 minute timeout on my web proxy - it always times out fetching the branches page.


[Question] Enforcing the path of a default route

Hello,
I want to enforce my paths when using a default route. (No "NotFound" page, but a redirect to the "default" location in the tree)
For example I have this structure (I assume it could be a nested router too so it should work relatively) :
<Router>
  <UserScreen path="user" />
  <MarketScreen default path="market" />
</Router>

Here when no route is matched, MarketScreen is rendered, but its path isn't used. I'd like the "/market" part to be pushed into history and displayed in the address bar too.
I tried using <Redirect/> too to achieve this behaviour but couldn't find a working combination.
Is it possible to achieve with the current API?

what about this
<Router>
  <UserScreen path="user" />
  <MarketScreen path="market" />
  <Redirect default noThrow to="/market" />
</Router>

Hi @codepunkt ,
Unfortunatly I already tried this.
Redirect doesn't seem to work with relative links, so I lose the ability to "isolate" my sub-screens.
In my case I have something like this :
// Main screen
<Router>
        <Redirect noThrow default to="colisage/*" />
        <ColisageScreen path="colisage/*" />
</Router>

// Inside ColisageScreen, there is a sub-router
<Router>
        <Redirect noThrow default to="enregistrer-tube" />
        <EnregistrerTubeTab path="enregistrer-tube" />
        <ChargerPortoirTab path="charger-portoir" />
        <ChargerMalletteTab path="charger-mallette" />
        <DechargerMalletteTab path="decharger-mallette" />
        <DechargerPortoirTab path="decharger-portoir" />
</Router>

So when I type the URL "/whatever" in my app, I'd like it to display : "/colisage/enregistrer-tube" as default.
Does it make sense?

You can use this to redirect when they land at the root:
<Redirect noThrow from="/" to="enregistrer-tube" />

Redirect support default is kind of interesting, but are you sure you don't want to tell them the URL they used isn't valid?

for now your <NoMatch/> and render a <Redirect to="/wherever"/>

Related? #94

Yes I think this should solve my use case. 😃

Wait, if Redirect is going to support relative links, than this:
<Redirect to="login" />

should be trivial, no? In order to resolve the relative link you need to know the path, somehow. Which means, if the above works, that you have the path. Which, in turn, means you could inject from automatically to be the closest predecessor path
Am I off here?

If this is merge, can we close this issue?

I wasn't able to get the <Redirect /> update to work with a relative path. However, I was able to build a <NoMatch /> that accomplishes this functionality.
NoMatch (TypeScript)
import React from 'react';
import { RouteComponentProps, Redirect } from '@reach/router';

interface Props extends RouteComponentProps {
  to: string;
  isRelative?: boolean;
  noThrow?: boolean;
}

export const NoMatch = ({
  to,
  isRelative = false,
  noThrow = false,
  uri,
}: Props) => {
  if (uri == null) return null;

  const cleanedURI =
    isRelative === true && uri.slice(-1) === '/'
      ? uri.slice(0, uri.length - 1)
      : uri;

  return (
    <Redirect
      noThrow={noThrow}
      from="/"
      to={isRelative === true ? `${cleanedURI}/${to}` : to}
    />
  );
};

usage:
import React from 'react';
import { Router } from '@reach/router';

import { UsersRoute } from './UsersRoute';
import { NoMatch } from './NoMatch';

const Router = () => (
  <Router>
    <UsersRoute path="users" />

    <NoMatch default isRelative noThrow to="users" />
  </Router>
);

Thanks @SavePointSam !

Maybe it's a little late, but I attach my humble solution:
`class RelativeRedirect extends React.Component{
render(){
    let { to, ...rest } = this.props;
    to = to.replace('/', '');
    const pathname = this.props.location.pathname;
    return <Redirect {...rest} to={`${pathname}/${to}`}/>;
}

}`
And in the Router:
<Families path={'families'}>                         <RelativeRedirect from={"/"} to={list} default noThrow /> <Families/>


Adapt plugin to work with TinyMCE.

CKEditor out-of-the-box support added in v1.1.1

I am using CKEditor and CodeMirror.
They both "work" but I do end up with an error "Uncaught TypeError: Cannot call method 'indexOf' of undefined"
I will check over my HTML and make sure there are no other issues that might cause this but 3 out of 4 pages like this work fine.

I nedd that option too

As soon as I have spare time, hope after holidays. Happy New Year to all of you!

CKEditor not working anymore

As much as I love the above comment, it's irrelevant to the topic.

Then seems all comments in this topic are irrelevant right? No problem I will try and share any findings wih the community...
Kind Regards,
Andre

On 11 Nov 2017, at 00:26, Alexander Kaupanin<EMAIL_ADDRESS>wrote:
As much as I love the above comment, it's irrelevant to the topic.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Taking the convo to the relevant issue.


Badge with package name

I think badge with package name will be usefull:
I host it on free hosting with a cheap domain, but soon it will be deleted. So I propose implement this type of badge in your project.

Ok, I've hosted it on http://composer.network


⚠ Bofrost.es has degraded performance

In 0e9c74e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1772 ms

Resolved: Bofrost.es performance has improved in 41172b8 after 6 minutes.


As an [UI lead & App engineer], I want to [log in and sign up an account with my email address and password.]

Modify login to make players use email and password to log in
Modify signup so that players log in using username, email and password, remove firstname and lastname

#123


Removed use of toString on a String

Hi
I have removed a call to a toString method on String var
ciao
matteo

Hi @matteobaccan,
Thank you for your submissions. Since each of the 4 PRs you posted are related to code cleanup, can you instead submit just one PR with all proposed changes (and close these 4)? This will make it easier for us to discuss, access, and test. Thanks!

Hi
ok, I can submit a single PR.
But the code cleanup on the diamond was rejected. I create a single PR with or without diamond cleanup?
ciao
matteo

hi @matteobaccan
Thank you for your contribution towards code cleanup however please combine #1903 and #1904 into this PR as we don't want to clutter up history with a bunch of small cosmetic changes.  I have closed those and added reference to this PR.

hi @matteobaccan
yes, please do not include #1902 as mentioned in that PR we would prefer to leave that as is for clarity.
Thanks!

Hi
I have cherry pick the changes from other PR, so you can squash and merge if you think maybe a helpful cleanup
ciao
matteo


Merge prTesting_202010280238 branch to master branch

Docs Build status updates of commit 57ae635:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Renaming to remove extension shows broken file in solution explorer

Add a new R file to the project, rename it, and you briefly show a broken icon glyph.

Works OK. Deleting multiple files may briefly show bang, it is by design due to async nature of the CPS operations


Editor page goes blank

When attempting to edit an existing environment, either in my namespace or global, about a second after clicking the edit button, the page goes blank.  There is no error message, just a white empty web page.  If I reload the page, I'm taken back to the conda-store UI with no environments selected.
https://user-images.githubusercontent.com/24855669/231287166-ce7c44a5-a3cc-4fc3-bb3d-eb8e500be4e1.mov

Thanks for the issue @ericdatakelly and a great video to reproduce the issue. I'll make sure that this issue is cross posted in https://github.com/quansight/conda-store-ui since this is ultimately where this needs to be solved.

@ericdatakelly @costrouc I was able to capture some logs for this issue. I've run into this a few times this morning but it does seem intermittent...
nebari.quansight.dev-1681402032943.log

Several times this morning, it happened on a large env but not a small environment.  I tried several times going back and forth between the large and small envs and only the large env experienced the blank page.

This seems to have been resolved by #240


Externalize salesforce.com connector code

The Simple Data Pipe repository currently includes the connector implementation for salesforce.com. The code should be removed to enable customers to pick and choose which connectors should be deployed.

Delivered by #10


Instructions for installing caffe docker image

I added instructions for installing and using Caffe docker image

I added instructions for downloading and using Caffe docker image

Awesome, thanks!


Downloading rclone from an IPv6 only host is impossible

I have a host that is connected through only IPv6.
When I try to download rclone, it fails.
Digging further reveals that downloads.rclone.org is only connected through IPv4:

dig downloads.rclone.org

; <<>> DiG 9.9.5-3ubuntu0.9-Ubuntu <<>> downloads.rclone.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34637
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;downloads.rclone.org.          IN      A

;; ANSWER SECTION:
downloads.rclone.org.   3599    IN      CNAME   downloads-rclone-org.7d7d567e.cdn.memsites.com.
downloads-rclone-org.7d7d567e.cdn.memsites.com. 599 IN A <IP_ADDRESS>

;; Query time: 204 msec
;; SERVER: 2001:4860:4860::8888#53(2001:4860:4860::8888)
;; WHEN: Mon Oct 10 06:23:38 EDT 2016
;; MSG SIZE  rcvd: 125

For now, I'll just copy rclone over from a server that is dualstack.
I have signed up for a free MEMSET MEMSTORE myself to see if it possible to enable IPv6 there, so it might be a simple fix.

The github mirror doesn't support IPv6 either :-(
Does your IPv6 network not have an IPv4 gateway?

Nope, that is what I use this machine for, to test whether services can be reached by IPv6.
It's sort of a quality check for a service, no IPv6 is an indication that they provider isn't very up to date..

@ncw, I have a VPS where I have both IPv4 and IPv6 connectivity, and where I already run Apache. If you want, I can set a "Proxy" redirection there so people with just IPv6 connectivity can access it to download rclone, while MEMSET doesn't fix it.

@DurvalMenezes I think it's better to wait for MEMSET to respond, and if they can't/won't fix look for options.

I see!  I work at Memset so I'll see what is going on with IPv6 support :-)

This is the answer I got :

I can confirm that Memstore is currently not accessible over IPv6.
This is in the pipeline, but does require some changes on our end.

So not, now, maybe later.

I've moved the downloads onto its own server now so this should be accessible via IPv6.  It is possible the DNS hasn't finished propagating yet so if it doesn't work immediately wait an hour and try again!


[animation] dir property disregarded

The animation component seems to ignore the dir property. I've implemented a magnify effect on cursor hover, but the animation always runs from from to to, and never alternates. This is with A-Frame 0.7.0 and Chrome 63. live demo
AFRAME.registerComponent('hover-scale', {
	init: function()
	{
		// create animation
		this.el.setAttribute('animation__hover', {
			startEvents: ['hoverstart', 'mouseleave'],
			property: 'scale',
			dir: 'alternate',
			easing: 'easeOutQuad',
			dur: 200
		});

		// update scale
		this.el.addEventListener('mouseenter', () =>
		{
			let smallScale = obj2array(this.el.getAttribute('scale'), ['x','y','z']);
			let bigScale = smallScale.map(x => x*scaleFactor);
			console.log(smallScale, bigScale);

			this.el.setAttribute('animation__hover', {from: smallScale.join(' '), to: bigScale.join(' ')});

			this.el.emit('hoverstart');
		});
	}
});

OK, I'll try to fix later. Right now, I have startEvents creating a new animation each time resetting the counter. I think I need to split startEvents from restartEvents where startEvents reuses the same animation.

Oh, that makes sense. If it's creating a new animation each time, it never
fires again, so no alternating directions. Would appreciate a fix.
On Fri, Dec 15, 2017, 8:16 PM Kevin Ngo<EMAIL_ADDRESS>wrote:

OK, I'll try to fix later. Right now, I have startEvents creating a new
animation each time resetting the counter. I think I need to split
startEvents from restartEvents where startEvents reuses the same
animation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ngokevin/kframe/issues/118#issuecomment-352159505,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABy5CMrO2KRVFnW_9WHaSzLPMHlIRUAAks5tA0QagaJpZM4REKeE
.


[Docs]: Table widget add new row feature

Is there an existing issue for this?

[X] I have searched the existing issues

Engineering Ticket Link
https://github.com/appsmithorg/appsmith/issues/13672
Release Date
Nov 10 2022
First Draft
https://www.notion.so/appsmith/Table-add-new-row-c3ed0d4c5d1e4ee29077e084df3830b8
Loom video
No response
Discord/slack/intercom Link if needed
No response
PRD
https://www.notion.so/appsmith/Adding-a-new-row-in-the-table-0ec90544d26c4c25ab1f9b2504e919a1
Test plan/cases
No response
Use cases or user requests
No response

@spark-c - Could you please look into this?

I'm experimenting with where is best to fit the new feature content will have a PR soon to discuss

After review of the draft, the scope of this ticket is expanding a bit to be more of a rehaul of the inline-editing page of the Table widget docs.

@spark-c - Let's not block the release of this ticket due to Rehaul changes. You can create a separate PR for rehaul changes once the doc changes for this ticket are done.

Will make test/video showing steps ASAP

Merged


populate a Solr instance from SciGraph

Background: we will use SciGraph for graph-oriented or complex queries, especially those involving paths. For fast browsing of data tables we will continue to use Solr or similar denormalized faceted solutions. We will need a way to populate part or all of a Solr index from SciGraph.
To populate datafederation (ie nif) Solr cores, this may be as simple as passing a cypher query through the existing JDBC federation loader. @ccondit will investigate. Open questions here include: will this scale for large joins?
We also need to be able to add Solr documents that follow the GOlr meta-schema. This will require separate code. Rough overview: a yaml file provides metadata as to which fields we would need to cache ancestry for. The solr loader would consume this yaml, iterate through all SG nodes to be indexed, populating documents with the ancestors included. cc @kltm @hdietze

@cmungall - is this resolved with the Golr work?

Replaced by #46


161 remove fileupload dependency from h5xdevfilter

chcked by importing an application.
Factory Manager > Applications > Import Application...


chore(ci): change check.sh timeout from 15 to 20 min

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

https://github.com/risingwavelabs/risingwave/pull/6702#issuecomment-1336830774

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Let me check whether this time usage can be reduced in the future.


code gen

Describe the bug
A clear and concise description of what the bug is.
[WARNING] Invalidated precompiled build script due to missing asset graph.
[WARNING] /C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer_plugin-0.11.2/lib/src/utilities/change_builder/change_builder_dart.dart:696:17: Error: The getter 'enclosingElement3' isn't defined for the class 'Element'.

'Element' is from 'package:analyzer/dart/element/element.dart' ('/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.4.1/lib/dart/element/element.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'enclosingElement3'.
if (element.enclosingElement3 is CompilationUnitElement) {
^^^^^^^^^^^^^^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer_plugin-0.11.2/lib/src/utilities/change_builder/change_builder_dart.dart:971:41: Error: The getter 'name' isn't defined for the class 'NamedType'.
'NamedType' is from 'package:analyzer/src/dart/ast/ast.dart' ('/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.4.1/lib/src/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
var typeNameIdentifier = typeName.name;
^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer_plugin-0.11.2/lib/src/utilities/change_builder/change_builder_dart.dart:1121:31: Error: The getter 'enclosingElement3' isn't defined for the class 'TypeParameterElement'.
'TypeParameterElement' is from 'package:analyzer/dart/element/element.dart' ('/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.4.1/lib/dart/element/element.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'enclosingElement3'.
var enclosing = element.enclosingElement3;
^^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 27.5s
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

To Reproduce
<Please add a small sample to that can be executed to reproduce the problem. As a general rule, 100 lines is the maximum>
Expected behavior
A clear and concise description of what you expected to happen.

I don't see how this is related to firestore_converter?


add role connections

https://github.com/discord/discord-api-docs/pull/5668

this is missing the description field for roles.


ttnn.arange produces an incorrect shape when the end value is an odd number.

Describe the bug
While performing the ttnn.arange operation, it is observed that we get wrong results shape when odd value is given as end value.
To Reproduce
Steps to reproduce the behavior:

save the below snippet to a file

import ttnn
import torch

def test_unit_arange(device, reset_seeds):
    torch_output = torch.arange(0, 5, 1)
    ttnn_output = ttnn.arange(0, 5, 1, device)

    ttnn_output = ttnn.to_torch(ttnn_output).to(torch.int32).squeeze(0).squeeze(0).squeeze(0)
    print("torch output",torch_output, torch_output.shape) # [0, 1, 2, 3, 4] torch.Size([5])
    print("ttnn output",ttnn_output, ttnn_output.shape) # [0, 1, 2, 3, 4, 0] torch.Size([6])

Run the script using pytest <path/to/file>.
The result from the ttnn.arange is not as expected.

Expected behavior
An extra 0 is appended to the end of the result tensor, causing the dimension shape of the result to be incorrect.
Torch result = [0, 1, 2, 3, 4]
Ttnn result = [ 0, 1, 2, 3, 4, 0]

cc: @saichandax @boris-drazic


Automated cherry pick of #3253: baremetal: fix stop task hang

Cherry pick of #3253 on release/2.12.
#3253: baremetal: fix stop task hang

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@b963b27). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #3256   +/-   ##
==============================================
  Coverage                ?   7.11%
==============================================
  Files                   ?     480
  Lines                   ?   77747
  Branches                ?       0
==============================================
  Hits                    ?    5532
  Misses                  ?   71750
  Partials                ?     465

Flag
Coverage Δ

#aFlag
7.11% <0%> (?)

Impacted Files
Coverage Δ

pkg/baremetal/tasks/stop.go
0% <0%> (ø)

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 b963b27...fc32e6e. Read the comment docs.


Add built files and update package.json for npm publish

We published v1.0.0 without running the npm version scripts, causing the version on npm to not contain any of the built files. This creates the v1.0.1 tag and updates both package.json and the build/ directory so we can update the npm package to the correct files.

On second glance, the package's state on npm is strange. We have the v1.0.0 tag on Github, but the version on npm is v0.1.0. We may want to unpublish it first, clean up the repository, then republish it. I'll create a new pull request for that.


implement basic build testing on PR/push

I tried to implement this in commit 9bffd1aee792544e38409c0ebd9d0b43386210e7 without really understanding what I was doing.  Playing with that for a minute, I realize I shouldn't have committed that to the main repo without testing.  As it currently stands as I write this issue:

remove maven.yml from central repo, it throws errors that aren't related to testing (see https://github.com/jetmore/servemanager-client/actions/runs/4032091016/jobs/6931753104, issues with maven-surefire-plugin running in this action?).
in a branch for this issue, in my own repo, add the maven.yml file and test there.
as a goal, the workflow action should be running under java8 if possible.  Might be interesting to run testing under other JREs also, but 8 is our documented target
once everything is working, make this a central workflow via a PR for this issue

This is one specific step toward #4


Update to Yarn 4.4.1

This PR:

[X] Upgrades Yarn to version 4.4.1.

this looks good, but CI is failing

@EskiMojo14 https://github.com/reduxjs/redux-toolkit/pull/4601 needs to be merged.

gotcha :)

thanks!


Check and Fetch all ValidatePodNetwork errors

ValidatePodNetwork return directly when one error occur, and the
next Validates will not happen.
This PS validates all the annotations, then aggregate errors together.

Thanks! @caoyingjunz


Update WebView.android.js

修改reload方法，加多个判断
Thank you for sending the PR! We appreciate you spending the time to work on these changes.
Help us understand your motivation by explaining why you decided to make this change.

Test Plan

Related PRs

Release Notes

[CATEGORY] [TYPE] [LOCATION] - Message

修复android的webview


Genera with no species epithet should be handled as uninomials

The Scarabs dataset has a lot of genera provided as uninomials with no species epithet. We also have some really useful GSDs like IRMNG that provide a classification down to genus in gaps where we would otherwise have no data.
The names parser is adding "spec." to these genus uninomials, which is undesirable because spec. wasn't included in the original dataset and in some cases there may not be an unnamed specimen but we might just be missing the species epithets.

Do you have an example for this? This should only happen when the rank was actually given as species. For genus only names it would be a genus otherwise.
As we discussed in our last call this used to happen in all ACEF interpretation as it was designed to always be a species record. I have since then changed this to also allow for genus only records in the AcceptedSpecies file. It might not have been deployed fully on prod yet

That may indeed be the case, or maybe I just need to re-import the Scarabs dataset. Here's the example.

After redeploy and forced reindexing things look much better:
https://www.col.plus/dataset/1027/names?facet=rank&facet=issue&facet=status&issue=indetermined&limit=50&offset=0
Still a few, but no spec. names.
Any idea what these are about? Subgenus records?

@mdoering, I've looked carefully at the raw data and the Diploa proles record seems correct. Does CoL+ interpret the additional data column? It is listed as being used for the genus type.
Some of these are synonyms with the infraspecies_marker var. and infraspecies var., which we hadn't previously been testing, and we probably should block from being included in CoL+.

As proles is used in legacy names as a rank I suppose the name parser interprets proles as the rank and misses an epithet, hence the issue. But as ACEF supplies it as the species epithet we still use it as such so finally I think all is good - just some issues flagged that we can safely ignore in this case


[Fix #3542] Add IgnoreCopDirectives option to Metrics/LineLength

Fix #3542 Since it's Hackoberfest, I thought I'd give this a shot.
This adds a IgnoreCopDirectives option to Metrics\LineLength that ignores directives like # rubocop:disable ... from counting against the line length max.
I'm unsure of a couple things:

Not sure if # rubocop:[dis]able type comments already have a name. In the source they seem to be called directives, so I went with that when naming the option IgnoreCopDirectives
I tried to run the tests/rubocop in Rubinius but all I got was seg faults. I have never tried jruby. CI has me covered?

Thanks!

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Not sure if # rubocop:[dis]able type comments already have a name. In the source they seem to be called directives, so I went with that when naming the option IgnoreCopDirectives

The name you chose is OK.

I tried to run the tests/rubocop in Rubinius but all I got was seg faults. I have never tried jruby. CI has me covered?

Yep. Frankly we don't pay much attention to Rubinius support - there are always some issues with it.

And you'll have to rebase.

Updated from the review and rebased.

Thanks very much for your work on this @jmks!


Add 'axes' for DataFrame & Series and 'assert_list_eq' for testing

Implement axes for DataFrame & Series.
(https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.axes.html)
>>> df = ks.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
>>> df.axes
[RangeIndex(start=0, stop=2, step=1), Index(['col1', 'col2'],
dtype='object')]

and add test function assert_list_eq for comparing all member of list with assert_eq

Codecov Report

Merging #1286 into master will decrease coverage by 1.39%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #1286     +/-   ##
=========================================
- Coverage   95.16%   93.77%   -1.4%
=========================================
  Files          34       34
  Lines        7219     7243     +24
=========================================
- Hits         6870     6792     -78
- Misses        349      451    +102

Impacted Files
Coverage Δ

databricks/koalas/missing/frame.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/missing/series.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/series.py
96.4% <100%> (+0.03%)
:arrow_up:

databricks/koalas/testing/utils.py
78.98% <100%> (+0.46%)
:arrow_up:

databricks/koalas/frame.py
96.57% <100%> (+0.02%)
:arrow_up:

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

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

databricks/koalas/__init__.py
78.72% <0%> (-14.9%)
:arrow_down:

databricks/conftest.py
92.45% <0%> (-3.78%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


Rename Smapp for SM 0.3

Motivation
@lrettig:

The name is too generic, hard to Google, etc. I propose the name "Glass" (from "Through the Looking Glass"). It's transparent, and clear, and approachable, and it's the portal through which you access the Spacemesh ecosystem. Ethereum's first UI was called Myst; "Glass" is more transparent ;) There's also a pun on "Windows" in there somewhere ;)

Source: https://docs.google.com/document/d/1rL3susWJajibpVKiefKNiStfdyQSQu5klhicbFsk8Nc/edit?disco=AAAADg4UsVI
Some other proposed names, all mirror-related: Speculum (the "sp" alliteration is nice), Amalgam, Sublime/Sublimate, Parabola

@lrettig - we need to initiate a discussion about this if you want to move this idea forward... explore some names, get community feedback, etc....


Disable auto creation of dashboards Zabbix/Linux Server

I'm submitting a ...

[ ] Bug report
[ ] Feature requestdd
[X] Question / Support request

Can you disable the automatic creation of Zabbix / Linux server dashboards? I have to delete them from all organizations every time i make update

@daianmartinho can you describe a reason for this?

I use the plugin as datasource. I have many organizations, and they dont have to see zabbix servers informations. More then that, they are not alowed to see. So those dashboards became trash, and i have to delete them always. If someone need them, they could add by zabbix plugin menu.
Em 10 de jul de 2017 7:57 AM, Alexander Zobnin<EMAIL_ADDRESS>escreveu:
@daianmartinhohttps://github.com/daianmartinho can you describe a reason for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/alexanderzobnin/grafana-zabbix/issues/422#issuecomment-314073405, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AID1nJ81nyNME58Hs9NRNjJpchYunqfcks5sMgO1gaJpZM4OPAYW.

@alexanderzobnin I'm in the same case.
Thanks for your work and support.

@alexanderzobnin same request.
Thanks.

Zabbix Server dashboard was only dashboard that enables plugin menu in Grafana side bar. So now it's not showing there anymore. So this closes #203 and #647 as well.


Revise dpnp overloads

Implement get_queue_ref to extract native sycl queue pointer to pass it to dpnp functions
Update cumsum overload as an example
Implemented own native version of cumsum to test if all parameters are passed correctly from numba to native. (for debbuging purpose; to be removed)
Added example to quickly test cumsum (for debbuging purpose; to be removed)

cd example
icpx -fPIC -fsycl -shared -o testlib.so testlib.cpp
python ./example.py

Issues:

x.cumsum() doesn't work. dpnp.cumsum(x) does.
dpnp.cumsum(x) doesn't work. dpnp.cumsum(x, out) does.
Waiting for event inside jitted function doesn't work. Waiting for event inside native function works.

@diptorupd @mingjie-intel


Add tests for Scala.js

Imported from monifu/monifu.js#2.
Focus on Scala.js has fallen behind. Right now the code compiles and packages get published for Scala.js and it theoretically works, however we need Scala.js specific testing.
Please port as many tests as possible from the monifu-rx module to monifu-rx-js. Don't bother with tests meant for concurrency issues, as Scala.js runs on Javascript runtimes so there are no multithreading issues to speak of.
Here is how a test looks like: https://github.com/monifu/monifu/blob/v0.13.0-RC5/monifu-rx-js/src/test/scala/monifu/reactive/ObservableTest.scala
Two things to be aware about:

for Scala.js we are using the Scala.js port of Jasmine instead of ScalaTest (because ScalaTest is not cross-compiled to Scala.js)
in a Scala.js Jasmine test, we cannot block the current thread waiting for a result processed asynchronously - thus we must work with jasmine.Clock.tick as can be seen in the given example above

Start with ObservableOperatorsOnUnitTest.

The tests have been rebuilt from scratch in version 1.0-M1 and are now shared between the JVM and JS, by means of MiniTest.


Improve initial setup experience

set default value to .env.sample
set MySQL migration to true
[reported] describe BASE_URL clearly
add locale combobox to Tenant setup
change OS to OpenSearch in .env
add JWT generator link in .env comment; https://www.javainuse.com/jwtgenerator
add Session Password description and generator; (1) https://github.com/vvo/iron-session?tab=readme-ov-file#session-options (2) https://github.com/vvo/iron-session?tab=readme-ov-file#session-options
arrange and accumulate required & optional fields in .env for better reading.
[reported] check first tenant creation flows
[reported] improve Dockerfile and DockerCompose to better isolated manner

It would be helpful to construct Getting Started process that:

is well virtualized and encapsulated, like MySQL, ELK, or many other standalone software, running itself only from config.
includes health checks, validations, and organizaed dependancies between sub services

Thank you for your work so far!

It would be helpful to construct Getting Started process that:

is well virtualized and encapsulated, like MySQL, ELK, or many other standalone software, running itself only from config.
includes health checks, validations, and organizaed dependancies between sub services

Thank you for your work so far!


Server can't be found

Hi,
yesterday I added Cospend to my Nextcloud instance.
Unfortunately PayForMe does not seem to find my server.
It just says Could not find server (password was correctly entered in the screenshot beyond).
The server is accessible on my local network by its static ip.
I can access the project via password protected guest access as well.
Is the ip maybe the problem?
NextCloudPi version: v1.46.7
NextCloudPi image: NextCloudPi_10-07-21
Cospend version: v1.3.7
PayForMe version: v2.3.4

Hey,
thanks for the info! Two questions before I start digging in:

Are you sure you have HTTPS on your nextcloud?
Did you try with a password protected link?

Hey,

yes, but it's only using a self-signed certificate
yes, i tested all possible links & qr codes, none of them worked

Hey, I couldn't reproduce it back then (Didn't have the time to recreate a setup like this).
Since then I overhauled the whole project onboarding logic, can you check if it is still broken?

Closing for now, please re-open if the problem persists

Hello Hustenbonbon,
I'm sorry to disturb you, but I have the same issue. Have tried multiple ways but the PayForMe app always tells me "Could not find server". Trying it for weeks now. During the connection, will the SSL certificate be checked?
May you please help me? Thanks!


DOC: gpu contribution instructions

@WindQAQ Tzu-Wei, please merge the PR if you think it good :-)

Thanks!


leak?

https://github.com/moznion/go-setlock/blob/master/lockutil.go#L20
Isn't this file being leaked?

Fixed by lestrrat-san patch!


Trying to understand the testing frame work

Hi @zaxtax
My team and I have been doing working on Hakaru for our undergrad capstone project. We are wrapping things up and writing a paper based on our results. However, we've been having trouble formulating our hypothesis.
We've been writing a number of RoundTrip test cases to test known relationships between distributions. However, we are having trouble understanding what exactly is going on with these tests. We've tried diving into the related files, but none of us are knowledgeable enough with Haskell to figure it out. Best we can tell is it grabs the test cases and passes them to some Maple environment.
@JacquesCarette has told us to ask you to explain it to us.
I'll explain what we've figured out so far and then hopefully you can fill in the gaps for us. So for example, we have added a test with the following result:
### Failure in: 6:RoundTrip:7:2:t_rayleigh_to_stdChiSq:0
haskell/Tests/TestTools.hs:130
expected:
chiSq_iid = fn n nat:
            fn mean real:
            fn stdev prob:
            q <~ plate _ of n: normal(mean, stdev)
            return summate i from 0 to size(q):
                   ((q[i] - mean) * prob2real(1/ stdev)) ^ 2
standardChiSq = fn n nat: chiSq_iid(n, nat2real(0), nat2prob(1))
standardChiSq(2)
but got:
q307 <~ normal(+0/1, 1/1)
q315 <~ normal(+0/1, 1/1)
return q307 ^ 2 + q315 ^ 2
Cases: 338  Tried: 287  Errors: 2  Failures: 20

### Failure in: 6:RoundTrip:7:2:t_rayleigh_to_stdChiSq:1
haskell/Tests/TestTools.hs:130
expected:
chiSq_iid = fn n nat:
            fn mean real:
            fn stdev prob:
            q <~ plate _ of n: normal(mean, stdev)
            return summate i from 0 to size(q):
                   ((q[i] - mean) * prob2real(1/ stdev)) ^ 2
standardChiSq = fn n nat: chiSq_iid(n, nat2real(0), nat2prob(1))
standardChiSq(2)
but got:
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-2/1)
Cases: 338  Tried: 288  Errors: 2  Failures: 21

So for each test case it looks like 2 tests are run. I've messed around with hk-maple a bit and it looks like this is roughly what is happening:

0-test: run default and Summarize modes on the expected file and check if their outputs match
1-test: run default mode on the expected file again, run Summarize mode on the test file and check if their outputs match

However, these outputs don't always exactly match the outputs when I run Summarize on these files (although they are very close) so I don't think this is exactly what is happening. Can you clarify how these outputs are generated?
We would also like to make sure we understand the purposes of both tests. The 0-test seems to be some sort preliminary test before the 1-test tests the actual relationship we are interested in. As far as I can tell, Summarize seems to be a more ambitious version of Simplify. So I expect if their outputs are equal, Summarize can't do any better, right? I think Dr. Carette had said it has to do with making sure some sort of change of variables is done correctly. Can you expand on this?
I know the 1 test is meant to produce equivalent code for Hakaru files describing equivalent distributions. Can you explain how the inference algorithms used in the test are meant to accomplish this?
For reference, this is the hypothesis we are currently working with:
Assume we know a relationship between 2 statistical distributions which transforms distribution A into distribution B, which we are able to prove by analyzing their PDFs.
We hypothesize that by applying the appropriate transformations on an implementation of distribution A in hakaru, we can create a hakaru program whose hk-maple output will be a hakaru program that is equivalent to the hakaru program output by hk-maple run on an implementation of distribution B.
Really appreciate your help with this.

Hello @maymoo99 !
So I don't see anything wrong with what the tests are doing. Simplify will inline function calls, which is basically what it did. You can check this behavior by calling simplify on
def add(x, y): x + y
add(3, 4)

As you might know the maple code has no knowledge of chi^2, only simple distributions like normal, uniform, etc. So when code is emitted it will use the sum of two normals. So test 0 seems fine to me.
I don't fully understand where test 1 comes from and need to dig in further. Generally you should trace this behavior to haskell/Tests/TestTools.hs
Summarize is not necessarily a more powerful version of Simplify. Summarize rewrites programs looking for every particular looping structure in the code. Simplify is actually trying to rewrite code to find closed forms for different distributions. Their roles are different. A common pattern is to call Simplify followed by Summarize.
I hope that helps for now, and I'll add more comments as I get a better idea what's going on.

One of the key pieces of information (for me!) in the above is that our tests are run twice, once with Simplify and once with Summarize -- I did not know this.  That would indeed explain quite a few symptoms. At least, if that is indeed what is going on...
Hmm, except that I can't see anything in haskell/Tests/*.hs that mentions Summarize in any form.  So I am still quite puzzled as to why it seems that all tests are run twice. I looked through the code, and couldn't find out what's going on there.

OK, so here's something interesting:
[khattm@cps02 ~/hakaru/tests/RoundTrip2] hk-maple t_rayleigh_to_stdChiSq.expected.hk
chiSq_iid = fn n nat:
            fn mean real:
            fn stdev prob:
            q <~ plate _ of n: normal(mean, stdev)
            return summate i from 0 to size(q):
                   ((q[i] - mean) * prob2real(1/ stdev)) ^ 2
standardChiSq = fn n nat: chiSq_iid(n, nat2real(0), nat2prob(1))
standardChiSq(2)

[khattm@cps02 ~/hakaru/tests/RoundTrip2] hk-maple -c Simplify t_rayleigh_to_stdChiSq.expected.hk
q307 <~ normal(+0/1, 1/1)
q315 <~ normal(+0/1, 1/1)
return q307 ^ 2 + q315 ^ 2

[khattm@cps02 ~/hakaru/tests/RoundTrip2] hk-maple -c Summarize t_rayleigh_to_stdChiSq.expected.hk
q <~ plate _ of 2: normal(+0/1, 1/1)
return summate i from 0 to size(q): q[i] ^ 2

---

[khattm@cps02 ~/hakaru/tests/RoundTrip2] hk-maple -c Simplify t_rayleigh_to_stdChiSq.0.hk
X3 <~ uniform(+0/1, +1/1)
return log(real2prob(X3)) * (-2/1)

[khattm@cps02 ~/hakaru/tests/RoundTrip2] hk-maple -c Summarize t_rayleigh_to_stdChiSq.0.hk
x <~ X <~ X <~ uniform(+0/1, +1/1)
          return log(real2prob(X)) * (-2/1)
     return sqrt(real2prob(X))
return prob2real(x ^ 2)

Comparing this with the logs, it looks like this is how RoundTrip test cases run:
0:

expected: hk-maple t_rayleigh_to_stdChiSq.expected.hk
got: hk-maple -c Simplify t_rayleigh_to_stdChiSq.expected.hk

1:

expected: hk-maple t_rayleigh_to_stdChiSq.expected.hk
got: hk-maple -c Simplify t_rayleigh_to_stdChiSq.0.hk

So, it's not Summarize, but Simplify being run to produce the 'but got' code. Now I'm really confused because the documentation clearly states that Simplify is hk-maple's default mode... What's really going on here?

@zaxtax To clarify, it's not so much that we think that there is something wrong with the tests so much as we are trying to understand how they are meant to work. My end goal for this discussion is to refine our hypothesis (in italics above) and to be able to speak accurately about our results in the paper we're writing.
Why does the expected file have to pass the 0-test? What exactly are we testing here? What does it imply about the implementation if it passes? What might it imply about the implementation if it doesn't?
It seems the 0-test has to pass if the 1-test has a chance of passing. When the 0-test fails, in general it seems like the "but got" result gets further simplified than the expected result. Why not reverse the roles of the expected/got algorithms in the 0-test and then the 1-test could compare the outputs of -c Simplify on both files? Is the intention to prevent the 1-test from passing if the 0-test doesn't pass?
If I could think of the 1-test as running the same Simplification algorithm on both files (since, for 0-tests that pass, the 1-test will produce the same result using either algorithm on my expected file) it becomes immediately obvious how we're using the 1-test to test relationships between distributions. But why should 2 different optimization algorithms run on 2 different Hakaru programs produce the same result when the distributions they implement are equivalent? The story seems to be more complicated than just "if we can simplify both models to the same model, then Hakaru recognizes the relationship" which is essentially the level of nuance we are able to discuss our results at the moment.
I hope these questions can be answered while keeping the discussion relatively high-level.

@zaxtax @JacquesCarette bump

I looked at the code, and I can't figure out where the whole 0-tests versus 1-tests comes from.  Perhaphs @ccshan knows?

I have an inkling. I think expected and got are both being passed to
Simplify. I haven't traced where but that's what I'm investigating.
On Thu, Apr 19, 2018, 17:58 Jacques Carette<EMAIL_ADDRESS>wrote:

I looked at the code, and I can't figure out where the whole 0-tests
versus 1-tests comes from. Perhaphs @ccshan https://github.com/ccshan
knows?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hakaru-dev/hakaru/issues/169#issuecomment-382808113,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAhUcHSl2GTM8TtVh7paRAlRMWiMp5Gks5tqMJOgaJpZM4TU63O
.

I'm still trying to trace the code. Was my hunch that both programs are being passed to Simplify correct?

I'm not even sure of that. I can't even see where the test suite is being run twice!  [And I don't know if it was @yuriy0 or @ccshan who set that up]


MVP-9 Basic User Configuration

User Statement
As a System Administrator, I would like the ability to configure the portfolio web system to be tailored to the individual whose online presence the system will support.
Engineering Response
We will add a configuration file supporting the tailoring of a deployment of the portfolio web system to a particular individual.
Technical Breakout
We can include a new 'configuration.json' file containing key value pairs representing the customizable information. We will then need to parse this file and to incorporate its content into the site.
For the MVP release, the only configurable content should be the following:

Title
Domain

Incorporating these customizations should only affect the heading. The README should be updated to describe how to configure the system.
Acceptance Criteria

[x] A process for configuring the portfolio web system to a particular individual has been made available to its users.
[x] README is updated to include this process.

Added a new config.json file and incorporated its title and domain settings into the logic where the heading is generated in index.php.

The initial process for configuring the system has been documented in the README.

Work has completed and the associated branch has been merged. Closing this issue.


Way to donate to project?

Hey, I just wanted to ask if there is a way to donate to the development of this project. I love this image viewer and I'm so happy with its continued development, I figured I should really chip in some money to keep it going. Is there any official way to do so? Thanks!

@CorneliusCornbread Thanks for opening this issue!  There is not currently an official way to donate, although it may be something I should look into.
I just need to figure out how to best make sure the money helps the project along, and maybe look into GitHub Sponsors.
I think monetary donations could help a project in these ways:

Bounties - encourage outside contributions with small monetary rewards, requires some maintenance planning
Day's wage - idea is can take days off work to devote to project once enough money is saved up from dontations, doesn't apply super well for me, given a salary position, but could be allocated to someone else
Requested features - I allocate my free time to develop a specific feature requested from a sponsor

I still need to come up with a more concrete roadmap for the project, and do better planning as a maintainer, I think for any of these.  But, also a donation could be reserved for any of these things later.  I'm curious if you have any preferences as a potential sponsor for any or multiple of those options, or something else entirely?

@AldaronLau I don't have much of a preference, though having both the option for a regular donation and a one time donation would be really nice.
I figured I should show that there's interest in the continued development of this project and the best way to do that is a donation.
Though I will admit I'm just a broke college kid so the best I can do is buy you lunch lol

@CorneliusCornbread Thanks for the feedback.  I'll look into setting something up - may take me a bit, though.

@CorneliusCornbread I just set up GitHub Sponsors, with default settings.  The sponsor button should show up in the right column with one-time and recurring donation options.  Thanks!


[Astra DB TikTok Clone]

Name: Sabuj Golui
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/sabuj-golui-215941201/
Attach the homework step I screenshots below:
<>
<>
<>
Attach the homework step II screenshots below:
<

<

Congratulations, well done! Enjoy your badge and see you on the next episode, this week!

Hey Sabuj Golui, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/De1mnwc5Q0yQfjWregTaXA

sir, i have already completed my 3 projects

todolist.
tiktok clone.
netflix clone.
am I eligible for the Golden badge?
& how I can own my Golden badge?


google-cloud-spanner: Request ReadOption for descending result order

It's nice to be able to use the ReadContext.read() method instead of ReadContext.executeQuery() because it's so much more efficient (no SQL parsing, query plan, etc).
To make ReadContext.read() more generally useful, this is a request to add a new ReadOption  to specify descending sort order (presumably, ascending sort order is the default so no option is needed for that).
Thanks.

ReadContext.read would return the rows in the order of primary key as specified in the schema. By default the primary keys are stored in ascending order but you can mark any key column as descending to store it in descending order. In that case read would return the rows in the descending order of the key. There is no way to change/specify the order of rows returned by read at runtime.
Also we believe that performance characteristics of query and read should be similar. I would advise you to use executeQuery unless there is a compelling reason to use read.

Also we believe that performance characteristics of query and read should be similar. I would advise you to use executeQuery unless there is a compelling reason to use read.

Great, if so then my fears are unfounded and you may close this issue.
However I am still puzzled by something:

There is no way to change/specify the order of rows returned by read at runtime.

Yes, but don't you agree that this is due simply to a limitation of the API, and not of the underlying capability? After all, I can query SELECT key, value FROM KeyValue ORDER BY key DESC so clearly the underlying capability to return results in reverse order exists... in which case, it seems like a silly limitation that you can't get at that functionality via read().

Yes thats a valid point. In theory we should be able to sort order to the API. But given that similar effect can be achieved using query api, we do not have any plans to do so.

the ReadOption has ability to filter, limit, and set page size. it does make sense to provide sort via this as well. It'd make some ORM a bit easier to implement.

@saturnism can you explain the impact of this on ORM? I thought ORMs would just use the query API and not the read API. Also note that this is not really about the Java client. Underlying api does not provide this functionality so this would need to be first added to that.


添加了service包下的manager.impl的测试

Make sure that:

[√] You have read the contribution guidelines.
[√] You submit test cases (unit or integration tests) that back your changes.
[√] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

pls modify title to english


Fix PR merge title field overflowing

Fixes #4146
Reverts #4070
Test URLs
This page
Screenshot
https://user-images.githubusercontent.com/46634000/136789090-80b8c1c0-9e25-4fc9-bc0e-873964ca76cf.mp4

Thank you!


add pageSize prop to UniformList

UniformList is locked into rendering only the first item until the list is scrolled. This produces an odd UX and also messes up server side rendering. This fixes that in the same style as List.

Ah yes, forgot about the server side render case for this. Thanks!


Updating main. Rearranged files

When a viewmodel is only used by a single screen, it is advisable to keep those viewmodels in the same package as the screen in which they are used.
your package structure can look something like this.

screens

home

HomeScreen.kt
HomeViewModel.kt

search

SearchScreen.kt
SearchViewModel.kt

Note:  + denotes directories, - for files.


Lets use C++11 standard/compilers

There's a new C++ standard with many new features. We can use those features to help us a lot.
Here are some examples:

Standard Regular Expressions (use in std.regex)
Smart pointers (for better memory management)
Hash tables (we use one that is not standard)
Threading (future uses in std.thread and parallelism)
Mutexes, atomic operations (for concurrent programming, util in std.thread and parallelism)
Rvalues (performance)
Lazy evaluation and async (via std::async; util for example in many std.net and std.thread (future) things)
Tuples (many uses)
std::u32string and std::u16string
Many other utilities (close templates with '>>', range for, initializer lists, type inference "auto", lambda, traits etc).

Many projects are already moving to the new standard! I think we should also start using these features in Clever development.

Sure.. except that we need to check first if all currently supported platforms can compile code using the new standard. Probably MSVC will have problems with this (not sure, anyway) :(

No, MSVC++ has one of the better support of C++11. Thanks to Herb Sutter who works for Microsoft!

Oh... Nice! Well, why not then? :)

Yeah, let deprecate libpcrecpp in favor of std::regex :-) (std.regex and testrunner)

Hmmm I can fill some problems coming to my Ubuntu and Mac... :)

@pedrofaria: *feel, not fill.
And maybe not. @muriloadriano also uses a Mac, so he's able to port whatever is needed. I use Ubuntu, so I can work on it too. Unless you use really old versions of both systems, this shouldn't be a problem.

Yeah @pedrofaria, the Mac support is not a coincidence :)
We can handle all the hard stuff in favor of the benefits we'll have!

The 'thread' header is only available on VS 2011:

As part of the added support in Visual Studio 11 Developer Preview for the C++11 specification, the Standard Template Library (STL) support in Visual Studio is extended to provide the additional programming constructs that specification requires. Highlights include the following:

Support for new headers 'atomic', chrono', 'condition_variable', 'filesystem', 'future', 'mutex', 'ratio', and 'thread'.

http://msdn.microsoft.com/en-us/library/hh409293(v=vs.110).aspx
I think I'll just create a development VM for this (since I can install VS 2011 on my machine as I need it for work) and we're good to go :)

The problem is that to use -std=c++11 we need gcc 4.7. Currently Ubuntu, Debian, etc uses gcc < 4.7


Sidebar excluding certain lines

In my board.yml, I have a line at the top (- '&7&l------------') that doesn't show in game. I believe this is a bug, as whatever I do, it only excludes this line. I've tried this:
`- ' '

'&7&l------------'
'&2Rank:'
'&2<>'`

this:
`- '&7&l------------'

' '
'&2Rank:'
'&2<>'`

and other things, but it only skips that one line. Any idea why? It seems to me that it doesn't show any line that has the same text, as doing this (adding an excessive &l):

'&l&7&l------------'
'&2Rank:'
'&2<>'`

does work. Here's what it looks like in-game:

As you can see, the top bar isn't there.

This is a bug indeed. Thank you for reporting it! I will look into a fix, it may take some time since I have some personal business to take care of this week first.

An easy fix is to add "&r" to the front of one of the lines... this way it's not the same but the colors won't be effected.

This is FIXEDin the Recode! (V3)


hotfix #303

@grunch @Catrya
hotfix to avoid panic #303.

Although when admin does admsettle, the message Mostro sent is ¨Dispute not taken by you¨
But it should be something like ¨This order has already been cancelled by its users"
Maybe we could consider putting this in a new issue?

Although when admin does admsettle, the message Mostro sent is ¨Dispute not taken by you¨ But it should be something like ¨This order has already been cancelled by its users" Maybe we could consider putting this in a new issue?

I will continue on this issue @Catrya , will look to have a more consistent error for user in these case.

Although when admin does admsettle, the message Mostro sent is ¨Dispute not taken by you¨ But it should be something like ¨This order has already been cancelled by its users" Maybe we could consider putting this in a new issue?

Probably we should start doing the new stuff following what is asked in #312, so we don't have to send any text string to the user, we should send a message with an action that let know to the client what happened, you can see the list of actions here so we can use CooperativeCancelAccepted but if you think we should use a different one we can discuss it here

I will

But now if there is a cooperative cancellation and the admin tries to cancel anyway, the message it returns is "Can't settle an order with status different than dispute!". But before it allowed it even though it had no effect

I think that's just because I added the check only in admin_settle file and not in admin_cancel. Doing it in my new branch on Mostro.


Chart drilldowns heatmaps funnelchart

Description

Checklist

For UI or styling changes, I have added a screenshot or gif showing before & after
[x] I have added a changeset
[x] I have added to the docs where applicable
I have added to the VS Code extension where applicable

@kwongz these are looking good.
My only concern is the discoverability of the feature for a viewer - it’s tricky to indicate that double click is required without having text to explain it on a chart, and that could become a burden for the developer, or could lead to viewers needing training.
I think we should do one more review of this behaviour in combination with the chart input + emphasis work so we have a smooth experience for the permutations people will get into. E.g.,:

Link only - double click to navigate
Input only - single click to set emphasis & input value
Link and input combo - single click to set input, double click to navigate

Some ways we could increase the discoverability:

Pointer cursor - show non-pointer cursor by default on charts, change to pointer when element is clickable

This would help the single click case, but only partially help the double click case

Custom cursors - have custom cursor styles to indicate what's possible when hovering over a chart element
Tooltip on click - e.g,. click a bar and see something like:

"Filter for 'United Kingdom'"
"Filter for 1998"
"Go to drill page for 'United Kingdom'"

General chart info tooltip - e.g., an i icon at the top right of a chart, when hovered includes info that you can click or double click to achieve something

If we had this, we could auto-generate the content based on the props supplied but allow a full override (e.g., if link supplied, include "Double click to see more detail" in the tooltip by default)
Would also need a way to turn this off completely, and decide whether it should be on or off by default

Some other visual indicator that a chart includes link drilldown - e.g., we have icons for link drill + input, which show up somewhere on the chart to clue users into the functions available to them on that particular chart

"If you see the  icon, it means you can double click on the chart to go to a drilldown page"

We don't need to go for a full long-term solution on this just yet, but I want to make sure we're doing whatever easy things we can do to make this more obvious for people before we release it

Thanks @hughess
Spoke to Brian about ensuring the single click (chart inputs) and double click (drilldowns) will be tested in the final feature branch.
We also plan to implement your suggestions for discoverability in another PR focused on discoverability.
If everything else looks good, can we merge these chart drills downs into feature/chart-inputs-emphasis?
Thanks


The "account:savetoken" command does not exist. Run "suitecloud" to see the supported commands.

Select the SuiteCloud tool where you encountered the issue
SuiteCloud CLI
Version of the SuiteCloud Tool
2.0.0
Operating system
amazoncorretto:17-alpine
Node Version / VSCode Version
v20.16.0
JAVA Version
17
Bug description
Well I see that the command is not working with the new release but also your documentation states that 2024.2 release notes are out but the link shows only information on 2024.1
Read the release notes for NetSuite 2024.2 in SuiteCloud SDK Release Notes.
So where do I look for documentation?
Steps To Reproduce
N/A
Actual Output
No response
Expected Output
No response
Anything else?
No response

I'm also running into the same issue.

We are working on making the docs available for accounts still on 24.1 version
Meanwhile use these docs for reference
SuiteCloudCLINodejs.pdf
SuiteCloudExtensionforVSCode.pdf
SuiteCloudSDKOverview.pdf


Initial Postman Collection [Auth Service]

Task Description
Create a Postman Collection for all the Routes of Curious Connect.
As of now there are only 2 Routes created in Auth Service.
Details

Create a Postman Collection
Then Export this and put the generated file in the folder apiInfo in root directory

Priority
Set the priority: Medium
Additional Details

Instructions
Stay you can start working on it by taking latest pull from main branch

[ ] Please read the contributors guidelines Contributing Guidelines.
[ ] Please follow the code of conduct Code Of Conduct
[ ] Don't Forget to join onboarding group for knowledge flow and direct conversation and support from admins
[ ] Link Curious Developers Community - Curious Connect
[ ] Please attach the screenshots and video of the development work once it is done
[ ] Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem
[ ] please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number

Respect Co Developers And Please Reach-out to admins if any issues
Additional Details
Add any other context about the task here.

Please assign this issue to me.

@Kairu-22 you can start working on it

@Kairu-22 Please reach-out to admins
Instructions
You can start working on it by taking latest pull from main branch

[ ] Please raise pull request to main
[ ] Please read the contributors guidelines Contributing Guidelines.
[ ] Please follow the code of conduct Code Of Conduct
[ ] Don't Forget to join onboarding group for knowledge flow and direct conversation and support from admins
[ ] Link Curious Developers Community - Curious Connect
[ ] Please attach the screenshots and video of the development work once it is done
[ ] Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem
[ ] please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number

if any help required reach-out to admins or mentors in the onboarding group default meeting link and approach to admins - GOOGLE MEET Issue Discussion Google Meet
Respect Co Developers And Please Reach-out to admins if any issues

PR Merged #204


Allow duplicate group names while validating no duplicate tokens

Why does this PR exist?
Fixes #2778

What does this pull request do?

Testing this change
Import this JSON
{
  "buttons123": {
    "default": {
      "value": "#0fa",
      "type": "color"
    },
    "primary": {
      "value": "#0af",
      "type": "color"
    },
    "secondary": {
      "value": "#a0f",
      "type": "color"
    },
    "superlongtokenname": {
      "value": "#0af",
      "type": "color"
    }
  },
  "buttons": {
    "default": {
      "value": "16",
      "type": "sizing"
      }
    },
    "primary": {
      "value": "12",
      "type": "sizing"
    },
    "superlongtokenname": {
      "value": "16",
      "type": "sizing"
    }
  },
  "buttons2": {
    "value": "12",
    "type": "sizing"
  },
  "buttons3": {
    "test": {
      "value": "16",
      "type": "spacing"
    }
  }
}

Try to rename and duplicate the buttons123 group to buttons and buttons2. These should show error messages with the conflicting token(s).
Renaming/duplicating buttons123 to buttons3 should be allowed.

Additional Notes (if any)
Before

After

Tests failing here
(I'm not able to copy paste that JSON in, leads to errors)
Slight UX feedback on a different set of JSON that i used:
Try to rename the buttons group in the Colors type here to buttons.foo - This technically should be possible as the only tokens inside are tokens part of the current group:
{
  "buttons": {
    "foo": {
      "default": {
        "value": "#0fa",
        "type": "color"
      },
      "primary": {
        "value": "#0af",
        "type": "color"
      },
      "secondary": {
        "value": "#a0f",
        "type": "color"
      },
      "superlongtokenname": {
        "value": "#0af",
        "type": "color"
      }
    },
    "default": {
      "value": "16",
      "type": "sizing"
    }
  },
  "primary": {
    "value": "12",
    "type": "sizing"
  },
  "superlongtokenname": {
    "value": "16",
    "type": "sizing"
  }
}

I'll merge this in - can you add the comments of mine in a follow-up PR?


Fix an exception in _no_spaces_parser(':').

Fix #444, #328

Good to go! Thanks for even increasing test coverage score.


Memory Limits exceeded

Hey,
I'm trying to implement this library for dtw and am encountering memory issues within GEE.
Are there any hard limits in terms of the amount of images in the time-series, or number of sample points, number of labels, or overall region size that you are aware of?
Just as a test I'm trying to export dtw_class and the task does run for a long while
Everything before this step is fine, however the output from this function can't be printed or exported.
`var dtw_min_dist = function(key, val){
key = ee.Number.parse(key);
// Function to format the signatures to a DTW-ready EE array
var training_data_list = DTW.prepareSignatures(reference_signatures,
CLASS_NAME,
key,
BAND_NO,
PATTERNS_LEN,
band_names);
// Compute the class-wise DTW distance
return ee.ImageCollection(DTW.DTWDist(training_data_list,
s2_input_asset.select("d_0_NDVI"),
{patterns_no: val,
band_no: BAND_NO,
timeseries_len: TIMESERIES_LEN,
patterns_len: PATTERNS_LEN,
constraint_type: 'time-weighted',
distance_type: 'angular',
beta: BETA,
alpha: ALPHA
})
).min()
.rename('dtw')
// Add class band corresponding to the land cover/crop class computed.
// This is useful/necessary to generate the hard classification map from the dissimilarity values
.addBands(ee.Image(key).toByte().rename('band'));
};`
For the variables:
// Input data parameters var CLASS_NAME = 'labelno'; var AGG_INTERVAL = 5; var TIMESERIES_LEN = 37; var PATTERNS_LEN = 37; var CLASS_NO = 6; var S2_BAND_LIST = ["d_0_NDVI"]; var BAND_NO = S2_BAND_LIST.length;  var DOY_BAND = 'doy';
Where the number of number of signatures is 331
AOI size is ~3700 km2

Can you share your code so it can be reproduced? I suspect you can still export it as an asset or to cloud storage, but cannot print it real time.