More instructions about the "Letter Board"

I thought that since the color grey was used for letters not in the word, that if a letter was grey in the Letter Board, it was also not used. In fact todays puzzle shows how wrong this is. Whipped Cream showed in the letter board that E, C and R were all grey.
I also did not know until today that the letter board shows a white letter even if the letter is in the perfect place, I found it is a hint that there is more then one of these letters in the puzzle.
More instructions on the Letter Board are SORELY NEEDED.

Can you clarify what you mean by the letter board? Is this the keyboard?
If so, the keyboard tracks how many of a letter could be in the word based on the clues you have been given, e.g. if you guessed a word with a single E, and it was yellow or green, you know that there is one E in the answer but there may be more. On the other hand if your guess had two E's and only one of them was green / yellow there can only possibly be one E in the answer. As a result once you've typed on E the E turns dark to indicate there can be no more.
I can add a section to the help instructions to explain this when I find time.

Yes, sorry it was the keyboard I was referring to.
I have not really looked at it any more since this comment, I play daily still though. It just seems weird that the keyboard would show that a letter was not used when in fact it was used. I have not looked at any changes to the options, I did notice that for a few days, there were hatch marks going through some letters, and there was a notice that things were changed a bit, however after a week? it seemed to return to normal. I did not like those hatch markings and the letters were no longer properly centered in the boxes.

I'm still not sure what you mean that it shows a letter was not used when it was? Are you referring to how it changes from green/yellow to grey after the letter is used in your guess?

In the example I used, the puzzle was whipped cream, the keyboard showed grey letters for the W, the C and the E,  I thought grey was meant for letters NOT In the puzzle, yet in this case all three letters are in fact in the puzzle.

Right, so I'm guessing W, C, and E were already in your current guess though (maybe auto-filled because they were green), so the keyboard was telling you that there may or may not be more of them, just as there may or may not be any other letter you haven't tried yet. I added this to make it easier when you're coming up with guesses to know what letters you may still need. They shouldn't have turned dark gray though unless you had a clue to indicate there could not be more of them.
Thanks for explaining, I'll add a description of how the keyboard updates based on what you've typed so far to the help page to try to make this more clear.

Thank you.


feat: change keybinding for remove node from command + backspace

Is your feature request related to a problem? Please describe.
Yes, as a mac user I often use command + backspace to delete the current line.
Describe the solution you'd like
Change from command + backspace to something equally ergonomic. I'm new to the tool, so I would prefer whatever is pragmatic in the context of the other keybindings.
Describe alternatives you've considered
None
Additional context
None

yeahhhh i do this too, tho have been struggling to think of a better delete key. could maybe use command + shift + delete and find another keybind for delete all


Add docs for trouble shooting "nvidia gpu operator"

The nerdctl run cannot run correctly when using the gpu-operator with error message (FATA[0000] exec: "nvidia-container-cli": executable file not found in $PATH)
Add docs so that the user can solve the problem.
Related to:  https://github.com/containerd/nerdctl/issues/2716#issuecomment-1868269556

see the same issue, thanks for documents.


[read/write set analysis] fix crash when updating return value via join

The analysis had an assertion that was meant to guard against updating Return variables more than once (since that should never happen). However, the assertion was overzealous in that although a Return can only be assigned once, the value associated with a Return can be updated via a join (e.g., when a procedure returns from several different control locations).
This PR adds a test that crashed the old analysis + removes the overzealous assertion.

/land


Ability to configure what rc/profile file nvm installs into

Operating system and version:
Debian/unstable.
How did you install nvm?

Ran the installer.
What steps did you perform?
Installed with the standard install script. Tried to use ansible.
What happened?
#2174. Ansible started a non-interactive login shell & did not start nvm.
What did you expect to happen?
I would have liked some way to, on install, control how & where nvm installed itself into my shell and/or shells. A supplemental environment variable for the installer that let me specify that I prefer .zshenv/.bash_profile over the significantly less used/less useful .zshrc/.bashrc files would have given me an install preference to install nvm in a way that would be useful in more situations, available to more systems, such as Ansible.
This change by nvm would go a long way towards helping users such as those in #2174 make more active use of nvm wherever they need it.
Is there anything in any of your profile files that modifies the PATH?
Oh heck yes tons of things.

If $PROFILE is set explicitly, the install script will always use that.


Exception ignored in: <object repr() failed> when quit

The following program  sometime produces Exception ignored in: <object repr() failed> when quit
import asyncio
async def coro(name):
    await asyncio.sleep(1)
    print('coro {}: waiting for lock'.format(name))

loop = asyncio.get_event_loop()
coros = asyncio.gather(coro(1), coro(2 ))
loop.run_until_complete(coros)
loop.close()
quit()

Here is output of the program above.
My platform is : Mac OS X, python3.5.2
coro 1: waiting for lock
coro 2: waiting for lock
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 85, in __del__
AttributeError: 'NoneType' object has no attribute '_PENDING'
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 85, in __del__
AttributeError: 'NoneType' object has no attribute '_PENDING'

Hi,
I cannot reproduce the issue with python 3.5.2 on Linux.
I am not sure that why you would use quit() here: since the loop is closed and nothing else will be executed, your python script will exit anyway.

@Martiusweb  I won't  use quit() in my project , I'm just confused by this exception and I wanna figure out it.
I'll close this issue since this is not a bug, but a wrong use of loop

@ahui132 @Martiusweb
For posterity, as I had the same issue and found #423 by searching on google, and I assume there will be some other people having similar problems.
Conclusion is you need to explicitly del your tasks to prevent these types of errors.
Otherwise at the end, when all the finalizers run (order varies) it can happen that futures is already unloaded so futures._PENDING or futures.Future will not resolve properly.
In my case both Tasks were actually FINISHED and everything was fine.
How did I find this? I have modified asyncio.Task._del_ in the following way:

replace futures._PENDING with 'PENDING'
added AttributeError exception handling for futures.Future

    if compat.PY34:
        def __del__(self):
            if self._state == 'PENDING' and self._log_destroy_pending:
                context = {
                    'task': self,
                    'message': 'Task was destroyed but it is pending!',
                }
                if self._source_traceback:
                    context['source_traceback'] = self._source_traceback
                self._loop.call_exception_handler(context)
            try:
                futures.Future.__del__(self)
            except AttributeError:
                name = getattr(self._coro, '__qualname__', None) or getattr(self._coro, '__name__', None)
                code = getattr(self._coro, 'gi_code', None) or getattr(self._coro, 'cr_code', None)
                frame = getattr(self._coro, 'gi_frame', None) or getattr(self._coro, 'cr_frame', None)

                filename = code.co_filename
                lineno = (frame and frame.f_lineno) or code.co_firstlineno

                print('!> Finalizer error in {}() {} at {} line {}'.format(
                    name,
                    self._state,
                    filename, lineno
                ))


[Bug]: yt transcript broken?

What happened?
I want fabric to summarize a YT Video with "yt --transcript "https://www.youtube.com/watch?v=CbhoKt14qrE" | fabric -sp create_summary".
Actuall fabric (29.04.24)
local OLLAMA with dolphin-llama3:latest
The output looks like this:
# ONE SENTENCE SUMMARY:
Google's Gemma 2B, an 8-bit quantization model, has been tested for its performance using LM Studio. The model was evaluated based on six (%   "

Multiple times the same outcome - it stops after the first line.
Copying the transcript to clipboard gives this result:
pbpaste | fabric -sp create_summary
# One Sentence Summary:
The LM Studio's Google Gemma 2B model has been tested for its performance, accuracy, and usability. It scored a 2 out of 6 in responding six-c%

or this:
pbpaste | fabric -sp summarize
# ONE SENTENCE SUMMARY:
Google's Gemma 2B model shows potential for low-end machines, but falls short compared to higher-parameter models.

