Sette opp issue her hvis den ikke kommer seg videre med compiling. startet 10:30

Hello
I'm a complete spark beginner, and im currently following this tutorial to set up spark locally on my machine.
steps
I run this command to build spark agains the hadoop file system i have already installed:
hduser@jorgen-pc:~/spark-1.6.1$ build/sbt -Phadoop-2.6 assemly
This is the hadoop version i have installed:
hduser@jorgen-pc:/home/jorgen$ hadoop version Hadoop 2.6.0 Subversion https://git-wip-us.apache.org/repos/asf/hadoop.git -r e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1 Compiled by jenkins on 2014-11-13T21:10Z Compiled with protoc 2.5.0 From source with checksum 18e43357c8f927c0695f1e9522859d6a This command was run using /usr/local/hadoop/share/hadoop/common/hadoop-common-2.6.0.jar
problem
The commad above produces the following output and then the terminal stops logging. I let it stand there for one hour but
Using /usr/lib/jvm/java-7-openjdk-amd64 as default JAVA_HOME.
Note, this will be overridden by -java-home if it is set.
[info] Loading project definition from /home/hduser/spark-1.6.1/project/project
[info] Loading project definition from /home/hduser/.sbt/0.13/staging/ad8e8574a5bcb2d22d23/sbt-pom-reader/project
[warn] Multiple resolvers having different access mechanism configured with same name 'sbt-plugin-releases'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* com.typesafe.sbt:sbt-git:0.6.1 -> 0.6.2
[warn] 	* com.typesafe.sbt:sbt-site:0.7.0 -> 0.7.1
[warn] Run 'evicted' to see detailed eviction warnings
[info] Loading project definition from /home/hduser/spark-1.6.1/project
Waiting for lock on /home/hduser/.ivy2/.sbt.ivy.lock to be available...
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* org.apache.maven.wagon:wagon-provider-api:1.0-beta-6 -> 2.2
[warn] Run 'evicted' to see detailed eviction warnings

expectation
I expected sbt to continue running and producing logs, but it has stopped further logging for an hour now all though it's still running.
notes

I am guessing this is a duplicate of #2556


Add seed command to populate with sample data

closes #82

LGTM! Nit comment: you can add a test case for seed command after deletion of only some of the default people. That way you have 100% codecov, but this is up to you. I manually tested and it works for all situations.

Added test case.


Audit Log for runtime diagnose execution (DB)

It should be optionally possible to log every execution of a runtime diagnose (ad-hoc diagnoses as well as executions through diagnose wizard).
The log should be placed in the database. Therefore we need a persistent entity: DiagnoseExecutionLog which contains the following attributes (based on DiagnoseExecution):

Boolean executionSuccessful
Date executionTimestamp
String executionUser
String diagnoseScript

There should be the following properties to RuntimeDiagnoseConfiguration:

runtime-diagnose.log.enabled
runtime-diagnose.log.logDiagnoseDetails

Implemented.


Add files via upload

just added virtual env name when active to prompt

sorry if this did something niggling. i thought i was making a PR for my local fork so i could close the erroneous upload.


Add a way to check whether there are any validation errors when building

I would like to be able to enforce validation when building and stop the build if there are any errors.
Perhaps changing SceneRefAttributeValidator.ValidateAllRefs to be public static bool instead of private static void would be a start?
Would mean changing all validation calls from void to bool, but I am happy to submit a pull request if you would like.

Hey @duckblaster, that sounds like a reasonable improvement to me, feel free to submit a PR and I can merge that in


Datagrid: Undefined [clrDgSortOrder] overrides value on previous columns

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

Expected behavior
Datagrid should presumably ignore [clrDgSortOrder] when undefined so that sorting can be conditionally applied.
Actual behavior
If [clrDgSortOrder] is defined on a column and the value of [clrDgSortOrder] on a sequential column is falsy, the value of [clrDgSortOrder] on prior columns is ignored.
Reproduction of behavior
https://plnkr.co/edit/A77ndTiWhJAfk8JWpzX0?p=preview (Sort on 'ID' is overridden by later columns even though [clrDgSortOrder] is undefined)
https://plnkr.co/edit/GLAXWc8kOHGQzgsogiSv?p=preview (Sorts properly on 'Age' column because it is last in line)
Environment details

Angular version: 4.0.1

Clarity version: 0.9.1

OS and version: Windows 10

Browser: Chrome 58 | Firefox 56

@Shijir : are you working on this? if so, could you assign it to yourself?


Edit cluster yaml sometimes removes custom configuration when saving

Rancher versions:
rancher/rancher:master 7/9
Sometimes when editing cluster yaml through the UI, the previous changes are removed.
I went through the following steps sequentially on the same cluster and saw this behavior, the snippets listed are how the YAML was edited in each step (not the resulting output after saving).
Created custom cluster (DO hosts, 3 nodes, one role per node)
Through UI:
Edit yaml to have extra_env - settings were saved in YAML and the env vars were present.
services:
  kubelet:
    extra_env:
      - "FOO=bar"

Edit yaml to have extra_env & extra_bind - extra_env section is removed from YAML, and extra_bind section was present with the inputted config and mounted properly on the container.
services:
  kubelet:
    extra_env:
      - "FOO=bar"
    extra_binds:
      - "/root/testvol:/etc/testvol"

Edit yaml to have 2 extra_bind args - extra_bind section is completely removed, no binds present in worker node. YAML was back to being defaulted to what is seen when editing a new cluster with no custom config
services:
  kubelet:
    extra_binds:
      - "/root/testvol:/etc/testvol"
      - "/root/testvol2:/etc/testvol2"

Edit yaml to have 2 extra_env - works, both env vars available on the container
services:
  kubelet:
    extra_env:
      - "FOO=bar"
      - "TEST=value"

Edit yaml to have add another extra_env - extra_env section removed, YAML is again back to default configuration
services:
  kubelet:
    extra_env:
      - "FOO=bar"
      - "TEST=value"
      - "ANOTHER_VAR=another_value"

I can reproduce this issue and I think we should fix it in backend.

Create a custom cluster with the extra_env for kubelet in YAML.

services:
  kubelet:
    extra_env:
      - "FOO=bar"

Edit the cluster in YAML to add extra_binds and remove extra_env.

services:
  kubelet:
    extra_binds:
      - "/root/testvol:/etc/testvol"
      - "/root/testvol2:/etc/testvol2"

UI sends the correct payload to backend. You can see the extra_env has been removed in payload and extra_binds has been added.

But server doesn't remove extra_env fields. Both extra_env and extra_binds are in the API now. This is wrong as UI doesn't pass the extra_env to backend.

@loganhz i tested with the latest master, i think the main reason these changed not recorded in the API object is that extra env and extra binds are saved as dictionary and not a list, to reproduce:

edit the cluster yaml and add:

services:
  kubelet:
    extra_binds:
      - "/tmp:/tmp"

save the cluster configuration
edit the cluster yaml again

You will see the extra binds changed from dictionary and not a list:
kubelet:
    extra_binds:
      0: "/tmp:/tmp"

on the second attempt to edit the cluster yaml, it will be something like that:
kubelet:
    extra_env:
      - "foo=bar"
    extra_binds:
      0: "/tmp:/tmp"

on saving the previous configuration the 0: "/tmp:/tmp" will not get saved properly in the cluster configuration since its not a list.

@loganhz @moelsayed RKE is only comparing rke env:
func getRKEEnvVars(env []string) []string {
	tmp := []string{}
	for _, e := range env {
		if strings.HasPrefix(e, "RKE_") {
			tmp = append(tmp, e)
		}
	}
	return tmp
}

This means that any new env will not trigger an update, i will try to fix to make this much like what Rancher does for worker nodes.

@loganhz Here is another releated issue that should be fixed in the UI.

The cluster YAML editor does not render empty dicts resulting in invalid configuration when users were to copy paste the content. It seems to just be a rendering issue as it gets correctly created in the API.

Steps to reproduce:

Create cluster -> Cluster Options -> Read from file...
Use this file:

The cluster YAML editor does not render empty dicts resulting in invalid configuration when users were to copy paste the content.
The editor also unwarrantedly transforms camel case key names to snake case. Which does not break functionality but is very confusing since the name does no longer match the documented key name.

Steps to reproduce:

Create cluster -> Cluster Options -> Read from file...
Use this file content:

cloud_provider:
  name: vsphere
  vsphereCloudProvider:
    global:
      user: some
      password: secret
      datacenters: ha-datacenter
    virtual_center:
      esxi-1.home: {}
    workspace:
      server: somewhere
      folder: dummy
      default-datastore: ds1
      datacenter: ha-datacenter

Note the empty dict esxi-1.home.meta.cx: {} which is valid yaml and removing it renders the cloud config configuration block defunct.

Click Edit As YAML
Note that the content has been transformed such as the top-level dictionary virtual_centerand its child  have been removed and the name of the vsphereCloudProvider key has been changed to vsphere_cloud_provider.

rancher/rancher:master 8/6
I see new env/binds getting added correctly, but when updated to remove a section, that section is not removed.
For example, first edit YAML with:
services:
  kubelet:
    extra_env:
      - "FOO=bar"
    extra_binds:
      - "/root/testvol:/etc/testvol"

Then edit with:
services:
  kubelet:
    extra_binds:
      - "/root/testvol:/etc/testvol"
      - "/root/testvol2:/etc/testvol2"

After save, user is presented with:
services:
  kubelet:
    extra_binds:
      - "/root/testvol:/etc/testvol"
      - "/root/testvol2:/etc/testvol2"
    extra_env:
      - "FOO=bar"

I think UI sends the correct payload to backend. We need to fix it in backend.

By default we use strategic-merge-patch to update all resources. This means that if we want to remove a key, we have to specifically set it to empty.
For example:
services:
  kubelet:
    extra_binds:
      - "/root/testvol:/etc/testvol"
      - "/root/testvol2:/etc/testvol2"
    extra_env: {}

