o1-preview support with azure openai

Before submitting your bug report

[ ] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: macOS
- Continue: preview release
- IDE: VScode
- Model: o1-preview

Description
I've got it configured and connected.
No errors.
However, nothing comes back as a response.
Related: https://github.com/continuedev/continue/issues/2250
I'll add more detail tomorrow, but wanted to get this posted in case it was a known issue and just not tracked yet. Also since it's azure openai and specific to using the o1-preview, not sure I can really give steps to reproduce on it without some more specific questions.
To reproduce
No response
Log output
No response

hi @sheldonhull , please share the additional details when you're able to! No obvious ideas on my end as to what could be causing issues.

Ok, first error I found
 "msg": {
    "messageId": "7027004f-5a5b-46d9-a066-f7270b4ef76c",
    "messageType": "llm/streamChat",
    "data": {
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "what model is this"
            }
          ]
        }
      ],
      "title": "azure-openai-o1-preview",
      "completionOptions": {}
    }
  }
}

Error: HTTP 400 model_error from https://{MYSUBDOMAIN}.openai.azure.com/openai/deployments/o1-preview/chat/completions?api-version=2024-09-01-preview

{
  "error": {
    "message": "Invalid type for 'max_completion_tokens': expected an integer, but got a decimal number instead.",
    "type": "invalid_request_error",
    "param": "max_completion_tokens",
    "code": "invalid_type"
  }
}

Hi, I encountered a similar bug when using either o1-preview or o1-mini from OpenRouter. The request is clearly sent, but no response is visible, it happened when I switched to the o1's after a previous conversation (with another model), I've also used select code in the previous convo and attached one context item. Opening a new session and directly asking the o1's works fine
Windows 10/ preview release/ VScode / OepnRouter o1-mini and preview

Try this: first letter of alphabet, then return. ignore any tool function calls.
I think the final issue is that it doesn't support tool function calls. Not sure if continue is trying to integrate those behind the scenes, but when I told it to ignore tool function calls it finally worked.

extension host error detail
[Extension Host] HTTP 400 Bad Request from https://{MYSUBDOMAIN}.openai.azure.com/openai/deployments/o1-preview/completions?api-version=2024-09-01-preview

{"error":{"code":"OperationNotSupported","message":"The completion operation does not work with the specified model, o1-preview. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993."}}

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: HTTP 400 Bad Request from https://{MYSUBDOMAIN}.openai.azure.com/openai/deployments/o1-preview/completions?api-version=2024-09-01-preview

{"error":{"code":"OperationNotSupported","message":"The completion operation does not work with the specified model, o1-preview. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993."}}
    at customFetch (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:105973:21)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at withExponentialBackoff (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:105688:26)
    at Azure._legacystreamComplete (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:485665:26)
    at Azure._streamChat (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:485681:28)
    at Azure._streamComplete (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:485654:26)
    at Azure.streamComplete (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:106103:26)
    at streamLines (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:87849:22)
    at filterEnglishLinesAtStart (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95761:20)
    at filterCodeBlockLines (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95735:20)
    at filterEnglishLinesAtEnd (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95781:20)
    at stopAtLines (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95703:20)
    at fixCodeLlamaFirstLineIndentation (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95803:20)
    at streamWithNewLines (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:95667:20)
    at Object.run (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:107223:26)
    at runNodeJsSlashCommand (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:518796:28)
    at i.value (/Users/{USERNAME}}/.vscode/extensions/continue.continue-0.9.214-darwin-arm64/out/extension.js:525218:29)

log entry with details on request

error details from webview message
[Extension Host] Error handling webview message: {
"msg": {
"messageId": "cf3f3a39-7a7d-4f43-bb05-1973726c5903",
"messageType": "command/run",
"data": {
"input": "/edit mymarkdowndoc.md (19-33)\n{MYCONTENT IN MARKDOWN}\n\n\ncan you improve the inline powershell?",
"history": [
{
"role": "user",
"content": "Take the file prefix and suffix into account, but only rewrite the code_to_edit.... more prior content rendered prompt"
}
],
"modelTitle": "azure-openai-o1-preview",
"slashCommandName": "edit",
"contextItems": [
{
"content": "some context",
"name": "myfile.go (1-86)",
"description": "{PACKAGENAME}/myfile.go (1-86)",
"id": {
"providerTitle": "code",
"itemId": "e33b92c1-012d-4adb-b27a-582265ed59b7"
},
"uri": {
"type": "file",
"value": "/Users/{USERNAME}/git/github.com/{USERNAME}/{project}/{PACKAGENAME}/myfile.go"
},
"editing": true
},
{
"content": "go content here",
"name": "myfile.go (1-86)",
"description": "{PACKAGENAME}/myfile.go (1-86)",
"id": {
"providerTitle": "code",
"itemId": "e33b92c1-012d-4adb-b27a-582265ed59b7"
},
"uri": {
"type": "file",
"value": "/Users/{USERNAME}/git/github.com/{USERNAME}/{project}/{PACKAGENAME}/myfile.go"
},
"editing": true
}
],
"historyIndex": 0,
"selectedCode": [
{
"filepath": "mymarkdowndoc.md (19-33)",
"range": {
"start": {
"line": 18,
"character": 0
},
"end": {
"line": 32,
"character": 0
}
}
}
]
}
}
}
Error: HTTP 400 Bad Request from https://{MYSUBDOMAIN}.{PACKAGENAME}.azure.com/{PACKAGENAME}/deployments/o1-preview/completions?api-version=2024-09-01-preview
{"error":{"code":"OperationNotSupported","message":"The completion operation does not work with the specified model, o1-preview. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993."}}

@sheldonhull how did you disable function calling, was it parallel_tool_calls: false?

or tool_choice: "none"

@sheldonhull

[Extension Host] HTTP 400 Bad Request from https://{MYSUBDOMAIN}.openai.azure.com/openai/deployments/o1-preview/completions?api-version=2024-09-01-preview

The bug seems to be because o1-preview is using the legacy /completions endpoint, instead of /chat/completions. Fixing now.
To fix for now, you can set useLegacyCompletionsEndpoint: false in the model config in your config.json


Add ProgressiveEval operator for optimize SortPreservingMerge

Is your feature request related to a problem or challenge?
Yes, this is a task of https://github.com/apache/datafusion/issues/10316. We will use the porting ProgressiveEval to optimize SortPreservingMerge
Describe the solution you'd like
In InfluxDB IOx, when the inputs of SortPreservingMerge are all sorted on the sort key and their data do not overlap, we replace SortPreservingMerge with ProgressiveEval which:

Avoids starting all input streams at once
Avoids having to compare any keys (doesn't actually do a merge)

We wrote about using this operator here:  https://www.influxdata.com/blog/making-recent-value-queries-hundreds-times-faster/
This ticket is to port ProgressiveEval from InfluxDB to DataFusion
Describe alternatives you've considered
No response
Additional context
No response

I start working on this

I updated this ticket's description with some additional background and linked: https://www.influxdata.com/blog/making-recent-value-queries-hundreds-times-faster/
There is a PR for adding this operator here: https://github.com/apache/datafusion/pull/10490

I think this ticket largely duplicates https://github.com/apache/datafusion/issues/10316 so let's use that instead


lif2: assign owner to community multi-sig

tl;dr
Superuser functions such as pause(), stop() are assigned to an EOA (nominally the Winding Tree Deployer). This represents immediate medium level security risks.
Overview
The Lif2 implementation contains two types of superuser:

ProxyAdmin - this is responsible for the token logic of the contract, and represents essentially root level access to the contract state by virtue of token logic modification. This is guarded by the WT Community multi-sig 0x876969b13dcf884C13D4b4f003B69229E6b7966A.

owner - this is an account stored in state for the contract that allows pause() and stop() on the contract - used for pausing the contract in it's entirety or stopping the claimable period. This is currently set the Winding Tree Deployer 0x008235a1Ed13130861b82DCF21FB2E39396F0673.

Hypothetically should the deployer EOA key be compromised, there would be no loss of funds, but there would be a denial of service, attack vector, freezing all token holder's balance of LIF.
Therefore it is strongly recommended to immediately execute the following:
Lif2.transferOwnership(0x876969b13dcf884C13D4b4f003B69229E6b7966A)

{
  chainId: 1,
  data: '0xf2fde38b000000000000000000000000876969b13dcf884c13d4b4f003b69229e6b7966a',
  from: '0x008235a1ed13130861b82dcf21fb2e39396f0673',
  to: '0x9c38688e5acb9ed6049c8502650db5ac8ef96465',
  value: { BigNumber: "0" },
}

Ownership transferred. Refer: https://etherscan.io/tx/0x34fcc4d6871804adcde0e43bfae8f06e5404f69f174879af405893845e809cc3


Can you tell me the original repo of Television,Yelp,TShirt,MAMS and MOOC_En?

I want to know the playground of them.Thanks.

See the readme to find sources


Port basic non-security tests to k8s

Adds baseline K8S tests equivalent to round_robin, change_backend_service, remove_instance_group, gentle_failover, secondary_locality_gets_no_requests_on_partial_primary_failure, and secondary_locality_gets_requests_on_primary_failure from the existing GCE test suite. These, along with backends_restart (which doesn't seem to have a clear analog in a K8S deployment), constitute the "original" suite of GCE tests and serve as a good starting point for the requisite infrastructure additions to the K8S test runner.
These infra additions include:

Support for deployments in another region (=> a second cluster/kube context)
Support for additional backend services
Support for additional NEGs
Support for replica_count > 1
Support for patching URL maps
maxRatePerEndpoint is configurable per-backend service (required for failover tests to function)
assertRpcsEventuallyGoToGivenServers method wrapped by tenacity for verifying expected RPC distribution

This change is

Master has changed quite a bit from when this branch was originally cut, particularly framework/infrastructure/traffic_director.py, which now has alternative_backend_service and affinity_backend_service so I'm removing the part of the change here that switched the original backend_service into a map of backend_services. This changes the signature of a number of methods in the new tests and elsewhere, so going through those now to try to resolve the conflicts (the merge commit got rid of a bunch, but some of the new code here is calling functions with the wrong signature now). Will update this again once everything is resolved.

Yes, there was even also a couple of features backported from your PR  :)
https://github.com/grpc/grpc/pull/26759
Thanks for the contribution, and apologies for the merge/rebase getting complicated.

My attempt to make the history still followable failed miserably. Basically everything is in https://github.com/grpc/grpc/pull/26360/commits/7ee7f506f95d9fd62b3908fbc026a6e003c37282, redone on top of the current master, but I was unable to trick git into showing the diff between this and the last-reviewed commit of this PR, so everything shows again as entirely new changes despite being mostly just a small modification of what was already reviewed to bring it inline with the current master.
If there's some other way I can structure the merge with master to make it easier to (re)review this, let me know. Everything passes locally and I just kicked off a run on Kokoro (sans the failover test, as I'll need to add another k8s cluster in a second region for this test case). Will update with the run results once finished.