# MAIN POINTS:
1. Tested Google (%

Using OLLAMA directly (CLI) is working correctly.
Is this a bug in yt or fabric or ollama?
Thank you!
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

I think that's an LM studio issue...or Ollama.


Allow other types of keys in renameable table destructuring feature

Clue supports renameable destructuring - local {a => b} = t read as "assign t.a to local b" - but currently only identifier fields are allowed (names that can index tables through dot notation).
It would be nice if we can also use value types for the source field, similar to Lua letting you use any non-nil type as a table key.
local {[1] => a, [2] => b} = {"hello", "world"}
// -- now a is "hello" and b is "world"

local {[true] => c, ["string field"] => d} = {[true] = false, ["string field"] = "yes"}
// -- c is now false, d is now "yes"

Better too if the source key will support expressions in general

local {[4] => {[iter] => x, [iter+1] => y}} = points
// -- x would be the value of points[4][iter], y would be points[4][iter+1]

Additionally, a separate syntax for destructuring arrays sequential-index tables may be helpful too
local [x,y,z] = {1, 0, 64}
// -- x = 1, y = 0, z = 64

[...] keys in destructuring was added, but the array destructuring would need to work too differently to be simply added to table destructuring, and would have to be added as its own thing...
unless I find a way.


frontend Json EN to FR

frontend Json EN to FR from dominic

Hello, i just created new file without conflicts please let me know if you have received it and if it works, thanks


Button Group Wrapping Issue

Bug Report
Description
Text within the button group is wrapping, but not centered within the button (can be seen on the demo site at 320px wide)
Terra UI
Steps to Reproduce

Go to Terra UI

Used Chrome inspect to reduce width to 320 px

Opened test harness for Orion Patient Search

Got to the search field page

Used Chrome inspect to reduce width to 320 px

Saw the text within the button groups did not wrap as expected

Additional Context / Screenshots
Testing harness example:

Terra UI example:

Expected Behavior
Text should center within each button group button
Possible Solution
It looks like the span could be an issue?

Environment

Component Name and Version:
Browser Name and Version: Chrome Version 67.0.3396.99 (Official Build) (64-bit)
Node/npm Version: [e.g. Node 8/npm 5]
Webpack Version:
Operating System and version (desktop or mobile): Mac OS High Sierra 10.13.4 (17E199)

Got closer with the issue. It looks like one of our spans need to have display: inline-block set on it. That should get the text to center.
Reference: https://stackoverflow.com/questions/41149747/text-align-center-not-working

Correction for whomever decides to pick this up - the issue lies with the Terra-Button and not Terra-Button-Group, since button group inherits it's internal structure, layout, and spacing directly from button.


Running

how to run this?

You might want to check out the readme in each subfolder. This is a repo for a presentation I gave a local PHP meetup.


Failed to connect / Retry

Latest on develop.
If you come up and it says failed to connect.  Gives retry option.  Clicking most of the time from a UI perspective seems to not work.  At either rate it should indicate if successful or not.  Ideally if not let me try again.

We have an issue to redo the connectivity. Please follow #147


Buttons in dropdown  are flat instead of solid

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

Dropdown button styles should be same as other buttons
Actual behavior

Buttons in dropdown  are flat instead of solid
Environment details

Angular version: 2.0.X

Clarity version:
0.9.8

OS and version:
Win10

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@likwifi
A Plunkr would help us expedite this issue and help find a workaround for your use case.
Beyond that, I don't know if this is something the UX team recommends. <= @reddolan

Not sure why you are seeing a Flat button versus a Normal here. Our documentation shows that it should be a Normal button.  It will help us triage it quicker.
The link for 0.9.x is here...
Thanks!

@reddolan Thanks for doc link.
We've developed this component with clarity v0.8.6.
AFAR at that point column-switch component is not available.
That is why I've used dropdown class to wrap menu and that is why my button is transparent after clarity lib upgrade.
I'll switch to column-switch component.
Thanks.

@mathisscott @reddolan I found this code that resets buttons styles in dropdown menu. In my opinion this selector should do that .dropdown-menu .dropdown-item
Are .dropdown-menu .btn and other selectors targeting buttons really needed?
.dropdown-menu .btn, .dropdown-menu .btn-danger, .dropdown-menu .btn-info, .dropdown-menu .btn-link, .dropdown-menu .btn-outline, .dropdown-menu .btn-outline-danger, .dropdown-menu .btn-outline-primary, .dropdown-menu .btn-outline-secondary, .dropdown-menu .btn-outline-success, .dropdown-menu .btn-outline-warning, .dropdown-menu .btn-primary, .dropdown-menu .btn-secondary, .dropdown-menu .btn-success, .dropdown-menu .btn-warning, .dropdown-menu .dropdown-item {
font-size: 14px;
letter-spacing: normal;
font-weight: 400;
background: transparent;
border: 0;
color: #565656;
cursor: pointer;
display: block;
margin: 0;
padding: 1px 24px 0;
width: 100%;
text-transform: none;
}

@likwifi: Yep, we have those styles for button groups. When buttons in a button groups are configured to be in a menu, they have different styles. But yours is a valid case too. We will take a look at this and figure out a better way to do this. Thanks for reporting this.

This functionality was deprecated and later removed in version 0.13
https://github.com/vmware/clarity/pull/2756


v2.4.0 issue android on release. message: invalid source release: 17

touch_ripple_effect: ^2.4.0

distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.3.0" apply false
    id "org.jetbrains.kotlin.android" version "1.9.23" apply false
}

 flutter build appbundle --release results on:
* What went wrong:
Execution failed for task ':touch_ripple_effect:compileReleaseJavaWithJavac'.
> error: invalid source release: 17

what is your android minSdk ?

minSdk: 21

make it minSdk: 24


Fix warnings from static analysis

This PR fixes all of the static analysis errors we got while trying to publish the package to pub.dev, since the new Dart SDK came out.
Some (unused) code and methods have been removed, some parameters had their nullability changed.

@hayribakici I had to switch the bodies of isSavedAlbums and containsSavedAlbums around, to no call a deprecated method internally.

Looks good!


Setting the default save path in the settings

Setting the default save path in the settings.
Or selecting the path when saving and remembering it for future saves.
The current version saves only to the default Download folder mixed with other files.

Yes, that's a workaround for now.


Bugfix 562 authors not sorting

Pull Request Template
Type of Pull Request *

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[x] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT  (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. For example, tooling, build system, CI, docs, etc.)

Related links
Issue link
#562 Bug Report
Story link
#301 Story
Description *
The experts cards are not sorted in alphabetical surname order on the ‘Автори’ page
###Summary of issue
Experts cards are not sorted.
###Summary of change
Added query parametr sort to the getAllExperts request

This bug fix is related to backend changes: https://github.com/ita-social-projects/dokazovi-be/pull/553


Interactive counterpart to kele--get-namespaced-resource

Blocked by #63.
Once #63 is in place, we'll have the "core" of resource-getting functionality ready to expose to users. The remaining piece would be to wrap things in a friendly interactive package, with sensible flow (ask for resource type, then group-version if needed, then namespace if needed, etc.)
Once this is ready, then our MVP of the "get and display resources by group/version/kind/name" user story will be complete. 🎉

User flow:

User completes KIND;
If KIND is ambiguous (is present in multiple group-versions), complete GROUP-KIND;
If KIND is namespaced, complete NAMESPACE (w/ current namespace at head)
User input NAME (for now, no completion)

To start, this flow does not allow specifying context, meaning that, in order to query for resources within a specific CONTEXT, users must first make it the active context.


Add fetch command to fetch HTML to extract a star's commonName from

See also getClosestStar.ts

Done!


Vault agent doesn't seem to respect VAULT_ADDR

Problem:
vault-env using localhost
[October 10, 2019 at 2:41:28 PM GMT-7]
2019/10/10 21:41:28 Received new Vault token

[October 10, 2019 at 2:41:28 PM GMT-7]
2019/10/10 21:41:28 Initial Vault token arrived

[October 10, 2019 at 2:41:28 PM GMT-7]
2019/10/10 21:41:28 Renewed Vault Token
[October 10, 2019 at 2:41:32 PM GMT-7]

2019/10/10 21:41:32 Failed to request new Vault token Put https://<IP_ADDRESS>:8200/v1/auth/kubernetes/login: dial tcp <IP_ADDRESS>:8200: connect: connection refused

[October 10, 2019 at 2:41:37 PM GMT-7]
2019/10/10 21:41:37 Failed to request new Vault token Put https://<IP_ADDRESS>:8200/v1/auth/kubernetes/login: dial tcp <IP_ADDRESS>:8200: connect: connection refused

[October 10, 2019 at 2:41:38 PM GMT-7]
time="2019-10-10T21:41:38Z" level=fatal msg="failed to create vault clienttimeout [10s] during waiting for Vault token"

This is the pod spec after its created:
apiVersion: v1
kind: Pod
metadata:
  annotations:
    vault.security.banzaicloud.io/vault-addr: https://vault.default:8200
    vault.security.banzaicloud.io/vault-tls-secret: vault-tls
  creationTimestamp: "2019-10-10T22:11:40Z"
  generateName: auth-5dd7b88459-
  labels:
    app.kubernetes.io/instance: auth
    app.kubernetes.io/name: auth
    pod-template-hash: 5dd7b88459
  name: auth-5dd7b88459-4kvzk
  namespace: auth
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: auth-5dd7b88459
    uid: ef80fd4f-ebaa-11e9-b5a7-065cba48478c
  resourceVersion: "1240218"
  selfLink: /api/v1/namespaces/auth/pods/auth-5dd7b88459-4kvzk
  uid: ef89ff43-ebaa-11e9-b5a7-065cba48478c
spec:
  containers:
  - args:
    - /vault/vault-env
    command:
    - /vault/vault-env
    env:
    - name: FOO_DATABASE_URL
      value: vault:secret/data/accounts/aws/stage/foo_rds#db_url
    - name: FOO_SECRET_KEY
      value: vault:secret/data/service/auth/stage/secret_key#key
    - name: FOO_DEFAULT_FROM_EMAIL
      value<EMAIL_ADDRESS>    - name: FOO_REDIS_URL
      value: <redacted>
    - name: DJANGO_SETTINGS_MODULE
      value: <redacted>
    - name: VAULT_IGNORE_MISSING_SECRETS
      value: "false"
    - name: VAULT_ENV_PASSTHROUGH
    - name: VAULT_CACERT
      value: /vault/tls/ca.crt
    - name: VAULT_ADDR
      value: https://vault.default:8200
    - name: VAULT_SKIP_VERIFY
      value: "false"
    - name: VAULT_PATH
      value: kubernetes
    - name: VAULT_ROLE
      value: default
    - name: VAULT_IGNORE_MISSING_SECRETS
      value: "false"
    - name: VAULT_ENV_PASSTHROUGH
    - name: VAULT_CACERT
      value: /vault-env/tls/ca.crt
    image: auth:latest
    imagePullPolicy: Always
    name: auth
    ports:
    - containerPort: 3060
      name: auth
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-bl22q
      readOnly: true
    - mountPath: /vault/
      name: vault-env
    - mountPath: /vault-env/tls/ca.crt
      name: vault-env-tls
      subPath: ca.crt
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - command:
    - sh
    - -c
    - cp /usr/local/bin/vault-env /vault/
    image: banzaicloud/vault-env:latest
    imagePullPolicy: IfNotPresent
    name: copy-vault-env
    resources:
      limits:
        cpu: 50m
        memory: 64Mi
      requests:
        cpu: 50m
        memory: 64Mi
    securityContext:
      allowPrivilegeEscalation: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /vault/
      name: vault-env