The solution is to send the payload like this or change the strategic we use for update.

Hi @vincent99 , which solution do you prefer?

Discussed with @vincent99 and @ibuildthecloud they decided on adding a hack "_replace" hack to the URL.

Added _replace=true to save request

Master 8/10
Not able to reproduce original issue.


Url for PRs are wrong

Currently the LSP will generate an /issues/ URL when completing a PR.
This is because we're using the issues API.
https://github.com/AlexanderBrevig/github-lsp/blob/e5b99c94f233c93fec3aed1936e81218fc816c57/src/backend.rs#L260-L267
Maybe we should use search and filter on is:issue and is:pr, then decorate the cached object in
https://github.com/AlexanderBrevig/github-lsp/blob/e5b99c94f233c93fec3aed1936e81218fc816c57/src/backend.rs#L20

Not marking this as bug, since it is working. GitHub rewrites the URL and points to the correct PR.


Automatically close petitions after dissolution

Closing this since we're closing petitions because of dissolution at a different time to normal


added pictures and Disconnection procedure lower arm V2

I updated the tendons repair procedures with new pictures and updated the procedure of HOWTO disconnect lower arm V2

Hi @pattacini

hints: mkdocs should tell you which files are not linked.

I tried but can't find an easy way to get the unlinked pictures and then remove them. Any suggestions?

I did this:
$ git clone https://github.com/violadelbono/documentation.git --single-branch --branch master
$ cd documentation
$ mkdocs build

getting this output:
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: C:\Users\upattacini\Desktop\documentation\site
INFO    -  Documentation built in 3.09 seconds

hence, there ain't any unlinked resource 👍
all good then!


Remove schema from the URL

The default schema is part of our URL. However, the schema isn't a connection property, let alone a mandatory one, it can be changed after connecting by using Connection.setSchema(). Other vendors use database name in the URL, but we don't have that concept.

Fixed by #66


Update to latest wasi RC's v0.2.0-rc-2023-12-05

Wastime 16 now supports rc-2023-12-05 for wasi-http and wasi-cli.
https://github.com/WebAssembly/wasi-http/releases/tag/v0.2.0-rc-2023-12-05

Thanks for the ping, I'm getting the release cycle together now for JCO and ComponentizeJS - should be up later today / early tomorrow.

Released in 0.6.0.


Nova spiceproxy support

Ah a bit of a tangle - I've picked this change into my 2024.1 feature branch


Cannot get path From URI. Uri lacks 'file' scheme

Uri lacks 'file' scheme: content: //packagename.cropper.fileprovider/my_images/Pictures/imagename.jpg
I cannot Get path from URI

Hallo @Canato
i use the latest version (2.2.1)
i came here because camera on ravindu's lib is not working on android 11.
my code to start crop activity
private fun openImageResource() {
        CropImage.activity()
            .setGuidelines(CropImageView.Guidelines.ON)
            .setAspectRatio(1,1)
            .start(this)
    }

the comparison
Uri I get from  ravindu
file:///data/user/0/com.example.cloudinaryimageupload/cache/cropped3592952233873349951.jpg
Uri i get now
content://com.example.cloudinaryimageupload.cropper.fileprovider/my_images/Pictures/cropped1347220270430465128.jpg
I need to get the file path because i need to upload it to the cloudinary.
but the image's path from uri i got is always not found.
is there any way to get the image path? because my project has been running..
Thanks

@widianapw
Can you try to make a string change where you replace content: by file: ???
Because this path is exactly the Android 10 and Android 11 issue.
The OS don't allow us to get external storage permission anymore. So we need to use Scope storage.
For sure you will need to update the logic in your code to get access if you want.
Or use the write storage permission and create a new path putting the image generated
The new Android changes broke this logic, that's the reason we needed to change from "file" to "content". (In other words, change from external access to scope storage)

The same issue I want to describe https://github.com/CanHub/Android-Image-Cropper/issues/84

The same issue I want to describe https://github.com/CanHub/Android-Image-Cropper/issues/84

Like I said in the 84 thread, you didn't shared with us the code to create the file.
Android does not permit anymore the usage of external storage permissions.
That's the reason many libraries are breaking for OS 10 and 11.
Because of this the URI is a Scope storage (content://..) and this is the the file path anymore.
We update the library because of Android permission changes. Now the codes need to be updated too for the Android permissions

I have the same issue, can we get a sample of the latest implementation

@AbdulmalekAlshugaa you can check the sample app in this repository https://github.com/CanHub/Android-Image-Cropper/tree/main/sample it has 3 different ways of using the library with many scenarios =). Hope this help.
About the issue:
Now with OS 11, this behaviour changed so the library was updated, not we need to update the usage of it too.
Please let's put all discussion about this on the same place: https://github.com/CanHub/Android-Image-Cropper/discussions/87
Sadly this is an Android OS change, but if anyone know a better fix for the latest OS, using scope storage and keeping it file drop a PR cause will help everyone =)
I will close so we focus the discussion on the same place
https://github.com/CanHub/Android-Image-Cropper/discussions/87

Please try the latest 3.0.0 release and let me know


[KURO]  Design change + first roll for characteristic

Hello,
here a new version of Kuro sheet.
Adding, font thru face-font instead of @import, embedded svg, roll for primary characteristics
Thanks
Sylvain

Error while commiting.
Sorry


Force update not working.

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md
Region and Brand of car
Ioniqu Electric v2, EU
Describe the bug
force_update doesn't work anymore.
Debug logs if an error occurred
kia_uvo - Exception in update : string indices must be integers - traceback: Traceback (most recent call last): File "/config/custom_components/kia_uvo/Vehicle.py", line 56, in update self.vehicle_data = await self.hass.async_add_executor_job( File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 427, in get_cached_vehicle_status return response["resMsg"]["vehicleStatusInfo"] TypeError: string indices must be integers

I don't really have more info to share, could be due to an outage with the API, my Bluelink app is also not working, but if that's the case, I guess we need a better way to handle it (show an error message ?)
EDIT: Both the Bluelink app and the integration are back.

Could you test my code form 276 and let me know how it handles the next failure?  It may just shift the error further up.

Here are the results, it ws not working again this morning.
`Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/kia_uvo/init.py:79
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 7:19:52 AM (1 occurrences)
Last logged: 7:19:52 AM
[140577562747232] 'vehicle'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 190, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/config/custom_components/kia_uvo/init.py", line 79, in async_handle_force_update
vehicle: Vehicle = hass.data[DOMAIN][DATA_VEHICLE_INSTANCE]
KeyError: 'vehicle'
`

solution will be here: https://github.com/fuatakgun/kia_uvo/issues/280


at_c: AtKey and Metadata from/to String Operations

Need AtKey and Metadata functionality and Unit tests

Some work has already been done and placeholders have been made for further implementation from other collaborators.
atkey.c
metadata.c

Assigning 3 SP ; since some work has already been done, it is just a matter implementation and writing a string parsing algorithm (e.g. being able to tell that this is a public key: public:publickey@bob)


make test.py compliant to python3, add .gitignore

hi !,
nice json library.
i am on gentoo linux where python 3.4 ships by default and it does not like the old style print statement.
have fixed that.

Thanks!  Do you have a preferred name for the authors file?


No module named 'aeropy.xfoil_module'

when i start the tutorial  and put "from aeropy.xfoil_module import find_coefficients"
it appears ModuleNotFoundError: No module named 'aeropy.xfoil_module'
how can i solve this problem?

I was just running into the same problem when installing using pip install aeropy. That is apparently a different package with the same name. When installing from the github repository, everything worked. @HANSIeltsKing, maybe you have the same problem?


Display usernames of recent likes

Think we should start with a list of all likers. Don't see a screen like that from SB, but should be a simple one.


Use different delimiter for OTEAPI_PLUGIN_PACKAGES

The current delimiter, a colon (:), disallows the usage of URLs in the OTEAPI_PLUGIN_PACKAGES value, as it will incorrectly split these values up after the "scheme" has been given.
What should the delimiter be? A double colon (::)?

Suggestion from @jesper-friis is to use a unix pipe character instead (|).


google_sign_in able to take accessType: "offline" and responseType: "code" so we can authenticate through our server

Be able to set access type to "offline" and responseType to "code". Maybe this already exist but I wasn't able to find this in the docs unfortunately.

Hi @mikeyyyzhao
Can you please provide some documentation for these properties? Explain what it does and how it can be useful in the package

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


New book fix

Resolved new book has no clear indication whether if the current TAB is changed or not.
Fix:

Changed the UG under FAQ. Initially thought to change it such that it creates a from a new sample address book. However, I think it sounds more like a feature flaw than a bug. Up for debate

Codecov Report
Base: 53.88% // Head: 53.88% // No change to project coverage :thumbsup:

Coverage data is based on head (b697b63) compared to base (e1c4a10).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #146   +/-   ##
=========================================
  Coverage     53.88%   53.88%
  Complexity      496      496
=========================================
  Files            99       99
  Lines          2177     2177
  Branches        231      231
=========================================
  Hits           1173     1173
  Misses          953      953
  Partials         51       51

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

resolved #127


chore: template upload process revamping

Description
Move from all the manual process of exporting app and filling so many details, make template upload process a 1 click action.
Current, the step is manual. One has to export the app manually, and then upload to s3, get the APP URL and page name correct and there is a lot of room for error. All of this can be automated.
PR fixes following issue(s)
Fixes https://github.com/appsmithorg/cloud-services/issues/1454
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing
How Has This Been Tested?

[ ] Manual

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

Summary by CodeRabbit

New Features

Introduced a new way to publish templates as community contributions.
Added a use-case based template publishing option.

Enhancements

Improved the template publishing endpoint for better clarity and usage.

Documentation

Updated analytics events to track new template publishing activities.

/ok-to-test

/ok-to-test

/ok-to-test


reconcile_prop will only accept an AutoCommitWithObs as opposed to reconcile which will accept Automerge, Transaction

This was a surprising result.

Added a test: https://github.com/alexjg/autosurgeon/pull/4


Review Model

const reviewSchema = new mongoose.Schema({
comment: String,
rating: Number,
movie: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Movie'
},
user: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User'
},
enabled: Boolean
})