change_backend_service, round_robin, and remove_neg tests all passed on an ad-hoc Kokoro run: https://fusion2.corp.google.com/invocations/3eb3df36-d30b-472d-b3fd-21d7726a2191
Will add the secondary cluster and rerun failover_test tomorrow (already verified on my own gke project)

The new tests all passed on Kokoro: https://source.cloud.google.com/results/invocations/e6a231fa-f4bd-4076-ab9f-b2f760007d19/targets
The job itself hit the 120 minute timeout however. @sergiitk Should I just increase the timeout, or would you rather structure the jobs differently so we're not running baseline -> new tests -> security all in the same job?

@ericgribkoff I think we should run it as a separate job, similar to URL map: https://github.com/grpc/grpc/blob/master/tools/internal_ci/linux/grpc_xds_url_map.cfg
Or as a part of URL map tests. CC @lidizheng — what do you think?
But definitely not with PSM Security, because ideally we want to run them against separate GKE cluster.

I'll set up a separate job, unless there's some reason to keep these bundled with url map (since the url map tests do some configuration/scheduling work to share resources across runs/languages, and this doesn't really apply to these tests)

Rolled back the job config file changes, will add the job for these tests in a separate PR. This is ready to rereview and move forward.


Error import device profile for Apstra Freeform

i try base on the document with configuration :
resource "apstra_freeform_device_profile" "vjunos_evo" {
  blueprint_id      = apstra_freeform_blueprint.dc1.id
  device_profile_id = "vJunosEvolved"

the output is failed :
│ Error: error importing DeviceProfile
│
│   with apstra_freeform_device_profile.vjunos_evo,
│   on dc1-infra.tf line 24, in resource "apstra_freeform_device_profile" "vjunos_evo":
│   24: resource "apstra_freeform_device_profile" "vjunos_evo" {
│
│ {"api_response":null,"config_blueprint_version":0,"errors":{"device_profile_ids":{"0":"Device profile 'vJunosEvolved' is not found in global catalog"}},"error_code":422} - http response ''
│ at 'http://<IP_ADDRESS>:8443/api/blueprints/2965ddf3-7ad7-474c-a07c-f90b202d1671/device-profiles/import?async=full&async=full'

and try edit tf file with this :
resource "apstra_freeform_device_profile" "vjunos_evo" {
  blueprint_id      = apstra_freeform_blueprint.dc1.id
  device_profile_id = "Juniper_vJunos_Evolved"

and try terafrom apply, terafrom can be apply to apstra. i think this some bug please check again what correct device id in configuration.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

This looks like the expected behavior. My Apstra has a pre-loaded device profile with ID Juniper_vJunos_Evolved and Name vJunosEvolved:

Most pre-loaded objects have "friendly" IDs which can be easily mistaken for names. It leads to a lot of confusion.

sure, so this expected we follow from ID device profile global.

Yes, exactly. We deal in IDs almost exclusively because they're immutable.
Referencing objects by (changeable) labels would lead to even more confusion.


Opt-out for payload.js generation on static websites

Is your feature request related to a problem? Please describe.
I'd like to have a way to disable the payload.js generation for static websites, I have all the data saved in store so for my project it essentially just duplicates ~30kb of JS, and blocking time goes from 1ms -> 47ms.
Describe the solution you'd like
A boolean to disable payload.js on generate, eg:
generate: {   savePayload: false }

but it will need payload.js for client side navigation when using full static.
Problem is payload.js mutation data contains a copy of the initial state data. Instead of skiping payload.js data, maybe the state.js store data is not needed, since it's covered by the payload.js mutation?

After digging a bit more into this, I think it should skip loading payload.js on initial load for routes where no page-data (asyncData, fetchState) got recored, but it's still needed to stay there for client-side navigation.

I think you should be able to do this by removing target: 'static' and falling back on 'legacy generation'.
Note that in Nuxt 3 this is possible by setting experimental.payloadExtraction to false.


Update payDebt with recomputeUtilization

Updates payDebt function with recomputeUtilization becase the amountToBurn increases the creditCapacity of the market.

Can you add a test for this too?

Added the test


Unsoundness in From implementation

The source of soundness
https://github.com/urschrei/lonlat_bng/blob/c66eca1c878c8d7eb86b53463ccaf56e86dac7bb/src/ffi.rs#L64-L79
With from at line 66, we can cast arbitrary type as Array.data; with from at line 76, we can create a slice of f64. It is unsound because there is no any trait bound on T, then we can indirectly cast arbitrary types to f64 slice. slice::from_raw_parts_mut requires users to guarantee the data to be valid for reads as f64 for len * mem::size_of<T> bytes^1 here. If T contains padding bytes, then undefined behaviors would occur.
To reproduce the bug
#[derive(Copy, Clone)]
struct A {
    a: i8,
    b: i32,
    c: i8,
}

fn main() {
    let mut sa = A { a: 8, b: 9, c: 10 };
    let sa_slice: &mut [A] = &mut [sa];
    let sa_A = Array::from(sa_slice);
    let f64_A: &mut [f64] = sa_A.into();
    println!("{:?}", f64_A);
}

Thanks!

Would you mind report to RUSTSEC advisories so that user can update via cargo audit? Or I can help report it?

I had no idea that unsoundness rose to the level of security advisories, but by all means…

Yes. UB means that we can't guarantee what would happen on any target at anytime. UB should not happen with safe function. In this case, uninitialized memory read might also cause to security issues.


Fix Rubocop violations

In #3221, Travis CI failed due to Rubocop offenses.
In addition, violations ignored by .rubocop_todo.yml have been left alone long time.
I fixed  these violations mainly using rubocop -a.

@mshibuya Travis CI failed in Ruby version 2.2 due to SyntaxError like this:
An error occurred while loading ./spec/controllers/rails_admin/application_controller_spec.rb.
Failure/Error: require 'rspec/rails'
SyntaxError:
  /home/travis/build/sferik/rails_admin/vendor/bundle/ruby/2.2.0/gems/rspec-rails-4.0.0/lib/rspec/rails/example/mailer_example_group.rb:25: syntax error, unexpected '.'
            options&.each { |key, value| default_u...
                     ^

Safe navigation operator with & is added since Ruby 2.3, so Ruby 2.2 raises SyntaxError.
Which is the best way to resolve this error?

drop support for Ruby 2.2 from RailsAdmin
specify another version of rspec-rails in Ruby 2.2

I would vote to drop support for Ruby 2.2 from RailsAdmin

In the next major release of RailsAdmin I will drop support for Ruby older than 2.5.0. Please hold on until 3.0.0 development is ready.

The master branch is ready, can you rebase this to it?

Closing this because it will not be able to merged cleanly with the fix I made in the master https://github.com/sferik/rails_admin/commit/43794519dd011a6db2198c31c6effa48953e5c4d .
I'm sorry that I prioritized mine, but I needed it for https://github.com/sferik/rails_admin/commit/01e8d5fc8ec94e68af6fdbd80759a751cd83f74a 🙇


Handle process error

Handle process spawn error (ex: the process can't be spawn)

@mems I will need more information about that. Do you use it as a CLI or do you use the API ? If you use the API I need to know what code you're trying to run as well as the complete error output.
And which version do you use: the last one on master or the published one on npm ?

Please ignore my last reply, I didn't see it was a PR. Just fyi, I'm in the process of refactoring this codebase, so it will take some days before I publish a new version (which should be a major one).


Docker gen tool for mqtt-bus still has references to edgex-redis message queue

🐞 Bug Report
Affected Services [REQUIRED]

 The issue is located in:
app-service-mqtt-export
app-service-rules
command
database
system
Is this a regression?
No

 Yes, the previous version in which this bug was not present was: ....
Description and Minimal Reproduction [REQUIRED]
I just tried generating a docker compose file using the following command for the levski branch
make gen no-secty ds-mqtt ds-rest asc-mqtt mqtt-bus
The generated docker-compose file has entries in the environment section of the above mentioned services to:
MESSAGEQUEUE_HOST: edgex-redis
The remaining services have correct references to:
MESSAGEQUEUE_HOST: edgex-mqtt-broker
Is this the expected behavior?  I was under the impression that there should be only one message bus.
Please clarify.
Thanks,
Marcelo Gallardo
🔥 Exception or Error

🌍  Your Environment
Deployment Environment:
EdgeX Version [REQUIRED]:
Levski
Anything else relevant?

Actually Core Command uses MESSAGEQUEUE_INTERNAL_HOST: edgex-mqtt-broker so this is not an issue, just some extra unused environment variables.

Leaving this issue as Tech Debt to see if we can clean these up to avoid confusion.


Indentation settings should be in project settings

Godot version
4.1.1-stable
System information
Windows 10, but happens in any system
Issue description
Code indentation settings should be a project setting and not a user editor setting. By default the tab-to-space and space-to-tab auto-change runs and causes issues when two or more people work on the same project with different user settings in their editors.
Since indentation is a project-based choice, it should be in project settings and not the user's settings.
Related to #35007 and #56510
Steps to reproduce

Create a project, write some code that runs in the main scene.
Set your editor settings to use spaces as indentation instead of tabs.
Reindent your code accordingly.
Send your project to someone else (without the .godot folder).
Have them open your project in their editor.
See several code errors due to mismatching indentation.

Minimal reproduction project
N/A

I worded it as a proposal, but imo it is a bug because it is 'expected behaviour' vs 'what really happens' issue. I do understand it is subjective categorizing though, and if y'all maintain that it is a proposal, I can submit it to the proposals page.

#69012 will resolve this.

If this is resolved already shouldn't it be closed?
Or can I implement this?

The pull request I linked is not merged yet.

One question. If somebody will set in a project settings text_editor/theme/highlighting/background_color and text_editor/theme/highlighting/text_color to black. Will I be able to override the overridden setting?


fix some errors in kexpfam

As pointed out by clang warnings :+1:

Wow, totally screwed up the hub command line here. Wrong target....

I guess the PR should go against my fork's branch, not the master

ah you commented, nw :)


Android app not started on real device

Summary
when i try to run the app on a device it gets only to the splash screen and never loads the JS files for the app to start
Environment Information

Device Name: multiple devices
OS Version:  multiple OS versions
Mattermost App Version: 1.12
Mattermost Server Version:

Steps to reproduce
1- cloning the code from github
2- cd clone directory
3- make pre-run
4- npm install
5- make start
6- open the android on android studio
7- adding these lines to the gradle.properties file
MATTERMOST_RELEASE_STORE_FILE=/Users/sherifkhaled/Downloads/StagingNon-TechDatamattermost-mobile-1.12.0/android/app/my-release-key.keystore
MATTERMOST_RELEASE_KEY_ALIAS=my-key-alias
MATTERMOST_RELEASE_PASSWORD=123456
8- run on simulator "everything runs as supposed to"
9- run on a device it loads only to the splash screen and never loads the js files to start
Expected behavior
the app loads the js files and starts
Observed behavior
it loads only to the splash screen and never loads the js files to start

Hi @sherifelgafary have you tried this http://facebook.github.io/react-native/docs/running-on-device#method-2-connect-via-wi-fi ?

@enahum  i have tried to make the developer menu to show with many ways like shaking and using the command to trigger the developer menu event but without any success but i tried to make the app listens to the correct port using this command
adb -s  reverse tcp:8081 tcp:8081
and it was successful but my main issue now is whenever i create a release apk file from android studio it crashes on launching and it doesn't show any crashing message so could you help me please

@sherifelgafary the developer menu should show if you deployed a debug build to the phone, if you run make run-android with the phone attached to your computer it should do it for you.
as for the release apk I never build it with Android Studio, so no idea why is it crashing for you, do you happen to have the logs? maybe it can give you an indication of why is it crashing.
to build the apps for Android I run the make build-android commands. We recently made some changes to the script that builds the app, you can take a look at the updated documentation in this PR https://github.com/mattermost/mattermost-developer-documentation/pull/169 and the current documentation here https://developers.mattermost.com/contribute/mobile/

@enahum  thanks a lot for your help indeed it worked when the apk file is generated using the make commands

@sherifelgafary awesome, good to know.
Going to close this issue as resolved.


⚠ Bofrost.at has degraded performance

In d86793b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2510 ms

Resolved: Bofrost.at performance has improved in d96d8f1.


setCalculateVarImportance changes result in cv2.ml.RTrees model

Expected behaviour
It sounds like this parameter should only change whether the variable importance is calculated or not. It should not change the model's output.
Actual behaviour
Changing setCalculateVarImportance changes the model's output.
Steps to reproduce

example code

import cv2
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
import numpy as np

data = load_breast_cancer()
X = data.data
y = data.target
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=1729)

forest = cv2.ml.RTrees_create()
forest.setTermCriteria((cv2.TERM_CRITERIA_MAX_ITER,10,1))
forest.setCalculateVarImportance(True)
forest.train(cv2.ml.TrainData_create(np.float32(X_train), 0, y_train))
preds = forest.predict(np.float32(X_test), 0)[1]
print(sum(preds))
# output: [94.]

forest = cv2.ml.RTrees_create()
forest.setTermCriteria((cv2.TERM_CRITERIA_MAX_ITER,10,1))
forest.setCalculateVarImportance(False)
forest.train(cv2.ml.TrainData_create(np.float32(X_train), 0, y_train))
preds_new = forest.predict(np.float32(X_test), 0)[1]
print(sum(preds_new))
# output: [95.]

operating system
Microsoft Windows 10 Enterprise

architecture (e.g. x86)
x64-based PC

opencv-python version
cv2.__version__
'3.4.4'

Please report the issue to the official OpenCV repository: https://github.com/opencv/opencv/issues
I cannot fix OpenCV bugs here, this repository only generates pre-built binary packages for Python.


Update Get-SPAppDisablingConfiguration.md

Format example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPAppDisablingConfiguration.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Implement set data storage location two

Have not written test for SetStorageCommand

I've been looking at code all day - could you leave some comments about the important steps in your code? eg. where you overwrite the config, where you delete the original file, etc. Thanks!

reviewed


Can your_first_program be trained on a GPU?

I've tried to train your_first_program on a GPU by
uncommenting static_module_wrapper lines like so:
q_net = static_module_wrapper(q_net, "cuda", "cuda")
q_net_t = static_module_wrapper(q_net_t, "cuda", "cuda")

and got an error:
RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)`

a combination
q_net = static_module_wrapper(q_net,  "cuda", "cpu")
q_net_t = static_module_wrapper(q_net_t,  "cuda", "cpu")

fails too. Following setting runs, but doesn't use GPU:
    q_net = static_module_wrapper(q_net, "cpu", "cuda")
    q_net_t = static_module_wrapper(q_net_t, "cpu", "cuda")

What shall I do to train  your_first_program on  a GPU?
Here is requirements.txt:
absl-py==0.10.0
astor==0.8.1
astunparse==1.6.3
backcall==0.2.0
brotlipy==0.7.0
cachetools==4.1.1
certifi==2020.6.20
cffi==1.13.2
chardet==3.0.4
cloudpickle==1.6.0
colorlog==4.4.0
cryptography @ file:///tmp/build/80754af9/cryptography_1601046817403/work
cycler==0.10.0
decorator==4.4.2
dill==0.3.2
dm-reverb==0.1.0
dm-tree==0.1.5
EasyProcess==0.3
future==0.18.2
gast==0.3.3
gin-config==0.3.0
google-auth==1.22.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
GPUtil==1.4.0
graphviz==0.14.2
grpcio==1.33.1
gym==0.17.3
h5py @ file:///tmp/build/80754af9/h5py_1593454119955/work
idna==2.10
imageio==2.9.0
imageio-ffmpeg==0.4.2
importlib-metadata==2.0.0
install==1.3.4
ipython @ file:///tmp/build/80754af9/ipython_1598883837425/work
ipython-genutils==0.2.0
jedi @ file:///tmp/build/80754af9/jedi_1596490743326/work
Keras-Applications @ file:///tmp/build/80754af9/keras-applications_1594366238411/work
Keras-Preprocessing==1.1.2
kiwisolver==1.2.0
machin==0.3.4
Markdown==3.3.2
matplotlib==3.3.2
mkl-fft==1.2.0
mkl-random==1.1.1
mkl-service==2.3.0
moviepy==1.0.3
numpy==1.18.5
oauthlib==3.1.0
opt-einsum==3.3.0
pandas @ file:///tmp/build/80754af9/pandas_1602088128026/work
parso==0.7.0
pexpect @ file:///tmp/build/80754af9/pexpect_1594383317248/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1594384075987/work
Pillow==8.0.1
portpicker==1.3.1
proglog==0.1.9
progressbar==2.5
prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1602688806899/work
protobuf==3.13.0
psutil==5.7.2
ptyprocess==0.6.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.19
pyglet==1.5.0
Pygments @ file:///tmp/build/80754af9/pygments_1600458456400/work
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work
pyparsing==2.4.7
PySocks @ file:///tmp/build/80754af9/pysocks_1594394576006/work
python-dateutil==2.8.1
pytz==2020.1
PyVirtualDisplay @ file:///home/conda/feedstock_root/build_artifacts/pyvirtualdisplay_1602367622068/work
requests==2.24.0
requests-oauthlib==1.3.0
rsa==4.6
scipy==1.5.3
six==1.15.0
tensorboard==2.3.0
tensorboard-plugin-wit==1.7.0
tensorboardX==2.1
tensorflow==2.3.1
tensorflow-estimator==2.3.0
tensorflow-probability==0.11.1
termcolor==1.1.0
torch==1.6.0
torchvision==0.5.0
torchviz==0.0.1
tqdm==4.50.2
traitlets @ file:///tmp/build/80754af9/traitlets_1602787416690/work
urllib3==1.25.11
wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.3.1

Hello, the easiest solution is:
q_net = QNet(observe_dim, action_num).to("cuda:0")
q_net_t = QNet(observe_dim, action_num).to("cuda:0")

Explaination
    # let framework determine input/output device based on parameter location
    # a warning will be thrown.
    q_net = QNet(observe_dim, action_num)
    q_net_t = QNet(observe_dim, action_num)

    # to mark the input/output device Manually
    # will not work if you move your model to other devices
    # after wrapping

    # q_net = static_module_wrapper(q_net, "cpu", "cpu")
    # q_net_t = static_module_wrapper(q_net_t, "cpu", "cpu")

    # to mark the input/output device Automatically
    # will not work if you model locates on multiple devices

    # q_net = dynamic_module_wrapper(q_net)
    # q_net_t = dynamic_module_wrapper(q_net_t)

If your modules are not wrapped, the framework will try to determine your model's input&output location by its parameter location,
you can see this process at here

dynamic_module_wrapper is a class inheriting nn.Module from Pytorch, after wrapping your module inside this wrapper, you will be able to move your module around, however, it is using the same mechanism to determine your input/output location as not wrapping your model at all:
q_net = dynamic_module_wrapper(q_net).to("cuda:0")

It is meant to be a serve as a reminder to tell you that a wrapper is needed, for your raw model, since you need to specify input/output whenever possible, otherwise, it would be hard to do things like auto-partition your model, etc.

static_module_wrapper is aimed at more complex models, with input from one device and output on another device, therefore, it is a one-time-for-all, as said in the document, you should only use this wrapper if you are not going to move your model around using .to(<device>), .cuda(), .cpu(), etc:
def static_module_wrapper(wrapped_module: nn.Module,
                       input_device: Union[str, t.device],
                       output_device: Union[str, t.device]):
 """
 Wrapped module could locate on multiple devices, but must not be moved.
 Input device and output device are statically specified by user.
 """
 wrapped_module.input_device = input_device
 wrapped_module.output_device = output_device
 return wrapped_module

Feel free to reopen this if you have any questions.


feat(CrossCompile): Added cross compiling

Hello 👋 first contribution, great project.

Ran a go fmt to tidy indentation
Created new cross-compiled build artefacts.
POW:

make
go mod vendor;
go fmt ./...;
mkdir -p build;
GOFLAGS=-mod=vendor gox -ldflags "-s -w" --osarch="linux/amd64" --osarch="windows/amd64" --osarch="darwin/amd64" -output "build/kubeletctl_{{.OS}}_{{.Arch}}"
Number of parallel builds: 5

-->    darwin/amd64: kubeletctl
-->   windows/amd64: kubeletctl
-->     linux/amd64: kubeletctl

Introduced Makefile to hold build commands as versioning will eventually want to added in ( and more complex docker builds)

I hope this is useful. Thanks
Signed-off-by: AlexsJones<EMAIL_ADDRESS>

Hey folks, let me know if there is anything else you'd like me to do like sign a contributor agreement?
Otherwise I have another PR behind this to help with the Dockerfile.

Hi @AlexsJones thank you very much for your contribution! :)
I checked what you did, looks great.
Regarding the building note in the readme, you removed:
gox -ldflags "-s -w"

I am going to add it back but with more systems:
gox -ldflags "-s -w" -osarch linux/amd64 -osarch linux/386 -osarch windows/amd64 -osarch windows/386

This is because the Make file is a great way for building but for users that use Windows system it will be more comfortable to use the gox directly.
I just want to compile it and test it before I will merge and let you know.
Regarding the signing a contributor agreement, I am not familiar with this, can you give me a link for explanation about it that I can understand what it means?

Thanks for the comments and the updates @g3rzi
The contributor agreement is probably not necessary but on some larger projects like Kubernetes they keep a manifest of contributors who have signed an agreement to be a part of that community https://github.com/cla-assistant/cla-assistant
This is a great project and I am excited to use it more! :)

Thank you! :)
I happy to hear that and really appreciate your contribution, it helps a lot. This is what I like on open source projects :)
I will read about the contribution agreement, there other stuff that I had in my mind but not have time from them like writing testing, other small features, etc.
This is a small project so it is less critical but these are important things to add.


set tags with xpath (request)

I have a few feeds that don't include tags but they are included when you view the linked page.
It would be awesome to have an option to scrape tags using XPATH as well. Is this feasible?
For example huffingtonpost.com uses div[@class = 'entry-tags-component']
Cheers

Sounds nice to me.

In progress in the tags branch

Needs allitems #86 to be included to make it useful

Proposed change to wrap tag functions to neaten up the config
{
    "type": "xpath",
    "xpath": "div[@id='commits_bucket']",
    "tags": {
        "type": "xpath",
        "xpath": [
            "p[@class='topics']"
        ],
        "cleanup": [
            "strong"
        ],
        "modify": [
            {
                "type": "replace",
                "search": "-",
                "replace": " "
            }
        ]
    }
}

I've added two new types to the tag option search and regex. Regex returns matches where search simply searches (using regex) and returns a pre-defined match if found
    "tags": {
        "type": "regex",
        "pattern": [
            "\/August\/"
        ],
        "index":0
}

    "tags": {
        "type": "search",
        "pattern": [
            "\/August\/"
        ],
        "match": [
            "strong"
        ]
    }

Tag searches can now also be inverted using ! in front of the match if the pattern IS NOT FOUND the tag is returned
    "tags": {
        "type": "search",
        "pattern": [
            "\/August\/"
        ],
        "match": [
            "!strong"
        ]
    }


Fix pull not stopping when character is downed

About the PR

Lizards that were pulling a cuffed player would not drop their pull when downed by a disabler. This would cause issues when security was unable to stop someone escaping with a prisoner.
Why / Balance

Technical details

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/10494922/38a81707-5a75-4d3a-a272-0023b4277322
Breaking changes

Changelog

:cl:

fix: Lizards now stop tail pulling when they are downed.

Does this fix borgs too? Borgs are still able to pull when they are crit (I just learned this last shift and have not made an Issue)

It fixes https://github.com/space-wizards/space-station-14/issues/27364 too, right?


Cloud PubSub and SQS sensors/triggers.

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Async sensors and triggers for queues like pubsub and sqs seem like a great use case for triggers.
Describe alternatives you've considered
Besides implementing them, using existing sensors in platform's provider requires patterns that feel a bit hacky: setting max_active_runs=1, short timeouts, and skipping downstream tasks OR a DAG that triggers itself after completion to keep the sensor "active".
Additional context

Thank you for creating the issue @wpromatt !


Blooglet Restore Stock Firmware Issue - Error: Image size doesn't match #242

The firmware utility does not work in my case and fails as the error mentioned in the Above issue reported previously.
I have a HP Chromebook 14-na0003tu
There was similar issue present previously.
I managed to get the firmware image using the
https://github.com/coreboot/coreboot/blob/master/util/chromeos/crosfirmware.sh
This script calls a recovery.conf located at
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf
This file has 3 set of BLOOG* configuration all of them referring to following recovery image
"https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15359.58.0_octopus_recovery_stable-channel_mp-v32.bin.zip"
I flashed my chromebook with this firmware so it is detected as "HP Chromebook x360 12b"
My chromebook works but the camera does not work and mic does not work.
There must be another recovery image for the said chromebook but I cannot find the link. Can someone help me find correct recovery firmware for HP Chromebook 14-na000tu

There must be another recovery image for the said chromebook

absolutely not. Every Geminilake chromebook is built off the "octopus" baseboard and uses the same octopus recovery image. That recovery image contains the firmware for every Geminilake Chromebook.
the crosfirmware.sh script selects the firmware image for your device based on the board name provided. If you ran ./crosfirmware.sh blooglet then you got the correct image. What you don't have is the correct HWID, because recovery image firmwares do not have those. That's one of the many reasons to not lose your firmware backup.

I flashed my chromebook with this firmware so it is detected as "HP Chromebook x360 12b"

no, it's not. ChromeOS has no idea about make/model names. Only board names. Your HWID is wrong.

Is there a way I could get the firmware or correct HWID for HP 14a-na0003tu,
No matter what I could not get camera and mic to work.
or is there any other work around?  I just need the camera and Mic to work.


Add Trunk.toml and make urls relative.

This enables IDEs to live preview dist/index.html without any extra config (since they usually default to serving the whole repo).
It also allows the template to work as-is on itch.io and any other services that serve the package under some path.

Do you mean keyboard and mouse inputs? Which IDE do you see this in? (Maybe we should move this to an issue).
I've only been using RustRover's built-in server, which always opens in your default browser. On VS Code, the ritwickdey.LiveServer extension also opens on default browser. ms-vscode.live-server opens in a panel, but mouse seems to work. My guess would be any preview that displays inside the IDE might have some inputs captured by the IDE itself.
BTW thanks for the reviews and for putting together this template; it's super useful to folks like myself who are new to Bevy and Rust 😁

I tested it in RustRover and IntelliJ. Opening it in a browser is fine and keyboard inputs work.
I was testing it inside the IDE itself and that's when the inputs stop working. They seem to be captured by the preview (the canvas gets marked), but Bevy doesn't get them.
I don't think we need an issue for it, since it works in browsers. Seems like in issue of the IDEs.


Does not print accents

I have Encoding "IBM865"
Á Í Ó Ú upper case => does not print
á é í ó ú =>  print ok
Encoding = Encoding.GetEncoding("IBM865")
byte[] IPrinterTemplate.Receipt(ICommandEmitter e) =>
ByteSplicer.Combine(
e.CenterAlign(),
e.SetBarWidth(BarWidth.Default),
Encoding.GetBytes(PrintHeader(PrintSaleModel.Header.Company))
}

Is this related to the character encoding on the printer itself?  What printer do you have? I believe you need to set it using a separate character page command, we don't have support for that but it should be pretty straightforward to add.

@ChipiCoding  any update on this?


C++ 20

Is your feature request related to a problem? Please describe.
Do you plan to switch to C++20 by default?
C++ 20 is fully support on all platforms.
C++ 20 will make engine more attractive for new technology nerds.
Describe the solution you'd like
C++ by default in all GitHub actions
Describe alternatives you've considered
None
Additional context
None

I think it will come (after the 1.0 release)

@aismann thank you!
When 1.0 release is planned?

I have test cmake -B build -DCXX_STD=20 on windows with vs 2022, the build works.

@halx99
Should axmol switch to c++ 20 with 1.0 or later?

Maybe we can switch

Maybe we can switch

Do it 👍

Or maybe wait c++23, the c++20 still have some feature not implementd, such as the at, operator[] of map,set containers still doesn't support heterogeneous lookup.

I think we can use what exist. Not what will come
C++20 is realy a big feature.
axmol should not use all new features in time. But User can use the features in own projects.

Use in readme for win64 should be enough:
cmake -S . -B build -G "Visual Studio 20 2022" -A x64

we can add this lines for C++ (Windows) on readme.md
cmake  -B build_C++20 -DCXX_STD=20 -G "Visual Studio 17 2022" -A Win32
cmake  -B build_C++20 -DCXX_STD=20 -G "Visual Studio 17 2022" -A x64

@halx99
Please add support for all other OS  (Im not cmake guru)

Agree. If we switch to C++20 we should do this for all platforms.

Agree. If we switch to C++20 we should do this for all platforms.

Of course. Neverone goes alone if there a solution for all ;)

Agree. If we switch to C++20 we should do this for all platforms.

let's github ci help us to check it

@halx99
Is it possible to change the color of cpp20? Its Look Like bug ;)

@halx99
Please adapt the description of axmol too:
... C++17/20....

@halx99 Is it possible to change the color of cpp20? Its Look Like bug ;)

done

@halx99
I think it can be closed.
All steps on the way or done.

But other platforms not check yet

OK. And the axmol description hast only c++17 as text

I create a PR #890 to help us check cpp20 compilings at all platforms

I create a PR #890 to help us check cpp20 compilings at all platforms

It it works this line on readme can be adapt and maybe closing this issue too.
C++ 17/20 (C++20 VS2022 64bit Windows 11 tested) to C++ 17/20

It looks like only windows compiled for c++20. Please check #890

It's know. Thanks.

@halx99
Good work!


⚠ Bofrost.com has degraded performance

In 574cb38, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1067 ms

Resolved: Bofrost.com performance has improved in 8911e1b.


Search bar not visually appealing

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Increasing the width of the search bar can make it more visually appealing and user-friendly.

Just like :

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

hey @arghadipmanna101
can you please assign me this issue?

Please assign me this issue.. I would like to work on this issue

Please assign this issue to me , I would like to work on it under GSSoC .


Adds a Snyk badge to show you are vulnerability-free

tslint-eslint-rules has no vulnerabilities, which is awesome!
This PR adds a badge that shows that you're free of known vulnerabilities. Note that the badge works off the latest master branch.
Adding the badge will show others that you care about security, and that they should care too.
(It will also help to spread the word about Snyk, which would help us out!).
Check our documentation if you'd like to know more about our badges.
Stay secure :-)
Ben from the Snyk team

Hi Ben! Thanks for the PR.
I kindly ask you to change the badge to be right before the LICENSE one, please.
I'll be happy to merge the PR after this change :)


redisson-mybatis - Application still works if Redis does not respond

Hi, We are looking to configure redisson-mybatis, so that when for some reason Redis does not respond, the application can be running without problems.
The idea is to leave a trace of the connection error, but that the application executes the sentences and continues working.
I found this similar report, but for Tomcar. Issue
The question is if this behavior is possible, and if not, could I report a feature?
Thanks for your time

Implemented in https://github.com/redisson/redisson/issues/3042


[PoC] Functional test module

Under development

Here two options how to use this functionality:

Using composition
Using inheritance

The second one available thanks to decomposition test functionality from test case.

https://github.com/yiisoft/yii-testing/pull/2
Here is a fix for the use of yii-dev-tool


mkpr

Applied mkpr on package.json
sed s/"levelup": ".*"/"levelup": "^4.3.0"/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


test: implement parenthesized expressions, additional tests

Replace the parser with a recursive descent implementation that handles parentheses and produces a stack of operations in postfix order. Parsing now operates directly on OsStrings passed by the uucore framework.

Replace the dispatch mechanism with a stack machine operating on the symbol stack produced by the parser.

Add many tests, including tests for parenthesized expressions.

wahou!
did you compare with GNU's tests?

Hey @sylvestre!
I dropped the output from GNU tests/misc/test.pl into this gist.
Tests run with
make TESTS=tests/misc/test.pl SUBDIRS=. check

test_master.log is the output with a release build from the master branch; test_2159.log uses the version in this PR.
146 more of the GNU tests pass with this version
$ rg failed test_master.log | wc -l
208
$ rg failed test_2159.log | wc -l
62
$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/drocco/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.32.0-x86_64-unknown-linux-gnu
1.33.0-x86_64-unknown-linux-gnu
1.40.0-x86_64-unknown-linux-gnu (default)

active toolchain
----------------

1.40.0-x86_64-unknown-linux-gnu (default)
rustc 1.40.0 (73528e339 2019-12-16)

Well, bravo :)
this is impressive work!

Thank you!


Enable bucket versioning-GCP

PR #739 resolves the Enabling of versioning on bucket , The PR is for PUT bucket versioning


Focus

Hi
First thanks for this tool, works very well.
When the notification is showed  I lost the focus in others windows ( for example firefox).
What  can I  do  for don't   lost the focus?
Thanks

@rcanete2018  did you solve this problem or find any alternative library ?


Provide language-tagging and editing functionality when entering literal values for lookup properties

Describe the feature you'd like
Provide language-tagging and editing capabilities when entering literals as values for lookup-type properties.
Give an example
When entering a literal value for a literal-type property, language-tagging and editing of the entered value are possible.

When entering a literal value for a lookup-type property, however, they are not:

This is a request to provide this functionality for literal values entered for lookup-type properties.
Note
This feature request is similar to #2084--requesting diacritics functionality for literal entries in lookup properties--and it may be good to consider them together.
Describe alternatives you've considered
Including the same property URI in a resource template would allow for providing a lookup version for use entering IRIs and a literal version for use entering literals, with editing and language tagging (and diacritic) functionality.
However, duplicate property URIs are not allowed in a resource template. Additionally, this duplication is probably not a very good solution from the standpoint of profile-design.

closing this as we are proposing disallowing literals in lookup fields


Crash with CexIO when retrieving cancelled archived order

When retrieving an trade history from CexIO, if the trade history contains any cancelled orders ("status": "c"), it will fail to parse the response.
The json response for a cancelled order is:
  {
    "id": "1",
    "type": "sell",
    "time": "2018-01-14T15:44:42.402Z",
    "lastTxTime": "2018-01-14T15:46:21.457Z",
    "lastTx": "5423491113",
    "pos": null,
    "status": "c",
    "symbol1": "XRP",
    "symbol2": "EUR",
    "amount": "67.20000000",
    "kind": "api",
    "price": "1.57",
    "remains": "67.200000",
    "a:XRP:cds": "67.200000",
    "tradingFeeMaker": "0.16",
    "tradingFeeTaker": "0.25",
    "tradingFeeUserVolumeAmount": "75631402",
    "orderId": "1"
  },

Relevant code is here:
https://github.com/timmolter/XChange/blob/9235d1d743aaef8202ad5a2f4d70714b5baf9439/xchange-cexio/src/main/java/org/knowm/xchange/cexio/dto/trade/CexIOArchivedOrder.java#L195
filled.get(counter) and filled.get(base)are nullable here, because cancelled orders won't have been filled.

Do you have a stack trace and an another example of the data that causes the crash?

As @T-Spoon  mentioned, " When retrieving a trade history from CexIO, if the trade history contains any cancelled orders ("status": "c"), it will fail to parse the response." or when you pass only currencyPair.
Jun 29, 2018 12:26:07 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception si.mazi.rescu.HttpStatusIOException: (was java.lang.NullPointerException) (through reference chain: java.util.ArrayList[0]) 	at si.mazi.rescu.ResponseReader.read(ResponseReader.java:104) 	at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:175) 	at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:163) 	at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:119) 	at com.sun.proxy.$Proxy126.archivedOrders(Unknown Source) 	at org.knowm.xchange.cexio.service.CexIOTradeServiceRaw.archivedOrders(CexIOTradeServiceRaw.java:182)
maybe it's an issue with a CexIOArchivedOrder.Deserializer method.

14:38:32.376 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Http call returned 200; response body: [{"id":"6341064497","type":"buy","time":"2018-05-31T08:15:44.660Z","lastTxTime":"2018-05-31T08:15:44.660Z","lastTx":"6341064507","pos":null,"status":"d","symbol1":"BTC","symbol2":"USD","amount":"0.00200000","kind":"api","price":"7605","tfacf":"1","remains":"0.00000000","tfa:USD":"0.04","tta:USD":"15.20","a:BTC:cds":"0.00200000","a:USD:cds":"15.25","f:USD:cds":"0.04","tradingFeeMaker":"0.16","tradingFeeTaker":"0.25","tradingFeeUserVolumeAmount":"200000","orderId":"6341064497"},{"id":"6164004164","type":"sell","time":"2018-05-07T11:17:54.052Z","lastTxTime":"2018-05-07T11:17:58.127Z","lastTx":"6164004509","pos":null,"status":"d","symbol1":"BTC","symbol2":"USD","amount":"0.00200000","kind":"api","price":"9341.5","fa:USD":"0.03","ta:USD":"18.68","remains":"0.00000000","a:BTC:cds":"0.00200000","a:USD:cds":"18.68","f:USD:cds":"0.03","tradingFeeMaker":"0.16","tradingFeeTaker":"0.25","tradingFeeUserVolumeAmount":"0","orderId":"6164004164"},{"id":"6163963583","type":"sell","time":"2018-05-07T11:10:05.135Z","lastTxTime":"2018-05-07T11:13:45.205Z","lastTx":"6163981142","pos":null,"status":"c","symbol1":"BTC","symbol2":"USD","amount":"0.00200000","kind":"api","price":"9324.5","remains":"0.00200000","a:BTC:cds":"0.00200000","tradingFeeMaker":"0.16","tradingFeeTaker":"0.25","tradingFeeUserVolumeAmount":"0","orderId":"6163963583"}]  14:38:32.633 [default] [main] DEBUG si.mazi.rescu.ResponseReader - Parsing response as java.util.List<org.knowm.xchange.cexio.dto.trade.CexIOArchivedOrder> failed: com.fasterxml.jackson.databind.JsonMappingException: Failed to parse {"id":"6163963583","type":"sell","time":"2018-05-07T11:10:05.135Z","lastTxTime":"2018-05-07T11:13:45.205Z","lastTx":"6163981142","pos":null,"status":"c","symbol1":"BTC","symbol2":"USD","amount":"0.00200000","kind":"api","price":"9324.5","remains":"0.00200000","a:BTC:cds":"0.00200000","tradingFeeMaker":"0.16","tradingFeeTaker":"0.25","tradingFeeUserVolumeAmount":"0","orderId":"6163963583"} (through reference chain: java.util.ArrayList[2])  Exception in thread "main" si.mazi.rescu.HttpStatusIOException: Failed to parse {"id":"6163963583","type":"sell","time":"2018-05-07T11:10:05.135Z","lastTxTime":"2018-05-07T11:13:45.205Z","lastTx":"6163981142","pos":null,"status":"c","symbol1":"BTC","symbol2":"USD","amount":"0.00200000","kind":"api","price":"9324.5","remains":"0.00200000","a:BTC:cds":"0.00200000","tradingFeeMaker":"0.16","tradingFeeTaker":"0.25","tradingFeeUserVolumeAmount":"0","orderId":"6163963583"} (through reference chain: java.util.ArrayList[2]) 	at si.mazi.rescu.ResponseReader.read(ResponseReader.java:104) 	at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:175) 	at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:163) 	at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:119) 	at com.sun.proxy.$Proxy11.archivedOrders(Unknown Source) 	at org.knowm.xchange.cexio.service.CexIOTradeServiceRaw.archivedOrders(CexIOTradeServiceRaw.java:182) 	at org.knowm.xchange.examples.cexio.trade.TradeDemo.printArchivedOrder(TradeDemo.java:81) 	at org.knowm.xchange.examples.cexio.trade.TradeDemo.main(TradeDemo.java:32)
here is the Logs from CexIOTradeServiceRaw.archivedOrders(...) not able to parse when   "status": "c".

Any what version xchange are you using?


Clarify Base properties and structure

See https://speckle.community/t/speckle-object-keys-values-characters-not-allowed/1346/3

New sections on base detaching and display properties added at: https://speckle.guide/dev/base.html


Test against argocd 2.5.0-rc2

Did you intend to do something other than a readme change?

Ah I made the proper change on master like a naughty boy and then realised that to test a PR CI you need a PR.


[SPARK-33191][YARN][TESTS] Fix PySpark test cases in YarnClusterSuite

What changes were proposed in this pull request?
This PR proposes to fix:
org.apache.spark.deploy.yarn.YarnClusterSuite.run Python application in yarn-client mode
org.apache.spark.deploy.yarn.YarnClusterSuite.run Python application in yarn-cluster mode
org.apache.spark.deploy.yarn.YarnClusterSuite.run Python application in yarn-cluster mode using spark.yarn.appMasterEnv to override local envvar

it currently fails as below:
20/10/16 19:20:36 WARN TaskSetManager: Lost task 0.0 in stage 0.0 (TID 0) (amp-jenkins-worker-03.amp executor 1): org.apache.spark.SparkException:
Error from python worker:
  Traceback (most recent call last):
    File "/usr/lib64/python2.6/runpy.py", line 104, in _run_module_as_main
      loader, code, fname = _get_module_details(mod_name)
    File "/usr/lib64/python2.6/runpy.py", line 79, in _get_module_details
      loader = get_loader(mod_name)
    File "/usr/lib64/python2.6/pkgutil.py", line 456, in get_loader
      return find_loader(fullname)
    File "/usr/lib64/python2.6/pkgutil.py", line 466, in find_loader
      for importer in iter_importers(fullname):
    File "/usr/lib64/python2.6/pkgutil.py", line 422, in iter_importers
      __import__(pkg)
    File<EMAIL_ADDRESS>line 53, in <module>
      from pyspark.rdd import RDD, RDDBarrier
    File<EMAIL_ADDRESS>line 34, in <module>
      from pyspark.java_gateway import local_connect_and_auth
    File<EMAIL_ADDRESS>line 29, in <module>
      from py4j.java_gateway import java_import, JavaGateway, JavaObject, GatewayParameters
    File<EMAIL_ADDRESS>line 60
      PY4J_TRUE = {"yes", "y", "t", "true"}
                        ^
  SyntaxError: invalid syntax

I think this was broken when Python 2 was dropped but was not caught because this specific test does not run when there's no change in YARN codes. See also https://github.com/apache/spark/pull/29843#issuecomment-712540024
The root cause seems like the paths are different, see https://github.com/apache/spark/pull/29843#pullrequestreview-502595199. I think Jenkins uses a different Python executable via Anaconda and the executor side does not know where it is for some reasons.
This PR proposes to fix it just by explicitly specifying the absolute path for Python executable so the tests should pass in any environment.
Why are the changes needed?
To make tests pass.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
This issue looks specific to Jenkins. It should run the tests on Jenkins.

Test build #130037 has started for PR 30099 at commit 6fad8eb.

Test build #130039 has started for PR 30099 at commit ee96293.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34644/

Test build #130040 has started for PR 30099 at commit ccabb04.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34646/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34644/

Merged build finished. Test PASSed.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34647/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34646/

Merged build finished. Test PASSed.

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

Okay, it passes in Jenkins:
[info] - run Python application in yarn-client mode (18 seconds, 41 milliseconds)
[info] - run Python application in yarn-cluster mode (21 seconds, 30 milliseconds)
[info] - run Python application in yarn-cluster mode using spark.yarn.appMasterEnv to override local envvar (22 seconds, 31 milliseconds)

cc @sunchao @tgravescs @dongjoon-hyun.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34647/

Merged build finished. Test FAILed.

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

Test build #130037 has finished for PR 30099 at commit 6fad8eb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #130039 has finished for PR 30099 at commit ee96293.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #130040 has finished for PR 30099 at commit ccabb04.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

this doesn't guarantee they use the same python version still - at least not minor version (3.5 vs 3.4) if executor node has different version then the driver node, but you think its a python2 vs python3, correct?
Sounds like you were going to investigate the build side as well, correct?

@tgravescs, but the tests run in the same node. If we specify the absolute path, it will point out the same Python version. This is a test only fix BTW.

Thanks, Tom. Let me merge this into master :-).

Merged to master.

Thank you for the fix, @HyukjinKwon !
cc @sunchao

nice! thanks for the fix @HyukjinKwon !


ExtendedSplashScreen is not documented

What would you like clarification on:
Concern?

[ ] Usage in industry
[x] Clarification of capabilities
[x] Getting started with Uno
[x] Developing with Uno
[ ] Contributing to the Uno project
[ ] Publishing your application
[ ] Support
[ ] Other (please specify):

For which Platform:

[x] iOS
[x] Android
[x] WebAssembly
[x] Windows

Anything else we need to know?

Docs for this will be on Toolkit. I think there's a basic doc that covers some aspects but a full walkthrough would be nice

@kazo0 / @nickrandolph / @pictos if you have additional info or comments on what is missing for the doc at the moment for the ExtendedSplashScreen please add them in the comment of this issue so anyone can pick up to adjust it

It would be great to document how to do this in all platforms, for me it's not working in Skia (no logo), but I haven't spent much time troubleshooting it.

@nickrandolph / @HakanL  I see this doc but it's not included in the TOC so I will add it. But I think we'll need to expand it a bit with more explanation and examples eventually

@kazo0 I will let you check with @lukeblevins if he can give a hand to expand a bit with more explanation and examples.
As I also ping him in this other issue https://github.com/unoplatform/uno/issues/13338#issuecomment-1852278149

I see this doc ExtendedSplashScreen.md
I think we'll need to expand it a bit with more explanation and examples eventually

Working on this item (see context above from @kazo0 in https://github.com/unoplatform/uno.toolkit.ui/issues/574#issuecomment-1852175498)


Simplify ldap filter parser

The ldap filter parser is more complex than it needs to be, and introduces an additional dependency on petit parser.
Consider rewriting to simplify. Something like:
https://github.com/go-ldap/ldap/blob/master/v3/filter.go#L202

On reflection using petit parser has made for easier bug fixing.  We should keep it


Add the onEachSide option to Builder's pagination

Add the onEachSide option to Builder's pagination, so you can customize LenghtAwarePaginator paginator's items count.
E.g.: MyItem::paginate(10, ['*'], 'page', null, 1);
^
It's not really handy, but it's clean.
The main benefit is that having the default (3) items per page in the paginator may end with too many links in the paginator; that could be a problem in some layouts.
Keeping this argument sequence does not break any existing feature in the framework, and I also used 3 as the default onEarchSide parameter like before.
However this would be a breaking change since I'm modifying an existing method signature.
This is a feature request for the maintainers, if they know how to do it better, they're welcome.

No plans to add this right now. Makes for too many constructor arguments IMO.


Ability to override binary download location

https://docs.cypress.io/guides/getting-started/installing-cypress#Environment-variables


Displaying HTML code for <

Hi @JonJam, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Since that isn't code, would it be preferable here to use ...
&lt;

@GuardRex Cool thanks for the feedback. I have just committed that change.

One other little thingy that I didn't notice on first pass. DocFX seems to prefer angle brackets escaped ...
\<

@GuardRex Escaped those angular brackets. Where is the DocFX reference? Just so I know for any future changes.

Some of it is here: http://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html

Forgive me @JonJam ... I made a mistake there. Use ...
<

>

... in-text for < and >, and the ...
&lt;

... looks good. :+1:
I seem to have recalled that there was a case in code where < must be escaped, but that's not correct. When in a codeblock (backticks), the < is fine, and I see a spot in one of my docs that I need to update to fix. The < you have is in-text, so it would be welcome as < (as text, no backticks).
RE: The contribution guidelines and DocFX styles, I was thinking that a detailed doc would be great. I was about to volunteer to @tdykstra to work on that, but they may have something else in mind for me to do.

@GuardRex I agree a detailed doc would be good.

Yeah .... I do! :cry: It's easy to forget one of the 50 things I have to keep in mind. Tomorrow, I'll float an issue and list the style guidelines that aren't listed at DocFX. We'll see if they want me to forward them into the contribution doc or not.

@GuardRex Well now its 49 as I will remember this one.

@RickAndMSFT the metadata on this doc is not rendering correctly. Needs repaired, can you address?

LOL, I was going to say I prefer < because it's a distinctive style font that stands out better.  I think either approach is OK. < is easier to read in MD format and sands out better in the rendered article. @tdykstra  is better at this sort of opinion - but either is fine by me.
@spboyer  @tdykstra  that funny character was the first char in the article. I think it happens anytime someone does a browser edit. I removed it and looks like the meta-data is rendering correctly now.

I also prefer <  for the same reason and agree that either way is fine.

either way is fine

... but isn't it rendered as < (3C) when it appears in MD as <? I ask because that would be an HTML5 violation not to escape it in markup.


last updated in repo list is not updated

Gitea version (or commit ref): 1.7.2
Git version: 2.16.5
Operating system: debian
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
On my instance, the Updated X time ago information (as shown in the explore page for example) is not updated when I push commits to repositories.
This happens since at least v1.6, as the last updated timestamp currently says "Updated 3 months ago".
I am not sure why I can't reproduce this on try.gitea.io, could it be a DB migration path problem?

It does not seem to be a migration issue, as it also happens with newly created repos.
This does not occur when committing in the webinterface.
Could this be related to incorrect ssh / authorized_keys setup?

check that there are no errors in gitea.log or serv.log when pushing to repositories

also check that your filesystem does not have noexec in fstab for partition where repositories are stored


Feature Request: Remote Method for custom, informative(success?) message

I've considered trying:

addMethod to perform custom ajax calls for server-side validation. Seems like Jquery still handles as either error or not.
using the remote option and changing the dataFilter{} to always return true.
...but wondering if the remote method could offer a flag as an option to handle error OR success responses.

Right now, I don't have a solution to perform what I am trying to do. Maybe one of my above methods is sufficient and I am missing something but it would be nice for the plugin to handle custom, successful message natively with errorClass and validClass handling.
Subject of the issue
I have a form field that needs to perform an ajax call to the server and verify if the value is existing or not. If true (value is existing), then I want to return a custom, success message that is informative for the user. If false(value does not exist) then no message is returned but only True - the input is still .valid and jquery carries on. In other words, this rule only provides additional feedback in a successful manner and never handles the response as an error.
I can return a custom message, but the plugin currently views any response != 'true' to be an error and  places my errorClass on my <input> and <label>. The desired outcome is if any response made, the plugin does not handle it as an error.
Your environment

version of jquery-validate: v.1.19.3
which browser and its version: Chrome 100.0.4896.127 (Official Build) (x86_64)

Expected behavior
The desired outcome is if any response made, the plugin does not handle it as an error. Could be handled as validClass or an alternate, informativeClass.
Actual behavior
If the response != 'true, then it is not valid.

Here is my code for my first method. My server either returns True or the custom message.
$.validator.addMethod('verifyStationID', function(value, element) {
        /*
            Custom method to verify if a Station ID already exists from the
            server-side. If so, we want to display a custom, informative message
            to display other sites that use the subject station ID.

        */

        $.ajax({
            type: 'GET',
            url: '/ajax/verify_station_id',
            dataType: 'json',
            data: {
                'station_id': value,
            },
            async: true,
            success: function(msg) {

                if(msg != true) {
                    // display custom label and add validClass styling
                }
                else {
                    // remove custom label and remove validClass styling
                }

                // No mater what - return true so JQuery sees this validtion as successful
                return 'true'
            },
        })
    })

and then my validator.setDefaults - I made sure success knows the label class of .valid-feedback
$.validator.setDefaults({
        /*
            Set defaults for error handling messages.

        */

        errorClass: 'is-invalid',
        validClass: 'is-valid',
        highlight: function(element, errorClass, validClass) {

            if (
                $(element)
                    [0].type === 'radio'
            ) {

                var inputs = $(element)
                    .closest('.radio-group')
                    .children()
                    .find('input')

                $(inputs)
                    .each(function() {
                        $(this)
                            .removeClass(validClass)
                            .addClass(errorClass)

                    })
            }
            else {
                $(element)
                    .removeClass(validClass)
                    .addClass(errorClass)
            }

        },
        unhighlight: function(element, errorClass, validClass) {
            if (
                $(element)
                    [0].type === 'radio'
            ) {

                var inputs = $(element)
                    .closest('.radio-group')
                    .children()
                    .find('input')

                $(inputs)
                    .each(function() {

                        $(this)
                            .removeClass(errorClass)

                    })
            }
            else {
                $(element)
                    .removeClass(errorClass)
                    .addClass(validClass)
            }

        },
        errorPlacement: function(error, element) {
            $(error)
                .addClass(
                    'invalid-feedback'
                )

            if (
                element[0].type === 'radio'
            ) {
                error
                    .insertAfter(
                        element.closest('fieldset')
                    )
            }
            else {
                $(element)
                    .parent()
                    .after(error)
            }

        },
        success: 'valid-feedback'
    })

Here is my code for the second method using the remote option. Server still returns True or custom message.
$("form.create-site").validate({
        rules: {
            ...
            StationID: {
                required: true,
                validStationID: true,
                remote: {
                    url: '/ajax/verify_station_id',
                    dataFilter: function(response) {
                        message = $.parseJSON(response)

                        if (
                            message != 'true'
                        ) {
                            // display custom label and add validClass styling
                        }

                         // No mater what - return true so JQuery sees this validtion as successful
                        return true
                    },
                },
            },
            ....
        },
        messages: {
           .....
        }
    })

This method seems to get closer to what I am after as my <input> receives the validClass but the label still gets the errorClass

Have a look at https://github.com/proengsoft/laravel-jsvalidation/blob/ef13197bacd30ef193410375e7943d1355056bb0/resources/assets/js/jsvalidation.js#L258 maybe it will help with your ajax addMethod approach

Any updates on this feature?

Any updates?

The desired outcome is if any response made, the plugin does not handle it as an error. Could be handled as validClass or an alternate, informativeClass.


Remove unnecessary step to run the app

Apparently "flutter run" includes the "pub get" step.
chat_app [master]$ flutter run
Running 'flutter packages get' in chat_app... 2419ms
New users installing Flutter won't necessarily know about the "pub" tool, so removing it will reduce friction for those users.

I signed the CLA. 🤞

Thanks for your contribution!


Enforce formatting style?

Formatting style across the project is inconsistent.
I would suggest to fix this issue by using Black. It works pretty well, and it is very easy to use.

I am a bit reluctant to do such a massive reformatting of a code. It breaks
PRs and you loose
the origin of the code (git blame harder).
I think there are more urgent things to do. Migrate to GH actions, add
flake8 to CI, move from nose to pytest etc.


Calendar Date Dropdown - Part 2: Calendar dropdown should show days with changes

Feature Request
Context
Story
As a People Allocator
I want to move people on specific days and see what day they are scheduled to move
So that I can more easily plan and allocate people to future projects

Acceptance Criteria
Given I am in my space
When I click into the calendar dropdown
Then I see an Purple/Blue circle on days where something has been changed
Notes
Dependent on #65, #1. Wait to push to prod till we complete #12
Design
https://www.figma.com/file/S4XKeovlQqeRk64k2qzhf8gL/PeopleMover?node-id=1864%3A3707

.background-circle {
background-color: purple;
height: 50px;
width: 50px;
border-radius: 50%;
position: relative;
}
.inner-circle {
background-color: transparent;
border: 2px solid white;
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
box-sizing: border-box;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}

Normal day => nothing
Normal day (hover) => gray background
Today => gradient dot
Selected day => gradient border
Highlighted day => gradient background
Today (selected) => gradient dot (shifted down), gradient border
Today (highlighted) => gradient dot (shifted down), gradient background
Selected (highlighted) => gradient border, gradient background
Today (selected, highlighted) => gradient dot (shifted down), gradient border, gradient background


Simple Library Management

Description
A simple library management project that is easy to use and easy to understand as a beginner. I created this website while learning web development. I used all the basic concepts of JS in this project and I want to share my project to help other learners to understand the basic concepts of JS. I made this project using HTML, Bootstrap and JS.
Screenshots

Additional information
You can also see my project: Online Library

@AyushSingh22 sir kindly assign me this issue, I'm GSSOC'22 contributor. My project is ready, I will create PR by next moment after assigning.

@AyushSingh22 @Jaideep25-tech Please complete these. Contributors may loose their score


Add support for PATCH HTTP method

Is there any reason why we're not using https://github.com/jshttp/methods in http-router.js line 27?

I think it's more of a case that we haven't seen it yet. @rjrodger any thoughts on this one? @geek ?


PRs from forked branches can't run CI tests

Because PRs from repo forks don't have access to GitHub secrets (see GHA docs), PRs from forked repos won't be able to pass the CI currently. This is because the pr-check CI job currently includes a step of updating the cached Coda data for tests (i.e. npm run refresh-test-data) which involves making requests to Coda, which requires the Coda authorization token. This was experienced here.
This isse was discussed on Discord here.
Proposed solution options are:

Remove redownloading from GH PR check action and make a separate GH action for updating cached test data (only for manual run. This could be similar to this previous GH action that was used to commit new versions of data for semantic search
Host the test cache externally (so as to remove the cache remove being directly in the repo). This is what is currently done to fetch semantic search data (fetch('https://storage.googleapis.com/stampy-nlp-resources/stampy-encodings.json') in tfWorker.js)

I plan on implementing the first solution as it is less effort than the second solution, in my opinion.

This is complete from PR #354


Update contributing guide

Fixes #2
Updates contributing.md and the images used in readme/contributing files
Also removed some now unused images. IE. macPermissions.png as vscode-microprofile does not have any ui tests.
Can preview the updated contributing.md here https://github.com/rzgry/vscode-microprofile/blob/update-contributing-guide/CONTRIBUTING.md
Signed-off-by: Ryan Zegray<EMAIL_ADDRESS>

Thanks @rzgry !


Timeout with webadaptor

Learning to deploy a base Enterprise 11.1 environment onto a single VM running Ubuntu 20.04 using Chef, and hitting an issue with setting up the portal web adaptor step.
Environment:

ArcGIS Enterprise 11.1 - Base Stack on single machine
Virtualbox for a homelab, making heavy use of snapshots to learn from mistakes
Fresh instance of Ubuntu 20.04 - original hostname wombat
Using a DNS Server, have assigned the machine FQDN:  wombat.simongis.xyx
hostname command = wombat.simongis.xyz
dnsdomainname command = simongis.xyz
Have not changed any receipes, just the arcgis-enterprise-primary.json file

Issue:
Everything in arcgis-enterprise-primary.json appears to run fine, until portal_wa recipe.
WARN: Util.wait_until_url_available timed out for https://wombat.simongis.xyz/portal/webadaptor after 1001.23 seconds.
ERROR: Failed to configure Web Adaptor with Portal for ArcGIS. Expected process to exit with [0], but received '1'.

Can access and login to the portal via https://wombat.simongis.xyz:7443/arcgis/home/
Can ping wombat.simongis.xyz from another machine on the LAN
ERR_CONNECTION_REFUSED on https://wombat.simongis.xyz/portal/home
ERR_CONNECTION_REFUSED on https://wombat.simongis.xyz/portal/webadaptor

Can you provide any pointers on where I might be going wrong here?
End goal is to have a repeatable way of quickly deploying a fresh 11.1 Enterprise Environment on Linux for self-development, and share the steps to get there via a blog post (and things I learnt along the way).  Eventua
Let me know if you prefer this type of issue raised on Esri Community
running_deployment_template.txt
arcgis-enterprise-primary.txt
portal service.log
Hosts file on Ubuntu

End goal is to have a repeatable way of quickly deploying a fresh 11.1 Enterprise Environment on Linux for self-development, and share the steps to get there via a blog post (and things I learnt along the way).  Eventually get it working with a reverse proxy and fetching LetsEncrypt certs.  That can come later.

Hi @simongis,
I wonder if the issue is related to not having a value specified for the tomcat attribute "keystore_type": "",. In the chef run logs I noticed:
 +    <Connector protocol="org.apache.coyote.http11.Http11Nio2Protocol"
    +               port="8443" maxThreads="200"
    +               scheme="https" secure="true" SSLEnabled="true"
    +               sslEnabledProtocols="TLSv1.3,TLSv1.2"
    +               keystoreFile="/opt/tomcat_arcgis_9.0.48/certificates/wombat.simon                                                                                gis.xyz.pfx"
    +               keystorePass="wombat.simongis.xyz"
    +               keystoreType=""
    +               clientAuth="false" sslProtocol="TLS" />

Perhaps this is causing the tomcat SSL listner to not start properly. Let's check the following:

See if there are any clues in the tomcat logs catalina.out located in /opt/tomcat_arcgis/logs
Check to see if the following endpoints return a 200 status code (run from the node where the web adaptor is installed on):

curl http://wombat.simongis.xyz:8080/portal/webadaptor -v

curl http://wombat.simongis.xyz/portal/webadaptor -v

curl https://wombat.simongis.xyz:8443/portal/webadaptor --insecure -v

curl https://wombat.simongis.xyz/portal/webadaptor --insecure -v

Thanks,
Cameron K.

Removing the lines worked.  All services appear to be accessible and functioning as expected - thanks loads @cameronkroeker

Will now look at working out how to get some LetsEncrypt certs involved using something like Nginx Proxy Manager or  go-acme - won't be bothering you about that side of things.  Thanks!


Optimize NKeeper.Keep with heap.Fix

This change modifies Gonum spatial/kdtree NKeeper by making its Keep function more computationally efficient by replacing calls to Pop and Push by changing the value at index 0 and calling Fix.
From heap.Fix description,
// Fix re-establishes the heap ordering after the element at index i has changed its value.
// Changing the value of the element at index i and then calling Fix is equivalent to,
// but less expensive than, calling Remove(h, i) followed by a Push of the new value.
// The complexity is O(log n) where n = h.Len().

Note that Remove(h,0) is equivalent to Pop()
Please take a look.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (93223b4) 74.00% compared to head (d883c91) 74.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1892   +/-   ##
=======================================
  Coverage   74.00%   74.00%
=======================================
  Files         526      526
  Lines       63210    63212    +2
=======================================
+ Hits        46778    46780    +2
  Misses      13854    13854
  Partials     2578     2578

Files Changed
Coverage Δ

spatial/kdtree/kdtree.go
87.20% <100.00%> (+0.15%)
:arrow_up:

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

Adding the new commit to this PR complicates things. We have a conventional format for commit titles which the first commit does not conform it. I could fix that if this were a single commit PR, but cannot now. Can you send the second commit as a separate PR please.

My apologies @kortschak. I've created a new pull request with a single commit adding myself to AUTHORS and CONTRIBUTORS here https://github.com/gonum/gonum/pull/1895

Thanks. Can you revert the last commit here?


Enzyme error in nested jacobian call

Hi @gdalle
I'm having problems trying to do nested jacobian calculations. This might be related to https://github.com/gdalle/DifferentiationInterface.jl/issues/345
MWE:
using DifferentiationInterface, Enzyme, LinearAlgebra
const DI = DifferentiationInterface

X = rand(Float32, 1, 10)

u(x) = @. x^3
ux(x) = begin
    t = DI.jacobian(u, AutoEnzyme(), x)
    t |> diag |> permutedims
end
uxx(x) = begin
    t = DI.jacobian(ux, AutoEnzyme(), x)
    t |> diag |> permutedims
end

u(X)
ux(X)
uxx(X)

Info:
ERROR: Attempting to call an indirect active function whose runtime value is inactive:
Backtrace

Stacktrace:
[1] macro expansion
  @ ~/.julia/packages/Enzyme/r8mFE/src/compiler.jl:6819
[2] enzyme_call
  @ ~/.julia/packages/Enzyme/r8mFE/src/compiler.jl:6419
[3] ForwardModeThunk
  @ ~/.julia/packages/Enzyme/r8mFE/src/compiler.jl:6299
[4] autodiff
  @ ~/.julia/packages/Enzyme/r8mFE/src/Enzyme.jl:427
[5] autodiff
  @ ~/.julia/packages/Enzyme/r8mFE/src/Enzyme.jl:326
[6] #110
  @ ~/.julia/packages/Enzyme/r8mFE/src/Enzyme.jl:1205
[7] ntuple
  @ ./ntuple.jl:19
[8] #jacobian#109
  @ ~/.julia/packages/Enzyme/r8mFE/src/Enzyme.jl:1204

Hi, thanks for reporting this! I can reproduce the bug, but in my console there's an LLVM blurb and then it dies immediately, which makes debugging harder. Did you also encounter such behavior?

but in my console there's an LLVM blurb and then it dies immediately

No, console is fine in my case (on a linux server).
Ver:
[a0c0ee7d] DifferentiationInterface v0.5.9
[7da242da] Enzyme v0.12.26

@wsmoses sorry for the ping, any way you could decrypt this error message?

Hm, can you make a reproducer using Enzyme directly to see what’s up?
On Mon, Jul 29, 2024 at 5:50 PM Guillaume Dalle @.***>
wrote:

@wsmoses https://github.com/wsmoses sorry for the ping, any way you
could decrypt this error message?
—
Reply to this email directly, view it on GitHub
https://github.com/gdalle/DifferentiationInterface.jl/issues/388#issuecomment-2257069896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJTUXEU7NFXJBZCUSCULY3ZO22IRAVCNFSM6AAAAABLTNSBS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGA3DSOBZGY
.

    @ Enzyme ~/.julia/packages/Enzyme/YDcYf/src/Enzyme.jl:427
 [19] autodiff
    @ ~/.julia/packages/Enzyme/YDcYf/src/Enzyme.jl:326 [inlined]
 [20] jacobian(::ForwardMode{FFIABI}, f::Function, x::Matrix{Float32}; shadow::NTuple{10, Matrix{Float32}})
    @ Enzyme ~/.julia/packages/Enzyme/YDcYf/src/Enzyme.jl:1191
 [21] jacobian
    @ ~/.julia/packages/Enzyme/YDcYf/src/Enzyme.jl:1187 [inlined]
 [22] uxx(x::Matrix{Float32})
    @ Main ~/Work/GitHub/Julia/DifferentiationInterface.jl/DifferentiationInterface/test/playground.jl:11
 [23] top-level scope
    @ ~/Work/GitHub/Julia/DifferentiationInterface.jl/DifferentiationInterface/test/playground.jl:17
Some type information was truncated. Use `show(err)` to see complete types.

Theoretically that's what DI.nested is about, but this code downright crashes my REPL before I can see what's wrong. Do you think you can help me see the Enzyme error?
using DifferentiationInterface, Enzyme, LinearAlgebra
const DI = DifferentiationInterface

X = rand(Float32, 1, 10)

u(x) = @. x^3
ux(x) = begin
    t = DI.jacobian(u, DI.nested(AutoEnzyme(mode=Enzyme.Forward)), x)
    t |> diag |> permutedims
end
uxx(x) = begin
    t = DI.jacobian(ux, AutoEnzyme(mode=Enzyme.Forward), x)
    t |> diag |> permutedims
end

u(X)
ux(X)
uxx(X)

Hm can you post the error message and corresponding enzyme calls again (sorry I'm not doing this to be annoying, but to see if there's something weird about how you're calling things that would trigger)

As I said my console crashes and closes before I can see the error. Maybe it's a VScode extension thing, I'll see if it still happens outside of it


Personalized Dashboard

Each user could see last 10 edited
Most frequently used templates
Institution's records/other info/notes/announcements
Set language, admin data, other frequently used fields
Copy/paste from frequently used records
Open multiple records at once

Here's a mockup of what it could potentially look like.

Moving to epic


Broken pipe when uploading file

When I use the example code:
  var filename = 'image.jpg';
  fs.readFile(filename, function(err, buf){
    var req = client.put(filename, {
        'Content-Length': buf.length
      , 'Content-Type': 'text/plain'
    });
    req.on('response', function(res){
      if (200 == res.statusCode) {
        console.log('saved to %s', req.url);
      }
    });
    req.end(buf);
  });

And I get this error:
node.js:116
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: EPIPE, Broken pipe
    at Client._writeImpl (net.js:138:14)
    at Client._writeOut (net.js:427:25)
    at Client.flush (net.js:506:24)
    at Client._onWritable (net.js:584:12)
    at IOWatcher.onWritable [as callback] (net.js:167:12)

Is that because I'm using the new node v0.4.0 ?
Anyone else having that problem?

Seems to be resolved in recent versions, no problems anymore and still using 0.4.10.


Add debug displays of AreaMap

The debug components are immensely useful, good job whoever added them! They are so well designed and implemented, it was very easy to add a new debug component.
This adds WiredAreaMap & SolidAreaMap to display custom click areas (+tests, +docs).

simple addition, merging


Entered invalid input text is set as SelectedItem when pressing enter key or lost focus of  WINUI ComboBox control

Hi Team,
Query 1:
I have entered invalid input text while pressing enter key in ComboBox control or its lost focus, the entered text is set as SelectedItem. Is this excepted behavior or issue of ComboBox control?
Replication procedure:

Run the sample.
Open popup and select any one item.
Now, enter invalid text which does not contain in items source.
Press enter key.

Actual result:
Invalid text is set as selected item.
Expected result:
SelectedItem should be null as like other SelectedIndex reset to its default value.
Query 2:
Changing SelectedValuePath property at run-time reset the SelectedItem (null), SelectedIndex (-1) properties to its default value. Experiencing same behavior in all items control like ListView, ListBox whether it is issue or expected behavior?
Replication procedure:

Run the sample.
Open popup and select any one item.
Now, change SelectedValuePath option as ID.

Actual result:
SelectedItem, SelectedIndex property reset to its default value.
Expected result:
SelectedItem, SelectedIndex properties should not be reset to its default value.
Sample:
ComboBox-sample.zip

This is by design.  Editable combobox's are designed to be able to set the value of the combo box to whatever you'd like. You can do input validation yourself from code behind using the TextSubmitted event, but by default anything can be put in an editable combo box.

Think of a font size picker scenario, where you can set any numeric value but only show the common font sizes in the drop down.

@StephenLPeters, regarding Query2 Changing SelectedValuePath property at run-time reset the SelectedItem (null), SelectedIndex (-1) properties to its default value. Is this issue?

that does seem a little strange.  @MikeHillberg or @anawishnoff is that expected behavior?


arch/risc-v: Remove duplicated declaration for up_irq_save and up_irq_restore

Summary
Impact
Shouldn't
Testing

LGTM


[url] generated url errors out on folders

The generated url is currently being served through https://googledrive.com/host/+id.
This fails for folders and a few other items. The *googledrive.com/host/+id is alright for published files
but will fail for private files.

Example:
$ drive open vines

Addressed by PR https://github.com/odeke-em/drive/pull/355