The thing is, if I run the test-deployment.yaml things work. So I'm not sure whats missing.

Hi @audrey-brightloom,
I think the issue is that you have defined this in the container:
- args:
    - /vault/vault-env
    command:
    - /vault/vault-env

which starts vault-env and forks vault-env again with the corrects envs from Vault. vault-env clears all VAULT_* env vars before forking the next process so VAULT_ADDR gets cleared as well, so the next vault-env won't get it, this maps to the logs also (the first instance get s token, logs into vault and forks the next process which fails). To overcome this (if you really need the VAULT_ADDR in the next process) is to use VAULT_ENV_PASSTHROUGH (which is defined in your pod, but is currently empty). This accepts a comma-separated list of env var names which doesn't have to be cleared, like value: VAULT_ADDR, I hope this helps.

I took that out and the 'copy-vault-env' container stopped getting created. So I have to have something in 'command:'. But also putting something there doesn't move onto my container.

Yes you have to have something in command or if the app image is publicly available the webhook tries to read out the metadata from the image registry and find the entrypoint of the container. I see that there are some django env vars, why don't you just add the django startup command as command:?

Awesome. Was able to get this going. Thanks.

Great stuff!


Create Notes Container, track adding logic wip

song sequences generated automagically
some initial ones defined in state
more stylessss
the notes layout editor menu thingy gets triggered when you click on a song sequence
support for editing song sequence inside in child comp (notes editor), updates propagate to parent state
TODO:

use effect on the tracks .map generation call to avoid duplicate generations
make actual component for laying out notes

three states

empty
editing
not editing with some notes inside

2D array logic for note layout
mouse down click handler for right click / left click
map click box location to corresponding array box
octave selection option

im merging this lol


local js attack on API

this should be resolved when https://github.com/stratisproject/StratisBitcoinFullNode/issues/1263 is resolved

more details from a discussion with @noescape00
Basically the idea is that you go to a website and there is js code that calls API methods.
It doesn't get the response because of cross domain origin calls policy, but the method is called anyway.

Fix would be doing smth that's prevents such calls to go through. It can be done using some token for example

Enabling CORS

Thanks for the input guys! I will have a look now, this is not my forte but I am very interested to learn :)

the scenario is that you visit a malicious website which contains a JavaScript, which will connect to the API of your wallet and execute the command

If I remember correctly, the browser will allow the JavaScript to invoke a call to arbitrary URL, but it will prevent the JavaScript to read the response from the target server. Therefore, if we make sure that all GET methods are strictly used for querying only (which means that you are unable to change any state by calling them), which I believe we already do have it like that, it should just probably be reviewed once again, then the only methods that can be problematic should be POST methods. However, if I remember correctly again, the browser will not send a POST request unless it is allowed by the policy or it has empty body. Therefore, if we change all the POST requests that can be currently called without any body, to have a body with some value that we check in the controller, for example a=1, then it should be impossible for the JavaScript to invoke such a request and therefore would fix the issue.

Alternative solution would be to do CSRF tokens as mentioned above.

But please verify what I wrote, I could have been mistaken

That seems to indicate that if we are not creating sessions or other mechanisms by which we keep track of the client's state, then CSRF is not needed :)
https://security.stackexchange.com/questions/166724/should-i-use-csrf-protection-on-rest-api-endpoints

I have had a look through our controllers and have put some questions I will come back to.
I leave them here for the moment.
AppsController

can get all available apps, maybe some are sensitive ?

BlockStoreController

ok

ConnectionManagerController
[Route("api/[controller]/addnode")]
[HttpGet]
public IActionResult AddNodeAPI([FromQuery] string endpoint, string command)

Should be a POST ?
ConsensusController

ok

DashboardController:

ok (if nothing sensitive is coming out of the logs)

MempoolController:

ok, only getrawmempool

MiningController
NodeController
[HttpPost]
[Route("shutdown")]
[Route("stop")]
public IActionResult Shutdown()

Empty bodied post, someone could stop the node for you ?
NotificationController:
[HttpGet]
[Route("sync")]
public IActionResult SyncFrom([FromQuery] string from)

This one triggers a sync from block. Maybe if you call it too much you can create DOS. Also think it should at least be a POST ?
RPCController
[Route("callbyname")]
[HttpGet]
public IActionResult CallByName([FromQuery]string methodName)

this needs to be a POST at least ?
SmartContractWalletController
[Route("history")]
[HttpGet]
public IActionResult GetHistory([FromQuery] WalletHistoryRequest request)

This one looks like it could be resource intensive
SmartContractsController

OK

StakingController:

getstakinginfo: anything sensitive ?
stopstaking: one could stop staking discreetly on behalf of the user [POST] with empty body

WalletController
[Route("remove-transactions")]
[HttpDelete]
public IActionResult RemoveTransactions([FromQuery]RemoveTransactionsModel request)

Check Delete with fromQuery
unusedaddress and unusedaddresses migh want to become POST, they can create an address if needed
WatchOnlyWalletController:
[HttpGet]
public IActionResult GetWatchOnlyWallet()

Can be used for DOS ?
[Route("watch")]
[HttpPost]
public IActionResult Watch([FromQuery]string address)

Can be used for DOS ? Needs to be FromBody ?


Energy force training issue