refactor(share)!: replacing share.Root with header.ExtendedHeader in APIS

Closes #2772
Was WIP originally mostly because I don't like where I moved the utilities and needing to export them, so will try to think of a better solution - the moving of utilities was to keep DRY between store getter and shrexnd, while removing shrexnd server's dependence on a share.Getter.
Next step: Removing share.Root, this will allow us to fix the ugly moving of utilities and exporting them as mentioned above

Codecov Report

:exclamation: No coverage uploaded for pull request base (rpc-breaks@420dab4). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             rpc-breaks    #2773   +/-   ##
=============================================
  Coverage              ?   51.84%
=============================================
  Files                 ?      162
  Lines                 ?    10828
  Branches              ?        0
=============================================
  Hits                  ?     5614
  Misses                ?     4723
  Partials              ?      491

Why don't we remove Root in this pr? Timing constraints?

Also, this specific part breaks RPC while removal of share.Root is just a pure internal refactoring. By timing constraints I mainly mean I want to get all rpc breaks out ASAP


Simpler install instruction

No need to specify a version, Composer will automatically get a constraint for the latest stable if none is passed.
Also Archer isn't in accounting, Cyril is :d

Thanks!


[Bug]: breaking behavior for TypeScript globals compared to the DefinitelyTyped counterpart

Version
28.1.0
Steps to reproduce

Clone my repo from: https://github.com/noomorph/tsc-jest-28-issue
Follow the README there.

Expected behavior
I expect that importing @jest/globals would indeed add common things like describe, it, test, beforeEach, etc. to the global scope, so I don't have to import them every time explicitly:
import { describe, it, expect } from '@jest/globals';

Actual behavior
I'm seeing TSC errors like these on an attempt to compile my test suites:
globals.test.ts(1,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
globals.test.ts(2,3): error TS2304: Cannot find name 'beforeEach'.
globals.test.ts(6,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.

Additional context
No response
Environment
System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  npmPackages:
    jest: ^28.1.0 => 28.1.0

I think a solution to go is doing like vitest, see my comment https://github.com/kulshekhar/ts-jest/pull/3513#discussion_r874030624

Global types are not defined by any modules in this repo, they are in DT. (I realize the name of the module in Jest is bad).
@ahnpnl seems somewhat reasonable way of opting into global types. We don't have global types in this repo tho. Might make sense to add in the same way, but that's separate from this issue. Could you open up a feature request for it instead?


Bridging header missing newline at EOF, breaking builds that require it

Our project uses -Wnewline-eof (GCC_WARN_ABOUT_MISSING_NEWLINE) as a general practice. This is set at the project level. When MZFormSheetPresentationController is incorporated via CocoaPods 1.2.0, it fails to build, due to its Swift bridging header (MZFormSheetPresentationController Swift Example-Bridging-Header.h, an odd name) failing to end with a newline at end of file.
As far as I can tell, it is necessary to locally edit this file and insert the newline in order to let the project build. It seems unfortunate that even though our setting is outside the scope of the MZ project, it nonetheless has effect. (Maybe this is related to how Pods are built as modules nowadays?)
In years past I have run in to the same problem with other sources which I was able to work around by using a construct like:
    #pragma clang diagnostic push
    #pragma clang diagnostic ignored "-Wnewline-eof"
    #import <foo/bar.h>
    #pragma clang diagnostic pop

This has no effect when MZ is imported using an @import statement, however, and importing the old #import way yields an error “Definition of 'MZFormSheetPresentationViewController' must be imported from module 'MZFormSheetPresentationController.MZFormSheetPresentationViewController' before it is required”.
The simple fix is to merely insert the newline at the end of this file. I can open a PR if that's desired.
In the mean time, any workaround advice is welcome. I might have to add a shell script phase to fix the file…

Please open PR, i would appreciate it, thanks!

Done (#128). Thanks!


restore ability to provide a comma-separated list of Cassandra hosts #631

mind updating the spec? When done, I'll help merge this.
https://github.com/openzipkin/zipkin/blob/master/zipkin-cassandra/src/test/scala/com/twitter/zipkin/cassandra/CassandraSpanStoreFactorySpec.scala

ps in the future, you can just open a PR when you are proposing both the problem and the fix.

@adriancole added test

great job. Can you squash these into a single commit? I'll merge on green after.

@adriancole squashed to 1

thanks @yurishkuro !


Draft: Add support for Atmega8

based on PR #306
closes #363

I have an issue (so closing this PR for the moment) : adps().prescaler_2 does not exist only bit definitions ...
I try to find a way to temporarily disable the ADC device for the moment (I guess the other possibility would be to enable is automated extraction in avr-device ?)

Let's keep the PR open while you're still working on it.  Closing a PR usually means abandoning the work which probably isn't what you intend to do ;)  You can mark the PR as a draft if you feel more comfortable with that, but it's fine for me either way.

@xfmoulet, for your ADC problem, maybe we just need to apply the proper patches to the register definitions in avr-device?  Maybe you can cross-check the registers in the datasheet of the ATmega8 with the ATmega328P.  If they are the same, we just need to apply the same patches as for ATmega328P for the ATmega8.  Those would be https://github.com/Rahix/avr-device/blob/main/patch/common/adc.yaml.

Closing per https://github.com/Rahix/avr-hal/issues/363#issuecomment-1372488475.


Traces for authorization requests to custom provider do not include a span for the outbound request

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
When using a customer authz provider, eg:
spec:
  action: CUSTOM
  provider:
    name: whatever

You do not get any spans recorded for the outbound auth request.
In my meshConfig i've tried adding:
        includeRequestHeadersInCheck:
        ...
        - x-request-id
        - x-b3-traceid
        - x-b3-spanid
        - x-b3-parentspanid
        - x-b3-sampled
        - x-b3-flags

And in the authz service i can see these headers on the incoming request, so i know they're being sent; there's just no span being recorded from the outbound sidecar.
Version
1.22

Additional Information
No response

Trace reporting is done in the httpConnectionManager, while the authz filter is in the http filters under httpConnectionManager. They are in the same level, so the trace setting does not function on the authz filter.

Sure, but it would be nice for users to be able to see the impact of custom authz requests in their traces


compilation with thrift v0.14.1 failed

github.com/bippio/go-impala/services/cli_service
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:721:37: not enough arguments in call to iprot.ReadStructBegin
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:727:57: not enough arguments in call to iprot.ReadFieldBegin
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:739:29: not enough arguments in call to iprot.Skip
have (thrift.TType)
want (context.Context, thrift.TType)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:758:33: not enough arguments in call to iprot.ReadFieldEnd
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:762:32: not enough arguments in call to iprot.ReadStructEnd
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:769:29: not enough arguments in call to iprot.ReadI32
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:778:32: not enough arguments in call to iprot.ReadString
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:790:35: not enough arguments in call to oprot.WriteStructBegin
have (string)
want (context.Context, string)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:796:33: not enough arguments in call to oprot.WriteFieldStop
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:798:33: not enough arguments in call to oprot.WriteStructEnd
have ()
want (context.Context)
vendor/github.com/bippio/go-impala/services/cli_service/cli_service.go:798:33: too many errors
Compilation finished with exit code 2

same


[wip] release 4.0.108

[x] Enable the message retransmit pattern for messages in DLQ #192 @ErikMogensen
[ ] Update ASB client to 4.1.8 #196 @seanfeldman

:white_check_mark: Build ServiceBusExplorer 4.0.108-PullRequest0197.31.build.370 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/78fbdc6e85 by @paolosalvatori)

@paolosalvatori to unblock this PR, first #198 needs to be merged into develop.
Thank you.

Hey @paolosalvatori,
The intent was to include two changes (see description https://github.com/paolosalvatori/ServiceBusExplorer/pull/197#issue-175996329). That's why I added [BLOCKED] to the PR title and added checkboxes to each item...
4.0.108 went out w/o the latest ASB client. Not the end of the world as binding redirect can sort it out if needed.  PR #198 still needs to be merged. Please do.


Preserve more attributes from CDFs into inventory

While it increases the inventory size, some more information are useful.
The function filtering variables metadata is here and dataset meta is here.

@brenard-irap add your wish list here :).

I expect to have:
In Dataset meta (global attributes in CDF files):

Time_resolution
spase_DatasetResourceID

In Variable meta (variable attributes in CDF files):

CDF_TYPE (as a string)
FILLVAL


VGridVueTemplate issue on Vue 3

Does VGridVueTemplate work on Vue 2 only? I'm using Vue 3, and I see nothing being rendered on the screen.
My column config is as simple as:
import * as Boton from<EMAIL_ADDRESS>
{
  name:"Edit",
  prop:"edit",
  cellTemplate: VGridVueTemplate(Button, {label:"Edit"})
}

But the cell appears empty.
I'm even adding a log to see if the component ever gets mounted
mounted(){
    console.error("Mounted button",this.label);
}

But it does not.

It does not work for me. Cannot pass custom props.
https://codesandbox.io/s/revo-grid-vue3-template-cell-forked-tn6npm?file=/src/App.vue


break setup.py's dependencies into two versions: for python 2 and 3

currently it looks like:
install_requires=['selenium==2.53.1', 'future', 'backports.functools_lru_cache'],
but when using python 3, you don't need e.g. backports.functools_lru_cache

Hm... but I am unsure whether we need it or not...

Close because we don't need it anymore


There's no world->weHaveRobots()

what should this do? Return a boolean? Right now I'm using world->getUs()->empty()

That's also a solution. Yeah I would expect it to return a boolean

is this resolved?

Yeah it's fine, it's not really necessary


question about fuse add + layer_norm

Hello! This work is fantastic! I would like to ask why using fuse add + layer_norm improves performance, and in what situations does it enhance performance? Because in my own practice, it seems to increase training time, especially when the number of layers and the sequence length of the mamba block are small. Why does it take up so much time?

Probably because it's written in Triton which has high launch overhead. For small data the overhead can be larger than time taken for the GPU to finish the kernel and could slow it down.
It's useful for larger models (idk how large, depending on GPU).

Thank you very much for your reply. I also want to ask, in shorter time sequences such as 128, which one performs better between mamba and transformer?

You can benchmark, probably transformer is faster at seqlen=128 since it's been more optimized.


Refactoring some tools

Refactoring ConsistencyChecker and DumpIndexTool and making some progress towards making them API-like. This is required by the DiskReformatter to check equivalency after reformat

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8a5da16). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #707   +/-   ##
=========================================
  Coverage          ?   65.56%
  Complexity        ?     3743
=========================================
  Files             ?      327
  Lines             ?    25005
  Branches          ?     3137
=========================================
  Hits              ?    16394
  Misses            ?     7730
  Partials          ?      881

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com.github.ambry/store/DumpIndexTool.java
0% <0%> (ø)
0 <0> (?)

...com.github.ambry/store/ConsistencyCheckerTool.java
0% <0%> (ø)
0 <0> (?)

Continue to review full report at Codecov.

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

@nsivabalan can merge if you are ok with the changes


libcamera: update PACKAGECONFIG for libcamera-0.1.0

libcamera was updated in meta-oe in: https://git.openembedded.org/meta-openembedded/commit/?id=4e0281797277cf44287de93618c51e4a219fac75

now it was failing with:
meson.build:3:0: ERROR: Options "raspberrypi" are not in allowed choices: "all, auto, imx8-isi, ipu3, rkisp1, rpi/vc4, simple, uvcvideo, vimc"
because raspberrypi support was updated and renamed to rpi/vc4 in: https://github.com/raspberrypi/libcamera/commit/726e9274ea95fa46352556d340c5793a8da51fcd

Sorry, SoB added.


Use fresh accounts without renaming scenario file

Right now, if you run into problems with a corrupt node when running in managed mode, you can only create new nodes by renaming a scenario. There should be a way to generate new addresses used for the nodes in the scenarios, without having to rename the scenario file.

@nlsdfnbch can we please prioritize this, since the scenarios will always fail until we have some mechanism for this.

Must node names be identical within a scenario run? i.e. if I stop and start nodes as  a task, should those still have the same node name? @czepluch , @ulope

What do you mean by node name here? The address?

Yes, they absolutely must be the within a single run.
As a quick fix I’d suggest to just add the run number into the seed of the private key. We can then work on a better solution once you’re back from vacation.


RimeStartMaintenance() is returning 4 of notifications instead of 2

Platform: fcitx5-rime
Symptom: after clicking "Deploy" button in Fcitx5-rime, the following four notifications will appear:

Rime in Maintanence
Maintanence is complete
Rime in Maintanence
Maintanence is complete

After more detailed investigation, this is because the "Deploy" button directly calls RimeStartMaintenance() function in rime_api.cc, which will further trigger two groups of tasks.
The first group:

installation_update
backup_config_files
user_dict_sync

The second group:

workspace_update
user_dict_upgrade
cleanup_trash

In logs, I see "3 tasks ran: 3 success, 0 failure." for each group of tasks. Also, Rime will send two messages after each group finishes.
As a developer of fcitx-rime and fcitx5-rime, I believe the correct behavior is to only have one task group that has 6 tasks for maintanence. And the user will receive 2 messages, instead of 4, after clicking the "Deploy" button.

I believe the statement about RimeStartMaintenance() in the title is not true.
The task user_dict_sync is only used in a separate API function RimeSyncUserData().
The Deploy botton implemented in fcitx-rime might be calling both APIs.


Consistency of the notification context across notification templates

Includes:

Consistency of the notification context across notification templates;
Turns the _box.html template optional for custom nf_types.
Keeps the context of _box.html template backwards compatible (maybe we should consider a depreciation of the other parameters to keep only notification, since they are not in use anymore);

Closes #1.

Hi @fgmacedo , everything looks good to me :+1:
Just wanted to know why you changed the absolute imports to explicit relative imports?

Using relative imports instead of absolute is something acquired after the read of Two Scoops of Django: Best Practices for Django 1.8.
According to the authors, "explicit relative imports remove the need for hardcoding a module’s package,
separating individual modules from being tightly coupled to the architecture around them". So your code will be easier to maintain.
They:

"Immediately tell our local/internal imports from global/external imports, highlighting the Python package as a unit of code"
Allow renaming the package in case of a conflict without touching the code.

But if you wish, I can revert to absolute imports. Just let me know.

Thanks for the contribution :smile:
I think I should buy a copy of Two scoops of Django book, it seems very informative.


Remove jms serializer

This PR remove the jms/serializer package. The serializer used by melisearch-symfony is Symfonys Serializer Component.
I think the usage of jms/serilaizer was a left-over from somewhen, as the normalizer cannot be different to the NormalizerInterface coming from Symfonys component.
Further the jms/serializer component was added in the require-dev section which indicates that the package was used for testing/developing purposes. I wasn't able to spot any usage.

bors merge


Make drafts follow stream renames

I was going through my old drafts on the realm I run, and noticed that drafts for a stream that had recently been renamed were still assigned to the original stream name. In this case the color was the light gray used to indicate a non-existent stream, but presumably if a new stream had been created with the original name, the drafts would think they belonged in that stream.
It seems that drafts are storing the stream name, not the stream ID; a quick poke in the console seems to confirm this. It should be the other way around so that they follow stream renames.
CZO

@zulipbot claim


[Task]: Manually sync on completion of a participation action to speed up fetching confirmation

not needed anymore


Superfluid denoms TWAP calculation

Lets re-open this later, with a bit more of a spec. We need to update this logic:
func (k Keeper) calculateOsmoBackingPerShare(pool gammtypes.CFMMPoolI, osmoInPool osmomath.Int) osmomath.Dec {
	twap := osmoInPool.ToLegacyDec().Quo(pool.GetTotalShares().ToLegacyDec())
	return twap
}


Capitalize response reasons.

This is a somewhat trivial thing, I ran into a "bug" while grouping responses by reason instead of status codes. This is of course a very particular case but just to be consistent it may be a good idea to have response.reason always be "NOT FOUND" instead of "Not Found", "Not found", "not found" etc.

Generally speaking, reason phrases are not to be trusted when provided by the server. There is no requirement that they be the same as the status code: nothing's really wrong with sending 200 NO PROBLEM BOSS, for example, aside from the fact that the spec says you shouldn't.
For that reason, you should not rely on the reason phrase when making decisions unless the exact binary form of that phrase is something you care about. I don't think requests should canonicalise in any way here.
Thanks for the suggestion though!

+100 to what @Lukasa said. If you want normalized responses, you can use a mapping of status codes to whatever you'd like them to represent.

Note that I did not mention let's change 200 NO PROBLEM BOSS to 200 OK or vice-versa, the only proposed change is to capitalize whatever the reason coming from the server is just to avoid having to do it in an extra map().


feature #369: implemented tests setup by Jest library

Description

fixing FEATURE issue #369

implementing Jest - testing library in project for test coverage

better error detection

test runner, assertions, code coverage, mocking

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)

Checklist:

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

Screenshots (if applicable):

Add a github action to check if the tests pass, and also add it to husky.

done


refactor(cli): remove forge cache workaround

this was fixed upstream! 🎉

Yep! It does appear to update IWorld.abi.json when I change a system (e.g. adding or removing a function)


ModuleNotFoundError: Module not found: Error: Can't resolve 'swiper/react'

Bug description
In version 7.0.5 when importing import { Swiper, SwiperSlide } from 'swiper/react', compiling fails with:
Module not found: Can't resolve 'swiper/react
If i downgrade to 6.8.4 it works.
Expected Behavior
import { Swiper, SwiperSlide } from 'swiper/react'; to load correct components
Actual Behavior
import { Swiper, SwiperSlide } from 'swiper/react';
Swiper version
7.0.5
Platform/Target and Browser Versions
CentOS 7
Validations

[x] Follow our Code of Conduct
[x] Read the docs.
[x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[x] Make sure this is a Swiper issue and not a framework-specific issue

I have been following the instructions to similar Bug Tickets #4858 , #4861 . My Project is a ESM Project regarding this documentation
https://swiperjs.com/migration-guide#node-es-modules
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

#4871


Enable special.openjdk in all platforms for weekly and release

@AdamBrousseau could you please review? Thanks

FYI @pshipton

I think you missed adding to 17 a/p/z linux.

It looks fine to me.

aarch64LinuxIBM
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L556
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L573

ppc64leLinuxIBM
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L480
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L504

s390xLinuxIBM
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L409
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/cc865f95c671272c6c8b2180bb82182ff95d3af9/pipelines/jobs/configurations/jdk17u_pipeline_config.groovy#L433

Did I miss anything?

It looks fine to me.

Yes it does. Sorry I meant 21.

The PR is updated. Thanks.


Update dependancies

Updated the urlsafe-base64 package to 1.0.0 -- it wasn't working when installing via yarn under any current version of node newer than 0.8.x:
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "0.8.x".
npm installs it because it ignores the engine specification in the package.json by default
Also swaps the buffer package in place of buffer-browserify as the the latter is no longer maintained and the former is what the browserify people recommend.
Bumped the version number in hopes of getting this pushed to npm as well. =)

Hah - just saw the other PR for the exact same thing.  Sorry!


added "stock" attribute

added "stock" attribute which indicates the remaining stock of a product
added more comments

checked


Add new resources in open source

Add new resources in open sources for beginners to contribute to it and also get started with it

Hey @hasnainmakada-99 I saw the open source resources.md file.
I think there are a few more amazing resources that can be added to it including