I am trying to train an Energy-Force model using a Schnet model using kgcnn_version 4.0.2, tensorflow 2.16.1 and keras 3.3.3. running the training/train_force.py script.
While the build of the mode works (despite unknown output shape, presumably due to ragged outputs),  the fit of the model fails at the metrics stage due to the handling of ragged tensors.
INFO:kgcnn.data.ThiolDisulfidExchange:Reading structures from SDF file.
INFO:kgcnn.data.ThiolDisulfidExchange: ... process molecules 0 from 13548
INFO:kgcnn.data.ThiolDisulfidExchange: ... process molecules 5000 from 13548
INFO:kgcnn.data.ThiolDisulfidExchange: ... process molecules 10000 from 13548
INFO:kgcnn.data.ThiolDisulfidExchange:No invalid graphs for assigned properties found.
INFO:kgcnn.data.ThiolDisulfidExchange:Labels 'None' in 'None' have shape '(13548, 1)'.
WARNING:kgcnn.models.utils:Model kwargs: Overwriting dictionary of output_mlp with None
INFO:kgcnn.models.utils:Updated model kwargs: '{...}'.
INFO:kgcnn.training.hyper:Deserialized compile kwargs ...'loss_weights': {'energy': 0.05, 'force': 0.95}}'.
WARNING:kgcnn.training.scheduler:`steps_per_epoch` is not set. Can't increase lr during epochs of warmup.
Traceback (most recent call last):
  File "/home/ka/ka_ipc/ka_he8978/kgcnn/training/train_force.py", line 198, in <module>
    hist = model.fit(
           ^^^^^^^^^^
  File "/home/ka/ka_ipc/ka_he8978/miniconda3/envs/kgcnn_original/lib/python3.11/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/ka/ka_ipc/ka_he8978/kgcnn/training/../kgcnn/metrics/metrics.py", line 35, in update_state
    y_pred = decompose_ragged_tensor(y_pred)[0]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ka/ka_ipc/ka_he8978/kgcnn/training/../kgcnn/ops/core.py", line 77, in decompose_ragged_tensor
    return kgcnn_backend.decompose_ragged_tensor(x)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ka/ka_ipc/ka_he8978/kgcnn/training/../kgcnn/backend/_tensorflow.py", line 56, in decompose_ragged_tensor
    row_ids = tf.cast(x.value_rowids(), dtype=batch_dtype)
                      ^^^^^^^^^^^^^^
AttributeError: 'SymbolicTensor' object has no attribute 'value_rowids'

I used previous versions of kgcnn, but I haven't used this most recent version and also not the train_force script with hyperparameters.
Both the train_node.py and the train_graph.py scripts work, so I am unsure about whether the error lies in my data files or in the ragged output of the force.

This is strange. I may have to check with latest keras version. Can you show me your hyperparameter?

Inherited from a kgcnn 4.0.0 user working with HAT reactions. Mainly changed pathes and updated the activation function input style from 'kgcnn>shifted_softplus' to {"class_name": "function", "config": "kgcnn>shifted_softplus"}.
Just noticed, that I didn't adjust the version in the info section, but that's probably a minor oversight.
hyper = {
    "Schnet.EnergyForceModel": {
        "model": {
            "class_name": "EnergyForceModel",
            "module_name": "kgcnn.models.force",
            "config": {
                "name": "Schnet",
                "nested_model_config": True,
                "output_to_tensor": False,
                "output_squeeze_states": True,
                "coordinate_input": 1,
                "inputs": [
                    {"shape": [None], "name": "atomic_number", "dtype": "int32"},
                    {"shape": [None, 3], "name": "node_coordinates", "dtype": "float32"},
                    {"shape": [None, 2], "name": "range_indices", "dtype": "int64"},
                    {"shape": (), "name": "total_nodes", "dtype": "int64"},
                    {"shape": (), "name": "total_ranges", "dtype": "int64"}
                ],
                "model_energy": {
                    "class_name": "make_model",
                    "module_name": "kgcnn.literature.Schnet",
                    "config": {
                        "name": "SchnetEnergy",
                        "inputs": [
                            {"shape": [None], "name": "atomic_number", "dtype": "int32"},
                            {"shape": [None, 3], "name": "node_coordinates", "dtype": "float32"},
                            {"shape": [None, 2], "name": "range_indices", "dtype": "int64"},
                            {"shape": (), "name": "total_nodes", "dtype": "int64"},
                            {"shape": (), "name": "total_ranges", "dtype": "int64"}
                        ],
                        "cast_disjoint_kwargs": {"padded_disjoint": False},
                        "input_node_embedding": {"input_dim": 95, "output_dim": 128},
                        "last_mlp": {"use_bias": [True, True, True], "units": [128, 64, 1],
                                     "activation": [
                                        {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                                        {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                                        'linear']},
                        "interaction_args": {
                            "units": 128, "use_bias": True, "activation": {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                            "cfconv_pool": "scatter_sum"
                        },
                        "node_pooling_args": {"pooling_method": "scatter_sum"},
                        "depth": 6,
                        "gauss_args": {"bins": 25, "distance": 5, "offset": 0.0, "sigma": 0.4}, "verbose": 10,
                        "output_embedding": "graph",
                        "use_output_mlp": False,
                        "output_mlp": None,
                    }
                },
                "outputs": {"energy": {"name": "energy", "shape": (1,), "ragged": False},
                            "force": {"name": "force", "shape": (None, 3), "ragged": True}}
            }
        },
        "training": {
            "cross_validation": {"class_name": "KFold",
                                 "config": {"n_splits": 5, "random_state": 42, "shuffle": True}},
            "fit": {
                "batch_size": 64, "epochs": 1000, "validation_freq": 1, "verbose": 2,
                "callbacks": [
                    {"class_name": "kgcnn>LinearWarmupExponentialLRScheduler", "config": {
                        "lr_start": 1e-03, "gamma": 0.995, "epo_warmup": 1, "verbose": 1, "steps_per_epoch": 50}}
                ]
            },
            "compile": {
                "optimizer": {"class_name": "Adam", "config": {"learning_rate": 1e-03}},
                "loss_weights": {"energy": 0.05, "force": 0.95}
            },
            "scaler": {"class_name": "EnergyForceExtensiveLabelScaler",
                       "config": {"standardize_scale": False}},
            "multi_target_indices": [0]
        },
        "dataset": {
            "class_name": "ForceDataset",
            "module_name": "kgcnn.data.force",
            "config": {
                "data_directory": "/OMITTED/.../...",
                "dataset_name": "ThiolDisulfidExchange",
                "file_name": "ThiolDisulfidExchange.csv",
                "file_directory": None,
                "file_name_xyz": "ThiolDisulfidExchange.xyz",
                "file_name_mol": None,
                "file_name_force_xyz": "forces_conv.xyz"
            },
            "methods": [
                {"prepare_data": {"overwrite": True, "make_sdf": False}},
                {"read_in_memory": {"label_column_name": "energy"}},
                {"rename_property_on_graphs": {"old_property_name": "graph_labels",
                                               "new_property_name": "energy"}},
                {"rename_property_on_graphs": {"old_property_name": "node_number",
                                               "new_property_name": "atomic_number"}},
                {"rename_property_on_graphs": {"old_property_name": "forces_conv.xyz",
                                               "new_property_name": "force"}},
                {"map_list": {"method": "set_range", "max_distance": 5, "max_neighbours": 10000,
                              "node_coordinates": "node_coordinates"}},
                {"map_list": {"method": "count_nodes_and_edges", "total_edges": "total_ranges",
                              "count_edges": "range_indices", "count_nodes": "atomic_number",
                              "total_nodes": "total_nodes"}},
            ]
        },
        "data": {
            "data_unit": "Hartree",
        },
        "info": {
            "postfix": "ThiolDisulfidExchange",
            "postfix_file": "",
            "kgcnn_version": "4.0.0"
        }
    }
}

Okay, so the EnergyForceModel is not so nice in kgcnn 4 since the forces will depend directly on the input coordinate tensor.
Otherwise everything would be too messy for all backends because the EnergyForceModel would introduce a second layer of casting tensors from/to ragged, padded, disjoint, padded disjoint etc.
But in any case, I think in your model you have the data output as ragged but the input as padded.
That is not internally casted by the EnergyForceModel .
So could you either change the output as padded like so:
                "outputs": {"energy": {"name": "energy", "shape": (1,) , "ragged": False },
                            "force": {"name": "force", "shape": (None, 3), "ragged": False }}

or change the input like so:
    "Schnet.EnergyForceModel": {
        "model": {
            "class_name": "EnergyForceModel",
            "module_name": "kgcnn.models.force",
            "config": {
                "name": "Schnet",
                "nested_model_config": True,
                "output_to_tensor": False,
                "output_squeeze_states": True,
                "coordinate_input": 1,
                "inputs": [
                            {"shape": [None], "name": "atomic_number", "dtype": "int32", "ragged": True},
                            {"shape": [None, 3], "name": "node_coordinates", "dtype": "float32, "ragged": True"},
                            {"shape": [None, 2], "name": "range_indices", "dtype": "int64", "ragged": True},
                ],
                "model_energy": {
                    "class_name": "make_model",
                    "module_name": "kgcnn.literature.Schnet",
                    "config": {
                        "name": "SchnetEnergy",
                        "inputs": [
                            {"shape": [None], "name": "atomic_number", "dtype": "int32", "ragged": True},
                            {"shape": [None, 3], "name": "node_coordinates", "dtype": "float32", "ragged": True},
                            {"shape": [None, 2], "name": "range_indices", "dtype": "int64", "ragged": True},
                        ],
                        "input_tensor_type": "ragged",  # Important here!!!
                        "cast_disjoint_kwargs": {"padded_disjoint": False},
                        "input_node_embedding": {"input_dim": 95, "output_dim": 128},
                        "last_mlp": {"use_bias": [True, True, True], "units": [128, 64, 1],
                                     "activation": [
                                        {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                                        {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                                        'linear']},
                        "interaction_args": {
                            "units": 128, "use_bias": True, "activation": {"class_name": "function", "config": "kgcnn>shifted_softplus"},
                            "cfconv_pool": "scatter_sum"
                        },
                        "node_pooling_args": {"pooling_method": "scatter_sum"},
                        "depth": 6,
                        "gauss_args": {"bins": 25, "distance": 5, "offset": 0.0, "sigma": 0.4}, "verbose": 10,
                        "output_embedding": "graph",
                        "use_output_mlp": False,
                        "output_mlp": None,
                    }
                },
                "outputs": {"energy": {"name": "energy", "shape": (1,), "ragged": False},
                            "force": {"name": "force", "shape": (None, 3), "ragged": True}}
            }
        },

you may also change the loss function, if the training script does not do it correctly:
            "compile": {
                "optimizer": {"class_name": "Adam", "config": {"learning_rate": 1e-03}},
                "loss_weights": {"energy": 0.05, "force": 0.95},
                "loss": {
                    "energy": "mean_absolute_error",
                    "force": {"class_name": "kgcnn>RaggedValuesMeanAbsoluteError", "config": {}}
                }
            },

You are right the outputs parameter here is missleading.

Thanks, completely padded tensors worked after removing all of the "ragged" keyword arguments for the Input tensor, as keras seems to have removed the ragged support for input tensors at some point after 2.15?
Just "input_tensor_type": "ragged" didn't seem sufficient to enable ragged input tensors, I still got an error from unrecognized keyword "ragged" for keras Input. Maybe it also had to go into the "model" dict and not just the "model_energy" dict? Now I removed every reference to ragged inputs to make it run.


📝 Correction | Incorrect Open Collective sponsor link

Description
In the "Sponsor the page" tab on the right, the current link is https://opencollective.com/privacytoolsio, when it should be https://opencollective.com/privacytools
Why I am making the suggestion
I tried to checkout the open collective privacytools sponsor page.

I noticed this is also incorrect on Mastodon too:


Section Search

I think we have a little problem with the section header. The actions have a height of 24 px, but the Section Title only 20px.
This would mean if we have a loading state with a header and just a title, but then a successful state with an action or section search, we will have a larger header.
For example if you add this story in the SectionHeader stories:
<Story
    name="With action"
    args={{
      children: (
        <>
          <SectionTitle>Profile information</SectionTitle>
          <SectionAction
            Icon={IconPostAdd}
            label="Add post"
            onClick={action('onClick')}
          />
        </>
      ),
    }}
  >
    {Template.bind({})}
  </Story>

Good catch, thank you! I adjusted the height of the icons a bit.


Feature/basic UI

Lays foundation for a basic UI, which enables multiple scans and doesn't doesn't leak memory everywhere!

Codecov Report

Merging #5 (0878082) into main (210ed9c) will decrease coverage by 5.37%.
The diff coverage is 25.00%.

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

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   57.74%   52.37%   -5.38%
==========================================
  Files          14       16       +2
  Lines         381      443      +62
  Branches       68       82      +14
==========================================
+ Hits          220      232      +12
- Misses        161      211      +50

Impacted Files
Coverage Δ

src/App.tsx
0.00% <0.00%> (ø)

src/components/Camera.tsx
0.00% <0.00%> (ø)

src/components/SudokuScanner.tsx
0.00% <0.00%> (ø)

src/components/SudokuSolver.tsx
0.00% <0.00%> (ø)

src/services/SudokuSolver/SudokuSolver.ts
0.00% <0.00%> (ø)

src/services/lib/cv.ts
98.19% <ø> (ø)

src/util/camera.ts
0.00% <0.00%> (ø)

src/util/browser.ts
17.39% <19.04%> (+17.39%)
:arrow_up:

src/services/SudokuScanner/SudokuScanner.ts
96.10% <25.00%> (-3.90%)
:arrow_down:

src/services/TextReader/TextReader.ts
96.15% <96.15%> (ø)

... and 3 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 210ed9c...b1274c7. Read the comment docs.


Coffee

share and monetize APIs
Discover, integrate, and enhance your applications
https://www.474x.com/

hello

hello


Add dirac quest

PR-Codex overview
This PR introduces support for additional quests and mission types, adds new event functions, and includes new vault addresses for Dirac.
Detailed summary

Added new quest type BERAC_POL
Included DIRAC_DEPOSIT mission type
Added event functions in diracVault.ts
Updated vault addresses for Dirac

The following files were skipped due to too many changes: src/abi/diracVault.ts, abi/diracVault.json

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

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

#4
#3  👈
#2
main

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

Join @zkSoju and the rest of your teammates on  Graphite

Merge activity

Aug 29, 3:33 PM EDT: @zkSoju started a stack merge that includes this pull request via Graphite.


QANet

What is the reference paper for the QANet project?

QANet: Combining Local Convolution with Global Self-Attention for Reading Comprehension


docs(README): add wI2L/scrabbler to Bubble Tea in the Wild

This looks fun. Thanks for the PR!

@meowgorithm Glad you like it! Thanks for your work on those delicious libs 🧋 🎉


React to breaking change latest API Check detects

see PR aspnet/BuildTools#259 and issue aspnet/BuildTools#146
relates to 014a786b45

@SteveSandersonMS this relates to one of your changes and I already know it was intentional. But, please double-check the change here.

9f4ff22c4


HADOOP-17201. eliminate double retry around delete/finishedWrite

make putObject & putObjectDirect retrying everywhere, update @RetryPolicy
annotation, and make sure callers are not attempting to retry the methods
test failure related to inconistent s3 client creating too many throttle events for the retrier to handle...need to look @ my settings to see if I've turned off the AWS SDK retries there
[ERROR] Tests run: 17, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.785 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.commit.ITestCommitOperations
[ERROR] testCommitEmptyFile(org.apache.hadoop.fs.s3a.commit.ITestCommitOperations)  Time elapsed: 3.289 s  <<< ERROR!
com.amazonaws.AmazonServiceException: throttled count = 1 (Service: null; Status Code: 503; Error Code: null; Request ID: null)
	at org.apache.hadoop.fs.s3a.InconsistentAmazonS3Client.maybeFail(InconsistentAmazonS3Client.java:571)
	at org.apache.hadoop.fs.s3a.InconsistentAmazonS3Client.maybeFail(InconsistentAmazonS3Client.java:586)
	at org.apache.hadoop.fs.s3a.InconsistentAmazonS3Client.putObject(InconsistentAmazonS3Client.java:226)
	at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInOneChunk(UploadCallable.java:131)
	at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:123)
	at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:143)
	at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:48)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 43s

trunk passed

+1 :green_heart:
compile
0m 44s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 31s

trunk passed

+1 :green_heart:
mvnsite
0m 46s

trunk passed

+1 :green_heart:
shadedclient
16m 37s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 24s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 33s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
1m 13s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m  9s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 39s

the patch passed

+1 :green_heart:
compile
0m 36s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
checkstyle
0m 20s

the patch passed

+1 :green_heart:
mvnsite
0m 35s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m 10s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 20s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 28s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
1m 12s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 15s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

77m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2402/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2402

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b615f35ec1fe 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7435604a91a

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2402/1/testReport/

Max. process+thread count
458 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2402/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.1.3

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


chore(Makefile): detect and default to make go-install on darwin vs install everywhere else

refs #3169
Suggestion we add this little detect and switch. One issue i see with attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there can be a default). This i would think is a good quick compromise to un-confuse @rootulp and (potentially) other devs and make this behavior more delightful most of the time. IF not, we should close this and the other issue.

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

Comparison is base (5e1895c) 51.81% compared to head (0f6beb7) 51.49%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3197      +/-   ##
==========================================
- Coverage   51.81%   51.49%   -0.32%
==========================================
  Files         178      178
  Lines       11286    11286
==========================================
- Hits         5848     5812      -36
- Misses       4930     4968      +38
+ Partials      508      506       -2

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

for docs, should i just use default for ubuntu/mac as make install? after this PR is in the release on the networks?


Make it clearer that the user needs to do something to save

Sometimes a new user hits "Save", then thinks they are done and just continues editing, not realizing that they need to click another "Save" button.
We could callout the save panel somehow (motion?), and/or darken the map.  Also maybe consider renaming the "second" save button to "Upload"

Sometimes a new user hits "Save", then thinks they are done and just continues editing,

But you're unable to click on an object in the editing screen until you either save or cancel - or do they just close the tab? (though that should give a warning about unsaved changes from the browser)

@bhousel, since we are talking about the save button.
It would be really nice to add an icon next to  save button (or whatever we rename it) to make it consistent with other buttons in the bar.

It would be really nice to add an icon next to save button (or whatever we rename it) to make it consistent with other buttons in the bar.

Yes I agree.. Just not a floppy 💾

see also #2378

Here's what I did:

[x] When entering Save mode, map content transitions inactive: appears grayscale and dims slightly so colorblind users perceive a change.  The sidebar controls still let the user review their edits, or return to editing to address any warnings.
[x] Adjusted the language a little bit "Save" -> "Upload" to make it clear that an Upload needs to happen.  No more 2 Save buttons. 👍

This along with the previous changes in #2378 should make it impossible for a user to ignore that they have an extra step to complete in order for their changes to save.

Leaving this open so we can

[ ] Add Icon to Save Button

Adjusted the language a little bit "Save" -> "Upload" to make it clear that an Upload needs to happen.

:+1: That should also improve the occasional confusion of users who don't realize that by clicking on "save" their changes actually get published for everyone (like this recent example: https://www.openstreetmap.org/changeset/45246084).

Added the icon, looks nice 👌

I also redrew some of the icons for consistency


Merge pull request #23 from bitnine-oss/@feature/connection_option

@feature/connection option

checking plz...


Pass options to proxy middleware

It would be useful if I could pass options into proxy middleware, like this:
web.proxy('/api', 'http://myserver.com/api', {
  changeOrigin: true,
  autoRewrite: true,
});

Do you think these settings should be default?

Probably not, but I'm not sure. I need to use those options to make heroku recognize which app to route requests to. Heroku routes based on the origin host header I believe. For non-heroku type of environment these options are probably not needed.

Ok then, I released<EMAIL_ADDRESS>and the third parameter is the options object.


Generate Route non-optimal

Running the generate blueprint command for a route will default to 'resource' not 'route' if you use the following sequence:

ember generate
route

Is it possible to have 'route' be the first option?

VSCode doesn't sort these items based on how strong they match, it just keeps the order of the items the same as in the array which provides these quick pick items. Right now they are sorted alphabetically by name (which makes a lot of sense I guess).
To solve the problem (which should be changed in my opinion, since most people enter route when they want to create a route and not a resource), there are two possible solutions:

Only match on the label of the quick pick item. Right now the items are matched by label and by description and the description for resource contains the word route.
Change the order of the quick pick items and put route before resource.

I guess the sort order of the items should not be changed since it makes a lot of sense to keep them sorted alphabetically, so I would go for the first option. I expect most people to use the commands like they would use the command line anyway and most descriptions don't really contain a lot of meaningful words that would justify matching.


Is there any way to show Notification when app is background or killed

When the app is swiped away from the recent list or it gets killed the notification not getting received or showed.
Is there any workaround to achieve background listening method over come this

Hi @M6268,
Thanks for your report. We'd be glad to help you investigate this issue further.
If you could please provide the following information about the device experiencing this issue, that would be great:

Device manufacturer
Device model name
Android OS version

Redmi
K20 pro
Android 10 MIUI 12

Hi @M6268,
Thanks for the report. We've issued a fix so that your app will be able to receive notifications on Xiaomi devices after it goes to background or is swiped away from recent apps.
Please update the Pushy Flutter SDK in your app by editing the pubspec.yaml in the root directory of your project and updating the pushy_flutter package version to 1.0.12:
pushy_flutter: 1.0.12

Then, run flutter pub get to fetch the new SDK. Run your app and let us know if the issue is fixed!

As for your other inquiry about your foreground notification being overriden, our SDK uses notification ID "1" when it issues the notification:
notificationManager.notify(1, builder.build());

For your foreground notification, please pass a different notification ID than 1 when invoking NotificationManager, and it should fix the notification override issue.
Please let us know if there's anything else I can help with.

Hi, I'm also encountering the issue on the notification not being shown if the app is closed. does the flutter sdk already handle the sending of notifications even if the app is closed? I checked the source code and it seems it is using the flutter isolate library


Android: use ENABLE_NOTIFICATION_VALUE instead of ENABLE_INDICATION_VALUE

Problem
Apply patch from Issue #5593 to resolve provisioning a chip device for WIFI over Bluetooth from the Android CHIPTool

Summary of Changes
Applied patch from Issue #5593

Fixes #5593

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

Could you merge this PR?
After applying this PR, it is working well between Android and M5Stack.

This PR is currently being blocked due to the pullapprove and restyled status checks and appears to be restricted to authorized users.  Until someone with permissions is able to resolve these issues I am unable to merge this PR>

please run ./scripts/helpers/restyle-diff.sh to apply restyle fixes locally.
It looks like it only wants to add a terminating newline to AndroidChipStack.java  (not your code, but apparently our restyler is stricter now)

Restyle status check now passes, but Cirque has failed after restyle resolution.


feat: add support for netstandard2.1

🙋 Feature Request
we are building a blazor wasm app in netcore31 and are interested in fast-blazor that is currently targeted net50.  I made a fork that compiles and targets the earlier framework, but when I run it, it silently fails to render the controls, and messes up the page layout.  I'm not sure its worth the trouble to support this edge-case, but we should would appreciate it.
🤔 Expected Behavior
support for netsttandard2.1 WASM net core 3.1 would be exactly like net50 support
😯 Current Behavior
The controls don't render with style applied and the page payout gets borked.  (see image in comments below)
💁 Possible Solution
check out my fork and see that simply downgrading the framework is not enough. to get it to render.  I've added a new sample to this fork as well.
🔦 Context
We are looking at white-label solutions for our apps and think building fast design systems might be a good solution.
💻 Examples
see image in Comments

here's an example of the page payout changes that happen when you target netstandard2.1

I was able to get fast-blazor to compile targeting netstandard2.1  https://github.com/markdav-is/fast-blazor-31/tree/feature/dotnet31

Closing this. I don't think we're going to be able to support older versions of .NET.


What's enableLimiter() method?!

What's enableLimiter() method?! I could not find any manual in wiki or readme!

It tries to prevent reaching Telegram's API limits which could block your bot from sending more messages.
It is documented-kinda in hook scripts, as a comment.


False statement about entity Export in Entity Inspector

Note that one-to-many and many-to-many references are not exported together with the root entity.

https://docs.jmix.io/jmix/data-tools/entity-inspector.html
Both composition and association related one-to-many entities ARE exported and imported.
The reason is this code: io.jmix.datatoolsflowui.view.entityinspector.EntityInspectorListView#createEntityExportPlan
Also, I believe, including Association-related entities - it is a bug (or should be an option in UI).

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.


coverage: ratcheting

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

CI happy - PTAL!


Add support for feature attributes in struct literal

As promised here is the next PR to solve 2 different scenarios with feature flag on struct literal.
close #3870

bors r+


Eventalign Summary fields of direct RNAseq

Hi Jared & Paul,
I was wondering if you could tell me what do the "shift", "scale",  "drift" and  "var" values in the eventalign summary tell me about a read.
Best wishes,
Jack

Hi Jack,
The raw pico-amp signal associated to a given read typically has a linear trend which requires us to apply a linear correction to de-trend the signal before model-based methods are applicable. The four parameters shift, scale, drift, and var refer to this trend. Briefly:

shift and scale are the parameters of a linear correction applied to each sample of the read;
drift refers to another scaling parameter, which adjusts the drift in the signal over time;
var is the variance in the signal over time.

You can see an example of the usage of shift, scale, and drift in the following section of the nanopolish source code:
https://github.com/jts/nanopolish/blob/master/src/nanopolish_squiggle_read.cpp#L1093-L1110

Thanks Paul,
That's great help, I'll check out the source code
Best wishes,
Jack


Enhancement: a form syntax module

I was searching for a simple way how to create forms in Markdown/CommonMark and found out, that there are number of different ideas how to approach this problem:

https://github.com/rbnvrw/markdown-forms
https://github.com/bradgessler/formdown
https://github.com/maleldil/wmd

Which of these would you prefer and why (in terms of consistency, extensibility, usability...)?

I don't know - never had such need. It's better to duscuss commonmark extensions proposals at http://talk.commonmark.org/ - guys there are more experienced in such questions.

I've tried to sign in using my github account, but they want me to register instead of logging me in. Do you have an account there already? If so, could you please ask the question there and refer to this github issue?

Sorry, cant provide such kind of assistense. This issue is out of this repo subject.


[WIP] update template permission

@Pearl1594 close this PR open towards upstream apache/cloudstack-primate, and open PRs upstream for all future Primate related PRs.


NameError: name cpt is not defined

Traceback (most recent call last):
  File "/home/nato/Code/github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 187, in vc_single
    if_f0 = cpt.get("f0", 1)
NameError: name 'cpt' is not defined

And indeed, if we go to infer-web.py:187, we can see this code:
def vc_single(
    sid,
    input_audio_path,
    f0_up_key,
    f0_file,
    f0_method,
    file_index,
    file_index2,
    # file_big_npy,
    index_rate,
    filter_radius,
    resample_sr,
    rms_mix_rate,
    protect,
):  # spk_item, input_audio0, vc_transform0,f0_file,f0method0
    global tgt_sr, net_g, vc, hubert_model, version
    if input_audio_path is None:
        return "You need to upload an audio", None
    f0_up_key = int(f0_up_key)
    try:
        audio = load_audio(input_audio_path, 16000)
        audio_max = np.abs(audio).max() / 0.95
        if audio_max > 1:
            audio /= audio_max
        times = [0, 0, 0]
        if not hubert_model:
            load_hubert()
        if_f0 = cpt.get("f0", 1)

And cpt is not defined.
Hover cpt and you get that message:

(variable) cpt: Any | None

Hover .get and you get that message:

"get" is not a known member of "None" Pylance(reportOptionalMemberAccess)
(function) get: Any

has this been resolved or does anyone know how to debug this? Thank you

I tried to modify some code. You can try again to see what will happen this time. 😂 The code is really annoying.

Hi there! Now it gives another error
Traceback (most recent call last):
File "/Users/arthur/projects/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 185, in vc_single
    if_f0 = cpt.get("f0", 1)
AttributeError: 'NoneType' object has no attribute 'get'

Hi there! Now it gives another error
Traceback (most recent call last):
File "/Users/arthur/projects/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 185, in vc_single
    if_f0 = cpt.get("f0", 1)
AttributeError: 'NoneType' object has no attribute 'get'

Thanks for your report. It is possibly the same problem as original one.

```python
Traceback (most recent call last):
  File "/home/nato/Code/github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 187, in vc_single
    if_f0 = cpt.get("f0", 1)
NameError: name 'cpt' is not defined

And indeed, if we go to infer-web.py:187, we can see this code:
def vc_single(
    sid,
    input_audio_path,
    f0_up_key,
    f0_file,
    f0_method,
    file_index,
    file_index2,
    # file_big_npy,
    index_rate,
    filter_radius,
    resample_sr,
    rms_mix_rate,
    protect,
):  # spk_item, input_audio0, vc_transform0,f0_file,f0method0
    global tgt_sr, net_g, vc, hubert_model, version
    if input_audio_path is None:
        return "You need to upload an audio", None
    f0_up_key = int(f0_up_key)
    try:
        audio = load_audio(input_audio_path, 16000)
        audio_max = np.abs(audio).max() / 0.95
        if audio_max > 1:
            audio /= audio_max
        times = [0, 0, 0]
        if not hubert_model:
            load_hubert()
        if_f0 = cpt.get("f0", 1)

And cpt is not defined.
Hover cpt and you get that message:
(variable) cpt: Any | None
Hover .get and you get that message:
"get" is not a known member of "None" Pylance(reportOptionalMemberAccess)
(function) get: Any

Hi! Try to train model first and select it first, cpt problem will be solved, but there will probably be another)

Model was trained first, but it didn't appear in the list and there's nothing in the "weights" folder. It seems like the software is just broken all over the place.

Model was trained first, but it didn't appear in the list and there's nothing in the "weights" folder. It seems like the software is just broken all over the place.
Not only that, but if this shouldn't be a problem, then a linter should be able to prove it.

I thought I was having the issue after model training because no errors came out of the training function, but I looked at the train script and in my case it was not hitting errors, but rather silently exiting after doing no training because I didn't have n_gpus > 0. I hacked the train script to allow gpu-less training and it appears to be progressing. Training is slow, but seemingly tractable on cpu: hopefully a model will appear in the list and the cpt error will go away. agree more explicit logging could be useful. might make a pr if I get it working.

Oh no, they don't get the point.
You meet this issue because you don't load model successfully.
You should load a pth file that is about 60MB in weights folder.

Model was trained first, but it didn't appear in the list and there's nothing in the "weights" folder. It seems like the software is just broken all over the place.
Not only that, but if this shouldn't be a problem, then a linter should be able to prove it.

I thought I was having the issue after model training because no errors came out of the training function, but I looked at the train script and in my case it was not hitting errors, but rather silently exiting after doing no training because I didn't have n_gpus > 0. I hacked the train script to allow gpu-less training and it appears to be progressing. Training is slow, but seemingly tractable on cpu: hopefully a model will appear in the list and the cpt error will go away. agree more explicit logging could be useful. might make a pr if I get it working.
Looking briefly at the cpt error, it seems it's using globals to access the cpt variable so understanding the workflow is more complicated. I might look more later if having a trained model doesn't fix it (:

I'm facing the same issue with nothing in the weights folder. how did you fix it?

I hacked the train script to allow gpu-less training and it appears to be progressing. Training is slow, but seemingly tractable on cpu: hopefully a model will appear in the list and the cpt error will go away. might make a pr if I get it working.

Can you share the code? I think every single user of this project would benefit from enabling CPU training in case there's no GPU.

https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/pull/889 <- hack to unblock cpu training. mostly untested besides my local test.

#889 <- hack to unblock cpu training. mostly untested besides my local test.

Merged.


fix: validation errors to throw 400

Addresses #2

Codecov Report

Merging #3 (a4b95d8) into master (f29f73a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   99.31%   99.31%
=======================================
  Files          17       17
  Lines         436      436
  Branches       85       85
=======================================
  Hits          433      433
  Misses          3        3

Impacted Files
Coverage Δ

src/crud/helpers.ts
99.18% <100.00%> (ø)

src/crud/validations.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


(PDB-3652) Change format of non-kitchensink :cli-errors

This is needed to match the format of exception data that trapperkeeper expects. Kitchensink cli-errors are explicitly caught and handled, as a result their format doesn't need to change.

Test PASSed

CLA signed by all contributors.


Radio button answers give admin ID in csv file and should be changed to the answer

Is your feature request related to a problem? Please describe.
Radio button answers give admin ID in csv file and should be changed to the answer.  Now that we have to use non human friendly admin id's for radio button answers, the csv downloads are coming back with answers to these questions that do not make sense to the humans that are viewing them.
Example:
Admin ID: tree_aspen_a
Answer: Aspen
The csv file comes back with the answer to the question as tree_aspen_a
Describe the solution you'd like.
Program admins would have an easier time viewing csv files if the answer: Aspen was displayed.  This is even more important for programs that upload the csv file to another system which may have to build a translation table to accommodate these admin id's
What priority is this?
medium_high  older programs benefit from old questions that did not have to have unique ID's.  As new questions/programs are inputted, this becomes more noticeable.
Associated civic entity
Seattle, but affects all
User Group
Discovered by Trees for Neighborhoods
Done when:
What conditions need to be met before this issue can be closed?

@msprenke @Miguel-314 -- To bring this up with Product Design Committee (4/30)
Options: could be customization on the question or the program level.

Question level--would apply to all programs
Program level--would be program-specific and at the time of "CSV export"

The CSV currently uses admin names for options so that they don't change when the user-facing text for an option is changed, but it makes sense that that's not ideal for human users of the CSV.
Ideally any machine-machine communication can be done with the JSON API, and the CSV would only be for human users, but that's not fully possible since we don't have a way of exporting demographic data for analysis via the API.
We already have a slightly less strict standard around backwards compatibility for the CSV then the JSON API, because we assume a human will be involved in processing it, so maybe it's ok if the CSV breaks because the user-facing text for an option was changed?
I can think of some other ways it might be ideal to customize the CSV depending on program needs (user readable date vs ISO date), so maybe starting down that path is the best plan.


Update http4s-circe, http4s-dsl, ... to 0.23.17

Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-server

from 0.23.14 to 0.23.17.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #147.


fix(store-sync): handle TransactionReceiptNotFoundError

fixes https://github.com/latticexyz/mud/issues/1833

thank you! 🙏


Link to download latest release page is not working

Link to latest release page does not work as it points back to the same page https://docs.kcp.io/kcp/main/

It should be probably hardocded to "https://github.com/kcp-dev/kcp/releases/latest" - maybe website code generation is doing something? Seems to be working fine in https://github.com/kcp-dev/kcp/blob/main/README.md#download-kcp

@aslom @ncdc I think we should rename this to “All links in the docs point back to the docs“, because they do.

Yes, this is a duplicate of #2461
/close


fix(uninstall): supersede deployed releases

What this PR does / why we need it:
This ensures that when helm uninstall is run with --keep-history, any release in a deployed state other than the last release (e.g. due to a failed upgrade) is being marked as superseded.
As a by-effect, running helm upgrade on a release which has been uninstalled after an upgrade failure now no longer works. But instead fails with a "<name>" has no deployed releases error. Which is the (likely) intended behavior, and prevents other side-effects like rolling back to a release version which happened before the uninstall if --atomic was provided.
Fixes #12556

Compared to example commands from above issue:
$ helm install podinfo podinfo/podinfo
NAME: podinfo
LAST DEPLOYED: Mon Nov 13 21:54:51 2023
NAMESPACE: helm-system
STATUS: deployed
REVISION: 1
NOTES:
1. Get the application URL by running these commands:
  echo "Visit http://<IP_ADDRESS>:8080 to use your application"
  kubectl -n helm-system port-forward deploy/podinfo 8080:9898

$ helm upgrade podinfo podinfo/podinfo --set replicaCount=2 --set faults.unready=true --wait --timeout=10s
Error: UPGRADE FAILED: context deadline exceeded

$ helm uninstall podinfo --keep-history
release "podinfo" uninstalled

$ helm history podinfo
REVISION        UPDATED                         STATUS          CHART           APP VERSION     DESCRIPTION
1               Mon Nov 13 21:54:51 2023        superseded      podinfo-6.5.0   6.5.0           Install complete
2               Mon Nov 13 21:55:21 2023        uninstalled     podinfo-6.5.0   6.5.0           Uninstallation complete

$ helm upgrade podinfo podinfo/podinfo --set replicaCount=2 --set faults.unready=true --wait --timeout=10s --atomic
Error: UPGRADE FAILED: "podinfo" has no deployed releases

Special notes for your reviewer:
While I added a test from the perspective of the CLI, it appears to be hard to actually validate it being updated to superseded there.
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Is there anything I can do to help get this included in the v3.17.0 release?


Release Web Packager HTTP Server.

This is a joint work of @tomokinat, @banaag, and @yuizumi.

Hmm, go-acme/lego seems to use crypto/ed25519 thus require Go 1.13+. Should we require Go 1.13+ (or maybe Go 1.14+), or should we keep support for Go 1.11/1.12 (e.g. by using older version of go-acme/lego)? hashicorp/go-multierror v1.1.0+ also requires Go 1.14.

My choice would be to require go 1.14+ since hashicorp/go-multierror also requires it. I don't think we gain anything by supporting older versions of go.

Note that golang policy supports last 2 major versions: https://golang.org/doc/devel/release.html#policy

This PR is ready to go now. PTAL.


indent rule requires that

This is how I want to write our svelte components:
<script>
const foo = "bar";
</script>

But if I enable the indent rule, it really wants me to do this:
<script>
    const foo = "bar";
</script>

I can disable it using { ignoredNodes : [ "SvelteScriptElement" ] } but it means that none of the indentation for any direct children will be checked, which is kind of a bummer. I'm sure this is a bit annoying of an ask, but would you be open to adding a new option where a user can define the level of indentation they want specifically for <script>s? It could default to 1, so it wouldn't be a breaking change.
If you're open to this proposal I'd be thrilled to figure out how to send a PR for it.

Yeah. Adding option to the indent rule sounds good to me.
I think it makes sense to add an option like indentScriptAndStyle: boolean.
I think it's easy for users to understand because it's similar to the option in prettier-plugin-svelte.
https://github.com/sveltejs/prettier-plugin-svelte#svelte-indent-script-and-style

I've started working on this, quick question for you @ota-meshi: Is there a way to run just a single test currently? I haven't found one so far and it's making iterating on this a bit slower than I'd like.

@tivac
https://stackoverflow.com/questions/10832031/how-to-run-a-single-test-with-mocha

@tivac  Thank you for working on it!
I usually test one rule using the following command:
yarn mocha "tests/src/**/indent.ts" --reporter dot --timeout 60000

If you want to test only my-test-input.svelte, add my-test-config.json and save {"only ": true}.

I have opened a PR to explain how you can test rules. #172

I got it running just the one rule, thanks for updating the docs. No matter what I try though I don't seem to be able to get my indentScript: false option to persist through all the layers of the testing suite.
https://github.com/ota-meshi/eslint-plugin-svelte/compare/main...tivac:eslint-svelte:indent-script-option
Dropping that there in case you see something obvious, I'll keep bashing my head against it for now.


examples do not work for me

Are you submitting a bug report or a feature request?
bug
What is the current behavior?
checkout from master
cd examples/simple
npm install
What is the expected behavior?
it would install successfully!
What's your environment?
MacOS
Other information
npm install npm WARN prepublish-on-install As of npm@5, prepublishscripts will run only fornpm publish. npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for npm install.) npm WARN prepublish-on-install See the deprecation note in npm help scripts` for more information.

<EMAIL_ADDRESS>prepublish /Users/avloss/home/repos/redux-form
npm run test && npm run clean && npm run build

<EMAIL_ADDRESS>test /Users/avloss/home/repos/redux-form
mocha --compilers js:babel-register --recursive --recursive "src/**/tests/*" --require src/tests/setup.js

sh: mocha: command not found
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr/local/bin/npm" "run" "test"
npm ERR! node v7.8.0
npm ERR! npm  v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>test: mocha --compilers js:babel-register --recursive --recursive "src/**/__tests__/*" --require src/__tests__/setup.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script 'mocha --compilers js:babel-register --recursive --recursive "src//tests/*" --require src/tests/setup.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redux-form package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     mocha --compilers js:babel-register --recursive --recursive "src//tests/*" --require src/tests/setup.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redux-form
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redux-form
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/avloss/.npm/_logs/2017-04-16T06_13_57_225Z-debug.log
npm ERR! addLocal Could not install /Users/avloss/home/repos/redux-form
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.8.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>prepublish: npm run test && npm run clean && npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'npm run test && npm run clean && npm run build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redux-form package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run test && npm run clean && npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redux-form
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redux-form
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/avloss/.npm/_logs/2017-04-16T06_13_57_392Z-debug.log`

You have to download the entire project.
Once you're inside the project folder, just run npm install to install all the dependencies.
Then, still in the project folder (not inside examples, in the root directory), you will run the desired example by running something like npm run example:fieldArrays.
On the package.json file, on the key scripts, you'll find all the examples, just choose one and run.
I've just followed the steps below to run the example:fieldArrays example:

Then you pick an example to run (this is the package.json):

and then you run it:
npm run example:fieldArrays
and it's done, just navigate to http://localhost:3030/:

Thanks for the detailed info, @charlesrochati!


doesn't update when state changes

Hi, i'm new to griddle, and react.  I hate posting an issue when it's really that I just don't know how to do it.
Regardless,  I have  I have a flux implementation.  The get initial state returns an empty array, and then miliseconds later it sets state to an array of objects.
I have put console.log for the this.state.clientSummaries and I see it log once [] and once with a populated array.  I copied and pasted the populated array and hard coded it into state, and that worked, so I know that the data is coming in in the correct format.
My understanding is that if I change the state it should update the children.  That said, I'm not setting props on the grid, so I'm a bit confused about how I'm supposed to do this.
Thanks for your help.
R

aha! I discovered your glitter room. I'll ask there, sorry to create an "issue" out of it.


Improve the document of Expand operator

Follow up https://github.com/facebookincubator/velox/pull/5403 to add the query plan for the expand operator in operator.rst.

@mbasmanova This pr is to address the comment here. Can you help to review? Thanks.


Guidelines on resize

Is there an option to also show the guides on object resizing?

It doesn't support resizing, sorry. But it's a great idea; I will support it when my project uses it ...

First of all, thanks for this great plugin!
However, we rely heavily on the "object:scaling" callback feature, and we have been missing the guidelines lately. It would be incredibly helpful to see this feature so that we can use our tool to its fullest potential.

That would make a great addition, this library is one of the few that actually works well ;-)

@caijinyc Also need this feature !)


User Story: API validates users credentials

User Story
As a user, I want the API to validate my credentials so that I can securely access the system.
Scenario: User Credential Validation API
Given that I am a registered user of the system
And I have entered my username and password
When I submit my credentials to the API endpoint
Then the API should validate my credentials
And return a response indicating whether the credentials are valid or not.
Acceptance Criteria:

When I send a POST request to the /api/validate-credentials endpoint with my username and password in the request body, the API should respond with a JSON object.
If my credentials are valid, the API should respond with an HTTP status code of 200 and a JSON object containing a success message, such as:`{  "message": "Credentials validated successfully." }
If my credentials are invalid, the API should respond with an appropriate HTTP status code, such as 401 (Unauthorized), and a JSON object containing an error message, such as:{  "message": "Credentials validated successfully."}`
The API should use secure hashing and encryption mechanisms to protect the confidentiality of user passwords.
The API should have proper rate-limiting mechanisms to prevent abuse and protect against brute-force attacks.
The API should log any suspicious or failed login attempts for security auditing.

#1


Deprecate @projectedName

est: 1

I am not sure, as csharp still didn’t support client name last time I checked


Expose properties to Home Assistant

Sorry not sure the correct way to reach you. Would you consider an enhancement to the GeoJSON integration to support exposing the properties in the GeoJSON filter as state_attributes?

Raised PR for you to approve.


Added CanFulfillIntentRequest feature

Coverage increased (+0.06%) to 86.354% when pulling c66526c17b8893e72653f77c08116cff6550c792 on omenocal:v3 into 5eedc0cd8a32d99cda6f42f8edd555d207b9d76e on mediarain:v3.


Fix input schema validation for RebootPending resource

PR Summary
Fix #485
When used in a configuration Microsoft.Windows/RebootPending was failing input schema validation.
This PR adds empty schema (because RebootPending resource expects no input) to resolve that issue.
@michaeltlombardi please let me know if this is not the right way to do this for resources that do not take input.

@anmenaga I think the schema should also reflect the output so people can view the schema and know what to expect even if it takes no input

add static schema to manifest

@SteveL-MSFT
That is "schema/embedded/properties" node, right?
Updated.


Bug Fixes, Minor Changes and Improvements

Changes are as follows  (also briefly explained in commit messages, review commit history):
--- BUG FIXES ---
-> There was a bug where if the first word of the text was incorrect, program would not detect it. Now, it is fixed.
-> Program now reports less false positives, for example now it doesn't report the word "kar" in the word "Ankara". Namely, it doesn't report false positives when the substring (in this example, "kar") is not in the beginning of the word (ex. anKARa would not be reported after changes.). It still finds and reports the word "yar" in "yardımlaşma" though. The aforementioned proved to be an extremely difficult problem for me. This also effects the case of "ziyankar" which previously was reported by "kar" and due to how "__word_in_text" was constructed, it would produce the context "...kar blah blah...". Now the word "ziyankar" does not get reported by "kar" and proper context gets constructed and subsequently shown to the user.
-> Also fixed bug where if the words "yar" and "yardımlaşma" simultaneously exist in a text, fixing "yar" would produce "yârdımlaşma". Now it asks for each and every single occurance. To get intended results, the function "change_wrong_results" was significantly altered and changes were made to "__word_in_text" in order to insure intended behaviour. The functionality of these functions was not changed, but the internal working was changed.
-> Fixed bug where "yar" would get detected but not "Yar". Wrote a script to include uppercase letters in "wrong_words.txt" and "correct_words.txt".
--- STYLISTIC AND OTHER MINOR CHANGES ---
-> Added type hinting to methods as well as init variables.
-> Slightly altered the way that "correct_words.txt" and "wrong_words.txt" is read.
-> Made output more readable by introducing some new lines.
-> Added a print statement to the function "exit" informing the user about the existence of Booldum_Metin.txt.
More testing has to be done, what I have tested is most likely not enough but I tried my best to test my code versus some edge cases.
It is also possible that I forgot to mention some changes, but I tried to be as thorough as possible.

Btw, only booldum_nodocx.py was changed with these commits.


Fix/hydra build

Description of changes
Fixes for build issues with hydra, mostly cherry-picked from upstream nixpkgs/staging

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

No, not wanting to merge into rootfs. Sorry, my bad.


ARROW-10345: [C++][Compute] Fix NaN error in sorting and topn kernels

For sorting kernel, this patch treats NaN as the largest floating point
number and moves them to the end of array, before Nulls.
For partition_nth kernel, this patch ignores NaN (treats them as Nulls).
As a bonus, this patch improves partition_nth kernel performance a lot
when there are null values by replacing std::stable_partition with
std::partition, as we don't expect stability in partition_nth kernel.

CI failure is about LLVM version when building gandiva

Is "sort_indices" actually stable? The documentation says "non-stable".

Also, you'll need to update the docs :-)

Is "sort_indices" actually stable? The documentation says "non-stable".

In current code, "sort_indices" is stable, it uses "std::stable_sort". "partition_nth_indices" is not stable, it uses "std::nth_element".
numpy.argsort has a parameter to select sorting algorithm, maybe arrow can also implement unstable quicksort (std::sort) and provide a kernel option to select.
# comparison of numpy stable and unstable sort
# quicksort gives better performance

In [1]: import numpy as np

In [2]: a = np.random.randint(0, 100, 12345678)

In [3]: time i1 = np.argsort(a, kind='quicksort')
CPU times: user 909 ms, sys: 4.67 ms, total: 914 ms
Wall time: 913 ms

In [4]: time i2 = np.argsort(a, kind='stable')
CPU times: user 998 ms, sys: 20.8 ms, total: 1.02 s
Wall time: 1.02 s

# stable and quick sort gives different result
In [5]: (i1 == i2).all()
Out[5]: False

I closed because Github didn't pick up the changes I pushed. I'll open a new PR (sorry).

New PR is #8623.

Looks github does something wrong with "Allow edits and access to secrets by maintainers". It was always checked by default. But now it's unchecked. Checking it, refreshing the page, and it's unchecked automatically.

Ah, weird. That may be the explanation...


Cleanup unused VCS checkouts

Introduces a new cleanup action that deletes any entry older than a given age (currently 7 days).
As a cache clean-up action, we run this action every 7 days.
The VCS checkout directory has changed from vcsWorkingDirs/repo/commit to vcsWorkingDirs/repo-commit so we have a flattened directory of checkouts.
Whenever we attempt to populate a checkout, we'll touch the directory to mark it as recently used.
Instead of locking each individual commit directory (as we do now), we'll lock the VCS working directory.  This means we cannot checkout multiple repos in parallel.

@adammurdoch CI is making it's way through.  Could you take a look at this again?


[Feature] Book Manager

As a User i want to be able to see a list of all my books i loaded to the page with the Ability to easily switch between them / delete them from the local db.

May make sense to leverage something like https://swiperjs.com/get-started which has already touch support etc. built in (not sure yet about operation controls / ui)
Could allow different effects as Setting
Functionality would be available via new Icon (e. g. list) and keybind (e. g. alt+l), one icon to quick delete current book
Modal like Settings maybe the best
When current Book gets deleted, its navigating the User to the previous Book in the List
When all Books are deleted, its navigating to the initial Start Screen
Multi Selection would be nice i guess but low prio

See #2

No issues if that will be the final statement. It just came up in a discussion on refold discord because https://github.com/lrorpilla/jidoujisho embeded the reader and someone was asking for a quick way / list to switch between books - and as far as i know there is nothing like that on mobile (except of url manipulation etc.). I think the reader gets "more and more attention" so most likely such requests will increase in the future : )
But I think at least the delete current book icon would be useful though because currently books are added on top instead of replacing the previoys one which then simply wastes storage (and is also strange if the purpose of the app is a simple one book viewer).


Update main.py

Summary
This pull request does not contain any descriptions. Please provide descriptions for the pull request to generate a summary.

✨ Generated with love by Kaizen ❤

Original Description
None

!review

!review