How to get started with Open Source by Web Dev Simplified
Complete Guide to Open Source - How to Contribute by freecodecamp ft eddie jaoude
Complete Git and GitHub Tutorial by Kunal Kushwaha
Eddie Jaoude's YouTube Channel
Kunal's My Experiences Playlist on YouTube
First Contribution GitHub Repo
GitHub Good First Issue Finder

I know they are a ton of resources but they are also among the best and from my view, the list would be lonely without them

What do you think about them?

You can contribute to the repo @KrishJ4856, I think it will be great

Raised a PR!

I would love to  contribute to  this

Here you go, @Ajiboso-Adeola

@Ajiboso-Adeola have you started working on this ?

Yes

Hey @Ajiboso-Adeola , Any updates on this one ?

Hello @Ajiboso-Adeola ?

Anybody else would like to solve this issue ?

Anybody else would like to solve this issue ?

Shall I work on this issue?

Yeah Sure @Rishav1707,


Export Logger class

This allows to extend Logger with custom functionality.
fixes #1902
fixes #2170

fixes #2170

I can see that somebody let the tests run here, and they failed because of failed coverage percentage. Is there anything I can do?

Add a semicolon on the end of the line you added, and consider adding a test that you can do the export/extension that you want so future changes don't accidentally revert the functionality you're trying to introduce.

Done. For some reason the coverage didn't increase a tenth of percent 😢

I'm not sure what's causing this check to fail, or if someone recently changed a configuration there.  Your second commit helps, but I don't think the PR contents are what trigger the test failure.
In any case, the failing report includes notes about which lines aren't covered; if anyone wants to open PRs to cover those we might be able to get them merged into master and rebase this one by merging from master to here.

For anyone else encountering this issue, here's a workaround for now that (technically) lets you extend the Logger class using the createLogger function: https://github.com/wesamjabali/nest-graphql-starter/blob/main/src/core/logger/logger.service.ts

In order to make logger class extensible, please change the return type in add, remove, clear, close, profile and child methods to this (this is special feature of typescript):
https://github.com/winstonjs/winston/blob/master/index.d.ts#L124

Any updates on this? I would love to have this.

Didn't have time to address the latest (reasonable) comment + I found that .child doesn't actually work as intended (there's a hell of what this points to in the derived class when using .child)

Are there any updates on this coming soon?

Any plans to merge this?

For anyone who uses https://www.npmjs.com/package/patch-package. This gist does the trick if you save it to patches/winston+3.8.2.patch.
https://gist.github.com/vantaboard/02f4c1d29115337cad148dba683c80d9

I am fine with merging this if CI passes.  However, I don't see any way to re-run the tests.  It's possible it's been too long and re-running is not allowed.  Perhaps @Faithfinder can push an empty commit or something in order to re-trigger the CI?  Or an interested community member could open a new version of this same PR and get the tests to all pass?

We should also fix the Logger type definition. There are methods that return itself and therefore their return type should be changed from Logger to this. Methods: add, remove, clear, close, profile, child.

Done & done :) Also put a note into README cautioning about .child problems while extending.

Oh wow, thanks for the fast turnaround after the long delay on my end :) Let’s see if we can get CI passing now (or debug what’s wrong with it) and get this shipped…

Oh, the current CI failure might just be due to insufficient test coverage?  Let’s add some small test somewhere? 😅

@Faithfinder can you try to merge master and see if tests pass now?

Done. It seems the workflow needs approval?
Can we do a v4 that is a typescript rewrite with child reimplementation friendly to extending 🤣 ?

@Faithfinder I’m open to that 😅 In the meantime are you able to take a look and see why coveralls still reports failure?  Is there some other coverage config file in the repo we can tweak, or do I need to look at the coveralls project config?  Oh and one merge conflict came up, my apologies… hoping we can get this merged in asap!

@Faithfinder Were you able to take a look at this?  Would love to merge whenever you have time to check the coverage and fix the conflict!

When will we see the version published to npm? Looking forward to using it!

Published in 3.10.0


TypeError: cannot pickle '_thread.lock' object

我在运行search_article_in_medium.ipynb文件
执行下面代码的时候
from towhee import ops, pipe, DataCollection
insert_pipe = (pipe.input('df')
.flat_map('df', 'data', lambda df: df.values.tolist())
.map('data', 'res', ops.ann_insert.milvus_client(host='<IP_ADDRESS>',
port='19530',
collection_name='search_article_in_medium'))
.output('res')
)
错误信息：
Traceback (most recent call last):
File "D:\IT\python\Python38\lib\site-packages\IPython\core\interactiveshell.py", line 3398, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 3, in <cell line: 3>
insert_pipe = (pipe.input('df')
File "D:\IT\python\Python38\lib\site-packages\towhee\runtime\pipeline.py", line 103, in output
dag_dict = deepcopy(self._dag)
File "D:\IT\python\Python38\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "D:\IT\python\Python38\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "D:\IT\python\Python38\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "D:\IT\python\Python38\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "D:\IT\python\Python38\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "D:\IT\python\Python38\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "D:\IT\python\Python38\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "D:\IT\python\Python38\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "D:\IT\python\Python38\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "D:\IT\python\Python38\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "D:\IT\python\Python38\lib\copy.py", line 161, in deepcopy
rv = reductor(4)
TypeError: cannot pickle '_thread.lock' object
请问下是什么原因，怎么解决
我的towhee版本是 0.9.0

The examples require towhee 1.0.0rc1, which can be installed with pip install towhee==1.0.0rc1

示例需要 towhee 1.0.0rc1，可以使用 pip install towhee==1.0.0rc1 安装

Thank you for your reminder. I ran successfully


The Generally Available Designer isn't showing Logic App run details

Describe the Bug with repro steps
The Legacy Designer correctly shows the executed steps and the payloads, but the Generally Available Designer shows "Waiting" for all the steps.

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "HTTP": {
                "inputs": {
                    "body": "client_id=[client_id]&scope=2ff814a6-3304-4ab8-85cb-cd0e6f879c1d%2f.default&grant_type=client_credentials&client_secret=[client_secret]",
                    "headers": {
                        "Content-Type": "application/x-www-form-urlencoded"
                    },
                    "method": "POST",
                    "uri": "https://login.microsoftonline.com/[tenant_id]/oauth2/v2.0/token"
                },
                "runAfter": {},
                "runtimeConfiguration": {
                    "contentTransfer": {
                        "transferMode": "Chunked"
                    }
                },
                "type": "Http"
            },
            "Parse_JSON": {
                "inputs": {
                    "content": "@body('HTTP')",
                    "schema": {
                        "properties": {
                            "access_token": {
                                "type": "string"
                            },
                            "expires_in": {
                                "type": "integer"
                            },
                            "ext_expires_in": {
                                "type": "integer"
                            },
                            "token_type": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                },
                "runAfter": {
                    "HTTP": [
                        "Succeeded"
                    ]
                },
                "type": "ParseJson"
            }
        },
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {},
        "parameters": {
            "$connections": {
                "defaultValue": {},
                "type": "Object"
            }
        },
        "triggers": {
            "Recurrence": {
                "evaluatedRecurrence": {
                    "frequency": "Month",
                    "interval": 1
                },
                "recurrence": {
                    "frequency": "Month",
                    "interval": 1
                },
                "runtimeConfiguration": {
                    "concurrency": {
                        "runs": 1
                    }
                },
                "type": "Recurrence"
            }
        }
    },
    "parameters": {
        "$connections": {
            "value": {}
        }
    }
}

Screenshots or Videos
No response
Browser
Microsoft Edge for Business
Version 126.0.2592.87 (Official build) (64-bit)
Additional context
No response

Thanks for reporting this issue, working on a hotfix for this and hope to get this out be EOD today, will keep updated on this issue

This should be hotfixed into all regions now, please let me know if you are still running into this issue

Thank you, now it works.

This should be hotfixed into all regions now, please let me know if you are still running into this issue

Thank you, now it works.


[SURE-8603] Imported GKE/AKS cattle-cluster-agent broken after upgrade

currently we are missing configuration data, waiting for customer feedback

We have wait again for the logs


Is ReturnValues supported for BatchWrites?

Is setting ReturnValues currently supported for the batch writer? Or for any other form of write?

Hi @cmaycumber ,
It is not supported as of now, but the contributions are always welcomed.
Let me know if you are interested in implementing it, happy to help with any initial onboarding/setting up.
Please check the TypDorm Public API for more information.

Yeah, would love to help if I can. I'll start to check out some of the codebase.


GH-36006: [Packaging][RPM] Add support for Amazon Linux 2023

Rationale for this change
Amazon Linux 2023 was released on 2023-02-22.
What changes are included in this PR?
Add Dockerfile for Amazon Linux 2023 to build packages for it.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.

Closes: #36006

@github-actions crossbow submit almalinux-*  amazon-linux-* centos-*

@github-actions crossbow submit almalinux-* amazon-linux-* centos-*

@github-actions crossbow submit almalinux-* amazon-linux-* centos-*

@github-actions crossbow submit amazon-linux-*

@github-actions crossbow submit amazon-linux-2023-*

@github-actions crossbow submit almalinux-* amazon-linux-* centos-*

@github-actions crossbow submit almalinux-* amazon-linux-* centos-*

@github-actions crossbow submit amazon-linux-2023-*

+1


envoy: add support to bind to privileged ports

Currently, the Envoy process of the Cilium Proxy doesn't have the capabilities to bind to privileged ports. Even if the respective capabilities would be configured in the Pods SecurityContext, the cilium-envoy-starter drops all capabilities before starting the Envoy process.
This commit adds support for binding to privileged ports by introducing a new Helm value envoy.securityContext.capabilities.keepCapNetBindService (bool - defaults to false).
If set to true, the cilium-envoy-starter keeps the capability NET_BIND_SERVICE when starting the Envoy process. This way, it's possible to bind to privileged ports.
Note: It's still required to add the capability NET_BIND_SERVICE to the respective container via Helm values

daemonset mode: envoy.securityContext.capabilities.envoy
embedded mode: securityContext.capabilities.ciliumAgent

/test


mismatch server-rendered content when filling the store in the nuxtServerInit

Hello,
I'm trying to prefetch the data on the server side to fill my store. I'm getting the data in the store, but my component won't render and I get a hydration warning.
Have any one a solution for this?
And why the hydration fails, when I filling the store on the server side?
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

store/index.js
export const actions = {
  async nuxtServerInit ({dispatch}) {
    await dispatch('pages/init')
  }
}

store/pages.js
import request from 'superagent'
import Config from '~/config'

const API_URL = Config.API_URL
const NAMESPACE = 'wp/v2'
const ROUTE = 'pages'

export const state = {
  items: []
}

export const getters = {
  items: state => state.items,
  getById: state => (id) => state.items.find(item => item.id === id)
}

export const actions = {
  init ({commit}) {
    return request
      .get(`${API_URL}/wp-json/${NAMESPACE}/${ROUTE}`)
      .then(res => {
        commit('setItems', res.body)
        return res.body
      })
  }
}

export const mutations = {
  setItems (state, items) {
    state.items = items
  }
}

First, 👍 for using the wp JSON REST API.
When does the error occur?
Can you post your component here too?

After the page loads, I see the index template for a short period and than it goes away. One strange behaviour is that I'm loosing my header too after this error. When the page is ready I see only the footer. Fetching the page with curl works without problems and the data is there.
mixins/wpPage.js
import { mapGetters } from 'vuex'

export default {
  props: {
    id: {
      type: Number,
      required: true
    }
  },
  computed: {
    ...mapGetters('pages', {
      getPageById: 'getById'
    }),
    page () {
      return this.getPageById(this.id)
    }
  }
}

The uncommented Part I want to replace with the nuxtServerInit.
layouts/default.vue
<template lang="pug">
  div
    ui-header
    nuxt
    newsletter
    ui-footer
</template>

<script>
import { mapActions } from 'vuex'
import UiHeader from '~components/layout/header'
import UiFooter from '~components/layout/footer'
import Newsletter from '~components/shared/newsletter'

export default {
  components: {
    UiHeader,
    UiFooter,
    Newsletter
  },
  // created () {
  //   this.initPages()
  //   this.initNews()
  // },
  // methods: {
  //   ...mapActions('pages', {
  //     initPages: 'init'
  //   }),
  //   ...mapActions('news', {
  //     initNews: 'init'
  //   })
  // }
}
</script>

pages/index.vue
<template lang="pug">
.d-flex.flex-column.align-items-center.text-center.home
  .hero
    img(src="/img/home/hero.jpg")
    .left
      img(src="~assets/img/icons/hero/research.svg")
      .text Forschung
    .right
      img(src="~assets/img/icons/hero/hearing-aid.svg")
      .text Hörgerätebedarf
  .container.text-center.intro
    h1.text-center.title
      | Willkommen
    spacer
    .row.services.justify-content-center(v-if="page && page.acf")
      .col-3(v-for="s in page.acf.service")
        img(:src="s.icon")
        p {{ s.titel }}

    p.text(v-if="page", v-html="page.content.rendered")

    .ui-button
      span Mehr lesen
  .latest-news
    .container
      h1.text-center.title
        | Letzte
        span.name Neuigkeiten
      spacer
      news-cards
</template>

<script>
import NewsCards from '~components/shared/news-cards'
import Spacer from '~components/shared/spacer'
import WpPage from '~/mixins/wpPage'

export default {
  components: {
    NewsCards,
    Spacer
  },
  mixins: [WpPage],
  props: {
    id: {
      type: Number,
      default: 17
    }
  }
}
</script>

Hi, you should use fetch to call store actions from a page.
https://nuxtjs.org/guide/vuex-store#the-fetch-method

I was wondering if there are any solutions to the problem ? like rendering dynamic components ( injecting maybe ) after SSR, like Client side hydration!
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Any good patterns that we can follow ?

I feel like this should be documented in Nuxt.js documentation using v-if pattern to render only client side components like here https://gist.github.com/rvanzon/096132b7b46be43659cf26360c664e9a

@piyushchauhan2011 Nice pattern, thanks for the link :)

@LowM4N 👍  If you or anyone struggling with above still want another example, one can look at this weather+nuxt repo app which implements it as a middleware+store ( cleaner way ) I guess, might help.

@piyushchauhan2011 have you a git repo for the demo?


Adding examples_utils req and gcl code

Adding examples_utils @ latest stable tag to all requirements files
Adding the lines to import and init the logger in all notebooks

Closing as PR is open now in graphcore repo


API Definiton Doesn't Match

Details on this page are inconsistent with https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-04-16/scheduledqueryrules - e.g. options defined here that are not in the API definition.

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

ID: 3cf2c0c6-fa14-66f1-1f84-92f22a3b2bb6
Version Independent ID: b1d4ef1c-fa18-71d5-a1ec-4477250c6445
Content: Create, view, and manage log alerts Using Azure Monitor
Content Source: articles/azure-monitor/platform/alerts-log.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @msvijayn
Microsoft Alias: vinagara

@andrewatfornax Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.

@andrewatfornax - can you elaborate what is the diff or misses you're seeing? Both ARM REST & Template reference are generated from same Swagger spec.

As an example, on page https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-04-16/scheduledqueryrules the "action" object has one property, being "odata.type".
However, on https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-log#managing-log-alerts-using-azure-resource-template the "action" object has four properties - "odata.type", "severity", "aznsAction", and "trigger".
Having definitions for properties like "odata.type" in the formal specification would also be nice, instead of being undefined - especially as its a mandatory property.

As an example, on page https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-04-16/scheduledqueryrules the "action" object has one property, being "odata.type".
However, on https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-log#managing-log-alerts-using-azure-resource-template the "action" object has four properties - "odata.type", "severity", "aznsAction", and "trigger".
Having definitions for properties like "odata.type" in the formal specification would also be nice, instead of being undefined - especially as its a mandatory property.

scheduledQueryRules ARM reference and API reference is generated based on the description/details added in the scheduledQueryRules API specification/swagger. Adding scheduledQueryRules swagger/defination owner : @abver, who can resolve this issue

@SwathiDhanwada-MSFT - please refer to my post prior to assignment

@msvijayn  i was unable to assign the issue to @abver so i kept you in the loop.
@abver Can you please provide your insights on this issue?

What's the state of this issue? The deployment of an ARM template as it is documented on this page fails because the action property cannot be deserialized. Understandable as the specification does not include that property definition (https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-04-16/scheduledqueryrules).
Anyway:

The content and sample of this page should be corrected
We must have a possibility to link an alert rule (such as Scheduled Query Rule) with an action group within ARM template. And also define its trigger properties of course.

I think it's in "active investigation" @josch83 :-D

@andrewatfornax @josh83 The issue has been fixed. Kindly verify and confirm form your end.

I'll take your word on it - 6+ months is beyond my span to come back and check I'm afraid :-D

Thanks for your response @andrewatfornax . We will close the issue for now. If you have further questions,kindly revert and we will be very glad to assist you.


Error when calling insert()

When I call self.insert in my MSGMessengerViewController I get the error Thread 1: EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff8) on the line self.collectionView.performBatchUpdates({ in the MSGMessengerViewController + Helpers.swift file. If there's anymore information I should give, please let me know. :D

Are you able to let me know the exact line that's triggering the error? Are you able to provide an example project?

Hi @astrike30,
I was able to replicate this when not appending a new message to the array containing messages prior to inserting it into collection view. Please ensure that you're doing this.
messages.append([message])
insert(message)

Once tested, please let me know so I can close the issue.

Closing due to inactivity.


proposals to improve readabillity as an example (cookiecutter) expression plugin

Here are some proposals that will help users to grok this repo better.

remove example directory and flatten the structure
remove the code from pyo3_polars and just point to the git repo in Cargo.toml (later to crates.io)
move business days logic to separate module, so that it is clear what the expression dispatchers are and where we interface with polars.

thanks for your feedback, much appreciated!
I think I've addressed everything - any further comments would be very welcome

Looking good :+1:


[2.0] Replace the _macros/net by a Python module

Replace the _macros/net by a Python module, so we can get rid of the Jinja limitations (specially when returning lists).
Do not use the mine when querying about local data.
(cherry picked from commit dfd3b8a6a65c7d969466b09a1f20536a525ae42a)
bsc#1091077

Please backport this to 2.1

This is here https://github.com/kubic-project/salt/pull/522


Layout Changes Failed After Successful Modeset

G1LMQS094673 plugged into Dell 5xxx via "4K" HDMI cable. Start way-displays with sway or after. b2b31c5
G1LMQS094673 is functional, laptop display is not.
MODE:
  - NAME_DESC: Ancor Communications Inc ROG PG27AQ G1LMQS094673
    WIDTH: 3840
    HEIGHT: 2160
LOG_THRESHOLD: DEBUG

sway.1.acourtis.log
way-displays.1.acourtis.log

This is a sway problem.
swaymsg -t command output DP-3 mode 3840x2160@24Hz results in the same.
sway.1.acourtis.smc.log

When falling back after the initial unsuccessful modeset, output_create_swapchain sets the format to DRM_FORMAT_MOD_INVALID which appears incorrect. Setting to DRM_FORMAT_MOD_NONE resolves the issue.
Documented workaround: https://github.com/alex-courtis/way-displays#known-issues-with-workarounds

Raised at wlroots: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3431

There have been extensive way-displays rewrites of mode setting (it's now atomic), along with success/fail/cancel case handling for sway and river.
There have also been many bug fixes and updates for wlroots, sway and river around display handling.
Closing this as I can no longer reproduce any such errors.


Add maven repository to gradle

I am having issues including your API into my project.
Using this code gives me no resolved dependencies:
buildscript {
    repositories {
        mavenCentral()
        maven {
            url "https://raw.githubusercontent.com/blockchain/api-v1-client-java/mvn-repo/"
        }
    }
}

dependencies {
    compile("info.blockchain:api:v1.0.3")
}

api-v1-client-java-mvn-repo
https://raw.githubusercontent.com/blockchain/api-v1-client-java/mvn-repo/

true
always

info.blockchain
api
LATEST

compile 'info.blockchain:api:LATEST' not working

As you see here

I just fixed this. You need to make one small change: instead of compile("info.blockchain:api:v1.0.3"), it's compile("info.blockchain:api:1.0.3").


_InactiveRpcError of RPC that terminated

I was working with Biostar Device and G-sdk in it and found this error. What might be the solution??
E0307 05:10:36.624904979    4386 ssl_transport_security.cc:1378] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
Cannot connect to the device: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1615093836.625337321","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3941,"referenced_errors":[{"created":"@1615093836.625323519","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":393,"grpc_status":14}]}"

Cannot finish the user test: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1615093836.625337321","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3941,"referenced_errors":[{"created":"@1615093836.625323519","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":393,"grpc_status":14}]}"

This form is for bug reports and feature requests only.
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io


STAT 545B: 2020

@UBC-STAT/stat545 I was hoping to get this done much sooner than now so that we can have a proper review procedure. Maybe we can talk about this briefly in our meeting on Monday.
Main structure decided on for 545B:

Topics are weekly, not per-lecture.

Moved out character data to the last week, and absorbed functions and list-columns into their own weeks.
Moving to one video per week. Two per week is too demanding for me; this should free me up to participate more fully in the other parts of the course.

Worksheets probably won't make sense for 3 out of the 6 weeks, so there are only 3 worksheets. The other 3: I have tutorials that I intend to go through.
5 assignments, adopting a similar structure of 545B when I taught it in 2018.

How it's structured on the course dashboard:

adopting a "checklist" for the weekly guidance page (previously was dominated by the lecture info)
absorbing the lecture info and demonstrations into a 'lecture notes' page; but since topics are weekly, there's one page of notes per week.
Worksheets still have their own table.

What this means about TA tasks moving forward (I have not updated Asana yet)

Worksheets should work out nicely, since 4 are now gone: 3 worksheets replaced by tutorials by me; 1 worksheet gone due to error in system suggesting 545B lasts til Dec 10 when in fact it's Dec 3.
I've provided some pointers as to where we can develop assignments and worksheets from in the instructor-guides.
Weekly guidance: I'll move up to be a primary developer, along with the worksheet leader.
I'll need some help putting the assignments together, but the middle 3 out of the 5 assignments are already in decent shape; the remaining 2 will need some creativity.

Have our Asana tasks/deadlines been updated to reflect the changes? I see Worksheet 2B "due" an entire week before it's supposed to be delivered. Did we change the timing for the worksheet development?

"due" an entire week before it's supposed to be delivered.

Monday was chosen as the day the draft should come in, to give the review process enough time to happen. The second reader needs time to give their feedback (Wednesday), after which there should be some time remaining for the leader to incorporate the feedback.
The timing is not set in stone -- just check with the second reader about a general idea of a timeline.


iOS App authorization

Problem/Motivation
Authorization tailscale not possible in the HA iOS companion app. Authorization happens in a pop-up which doesn’t seem to work in the app.
Expected behavior
Opening a pop-up in safari where you can authorize.
Actual behavior
Error

Steps to reproduce
Install the add-on and first setup in the app.
Proposed changes
Not sure if it’s possible to authorize in the app, otherwise some documentation to not authorize in the app would be needed.

Unfixable, please use a desktop computer.


Enroll Command - Create secure channel

Refactor to use secure channel and stop sending the identity's public key in the payload.

Solved at https://github.com/build-trust/ockam/pull/3001


tackle-75-business-logic-for-create-assessment

Issue : https://github.com/konveyor/tackle-pathfinder/issues/11
Features included :

POST assessments operation now will copy the default (first one) Questionnaire structure ( categories, questions, options ) into the assessment
Old Pathfinder questionnaire inserted  as the default questionnaire

Pre steps :

Deploy tackle-controls ( to have the keycloak instance running ) on your K8s cluster

$ kubectl apply -f { tackle-controls kubernetes deployment file }

Edit the Ingress object to allow direct request to Pathfinder API

$ kubectl edit ingress tackle -n tackle

Add this below paths:
     - backend:
          service:
            name: tackle-pathfinder
            port:
              number: 8080
        path: /pathfinder
        pathType: ImplementationSpecific

Build and push

$ ./mvnw -U -B package -Dquarkus.container-image.push=true -Dquarkus.container-image.group={your quay user} -Dquarkus.container-image.registry=quay.io -Dquarkus.container-image.username={your quay user} -Dquarkus.container-image.password={your quay pwd} -Pnative

Change the image in the deployment file (src/main/kubernetes/tackle-pathfinder.yaml) line 224 to be the one you have pushed
Deploy tackle-pathfinder on your K8s cluster , same namespace as tackle-controls

$ kubectl apply -f src/main/kubernetes/tackle-pathfinder.yaml

Test case 1 : Obtain Keycloak secret
$ export access_token=$(\
    curl -X POST http://{cluster IP}/auth/realms/quarkus/protocol/openid-connect/token \
    --user backend-service:secret \
    -H 'content-type: application/x-www-form-urlencoded' \
    -d 'username=alice&password=alice&grant_type=password' | jq --raw-output '.access_token' \
 )

Expectation test case 1

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1825  100  1776  100    49  18500    510 --:--:-- --:--:-- --:--:-- 19010

Test case 2 : Create assessment for applicationId=20
curl 'http://{cluster IP}/pathfinder/assessments' \
  -H 'Content-Type: application/json' -H 'Accept: application/json' -H "Authorization: Bearer "$access_token \
  -d "{ \"applicationId\": 20 }" \
  -s -i

Expectation Test case 2

HTTP/1.1 201 Created
Date: Mon, 22 Mar 2021 11:05:29 GMT
Content-Type: application/json
Content-Length: 46
Connection: keep-alive

{"id":3,"applicationId":28,"status":"STARTED"}

Test case 3 : DB check for assessment for applicationId=20

create a postgre client pod with

$ kubectl run pgcli --image riuvshin/postgres-client

check status of the pod, and leave ( ^c ) when Ready

$ kubectl get pod pgcli -w

sh into the pod

$ kubectl exec -ti pgcli sh

connect to the DB

$ psql --host=pathfinder-postgresql --port=5432 --username=pathfinder --dbname=pathfinder_db

execute query

$ select count(*) from assessment_singleoption;

Expectation Test case 3

pathfinder_db=# select count(*) from single_option ;
 count
-------
   174
(1 row)

@jonathanvila I added some comments below and besides my comments I'd like to also mention:

I've seen the field notes in the Assessment entity; comment in AssessmentQuestion but the comments/notes should be located in the AssessmentCategory. Could we have a single term for both comment and notes? unless they both mean different things.

Well, a comment and notes are not exactly the same and that was my intention. But I see your point, and as it's a matter of perception , I will rename to Comment everywhere as you point.

Before this PR the creation of an assessment was very quick but with this PR the creation of an assessment takes longer (I guess it is because it needs to copy the questionnaire). Since it takes longer for the backend to process the POST /assessment request I was able to discover that we can create multiple assessments for a single application which I think is breaking the constraint of having a single assessment per application. See the video below (note that in my video I'm using the UI but you can use curl to have the same results). In the video I'm clicking multiple times the "assess" button.
Peek.2021-04-09.11-29.mp4
Of course, the UI should also disable the button "assess" while executing POST /assessment so this is something to enhance also in the UI.

:+1:  Good spot .

Thanks @jonathanvila , this PR looks good to me.


Symfony 5 support

Hi,
Is there any plan to support Symfony 5?
I don't know if a simple version bump in composer.json would do the job or if there's deprecations/breaking changes to fix beforehand.
Btw, thanks lot for this bundle to all people involved! 👍
Composer output with AliceBundle v2.5.1:
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - hautelook/alice-bundle v2.5.1 requires symfony/framework-bundle ^3.4 || ^4.0 -> satisfiable by symfony/framework-bundle[v4.4.0] but these conflict with your requirements or minimum-stability.
    - hautelook/alice-bundle 2.5.0 requires symfony/framework-bundle ^3.4 || ^4.0 -> satisfiable by symfony/framework-bundle[v4.4.0] but these conflict with your requirements or minimum-stability.
    - hautelook/alice-bundle v2.5.1 requires symfony/framework-bundle ^3.4 || ^4.0 -> satisfiable by symfony/framework-bundle[v4.4.0] but these conflict with your requirements or minimum-stability.
    - Installation request for hautelook/alice-bundle ^2.5 -> satisfiable by hautelook/alice-bundle[2.5.0, v2.5.1].

It's a little more complicated than that.
The tests are showing deprecation notices that should be fixed first.
There are several notices about the locateResource used with deprecated arguments.

That would be great!
nelmio/alice was updated 3 days ago to support Symfony 5

Do you think this bundle will need a new version to support Symfony 5?  That might be easier than making it BC.  That is, make this bundle version ^3.0 and only support Symfony 4.4 and Symfony 5, anyone using older versions should stick with Version 2.5.
If it's going to be a new version, that doesn't require BC support, I would LOVE to see a way to escape strings in the fixture files (e.g. headline: "IBM report $200M profit").

@tacman you can check https://github.com/hautelook/AliceBundle/pull/487: I can release a new major version if necessary but as things stands for a minor release will be enough.

If it's going to be a new version, that doesn't require BC support, I would LOVE to see a way to escape strings in the fixture files (e.g. headline: "IBM report $200M profit").

I recommend you to check https://github.com/nelmio/alice/issues/998. It is something that can be done without an BC break relatively easily as well :)

Any update on when this will be released?

@Gabb1995 there is nothing ready to be released yet... #487 is still unfinished. If you are blocked by it you can consider doing a new PR based on that work to move things forward

#487 merged and released in 2.6.0, thanks a lot to all involved!


Sorting direction change when joining tables on activerecord associations

It sorts asc initiallly, but does not change directions afterwards and does not sort afterwards.

I see where it's breaking, I'll submit a quick PR

PR is https://github.com/Sology/smart_listing/pull/110

Sorry, can't merge it. See my explanation in the PR.


Improve function documentation - part 3

[ ] create_multiagent()
[ ] email_create()
[ ] export_report()
[ ] from_github()
[ ] incorporate()
[ ] interrogate()
[ ] get_agent_report()
[ ] get_agent_x_list()
[ ] get_informant_report()
[ ] log4r_step()
[ ] read_disk_multiagent()
[ ] stock_msg_body()
[ ] stock_msg_footer()
[ ] stop_if_not()
[ ] tt_summary_stats()
[ ] tt_string_info()
[ ] tt_tbl_dims()
[ ] tt_time_shift()
[ ] tt_time_slice()
[ ] validate_rmd()
[ ] yaml_write()
[ ] yaml_read_agent()
[ ] yaml_read_informant()
[ ] yaml_agent_interrogate()
[ ] yaml_informant_incorporate()

I just found that the example in the help page of get_multiagent_report() fails:
> report_1 <-
+   get_multiagent_report(multiagent)
Error in get_lsv(text = c("multiagent_report", "pointblank_multiagent_title_text"))[[lang]] :
  attempt to select less than one element in get1index

and
> report_3 <-
+   get_multiagent_report(
+     multiagent,
+     display_mode = "wide"
+   )
Error in get_lsv(text = c("multiagent_report", "pointblank_multiagent_title_text"))[[lang]] :
  attempt to select less than one element in get1index

using pointblank 0.8.0.

Thanks @eastclintw00d ! I think this is an unfortunate bug in the release (but has been since fixed). Could you try installing the development version from GitHub with devtools::install_github() and trying that once again?

I can confirm that it works with the dev-version. 👍

Thanks. And if there's anything else you think could be improved w.r.t. documentation, I'm all ears!

Hello @rich-iannone ,
I am getting a very similar error message while following the documentation to send an email through blastula when warn/error occurs, i.e.: https://rich-iannone.github.io/pointblank/reference/email_blast.html
Using the example code, I get this error -- I am sure my credfile is valid, tested with blastula dummy email function and it works.
── Interrogation Started - there are 2 steps ───────────────────────────────────────────────────────────────────────────────────────────────────────────
! Step 1: WARNING condition met.
! Step 2: WARNING and NOTIFY conditions met.
Error in get_lsv("email/agent_body")[[x$lang]] :
  attempt to select less than one element in get1index

Thank you!


hashCode and spire's Eq

I have a use case where I need to group elements from a sequence (think groupBy) in a group theory library I'm writing, that depends on Spire.
I can think of several strategies:

have a HashEqual[A] typeclass, acting as a marker that java's hashCode and equals are correctly implemented for the type A, enabling the use of scala.collection goodies,
have a HashEq[A] typeclass as in psp-std, and forget about Java weakly typed conventions

Spire already implements hashCode in several types, without (TTBOMK) specifying the contract by the use of a typeclass. Spire also implements Eq without specifying any hashing behavior.
Should I implement something just for my use case, or should we see what can be incorporated into Spire ?

We should think about implementing cats Hash class now.


Generating list files for testing images

Hi, I'm trying to test the model on my own data, and I was wondering if there was an easy way to generate the necessary /list .txt files to allow the program to run?
I'm also having problems with defining a path to my test data. I am unsure where to do this in lua/torch.
@XingangPan

Ok, so I figured somethings out. I created another folder withing data/CULane to put my new data. However, if I make a separate list folder and write a test.txt. It gives me errors, claiming that my files don't exist. When I copy and past the location of my new test data files into the original test.txt file with the other original testing data locations, the program runs fine. However, if I replace this test.txt file with just the locations of my new testing data, it gives me the same error that the files do not exist. I am confused by why this is happening.

@virajdeokar I meet the same question. Do you have solved it ?


cgroupsv2: do not enable controllers for the last component

do not automatically enable the controllers for the last path
component.  It is necessary as once there are enabled controllers in a
cgroup, it won't possible to add processes to it.
Fix conmon being moved to the correct cgroup path when using
--cgroup-manager cgroupfs.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

LGTM
@mheon @vrothberg @baude @jwhonce @ashley-cui @QiWang19 PTAL

/lgtm


use f64 arithmetic in regression, to avoid integer overflow

This commit fixes a bug in the regression code when integers overflow.  This leads to r2 > 1, which really messes up my scaling work (which I plan to issue a pull request on properly when it's better debugged...).

I'm happy to merge this.

Merged


feat: Include hash in email

Include hash link in email, in case email client decides to clean out hyperlink if suspected of spam.

Removed the implementation for third party integration in favour of SNS to simplify the demo


Istio: Update to 1.2.4

Istio release 1.2.4 includes the sidecar proxy with Envoy security fixes released on 8/13/2019.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>Istio integration is updated to Istio version 1.2.4

This change is

test-me-please

never-tell-me-the-odds

NodePort test failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/2366/testReport/junit/Suite-k8s-1/13/K8sServicesTest_Checks_service_across_nodes_Tests_NodePort/

test-missed-k8s


[5.2] Apply constraints to a morphTo relation on eager load

Previously, using Model::load or with and supplying eager load constraints would make no difference if the loaded relationship was of the MorphTo type, as eager load constraints were not applied for this class. This PR fixes that.

:+1:
This should also fix https://github.com/laravel/framework/issues/13567

Do we have tests that fail?

Nope @taylorotwell. One unit test was removed, but it didn't really add much (I believe all code is still covered through integration tests).

Are you sure this is a good change? This change breaks the eager loading of my Polymorphic relations. It messes everything up for me. Figuring out why this is happening...

@markvaneijk Can you paste your code here?
ping @phroggyy

@markvaneijk this should actually fix eager loading of polymorphic relations by allowing constraints, but I might have forgotten about some case, in which case I'll definitely fix it and add a test case. As @acasar said, throw some code in here and we'll do our best. (Would also be great if it's easy-ish to reproduce).

@phroggy @acasar Thanks for your responses. I tried to make a simple example to reproduce my problem.
When you have the Polymorphic relation example in the docs: https://laravel.com/docs/5.2/eloquent-relationships#polymorphic-relations
And you only add this, to always eager load the likeable relationship:
public $with = ['likeable'];

And when I request the Like object:
$like = App\Like::find(1);

Then I get this error:
Call to undefined method Illuminate\Database\Query\Builder::likeable()```

When I remove the $with from the Like model, and use it directly when getting the object, it does work:

```php
$like = App\Like::with('likeable')->find(1);

So the question for me is. Is the use of $with wrong? If not, why does the first example does not work like the second example?

That's really weird @markvaneijk. Any chance you'd be able to get a sample project up I can clone down? I'll look into the code right now... Hmm, might have something to do with accessing the QB rather than Eloquent Builder somewhere

@phroggyy, just got the same issue when using a $with property on a model with a morphTo() relationship.

@ifox @markvaneijk I'm looking into this right now.

@acasar so the issue is we're cloning $this->query, which has the whole eager load constraint on it, even though we don't really want it. From my initial testing, just resetting the eager loads is easiest and works.

@phroggyy Hm.. I think we should actually copy over eager load constraints instead of just resetting them? Because related model can have it's own eager load constraints that we still need to take into account.

This has broken code in one of my projects.
I'm not sure if my use-case is non-supported one, but I have a number of relations set up similarly to this:
public function purchaseable()
{
    return $this->morphTo()->withTrashed();
}

Which was used to fetch a polymorphic relation, but include trashed records. This no longer works, instead I'm getting a BadMethodCallException thrown, with the message: Call to undefined method Illuminate\Database\Query\Builder::withTrashed(). We've had to lock onto Laravel 5.2.33.
What would be the approach to load a polymorphic relation including trashed records?

@dwightwatson Should be fixed on 5.2 dev. Can you check?

Sure - just tried on 5.2.x-dev c9d9748 and this issue is still present.

@dwightwatson Thanks, example project or failing test would be nice. We are actually testing for this scenario https://github.com/laravel/framework/blob/5.2/tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php#L534 So I'd be interested to know the setup in your case.

@dwightwatson I think I found the issue. Here's the PR https://github.com/laravel/framework/pull/13828


Changing twitter bird logo to X

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
Please give this issue a level one1😭😭🙏

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

@SUGAM-ARORA

@Ketanop321 Issue assigned to you


Flow doesn't start with bracketPairColorizer plugin

#Hello...My Flow server doesn't start with this plugin
When I disable it - all work properly
Arch Linux, Last version of vscode, Bracket Pair plugin and flow
I use workspace settings:
{
  "javascript.validate.enable": false,
  "gitflow.default.development": "master",
  "flow.useNPMPackagedFlow": true,
  "flow.useLSP": true,
  "flow.pathToFlow": "${workspaceRoot}/client/node_modules/.bin/flow"
}

I just ran into this as well.
Deep in the flow extension, it was using rxjs which was trying to load either window or global. Having this extension installed turned global into:
 {"$c":{},"Colors":{}}

which was not great for everything after that.
I posted my rundown here: https://github.com/flowtype/flow-for-vscode/issues/247#issuecomment-391172088

since this just started happening for me today, and I have auto updates on I'm assuming it's related to this PR? 👀
https://github.com/CoenraadS/BracketPair/commit/7f71bc24121d3327be7d4ee7b9f9476ecf3a5209

No smoking gun, but that commit includes colors.js, which modifies the global String prototype.
That seems dangerous on a good day...

Thanks for the investigation 👍 , I will try to remove the colors.js dependency later today

Thank you for putting out a timely fix