Parameter hints for dynamically created classes and methods

In JupyterLab the signature/help for dynamically created classes and methods are shown as a tool-tip when pressing Shift+Tab, e.g.:

In VS Code Jupyter this does not work. No tooltip or - in the following example - a wrong tooltip is shown:

This feature request is related or even equivalent to this closed bug that I found: https://github.com/microsoft/vscode-jupyter/issues/839. I cannot see why it was closed, so I wanted to bring it up again since this would be a really useful feature for us.
There is a comment on said bug that this feature would require some support from Pylance, but it is my understanding that Pylance just does static code analysis and thus could never support this. This feature would require parameter hints to be generated based on a query to the Python kernel (similar to calling the help() function). This query could maybe be a fallback for cases where Pylance does not already provide something useful. Interestingly, for auto-completion suggestions, the Jupyter extension does already query the Python kernel and adds the results to the auto-completion suggestions from Pylance. I cannot find anything similar for parameter hints. In practice, the experiences in VS Code and JupyterLab when working with dynamically generated classes and/or methods are currently very similar for auto-completion suggestions, but very different for parameter hints.
Quick background/context: Our use case is very similar to the one reported in https://github.com/microsoft/pylance-release/issues/117. We work on a library which generates helper classes at runtime based on a request to a backend which returns metadata such as class/function and parameter names from a users project. Our current solution to use our library in VS Code Jupyter is to use the contextual help feature of the Jupyter PowerToys extension which is a reasonably comfortable alternative to manually running help(x) all the time. If we could get the same information inline through VS Code's native parameter hint tooltips that would be much better, though.

We discussed this last week, to just ship a hover provider & the like... however I believe thats a work around, as users will always have to have a kernel started.
E.g. if a user start with this code in the first cell of a notebook, they'll most likely not see any completions due to kernel not having been started

That sounds like it needs a kernel.

Yes, this feature would definitely need a running kernel. The behavior of parameter hints would then be similar to the existing behavior for auto-completion suggestions: If there is no running kernel, the auto-completion suggestions from Pylance are shown. If there is a running kernel, auto-completions from the running kernel are queried by the Jupyter extension and shown in addition to (or merged with) the suggestions from Pylance.

Thank you for filing this feature request, given this hasn't received any upvotes since this was created I'm closing this issue.


Scene detail shows two attributions

Probably a z-index issue.

This is caused because we have two maps, and the z-index of the attribution for the non-detail map is not below that of the detail map

This seems to be fixed

I tested this yesterday afternoon - if you go into the scene detail from
browse, then the attribution is the same, but duplicated. If you go
directly to the browse/detail view, then you can see that there are two
attributions due to the transparency. Order seems indeterminate due to the
z order being the same.
On Wed, Feb 8, 2017, 8:20 AM Chris Brown<EMAIL_ADDRESS>wrote:

This seems to be fixed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/azavea/raster-foundry/issues/1013#issuecomment-278326665,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMHALrNaY2SxnShNUhkaLPJ3rj5B5uOks5racEDgaJpZM4LwQ5a
.

--
--
Lucien Knechtli
Azavea |  990 Spring Garden Street, 5th Floor, Philadelphia, PA
<EMAIL_ADDRESS>| Web azavea.com http://www.azavea.com/  |  @azavea
http://twitter.com/azavea

Ah ok, that's why I didn't see it -- will reopen, thanks.

Can't reproduce--is this fixed?


Scrolling Horizontally automatically

I implement a carousel but for moving the slides I have to mantain clicked and scrolling to the side I want. How can I enable a scrolling automatically to moving right to left without clicking the slider ?

I think it isn't possible.

Add these lines to your css, in your slider class:
`> div {
overflow-x: scroll;
}
::-webkit-scrollbar {
display: none;
}`

It's not automatically sliding through my 11 images. :D


Fix for when the component is unmounted quickly

Fix for when the component is unmounted quickly. the callback of the setstate in componentDidMount is called after the componentWillUnmount, hence the componentWillUnmount results in an error.

Nicely done, thank you for your contribution!
Will merged soon
@pruthvip


Update package.json ... it's more than a years old 👵 !!!

Please 🙏 update the versions of all packages 📦 ... some of them are deprecated 😥... !!!

Hello, i think it is better to update the packages as it is outdated

I have done the update and with  PR 8:
https://github.com/buildspace/buildspace-nft-game-starter/pull/8


Proposal: unsupported operators

I'd like to use some operators/modules for which we currently do not have code generation/type system support. One example of which is the FiniteSets module and the Cardinality operator.
I think it's reasonable to expect that PGo should be able to compile MPCal => PlusCal in specs that make use of these features, but fail to generate a Go implementation if requested because that is currently unsupported.
This is what this pull request is changing. Let me know if you have thoughts.
(This is related to #106)

I'm okay with this. But, I think it's important to document this. More broadly, any 'unsupported' exception in code gen should appear in the manual.


Problems when trying to use react-flowplayer

Hello, I am trying to embed flowplayer in my app.
I am currently using NextJs and TypeScript.
Since I need to control some aspects of the application based on player events I need to use the JavaScript-based initialization.
What happens is in my project I can't even get it to load properly.
This is the error I get when I try to output the component:
`C:\Users\DELL\Desktop\bfp-members\node_modules@flowplayer\react-flowplayer\lib\index.js:1
import Flowplayer from "./flowplayer";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.@flowplayer/react-flowplayer (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:266:18)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at Module../components/FlowPlayer.tsx (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:110:86)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at Module../pages/index.tsx (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:212:80)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:91:18
at Object. (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:94:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
)`
The code of the component:
`import React, { useEffect } from "react";
import Flowplayer from "@flowplayer/react-flowplayer";
import OVPPlugin from "@flowplayer/player/plugins/ovp";
import HLSPlugin from "@flowplayer/player/plugins/hls";
import flowplayer from "@flowplayer/player";
import<EMAIL_ADDRESS>flowplayer(HLSPlugin, OVPPlugin);
function stateHandler(ev) {
if (ev.type === 'pause') { console.log('paused); }
if (ev.type === 'playing') { console.log('playing'); }
if (ev.type === 'timeupdate') { console.log(ev.target.currentTime)}
if (ev.type === 'ended') { console.log('The end')}
}
export default function App() {
useEffect(() => {
const instance = flowplayer.instances[0]
instance.on('pause playing timeupdate ended', stateHandler)
}, [])
return (

);
}`
My ts.config file:
{   "compilerOptions": {     "target": "es5",     "lib": ["dom", "dom.iterable", "esnext"],     "allowJs": true,     "types": ["cypress"],     "skipLibCheck": true,     "strict": false,     "forceConsistentCasingInFileNames": true,     "noEmit": true,     "esModuleInterop": true,     "module": "esnext",     "moduleResolution": "node",     "resolveJsonModule": true,     "isolatedModules": true,     "jsx": "preserve",     "baseUrl": "./",     "paths": {       "@components/*": ["components/*"],       "@infra/*": ["infra/*"],       "@styles/*": ["styles/*"]     }   },   "include": [       "next-env.d.ts",       "**/*.ts",       "**/*.tsx",       "next.config.js",       "**/*.js"   ],   "exclude": ["node_modules"] }
My package.json:
{   "name": "bfp-members",   "version": "0.0.1",   "private": true,   "scripts": {     "dev": "next dev",     "build": "next build",     "start": "next start",     "lint": "eslint .  --ext .js,.jsx,.ts,.tsx --fix",     "storybook": "start-storybook -p 6006",     "build-storybook": "build-storybook",     "cypress:open": "cypress open",     "cypress:run": "cypress run"   },   "dependencies": {     "@flowplayer/player": "^2.9.3",     "@flowplayer/react-flowplayer": "^0.1.0",     "@types/axios": "^0.14.0",     "@types/next-auth": "^3.7.1",     "@types/react-burger-menu": "^2.6.2",     "@types/react-transition-group": "^4.4.1",     "axios": "^0.21.1",     "cypress-social-logins": "^1.11.2",     "next": "10.0.7",     "next-auth": "^3.11.2",     "next-seo": "^4.20.0",     "react": "17.0.1",     "react-burger-menu": "^3.0.6",     "react-device-detect": "^1.17.0",     "react-dom": "17.0.1",     "react-transition-group": "^4.4.1",     "sass": "^1.32.8"   },   "devDependencies": {     "@babel/core": "^7.13.10",     "@storybook/addon-actions": "^6.1.21",     "@storybook/addon-essentials": "^6.1.21",     "@storybook/addon-links": "^6.1.21",     "@storybook/react": "^6.1.21",     "@types/node": "^14.14.31",     "@types/react": "^17.0.2",     "@typescript-eslint/eslint-plugin": "4.4.1",     "@typescript-eslint/parser": "^4.15.2",     "babel-loader": "^8.2.2",     "cypress": "^6.8.0",     "eslint": "^7.20.0",     "eslint-config-airbnb-typescript": "^12.3.1",     "eslint-plugin-cypress": "^2.11.2",     "eslint-plugin-import": "^2.22.1",     "eslint-plugin-jsx-a11y": "6.3.1",     "eslint-plugin-react": "7.20.3",     "eslint-plugin-react-hooks": "4.0.8",     "typescript": "^4.1.5"   } }
I've managed to get the above code to work in a regular, vanilla ReactApp.
What is presented in the documentation for using the hook to gain access to the Player API does not work even in this setup though.
When I try to run the code provided in the documentation ('https://flowplayer.com/developers/player/react'), even in this vanilla react app this is what I get:
react-dom.development.js:23275 Uncaught TypeError: Cannot destructure property 'Flowplayer' of 'Object(...)(...)' as it is null.     at App (App.js:11)     at renderWithHooks (react-dom.development.js:14985)     at mountIndeterminateComponent (react-dom.development.js:17811)     at beginWork (react-dom.development.js:19049)     at HTMLUnknownElement.callCallback (react-dom.development.js:3945)     at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)     at invokeGuardedCallback (react-dom.development.js:4056)     at beginWork$1 (react-dom.development.js:23964)     at performUnitOfWork (react-dom.development.js:22776)     at workLoopSync (react-dom.development.js:22707)     at renderRootSync (react-dom.development.js:22670)     at performSyncWorkOnRoot (react-dom.development.js:22293)     at scheduleUpdateOnFiber (react-dom.development.js:21881)     at updateContainer (react-dom.development.js:25482)     at react-dom.development.js:26021     at unbatchedUpdates (react-dom.development.js:22431)     at legacyRenderSubtreeIntoContainer (react-dom.development.js:26020)     at Object.render (react-dom.development.js:26103)     at Module.<anonymous> (index.js:7)     at Module../src/index.js (index.js:16)     at __webpack_require__ (bootstrap:856)     at fn (bootstrap:150)     at Object.1 (reportWebVitals.js:14)     at __webpack_require__ (bootstrap:856)     at checkDeferredModules (bootstrap:45)     at Array.webpackJsonpCallback [as push] (bootstrap:32)     at main.chunk.js:1
And the code:
`import React, { useEffect, useState } from "react"
import { useFlowplayer } from "@flowplayer/react-flowplayer"
import { PAUSE, PLAYING } from "@flowplayer/player/core/events"
import<EMAIL_ADDRESS>const SOURCES = ["b8302bc5-0f5f-4de6-a56e-6c05a9cd6025", "03513ba8-ea10-4c41-8f0b-82ab134b995c"]
const App = () => {
// Get API handle in an asynchronous manner
const { Flowplayer, api: playerApi } = useFlowplayer({ token: process.env.TOKEN })
const [demoPlaybackState, setDemoPlaybackState] = useState("paused")

const [demoSrc, setDemoSrc] = useState(SOURCES[0])

const togglePlay = () => {
    if (!playerApi) return // No API available
    playerApi.togglePlay()
}

const toggleSrc = () => {
    const nextIndex = SOURCES.indexOf(demoSrc) + 1
    setDemoSrc(SOURCES[nextIndex] || SOURCES[0])
}

// Listen to player events for the demo
useEffect(() => {
    if (!playerApi) return // No API yet available
    function stateHandler(ev) {
        if (ev.type === PAUSE)
            setDemoPlaybackState("paused")
        if (ev.type === PLAYING)
            setDemoPlaybackState("playing")
    }

    playerApi.on([PAUSE, PLAYING], stateHandler)

    return () => { // Cleanup on unmount
        if (!playerApi) return
        playerApi.off(PAUSE, stateHandler)
        playerApi.off(PLAYING, stateHandler)
    }
}, [playerApi])

return (

Flowplayer React Demo

                <Flowplayer src={demoSrc} />

                Playback state is: { demoPlaybackState }

API handles

                <button onClick={togglePlay}>Play / pause</button>

Configuration changes

                <button onClick={toggleSrc}>Toggle source</button>

)

}
export default App;`
I've also tried dowloading the newest version: 0.2.0 and running locally but I get these errors:
`C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0>yarn demo
yarn run v1.22.10
$ webpack -c demo/webpack.config.js
[webpack-cli] Compilation finished
asset app.js 1.03 MiB [compared for emit] (name: app)
runtime modules 668 bytes 3 modules
modules by path ./node_modules/ 979 KiB
modules by path ./node_modules/scheduler/ 31.8 KiB 4 modules
modules by path ./node_modules/react-dom/ 875 KiB
./node_modules/react-dom/index.js 1.33 KiB [built] [code generated]
./node_modules/react-dom/cjs/react-dom.development.js 874 KiB [built] [code generated]
modules by path ./node_modules/react/ 70.6 KiB
./node_modules/react/index.js 190 bytes [built] [code generated]
./node_modules/react/cjs/react.development.js 70.5 KiB [built] [code generated]
./node_modules/object-assign/index.js 2.06 KiB [built] [code generated]
modules with errors 6.59 KiB [errors]
./demo/demo.tsx 2.97 KiB [built] [code generated] [1 error]
./src/flowplayer.tsx 1.77 KiB [built] [code generated] [1 error]
./src/hooks.tsx 1.85 KiB [built] [code generated] [1 error]
./src/index.ts 137 bytes [built] [code generated]
ERROR in ./demo/demo.tsx 4:0-64
Module not found: Error: Can't resolve '@flowplayer/player/core/events' in 'C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\demo'
ERROR in ./demo/demo.tsx 5:0-43
Module not found: Error: Can't resolve<EMAIL_ADDRESS>in 'C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\demo'
ERROR in ./src/flowplayer.tsx 13:0-44
Module not found: Error: Can't resolve '@flowplayer/player' in 'C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src'
@ ./src/index.ts 1:0-38 3:15-25
@ ./demo/demo.tsx 3:0-39 10:43-56
ERROR in ./src/hooks.tsx 2:0-44
Module not found: Error: Can't resolve '@flowplayer/player' in 'C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src'
@ ./src/index.ts 2:0-40 4:0-25
@ ./demo/demo.tsx 3:0-39 10:43-56
ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src\flowplayer.tsx
./src/flowplayer.tsx
[tsl] ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src\flowplayer.tsx(2,40)
TS2307: Cannot find module '@flowplayer/player' or its corresponding type declarations.
@ ./src/index.ts 1:0-38 3:15-25
@ ./demo/demo.tsx 3:0-39 10:43-56
ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src\hooks.tsx
./src/hooks.tsx
[tsl] ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\src\hooks.tsx(2,36)
TS2307: Cannot find module '@flowplayer/player' or its corresponding type declarations.
@ ./src/index.ts 2:0-40 4:0-25
@ ./demo/demo.tsx 3:0-39 10:43-56
ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\demo\demo.tsx
./demo/demo.tsx
[tsl] ERROR in C:\Users\DELL\Downloads\react-flowplayer-0.2.0\react-flowplayer-0.2.0\demo\demo.tsx(4,32)
TS2307: Cannot find module '@flowplayer/player/core/events' or its corresponding type declarations.
webpack 5.4.0 compiled with 7 errors in 2971 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
Much help is appreciated.
.

I managed to download demo version 0.2.0 and run it.
When is it going to become an npm module?
I tried to include both the files for the component and custom hook directly and managed to run but get this error:
ReferenceError: Element is not defined     at C:\Users\DELL\Desktop\bfp-members\node_modules\@flowplayer\player\default.js:15:25429     at C:\Users\DELL\Desktop\bfp-members\node_modules\@flowplayer\player\default.js:1:84     at Object.<anonymous> (C:\Users\DELL\Desktop\bfp-members\node_modules\@flowplayer\player\default.js:1:163)     at Module._compile (internal/modules/cjs/loader.js:1063:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)     at Module.load (internal/modules/cjs/loader.js:928:32)     at Function.Module._load (internal/modules/cjs/loader.js:769:14)     at Module.require (internal/modules/cjs/loader.js:952:19)     at require (internal/modules/cjs/helpers.js:88:18)     at Object.@flowplayer/player (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:487:18)     at __webpack_require__ (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:23:31)     at Module../components/customHooks/useFlowplayer.tsx (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:292:76)     at __webpack_require__ (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:23:31)     at Module../components/FlowPlayerWrapper.tsx (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:111:95)     at __webpack_require__ (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:23:31)     at Module../pages/index.tsx (C:\Users\DELL\Desktop\bfp-members\.next\server\pages\index.js:466:87)
Any chance on how to solve it?

I just published 0.2 to NPM. Thanks for the report. If it won't work with that either feel free to re-open this.

I've updated the package but still couldn't get it to load on my NextJS app.
This is the error that keeps happening:
`C:\Users\DELL\Desktop\bfp-members\node_modules@flowplayer\react-flowplayer\lib\index.js:1
import Flowplayer from "./flowplayer";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.@flowplayer/react-flowplayer/ (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:436:18)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at Module../components/FlowPlayerWrapper.tsx (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:111:87)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at Module../pages/index.tsx (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:404:87)
at webpack_require (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:23:31)
at C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:91:18
at Object. (C:\Users\DELL\Desktop\bfp-members.next\server\pages\index.js:94:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)`
Is there support in which I could get in touch?
Thanks in advance!


Question about "variantplaner struct genotypes"

This is not a bug report but a simple question. :)
I have a situation where I seem to have too many input files for the variantplaner struct genotypes command...
Indeed, when doing the following
input=$(ls genotypes_dir/samples | xargs -I {} -x echo "-i genotypes/samples/"{} | tr '\n' ' ')

I hit a OSError: File name too long (os error 36) error when running
variantplaner -t 20 struct $(echo $input) genotypes -p genotypes/variants

So my question is : would I achieve the same result if I run the variantplaner struct genotypes command on each of my files separately ? i.e
variantplaner -t 20 struct -i file1.parquet genotypes -p genotypes/variants
variantplaner -t 20 struct -i file2.parquet genotypes -p genotypes/variants
variantplaner -t 20 struct -i file3.parquet genotypes -p genotypes/variants
variantplaner -t 20 struct -i file4.parquet genotypes -p genotypes/variants
...

Thanks for the clarification !

Actually this questoin applies to another case : if I am regularily adding new data, do I have to run the whole structuration again to include the new genotypes with
input=$(ls genotypes_dir/samples | xargs -I {} -x echo "-i genotypes/samples/"{} | tr '\n' ' ')
variantplaner -t 20 struct $(echo $input) genotypes -p genotypes/variants

or is there another way ?
Thanks a lot

A simplified command line is already planned for version 0.3. But it is also planned to add sequential addition options to avoid having to recalculate the single variant base and the structuring of genotypes on all variants.

That's great news !
If you need any help on this, just let me know ! ;)


Max Circular Subarray Sum

Added C++ code to find Maximum sum in a Circular Subarray

Description 📜
Added code to find maximum sum in a circular array.
Link
Fixes #5442

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[x] Competitive Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Please add my pull request.


Feature/economic model update

Added the economic Model
Additional Tests

Merged in https://github.com/usherlabs/x-twitter-nfts/pull/19


Support for SET_SPEED_1 effect

As per warning issues from dmf2mlm:
WARNING: SET_SPEED_1 effect conversion isn't implemented and will be ignored

Set Speed 1 and 2 effects have been implemented.


Investigate testing each providor separately

While I would like to be able to auto-test new CI providors, I think that, given the differences in how things like slugs and SHAs are computed from args and envs, it makes more sense to test each separately.

@thomasrockhu this is done, correct?

yah @drazisil


Assigning Hidden to a file/folder should throw on Linux

On Windows we can set Hidden flag in file/folder attributes.
Since .Net 5.0 this is supported for BSD-like OS-es (MacOS, FreeBSD)
https://manpages.debian.org/buster/freebsd-manpages/chflags.2freebsd.en.html
But it does not work on Linux. Currently PowerShell silently accepts Hidden flag - that is very amazing behavior: if an user sets the flag without error the user expects that the flag really is on the file/folder but it is not.
.Net tracking issue https://github.com/dotnet/runtime/issues/37301
Steps to reproduce
(Get-Item testfile).Attributes = 'Hidden'

Expected behavior
Throw unsupported exception.

Actual behavior
Silently pass but follow check shows that the file/folder has not the Hidden flag.

Environment data

pwsh 7.1 Preview3

@iSazonov fyi .net issue is fixed

@floh96 Unfortunately, the problem has not been completely resolved. We will need to learn this again while working on FileSystem Provider v2.


Discrepancy in Krittika vs Scalesim when using estimate mode.

Setting the bandwidth mode to CALC, results in scale-sim and krittika diverging in the following ways.

In Standalone scalesim-v2,

in single layer sim run method, if we use bw mode to CALC you end up setting estimate_bandwidth_mode to True, which ends up calling the service reads from read buffer estimate class.
In Krittika,

You end up setting estimate_bandwidth_mode to False, resulting in calling service reads from read buffer class.

These two have very different behaviors and one of them is wrong.

Hi @mmanchali3, great catch, that's an error in krittika. I will update the code. For the purpose of 8803 project, I would suggest using only USER mode.


Add adcs module

Hi there :wave:
this PR adds the adcs module that allows to enumerate Active Directory for PKI Enrollment Services. Can be quite useful, especially in the current situation with PetitPotam :)
I had only one target to test against. Not sure whether it works 100% reliably, but for my test system everything was fine:
$ crackmapexec ldap local.lab -u user -p password -M adcs
LDAP        <IP_ADDRESS>  389    LABDC100    [*] Windows Server ...
LDAP        <IP_ADDRESS>  389    LABDC100    [+] local.lab\user:password
ADCS                                         Found PKI Enrollment Server: CA01.local.lab
ADCS                                         Found PKI Enrollment Server: CA02.local.lab
ADCS                                         Found PKI Enrollment WebService: https://enroll01.local.lab/certsrv
ADCS                                         Found PKI Enrollment WebService: https://enroll02.local.lab/certsrv

Tested it's working nice I had the same idea few months ago but never took the time to do it ! Thanks :)


Make all variable names consistent

We're currently using pkey, primary_key, and primaryKey.
Also using delta_table and deltaTable.
Should use consistent conventions throughout codebase.

What do you think about having black as a pre-commit hook, enforcing PEP8?

@robertkossendey - yea, black would be a good addition.  You want to take a stab at adding it?

@MrPowers Will do 👍

We've fixed this programatically.


Somewhat swallowing the HttpRequestExceptions

In EndPointBase.cs lines 150-175 the original exceptions are being swallowed somewhat.  The http status code of your rethrown exception is null, can you make it the same as the original?  Also the original content coming from Anthropic is json parseable.  But you write some plaintext in front of the json so it's not parseable any more.  Here's an example I got (please set HttpStatusCode to 529!) and your exception handling code below that.
HttpRequestException: Error at https://api.anthropic.com/v1/messages (https://api.anthropic.com/v1/messages) with HTTP status code: 529. Content: {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}
Code:

 }
                catch (Exception e)
                {
                    resultAsString =
                        "Additionally, the following error was thrown when attempting to read the response content: " +
                        e.ToString();
                }
                if (response.StatusCode == System.Net.HttpStatusCode.Unauthorized)
                {
                    throw new AuthenticationException(
                        "Anthropic rejected your authorization, most likely due to an invalid API Key. Full API response follows: " +
                        resultAsString);
                }
                else if (response.StatusCode == System.Net.HttpStatusCode.InternalServerError)
                {
                    throw new HttpRequestException(
                        "Anthropic had an internal server error, which can happen occasionally.  Please retry your request.  " +
                        GetErrorMessage(resultAsString, response, url, url));
                }
                else
                {
                    throw new HttpRequestException(GetErrorMessage(resultAsString, response, url, url));
                }

@nganju98 I've cleaned this up some in my working branch.  Now the json parseable message will come through directly in non Auth/500 instances.  In Net 6+ you'll also get the statuscode in the request exception, in netstandard 2.0 it's not an option, I had to carve it out.


Parse container stop signal based on sandbox platform

This PR fixes an issue for LCOW where container stop signals are parsed based on the host machine platform instead of on the sandbox's platform. This caused an issue where LCOW stop signals would be parsed as windows signals and thus would be considered invalid.

@ambarve @dcantah @anmaxvl fyi


Added operation Cookie

Hello,
I added a new operation called cookie!
I really like your project! :-D It is awesome!

Hello - please add a spec, and remove the package-lock.json changes, and I'll merge.

Warning: This PR will be closed on 31st Jan if no spec is supplied.


docs(private-networks): add RFC 6598 address range

docs LGTM. Nice find.

Documentation LGTM.

Jenkins made it past the docs.


Ensure documentation versions are up-to-date

The two first commits enable the versions number in documentation to stay up-to-date without updating them manually. Extraction from project.clj is not the prettiest thing around but I don't think this is worth doing complex stuff.
The two last commits are unrelated, I can do a separate PR if needed.

Thank you!


Unable to get text from div

I'm unable to get the text of a div tag with any of the following method calls:
page.patient_name
page.patient_name_element.text
page.div_element(class: 'patientName')
The text comes back as an empty string.  We are using phantomjs, cucumber and pageObjects.  I did notice a few seemingly unrelated javascript errors on the page.  I have a wait_until that waits for the element to be visible.
If I call page.html I see the text of the div tag.  I can get the text if I create a monkey patch on PageObject::Elements::Div and call the following code: self.html.gsub(/<div.*?>/,'').gsub('','').
Any thoughts, suggestions, comments?

do you have example HTML that can reproduce the behavior?
what happens if you call the driver directly?, ie if using Watir: @browser.div(class: 'patientName').text

I'm closing this due to inactivity. If you this is still an issue or you have more questions, you can post here or also you can also ask on Stack Overflow using the page-object-gem tag.


Windows in Window List crash on Linux Mint 20.2

Ever since i updated to Linux Mint (Cinnamon) 20.2 gnome-pie crashes from the Window List in the panel. The app window is still open, but there is no more entry in the window list. Also, when I access a filepath to a folder through a pie, the same behaviour occurs. Window in Window List crashes, App Window still accessible through Alt+Tab

Hi there! Thanks for the report - even if I am unsure whether I understood the problem correctly :)
Anyways, could you try to execute this command in a terminal
killall gnome-pie && gnome-pie

and then open your menus and post the output here?

Hey. Thx for the quick answer!
Yeah its hard to describe. I've made a screenshot to show what I mean. Those are 3 windows in the window list (thats how the applet for open windows is called in cinnamon). I've used the command you've posted, and by that started gnome-pie in terminal, but I got completley no ouput "Started happily..." after that nothing, also not after this behaviour happened. I've opened "Downloads" and "Documents" through the default Ctrl+Alt+B Pie. The "Documents" folder had the behaviour. It becomes red and once i hover over the red "Documents" icon, it disappears from the window list, but the window itself stays open, its just not accessible through the window list anymore. This happens with all kind filepaths i can open with gnome pie. but it doesnt happen 100% of the time. the gnome settings window in the window list also sometimes crashes, turns red and disappears like "Downloads".
Sorry for the rather colloquial description, i'm not the most tech savvy person :P

Well, I have no idea what could be going on here. Do they re-appear if you restart Cinnamon (Alt+F2, enter "r", then enter)? You could also try to inspect the logs of Cinnamon. I think there's a tool called LookingGlass. Should be accessible through the panel (Right Click - Look for Errors - Looking Glass; or something similar). Linux Mint also has some build-in log viewer, I think. It should be somewhere in the application menu...

okay. it seems to be issue on cinnamons side and probably has nothing to do with gnome-pie. it's just the first app where i experienced this behaviour. here's an issue thread for cinnamon, where people describe the same behaviour with libreoffice writer instances.
https://github.com/linuxmint/cinnamon/issues/10202
and... i just got a cinnamon update in the update manager. the behaviour changed, although not completely fixed. at least now the entries don't disappear from the window list anymore.
thanks again for your quick replies. i appreciate that!
Btw, will there, by any chance, be a cinnamon compatible version of fly-pie? i really love gnome-pie and so far it's the best launcher application for me. so i would love to be able to give fly-pie a try to.
Cheers.

As Cinnamon got forked around eight years ago, I am pretty sure that it's not possible to support both GNOME Shell and Cinnamon from the same code base. If someone wants to fork Fly-Pie for Cinnamon, that would be great, but I won't have the time to do this... I guess it would be a lot of work (if even possible at all, Fly-Pie is kind of deeply integrated into GNOME Shell).


Gitea support

It would be great if coolify could integrate with Gittea instances like codeberg.

Is it likely that Gitea Support will land in the next few weeks? I'd like to deploy some projects with Coolify this spring; trying to gauge whether I should wait or copy some projects over to GitLab to facilitate that.


Bos2014

This pull request is to add samples from the following publication:

This PR is for

[ ] Ancient Microbiome
[ ] sedaDNA
[x] Ancient Pathogen

Checklist

[x] Publication is published (preprints currently not accepted)
[x] Checked the publication is not already in the database
[x] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)
[x] Checked the list follows conventions as described in the corresponding sample type's README file
[x] (If applicable) Updated the JSON files under /assets/enums with new categories (e.g. material or archive).
[ ] Does your PR pass validation checks?

If you do not know how to check errors in failed validation checks, expand here

Press 'details' next to the failed check.
Expand the test ancient <list> line with the red X next to it.
Scroll to the bottom of the log, and look for a DatasetValidationError (usually the last line).
Read the error, and fix accordingly. Check the README for a given list for more guidance. If in doubt, ask!

I am deleting this branch and making a new one


'Entity' only refers to a type, but is being used as a value here.

I am using 4.0-beta and am trying to create the below schema.
todo.schema.ts
import { Schema, Entity } from "redis-om";

class Todo extends Entity { }
const todoSchema = new Schema(Todo, {
  name: { type: 'string' },
  description: { type: 'string' },
  createdAt: { type: 'date', sortable: true },
  done: { type: 'boolean' },
  favorited: { type: 'boolean' }
}, { dataStructure: 'JSON' });

export { Todo, todoSchema };

When I do that I get the following error.
import Entity
Defines the objects returned from calls to repositories .

'Entity' only refers to a type, but is being used as a value here.ts(2693)

If I rename the file to .js then the error seems to go away.
Can somebody please let me know how I can resolve the issue?
Thanks in advance.

I took a second look at the Readme and it looks like in 4.0 we don't need to have the below line anymore.
class Todo extends Entity { }

Is my assumption right?

That is correct. Entity is simply there for TypeScript now. It's not a class, just a type.

@guyroyse
Thanks for the prompt response and confirmation.


Repeated BUG

player can Repeated place block, and break get money and exp
how to fix?
and this https://github.com/Zrips/Jobs/issues/624
still no fix
still happen
Server Type (Spigot/Paperspigot/etc): paper
Server Version (using /ver): 1.14.4
Jobs Reborn 4.15.0-DevBuild

player can Repeated place block, and break get money and exp

Yes, the player get money if he/she breaks them.
Also, install the dev-version from releases page.


ENH: Add sarge support

example::
pyline '"rm -f {0}; ln -s ../formulas/{0}-formula/{0}".format(w[8])'

This is also somewhat possible with el https://github.com/westurner/dotfiles/blob/develop/scripts/el

echo -e '1\n2\n3' | el -v -x 'echo "number {} #"'
echo -e '1\n2\n3' | el -v --each -x 'echo "number {} #"'
``

This is also somewhat possible with el:

| Docs: https://westurner.org/dotfiles/usage#el
| Src: https://github.com/westurner/dotfiles/blob/develop/scripts/el

echo -e '1\n2\n3' | el -v -x 'echo "number {} #"'
echo -e '1\n2\n3' | el -v --each -x 'echo "number {} #"'
``


how to set props value in sequence by code?

How to set props value in sequence by code? My purpose is to load sequence from saved file and I can continue editing animation from previous animation that is stored in a file.
Thanks

I save animation data using studio.createContentOfSaveFile("myproject") to variabel animationData ans save it to file. And after load animationData from file, I want to rebuild sequence animation. But I got nothing. What's wrong in my code?
        studio.setSelection([ObjStudio]);
        const objProp =
          _this.animationData.sheetsById.Objects.sequence.tracksByObject[
            objName
          ];
        if (objProp) {
          const propKeys = Object.keys(objProp.trackIdByPropPath);
          for (var i = 0; i < propKeys.length; i++) {
            let propValue =
              objProp.trackData[objProp.trackIdByPropPath[propKeys[i]]];
            if (propValue.keyframes.length > 0) {
              let propname = JSON.parse(propKeys[i]);
              for (var j = 0; j < propValue.keyframes.length; j++) {
                sheet.sequence.position = propValue.keyframes[j].position;
                studio.transaction(({ set, unset }) => {
                  if (propname.length == 1) {
                    set(
                      ObjStudio.props[propname[0]],
                      propValue.keyframes[j].value
                    );
                  } else {
                    set(
                      ObjStudio.props[propname[0]][propname[1]],
                      propValue.keyframes[j].value
                    );
                  }
                });
              }
            }
          }
        }

The code may work but before using set function, prop must have been manually right click and choose sequence.
I normally save content and animationContent both in a file. When i open the file I Create a new project with saved animationContent. See a ref https://github.com/vimlesh1975/ReactCasparClient/blob/b98222f8a19eeac8cb8b09ae867d9bf1ea56dd52/client/src/theatrejs/WebAnimator.jsx#L1927

The code may work but before using set function, prop must have been manually right click and choose sequence. I normally save content and animationContent both in a file. When i open the file I Create a new project with saved animationContent. See a ref https://github.com/vimlesh1975/ReactCasparClient/blob/b98222f8a19eeac8cb8b09ae867d9bf1ea56dd52/client/src/theatrejs/WebAnimator.jsx#L1927

Thanks vimlesh1975, but right click and choose sequence is impossible if we have many keyframes :)
I think we need new API to create sequence from code.

I got the solution. After load project, sequence should be play to show sequence UI editor
I create the test project here
https://codepen.io/wahono77/pen/RwLNJXK


Icon request: IBM

URL of the site or app (required): https://www.ibm.com/
Logo resources for the icon (optional, but recommended): https://www.ibm.com/design/language/ibm-logos/8-bar

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/IBM.png


Failed to create secure directory (/home/selenium/.config/pulse): Permission denied

2018-03-16T09:05:45.622612898Z<PHONE_NUMBER>622	Marionette	DEBUG	Received DOM event "DOMContentLoaded" for "http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970"
2018-03-16T09:07:11.658001489Z 2018/03/16 17:07:11 http: proxy error: context canceled
2018-03-16T09:07:13.489359165Z 2018/03/16 17:07:13 http: proxy error: context canceled
2018-03-16T09:07:20.721212198Z<PHONE_NUMBER>721	Marionette	DEBUG	Received DOM event "pageshow" for "http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970"
2018-03-16T09:07:20.725788412Z<PHONE_NUMBER>725	webdriver::server	DEBUG	<- 200 OK {"value": {}}
2018-03-16T09:07:20.731031964Z<PHONE_NUMBER>728	webdriver::server	DEBUG	-> POST /session/1465d5e7-8df5-42ad-b23e-83503e18ed8c/elements {"using":"css selector","value":".buyBtn"}
2018-03-16T09:07:20.762559770Z<PHONE_NUMBER>762	webdriver::server	DEBUG	<- 200 OK {"value":[{"element-6066-11e4-a52e-4f735466cecf":"647930ce-bfa4-40e4-961f-10aaff4d4b61"}]}
2018-03-16T09:07:20.767192991Z<PHONE_NUMBER>765	webdriver::server	DEBUG	-> POST /session/1465d5e7-8df5-42ad-b23e-83503e18ed8c/url {"url":"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10002323760"}
2018-03-16T09:07:20.777808416Z<PHONE_NUMBER>777	Marionette	DEBUG	Received DOM event "beforeunload" for "http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970"
2018-03-16T09:07:21.682966574Z<PHONE_NUMBER>682	Marionette	DEBUG	Received DOM event "pagehide" for "http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970"
2018-03-16T09:07:21.688238320Z<PHONE_NUMBER>688	Marionette	DEBUG	Received DOM event "unload" for "http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970"
2018-03-16T09:07:22.432351279Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied
2018-03-16T09:07:22.455430804Z fork(): Operation not permitted
2018-03-16T09:07:22.487724354Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied
2018-03-16T09:07:22.487753847Z fork(): Operation not permitted
2018-03-16T09:07:22.487757520Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied
2018-03-16T09:07:22.487760597Z fork(): Operation not permitted

run multiple browser instances will logs this error,
only the first docker container will not logs error,
for example
CONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS              PORTS                    NAMES
2ea10865c3b9        selenoid/firefox:58.0         "/bin/sh -c /entrypo…"   9 seconds ago       Up 8 seconds        4444/tcp                 focused_boyd
5ba5dc05050f        selenoid/firefox:58.0         "/bin/sh -c /entrypo…"   9 seconds ago       Up 8 seconds        4444/tcp                 vigorous_mccarthy
74cbf68aa4c1        aerokube/selenoid:1.5.2       "/usr/bin/selenoid -…"   43 minutes ago      Up 43 minutes       <IP_ADDRESS>:4445->4444/tcp   selenoid
c97843a0f61b        aerokube/selenoid-ui:v1.5.6   "/selenoid-ui --sele…"   About an hour ago   Up About an hour    <IP_ADDRESS>:8080->8080/tcp   selenoid-ui

one firefox with error, one not
this permission error will trigger timeout error quite possibly.

@ash0080 thank you for the feedback. Seems to be permissions issue. Either because selenium user is not in some pulseaudio group or because pulse user has no permissions in /home/selenium directory.

@vania-pooh  Is this '/home/selenium/.config/pulse' a path in container?   Any way to quick fix it?

@ash0080 will try to build Firefox 59 image with potential fix.

@ash0080 unfortunately can't reproduce this issue. Could you provide an example scenario how to reproduce it?

ubuntu 16.04 64bit / 1 core vps
./cm selenoid configure --browsers firefox --last-versions 1 --tmpfs 128 \
&& ./cm selenoid start --port 4445 --args "-limit 2 -service-startup-timeout 60s -session-attempt-timeout 60s -session-delete-timeout 30s -timeout 120s"

const CONFIG = require('../globle_config')
const webdriverio = require('webdriverio')
const options = {
  host: '',
  port: 4445,
  connectionRetryCount: Number.MAX_VALUE,
  sync: false,
  debug: true,
  desiredCapabilities: {
    browserName: 'firefox',
    // 'moz:firefoxOptions': {
    //   'args': ['-headless']
    // },
    maxInstances: 2,
    version: '58.0',
    unexpectedAlertBehaviour: 'accept'
  }
}

module.exports = webdriverio.remote(options)

@ash0080 ok, two parallel requests to the same session. Let me try this.

@vania-pooh actually no matter parallel or sequence call will both products this error

Could be related to https://github.com/aerokube/selenoid/issues/956.


DateRangePicker issues in a Popover

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
We've been trying to use the DateRangePicker in a Popover and have issues with the control closing prematurely.
Pretty much any click in the control causes it to close, this means that you can't navigate months, and if you click on a start date the control closes and you have to reopen it to select the end date.
Based on some other issues we tried displaying the form in a Popper, for the DateRangePicker that did work, but it makes Select controls unusable.  Any click on them causes the containing Popper to close.
This is a desktop and not a mobile use case.
Expected Behavior 🤔
Some popup like behavior should work with both Select and DateRangePicker at the same time.
Steps to Reproduce 🕹
Here's a simple example that shows both behaviors: https://codesandbox.io/s/github/ggascoigne/date-picker-bug
The Popover has a Select that works and a DateRangePicker that doesn't, the Popper has a working DateRangePicker and a broken Select.
Context 🔦
We have a popup that displays a number of filtering fields that are then applied to a table.  The popup is pretty transient, with filters applied onBlur and on return.
Your Environment 🌎

Tech
Version

@material-ui/core
v4.11.0

@material-ui/pickers
v4.0.0-alpha.8

Note that I tried this same example with a local build of the latest 6a09d98daf61021beb9b9a56ad4a0c0f0a904cdc version and it appears  to have the same behavior, which is a bit odd, I'd have expected that https://github.com/mui-org/material-ui-pickers/pull/1850 might have effected this.

Duplicate of #1852


chore: release 2.7.0

:robot: I have created a release *beep* *boop*
2.7.0 (2019-08-23)
Bug Fixes

file search needs full owner/repo (#245) (1757a9e)

Features

add ReleasePRFactory (#247) (e78fd89)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/release-please/releases/tag/v2.7.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Only run Mac devicelab recipe tests on x64

Addresses the part of https://github.com/flutter/flutter/issues/119780 caused by https://github.com/flutter/flutter/pull/119762
Mac devicelab/devicelab_drone bots should not run on the arm machines.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Closing in favor of reverting https://github.com/flutter/flutter/pull/119762 completely: https://github.com/flutter/flutter/pull/119784


Added crouch statements to rewinddata

Phase rewind will record player's crouch statements, make it less possible to stuck in a wall. Also fixed activating multiple amped weapons at the same time.

Also fixed activating multiple amped weapons at the same time.

This should be a separate PR (and might be the same as #500)


Error messages to fix #27

We want to update all error messages to be as human friendly as possible.
fixes #27

Pull Request Test Coverage Report for Build 216

7 of 23 (30.43%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 23.744%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/plugins/install.go
0
16
0.0%

Totals

Change from base Build 214:
0.1%

Covered Lines:
293

Relevant Lines:
1234

💛  - Coveralls


Online Course exercises not visible for students

Describe the bug
Online course exercises are not visible to students even though there are exercises and visible to instructors.
To Reproduce

Login as Student Account
Go to a course where online course is enabled
Click on exercises
Verify no exercises are visible

Expected behavior
This can be configurable if the instructor does not want students to see the exercises rather than launch over LTI.
Screenshots

Which version of Artemis are you seeing the problem on?
6.5.3
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response

This is not a bug but intended functionality. For external systems such as edx it is necessary that students navigate into Artemis using LTI otherwise the scores cannot be reported back

Since it is intentional I am closing this issue.


Creating more than one gate not working.

Hi everybody 👋 ,
If trying to create more than one gate, the CREATE_GATE_CONFIGURATION_MUTATION in web/api/create-gate.js throws an error:
{
   "errors": [
     {
       "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 1ab87247-de9f-4753-9a83-265c36820762 (include this in support requests).",
       "extensions": {
         "code": "INTERNAL_SERVER_ERROR",
         "requestId": "1ab87247-de9f-4753-9a83-265c36820762"
       }
     }
   ]
 }

I tried it with all possible combinations of names, discount types, products and segments but no combination did the trick.
Best,
Hagen

Hi @h4gen, Chris from Shopify. Thanks for reaching out. We did notice an error on our end and have patched, can you try again and let me know if you still get the error?

Hi @h4gen, Chris from Shopify. Thanks for reaching out. We did notice an error on our end and have patched, can you try again and let me know if you still get the error?


Can not recursively exclude files from build

Hello,
It looks like it's impossible to add entire directory to exclude from build. Whenever I'm trying to exclude a folder containing more than one file with command <Content Remove="Repos\*\Scripts\Inserts\*.sql" />, it throws an error:

---> Microsoft.SqlTools.ServiceLayer.BatchParser.BatchParserException: Incorrect syntax was encountered while parsing '
'.
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.RaiseError(ErrorCode errorCode, Token token, String message) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 621
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.RaiseError(ErrorCode errorCode, String message) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 612
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.Expect(LexerTokenType lexerTokenType) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 217
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.ParseInclude() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 272
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.ParseLines() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 394
at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.Parse() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 232
at MSBuild.Sdk.SqlProj.DacpacTool.ScriptParser.Parse() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptParser.cs:line
27
at MSBuild.Sdk.SqlProj.DacpacTool.ScriptParser.CollectFileNames() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptParser.cs:line 34
at MSBuild.Sdk.SqlProj.DacpacTool.ScriptInspector.AddIncludedFiles(FileInfo file) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptInspector.cs:line 28
at MSBuild.Sdk.SqlProj.DacpacTool.Program.InspectIncludes(InspectOptions options) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/Program.cs:line 149
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Delegate.DynamicInvoke(Object[] args)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext()

Attached you can find file system causing an error

@kijewskimateusz Thanks for reporting. Have you tried using a double * instead of a single one? So for example <Content Remove="Repos\**\Scripts\Inserts\*.sql" />? I think that is the syntax you need when you want to include subfolders.
If that doesn't help, please share the entire output of dotnet build so we can further diagnose the issue.

Hello, sorry for the significant delay while getting back to you. Unfortunately, the issue still persists, when I'm using doubled **. I've also found out that the issue only happens when allocating items to be excluded within subdirectories. They are recursively selected while stored within the main directory.
Attached you'll find my copy of the output window, unfortunately in Polish, but also I've prepared you sample repository with a solution for easy defect replication here - https://github.com/kijewskimateusz/SQL-CICD-Solution.git
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MBP-Kamila:SQL-CICD-Solution Kamila$ dotnet build
Microsoft (R) Build Engine 16.9.0+57a23d249 dla platformy .NET
Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeżone.

  Trwa określanie projektów do przywrócenia...
  Wszystkie projekty są aktualne na potrzeby przywrócenia.
  Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   ---> Microsoft.SqlTools.ServiceLayer.BatchParser.BatchParserException: Incorrect syntax was encountered while parsing '
  '.
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.RaiseError(ErrorCode errorCode, Token token, String message) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 621
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.RaiseError(ErrorCode errorCode, String message) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 612
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.Expect(LexerTokenType lexerTokenType) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 217
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.ParseInclude() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 272
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.ParseLines() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 394
     at Microsoft.SqlTools.ServiceLayer.BatchParser.Parser.Parse() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/sqltoolsservice/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs:line 232
     at MSBuild.Sdk.SqlProj.DacpacTool.ScriptParser.Parse() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptParser.cs:line 27
     at MSBuild.Sdk.SqlProj.DacpacTool.ScriptParser.CollectFileNames() in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptParser.cs:line 34
     at MSBuild.Sdk.SqlProj.DacpacTool.ScriptInspector.AddIncludedFiles(FileInfo file) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/ScriptInspector.cs:line 28
     at MSBuild.Sdk.SqlProj.DacpacTool.Program.InspectIncludes(InspectOptions options) in /home/runner/work/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj/src/DacpacTool/Program.cs:line 149
     --- End of inner exception stack trace ---
     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Delegate.DynamicInvokeImpl(Object[] args)
     at System.Delegate.DynamicInvoke(Object[] args)
     at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
     at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
/Users/Kamila/.nuget/packages/msbuild.sdk.sqlproj/1.11.4/Sdk/Sdk.targets(163,5): error MSB3073: Polecenie „...” zostało zakończone przez kod 1. [/Users/Kamila/Mateusz/SQL-CICD-Solution/dotnet build.csproj]

Kompilacja NIE POWIODŁA SIĘ.

/Users/Kamila/.nuget/packages/msbuild.sdk.sqlproj/1.11.4/Sdk/Sdk.targets(163,5): error MSB3073: Polecenie „...” zostało zakończone przez kod 1. [/Users/Kamila/Mateusz/SQL-CICD-Solution/dotnet build.csproj]
    Ostrzeżenia: 0
    Liczba błędów: 1

Czas, który upłynął: 00:00:02.05```

After having looked at the stacktrace it seems this is failing in the calculation of files that are included from the pre- and post-deployment scripts. You'll want to look at Pre-Deployment\Script.PreDeployment.sql and Post-Deployment\Script.PostDeployment.sql and see what's included from there (using the :r <file>.sql syntax) to figure out where the error is coming from.
@jeffrosenberg We should probably improve the diagnostics here. I think we should at least provide a pointer to the file where things are failing. If I remember correctly you've added this feature. Do you see any possibilities to do that?

Hello,
After tweaking PostDeployment file I confirm that it's working. It was an error on my side, but I agree that error messages are quite difficult to understand for someone not working with dotnet
Thanks!

@jmezach looking briefly at the code, unfortunately I think that's largely managed in the BatchParser submodule, rather than our own code. This is the entirety of the code captured by our own code in the stacktrace:
private void Parse()
{
    if (! _parsed)
    {
        _parser.Parse();
        _parsed = true;
    }
}

public IEnumerable<string> CollectFileNames()
{
    Parse();
    return _includedFileNames;
}

This is a common gripe at my workplace, too, and has been since the .sqlproj days -- to the point that we've started prefixing every included file with a PRINT line with the included filename to help improve troubleshooting.
Given what a pain this is, I'm happy to look at it further in the next few days. Maybe at the very least, if I can't find a way to fix the problem, I can add a warning about the issue to the readme, perhaps with the recommendation of the workaround my team uses? It's no substitute for a proper exception, but if it's all we can do it's better than nothing.


Health Insurance Cross Sell Prediction

Pull Request for ML-Crate 💡
Issue Title: Health Insurance Cross Sell Prediction

Info about the related issue (Aim of the project) : To Predict the Customer response will they be buying Insurance or not based on past and vehicle data
Name: Tanuj Saxena
Email ID for further communication<EMAIL_ADDRESS>GitHub ID: https://github.com/tanuj437
Idenitfy yourself: Contributor SSOC'24

Closes: #706 number that will be closed through this PR
Describe the add-ons or changes you've made 📃
So initially i have done the basic EDA and to check the correlation and distribution of data. Based on the Description and info of column have converted then into standard format for model fitting. Then Fitted the model in 7 models where all get similar accuracy 88% major difference where only in f1, precision value.
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
So for testing i took one data set example from the dataset itself of test.csv which data havn't shown to the model for evaluation and it correct predicted the response
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@abhisheks008 tried more model but none of them crossing 89% that highest i could reach...
any other way if you know i can go that way too

@abhisheks008 tried more model but none of them crossing 89% that highest i could reach... any other way if you know i can go that way too

Have you tried after hyperparameter tuning?

@abhisheks008 tried more model but none of them crossing 89% that highest i could reach... any other way if you know i can go that way too

Have you tried after hyperparameter tuning?

yes i did that and also tried reducing few features also


Create Project “test”

Automatically generated by Netlify CMS

👷 Deploy Preview for docs-3dscannerapp processing.
🔨 Explore the source changes: 3c3fe127f637a378f50713acfc831499fafa3157
🔍 Inspect the deploy log: https://app.netlify.com/sites/docs-3dscannerapp/deploys/61ca6c96d82e830007e09f1f


[User Access] PM user access grant by HRD

HRD Dashboard: Edit / add approval for PMs to edit their own property/units real-time (no review process)
Exploring with Exygy / Bloom plans to build from (see issue #124 )

@willrlin I added a blocked by question label, but uncertain that still holds (except re: #124 ). Can you pls comment with any outstanding questions?

I don't think there are any outstanding questions - this issue can just track ensuring that Exygy's work in this area meets our needs once it's finished. They have confirmed the ability for the admin account to add partner accounts and assign them to listings. However, HRD wouldn't be able to turn on editing for a single partner account, it would have to be all partner accounts or no partner accounts. At least that's how I'm understanding this feature.


[Bug] Typed http rest path parameter is not supported

Description:
Ballerina resource functions allows one of 'int', 'string', 'float', 'boolean', 'decimal' types as path params. So the Rest param can be a subtype of one of this type. Currently, http is giving an error for this at runtime
Steps to reproduce:
Run the following Sample:
import ballerina/http;

type Path string;

service on new http:Listener(9090) {

     resource function get [Path ...path]() {}
}

$ bal run

Compiling source
        tharmigan/constraint_tests:0.1.0

Running executable

error: incompatible path parameter type: 'test:Path[]'

Affected Versions:
Ballerina SwanLake 2201.5.0

This also happens for union of singleton types in the path :
service /api/v3 on ep0 {

    resource function get users/meetings/["Admin"|"HR"|"Engineering" group]() {
    }
}


Have no idea why. Worked yesterday.

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\io\formats\printing.py", line 229, in pprint_thing
result = as_escaped_unicode(thing)
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\io\formats\printing.py", line 192, in as_escaped_unicode
result = compat.text_type(thing)  # we should try this first
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\core\base.py", line 72, in repr
return str(self)
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\core\base.py", line 51, in str
return self.unicode()
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\core\series.py", line 988, in unicode
max_rows=max_rows, length=show_dimensions)
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\core\series.py", line 1032, in to_string
result = formatter.to_string()
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\io\formats\format.py", line 251, in to_string
fmt_values = self._get_formatted_values()
File "C:\Users\admin\Anaconda3\lib\site-packages\pandas\io\formats\format.py", line 241, in _get_formatted_values
float_format=self.float_format, na_rep=self.na_rep)
File "C:\Users\admin\Anaconda3\lib\

The error is incomplete, please copy it from the error dialog and paste it again here.

It also might be helpful to know exactly what didn't work yesterday, in case the error itself isn't sufficiently illuminating.

Closing because of lack of response.


Make Timelines and Rolodexes better

Timelines and Rolodexes act like XMLHttpRequest() and they aren't designed to be shared, unlike most other Laboratory data. It would be better to have them return objects which are valid EventTargets if that is in any way possible, or spoof it somehow if it isn't.

Done for all requests, not just Timelines and Rolodexes, in https://github.com/marrus-sh/laboratory/commit/4859a4b3aa9180222caf8df19fde78825e8f9261


APEL Board not working under Fedora and Deb 12

Describe the bug
Script seems to run successfully. In fedora, runs as expected. In Debian 12, asks to update kernel, allows, notifies an issue regarding unstable CLI. After warm reboot, no audio, "Dummy output" availible on both distros neither works.
Boardname
Apel. tested on 2 known good boards.
Logs
debug-logs-Apel-2024-12-19_11h40m.tar.gz

Reinstalled Fedora 41.
Immediately ran script- worked.
Rebooted and audio works.
Updated system through software.
Rebooted and audio no longer works.
Rolled back kernel - no change.
Re-installed via script, script ran very quickly but didn't fix the issue.
Uninstalled directory, reinstalled, reran script- no change.
Reinstalled Fedora 41, set software updates to "Manual"
Ran script, audio works and survives the reboot.
-Something in the update package breaks the script-, not sure what other dependancies the script uses to verify if it is in the package, but might be a temp solution.

-Something in the update package breaks the script-, not sure what other dependencies the script uses to verify if it is in the package, but might be a temp solution.


Slot values are empty

Dear All
since a cuple of days the values of the slots defined in the skill stays empty, any suggestion? was there a change on Amazon?
Martin

Did you test your skill with Developer Console? If so, is the behavior you see when in developer console the same as when making real requests?
Can you provide more information about the issue you see and your use case?
Also can you tell more your usage of the library, do you use version released to NuGet or forked this repository?
We have few changes merged recently to repository, but not deployed new version to NuGet.

This is my request:
I am using the lates NUGET 1.6 Version.
I have removed  access token. user id, etc out of this request.
{ 	"version": "1.0", 	"session": { 		"new": true, 		"sessionId": "amzn1.echo-api.session.732fb7ec-77bd-477d-b53a-6e515c6225f2", 		"application": { 			"applicationId": "amzn1.ask.skill.5786bdf8-7eb5-4f3a-8eb6-366e3c407ded" 		}, 		"user": { 			"userId":  		} 	}, 	"context": { 		"Viewports": [ 			{ 				"type": "APL", 				"id": "main", 				"shape": "RECTANGLE", 				"dpi": 160, 				"presentationType": "STANDARD", 				"canRotate": false, 				"configuration": { 					"current": { 						"video": { 							"codecs": [ 								"H_264_42", 								"H_264_41" 							] 						}, 						"size": { 							"type": "DISCRETE", 							"pixelWidth": 1024, 							"pixelHeight": 600 						} 					} 				} 			} 		], 		"Viewport": { 			"experiences": [ 				{ 					"arcMinuteWidth": 246, 					"arcMinuteHeight": 144, 					"canRotate": false, 					"canResize": false 				} 			], 			"shape": "RECTANGLE", 			"pixelWidth": 1024, 			"pixelHeight": 600, 			"dpi": 160, 			"currentPixelWidth": 1024, 			"currentPixelHeight": 600, 			"touch": [ 				"SINGLE" 			], 			"video": { 				"codecs": [ 					"H_264_42", 					"H_264_41" 				] 			} 		}, 		"System": { 			"application": { 				"applicationId": "amzn1.ask.skill.5786bdf8-7eb5-4f3a-8eb6-366e3c407ded" 			}, 			"user": { 				"userId": "amzn1.ask.account.AHNUFGGTEPHRJIK4M6VMPVEBTSJJGQX3UONI3T2AYUIT6RKOQDLBKVKO5TUEKU3ODQXM4T4MYH7BUDGU25RIVUI2BYLOKAQLZUQUKQZDK4BYWN3ZUXVQI7OUTNZINOBV5H6ZXSOEHEYCYDKYS5RC4LNO3O6BTCFSGTY4CFOGAAU4DYU4MRY3F4LEP2EFGR6HOJWW7IHUYQZ2SNQ" 			}, 			"device": { 				"deviceId":  				"supportedInterfaces": {} 			}, 			"apiEndpoint": "https://api.eu.amazonalexa.com", 			"apiAccessToken":  		} 	}, 	"request": { 		"type": "IntentRequest", 		"requestId": "amzn1.echo-api.request.209bae9f-d43c-4260-83b8-71c364fa1066", 		"locale": "de-DE", 		"timestamp": "2020-09-13T05:15:42Z", 		"intent": { 			"name": "SolarAnlage", 			"confirmationStatus": "NONE", 			"slots": { 				"questions": { 					"name": "questions", 					"resolutions": { 						"resolutionsPerAuthority": [ 							{ 								"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.5786bdf8-7eb5-4f3a-8eb6-366e3c407ded.questions", 								"status": { 									"code": "ER_SUCCESS_MATCH" 								}, 								"values": [ 									{ 										"value": { 											"name": "Status", 											"id": "ec53a8c4f07baed5d8825072c89799be" 										} 									} 								] 							} 						] 					}, 					"confirmationStatus": "NONE", 					"source": "USER" 				} 			} 		} 	} }
as you can see my slot is questions and the value is status, this was working since 2 years now.
Current Situation:
after handling the request
string name = nameSlot.Value;
this value stays emty but should contain "Status"
Cheers
Martin

Ok, I can only see one slot in your request named "questions" and it doesn't have clearly resolved value. I presume Alexa doesn't have confidence in what value slot should have.
You could verify if anything changed in your slots configuration in Alexa Skill Builder.
Request above does however have some value inside resolutions, that you can access something like:
string name = intent.Slots["questions"].Resolutions.ResolutionsPerAuthority[0].Values[0].Value.Name

Hi,
as I wrote above, it was working since 2 years, I did not change anything, it stops working out of the blue.
Martin

Gotcha. Yeah, clearly request that you shared doesn't contain what you expect it to have. So something must have happened with Alexa before Skill receives a request and this library comes into play.
If nobody here knows answer you are looking for, you might need to contact Alexa support or do your own investigation in Developer Console.
I'll leave this open to see if others started to face any issues with their skills too.

Thanks,
I have one last question you are writing that " I can only see one slot in your request named "questions" and it doesn't have clearly resolved value"
what do you mena it does not have a resolved value, can you give me an example how it should look like from your point of view.
Cheers
Martin

Sure, below is intent part of the request. I added missing value in bold:
"intent": { "name": "SolarAnlage", "confirmationStatus": "NONE", "slots": { "questions": { "name": "questions", **value: "Status",** "resolutions": { "resolutionsPerAuthority": [ { "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.5786bdf8-7eb5-4f3a-8eb6-366e3c407ded.questions", "status": { "code": "ER_SUCCESS_MATCH" }, "values": [ { "value": { "name": "Status", "id": "ec53a8c4f07baed5d8825072c89799be" } } ] } ] }, "confirmationStatus": "NONE", "source": "USER" } } }

Thanky you,
this looks like something would not be ok with the Skill? Maybe you can have a look on the model, is there anything wrong?
{
"interactionModel": {
"languageModel": {
"invocationName": "my reserve",
"modelConfiguration": {
"fallbackIntentSensitivity": {
"level": "LOW"
}
},
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
},
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
"name": "SolarAnlage",
"slots": [
{
"name": "questions",
"type": "questions"
}
],
"samples": [
"wie ist die Ladung der {questions}",
"frag my reserve nach der {questions} ladung",
"frag my reserve nach dem status der {questions}",
"wie ist der {questions} von my reserve",
"frag my reserve nach dem aktuellen {questions}",
"frag my reserve ob ich den {questions} einschalten kann",
"frag my reserve ob ich die {questions} einschalten kann",
"frag my reserve ob ich strom {questions} kann",
"frag my reserve nach dem {questions}"
]
}
],
"types": [
{
"name": "questions",
"values": [
{
"name": {
"value": "Ladung"
}
},
{
"name": {
"value": "Batterie",
"synonyms": [
"Batterieladung"
]
}
},
{
"name": {
"value": "Verbraten"
}
},
{
"name": {
"value": "Trockner"
}
},
{
"name": {
"value": "Spülmaschine"
}
},
{
"name": {
"value": "Status"
}
}
]
}
]
}
}
}

Your model look good to me. You can try to add IDs to slot values or look at other suggestions on stackoverflow, e.g.: https://stackoverflow.com/questions/42721603/alexa-custom-slot-type-no-value-in-intent

@chmasi Have you been able to resolve your issue since? I'll go ahead and close this issue. Feel free to reopen if you still need help on this.


Update TextIcon.java

This change modifies
TextIcon.java    to create a multi-line image if the input test contains multiple lines, and
ColorValue.java  to change the applicable EditText to multi-line.
This change requires a simple test before acceptance. After build,
create a shortcut with a single line of text and verify that it appears normal, and
create a shortcut with two or three short lines of text and verify that it appears as expected.
I apologize for not testing but I cannot run Android Studio. I have tested the code in another application, but not in TEA.

Thanks Frank. I'll take a look at this in a few days -- I'm busy at work
for the next week or so. I'm sorry that you can't use Android Studio -- is
it because you develop on-Android? Can you run the command-line (gradle)
builds on-Android?
On Thu, Mar 5, 2015 at 6:57 AM Frank P. Westlake<EMAIL_ADDRESS>wrote:

This change modifies
TextIcon.java to create a multi-line image if the input test contains
multiple lines, and
ColorValue.java to change the applicable EditText to multi-line.
This change requires a simple test before acceptance. After build,
create a shortcut with a single line of text and verify that it appears
normal, and
create a shortcut with two or three short lines of text and verify that it
appears as expected.
I apologize for not testing but I cannot run Android Studio. I have tested
the code in another application, but not in TEA.
You can view, comment on, or merge this pull request online at:
https://github.com/jackpal/Android-Terminal-Emulator/pull/391
Commit Summary

Update TextIcon.java

File Changes

M term/src/main/java/jackpal/androidterm/shortcuts/TextIcon.java
https://github.com/jackpal/Android-Terminal-Emulator/pull/391/files#diff-0
(68)

Patch Links:

https://github.com/jackpal/Android-Terminal-Emulator/pull/391.patch
https://github.com/jackpal/Android-Terminal-Emulator/pull/391.diff

—
Reply to this email directly or view it on GitHub
https://github.com/jackpal/Android-Terminal-Emulator/pull/391.

From JackPalevich:

Thanks Frank. I'll take a look at this in a few days...

Thanks, it's obviously a very low priority -- an
anti-priority I suppose.

I'm sorry that you can't use Android Studio -- is
it because you develop on-Android? Can you run the command-line (gradle)
builds on-Android?

Thanks for the hint, I thought Android Studio was
Windows-only -- I'll look harder for Linux and Android
options (remember that I am not a real programmer).
Frank

Yeah, I can see why the use of the word "Studio" might lead you to believe that Android Studio was somehow part of Visual Studio. Confusing naming. But in fact Android Studio is based on "JetBrains" IDE, which is Java based, similar to Eclipse. Android Studio is available on Windows, Mac, and Linux. Visit http://developer.android.com/sdk/index.html to download it.

I tested single-line and mult-line text, and both seemed to work.

From JackPalevich:

Visit http://developer.android.com/sdk/index.html to
download
it.

I started to install it a few days ago but it requires
acceptance of the normal Google anti-privacy agreement,
which I will not agree with. So I'm slowly learning how
to make gradle build from the command line. It'll be
slow because I've never used Grade, Maven, or any other
such system -- I just compiled C with a command line
Borland compiler.
Thanks for the pull!
Frank


Improve the Raise/Goto/Pop assertion error message

From @akashlal: ideally, we would like to print the source location of the previous call to Raise/Goto/Pop (RGP).

Closing this. Something along these lines has been implemented internally and will be released in the near future.


Theme Not Found

Describe the bug
Returns an error message when unknown theme was added on to query strings
To Reproduce
Steps to reproduce the behavior:

Go to Browser
Click on 'http://localhost:3000/quote?theme=merko1'
See error

Expected behavior
Should return default theme card, if undefined theme is sent

Fixed Theme Issues


Update UG

Codecov Report

Merging #96 (e754af0) into master (d573511) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #96   +/-   ##
=========================================
  Coverage     45.47%   45.47%
  Complexity      489      489
=========================================
  Files           129      129
  Lines          2441     2441
  Branches        302      302
=========================================
  Hits           1110     1110
  Misses         1244     1244
  Partials         87       87

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 d573511...e754af0. Read the comment docs.


I can not find the GPUImageHighlightShadowTintFilter class.

It occurs an error in Xcode. Unknown receiver 'GPUImageHighlightShadowTintFilter'.

I'm having the same issue!

me too!!


migration plan for javax.servlet to jakarta.servlet?

Is there currently and play or timeline for the migration of code like https://github.com/jamesagnew/hapi-fhir/blob/9711b5ed1876e1566435a86873be5ee40f0ffc62/hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java#L76
from javax to jakarta?
Servers such as Tomcat and Jetty now have beta versions out that have the change made, but I don't believe any of them support deploying code that is still using javax (though I would be happy to be wrong...).  Tomcat suggests a migration tool to help in the transition: https://github.com/apache/tomcat-jakartaee-migration

Are there any advantages to making this transition?
Healthcare orgs often move very slowly so we'd probably alienate a number of current users of HAPI FHIR if we made a change that prevented deploying on anything but a brand new app container.
Unless there is a really compelling reason I can't see us moving anytime soon.

I'm just trying to work through the migration hell myself... and basically, it appears that nobody supports using old code with new.  I'm trying to use Jetty, for example, to deploy my rest code, which uses the new annotations... while also having the Fhir server... and I can't make them play together.  Hoping that maybe I can use the tomcat suggested migration tool to change the fhir jars... but haven't tried yet.  Have a similar problem with wicket, which also hasn't transitioned.
I'd happy to be shown that there was a way to deploy Servlets that use javax on servers that are build for jakarta..... but right now, it appears to be completely incompatible.

Would it work to just implement both interfaces in the same Servlet class
by any chance?
On Tue, Sep 15, 2020 at 1:53 PM Dan Armbrust<EMAIL_ADDRESS>wrote:

I'm just trying to work through the migration hell myself... and
basically, it appears that nobody supports using old code with new. I'm
trying to use Jetty, for example, to deploy my rest code, which uses the
new annotations... while also having the Fhir server... and I can't make
them play together. Hoping that maybe I can use the tomcat suggested
migration tool to change the fhir jars... but haven't tried yet. Have a
similar problem with wicket, which also hasn't transitioned.
I'd happy to be shown that there was a way to deploy Servlets that use
javax on servers that are build for jakarta..... but right now, it appears
to be completely incompatible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jamesagnew/hapi-fhir/issues/2082#issuecomment-692876713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2N7HPO6L5HHLHHQFPLD3TSF6S2FANCNFSM4RNPHUIA
.

Not sure, I'm still experimenting.  I was hoping I would find a little library where someone had just done the translations... but apparently I'm still too early in trying to deal with it.  I'll report back if I find anything that makes it relatively easy to be compatible...

Just stumbled upon this
This is honestly now needed.
As the upcoming Spring Boot 3.0 has Jakarta EE9 as a baseline.
And support for 2.x will fade out.
Also more and more projects are migrating to Jakarta.
From my (little) experience I don't think it will be possible to support both within the same version.
Other projects usually bump up the major version and from there on, it will be jakarta ee9

I think the likely timeline would be 2023 sometime.
This is a really hard thing to time, given the enormous impact it will have on users. There are countless interceptors written against the javax.servlet API, many people who have annoying corporate rules against upgrading to modern containers, etc.
I do want to get this done, but it will be tough.

@jamesagnew ok thanks for the information

I would also be interested in the migration to Jakarta EE9 because of the Spring Boot 3.x release :smile:

My team is also interested in this. We need to migrate to springboot 3 because of a CVE, but since hapi fhir still uses javax.servlet we can't :(

This PR is sort of related to this discussion https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/473

Is there any update on the prospective timeline for this?

We are also interested in this because of upgrading spring.

This is clearly getting more important to people. I have heard a lot of arguments for it, and none against it.
Will try to provide a proposed timeline soon.

Just wanted to chime in and tell that the Tomcat migration tool mentioned by @darmbrust in the first comment seems to be working, as far as it allowing a minimal Plain Server to be started in Spring Boot 3.0.5 without any errors.
The downside is that one has to keep the transformed version of hapi-fhir-server around so that it can be added instead of the official one as a dependency to the project.

Hi.
We are also hitting this "abruptly" issue.
Hapi FHIR plain server/facade.
"6.4.4" (latest version as I write this comment)
JDK11 is near end of life (normal) support.
https://endoflife.date/java

(30 Sep 2023)

Thus JDK17 is the "current" LTS (LONG Term Support) option.

SpringBoot.
Spring Boot 2.7 is near end of life (normal) support.

https://endoflife.date/spring-boot
Ends in 6 months

(18 Nov 2023)

IMHO:
Thus SpringBoot 3.0 is a "very soon" needed upgrade.

I have not tried SB 3 with Spring Framework "5.3" (LTS) combinations yet.  This of course would be a Frankenstein ('s Monster) combination....but will try to find time to try this out.

@jamesagnew Any updates on a timeline for this?

Hey,
Our project uplifted to JDK17 recently and we had to uplift tomcat as well. Now we are facing issues with this library, is there any estimated timeline for jakarta migration?

looking for timeline for Jakarta Migration? we are using hapi-fhir and its still on javax-based JEE version

One more consideration, Android 14 SDK (n preview) is supposed to bring partial JDK 17 support sometime after July:
https://developer.android.com/about/versions/14/overview

Hi.
Hapi/James has published a survey here:
https://forms.gle/tMybKV9VrGRaTsrf9
Most important question (to people who have chimed in to this issue)

The Java EE spec has moved from the javax.* package namespace to the new jakarta.* namespace. HAPI FHIR will need to migrate to the new API and it is unfortunately not feasible to support both APIs long term. Migrating to the new API will be required in order to use HAPI FHIR with the current release of many popular frameworks including Spring 6, Spring Boot 3, and Hibernate 6.
This is a nontrivial change: It will require upgrades to Spring and Hibernate within HAPI FHIR. It will also require HAPI FHIR users to potentially upgrade their application servers, and rework any custom code (e.g. resource providers, interceptors) in order to use the new APIs.
Our current working plan is to make this upgrade as a part of our November 2023 release, with early access builds available before that time.
Please list your opinion on this change:
I will not be affected by this change so I do not have an opinion.
I am unable to upgrade my existing infrastructure to support the next jakarta.* at this time and will be unable to use HAPI FHIR versions that so not support the old javax.* packages.
I would like this upgrade to happen in November.
Other:

I voted "November" of course !
(October 2023, September 2023 would be even better!)

FYI to anyone following along, here's a writeup of our plans: https://docs.google.com/document/d/1miIu85DEkyR1MsenU5eYgBQk9i50UP1u6_Rp16fMOAg/edit

@jamesagnew is there a public branch available where one can check out the amount of changes needed to one's own use of HAPI FHIR (I'm specifically thinking of the starter project as guinea pig here)

@jkiddo The working branch for this change is ja_20230610_servlet_migration. Progress has been good so far, it's definitely on track for november relase. I'd guess we'll be merging this by early october or so.

Best news ever!

FYI we are now in review for this change. Our intention is to merge this after our November release.
This is now feature complete, but because of transitive dependencies on JAXB, it requires coordination with CQL/CR projects. The following two projects must be built locally for now. This will change in the coming weeks:

https://github.com/cqframework/clinical_quality_language/pull/1236
https://github.com/cqframework/clinical-reasoning/pull/357/files

@jamesagnew thanks a lot for the update. do we know when the November release is going to happen? like an estimated date?

@s4l4r   The November Release is coming out on Thursday, Nov. 16th

@jamesagnew thanks for the news! Do you have forecast for the next one with the merge?
thanks a lot

Since the intent of merging this with the november release will not happen.
Do you intend to cut a new release with the Jakarta changes soon after ?
It's starting to become an issue for us to be late on our Spring updates

@MatonAnthony  Yes, James stated above: "Our intention is to merge this after our November release."
I would expect that the merge will happen before the end of November.

This has now landed.
HAPI FHIR 6.11.5-SNAPSHOT and later are using the new Jakarta APIs. This will be released as HAPI FHIR 7.0.0 in Feb 2024.
JPA users can test this out using the branch in this PR: https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/618


Export spot counts

This PR adds a new plugin that can be used to write spot counts per timepoint to a single CSV file
Resolves https://github.com/mastodon-sc/mastodon-deep-lineage/issues/73

btw, there's Plugins -> Exports -> Export spots counts

(not exactly the same, I know... just FYI)

btw, there's Plugins -> Exports -> Export spots counts

(not exactly the same, I know... just FYI)

I am aware of this. My suggestion in this PR is to both functions in the same (sub-)menu:

oh, wow!
didn't occur to me earlier
sorry
this is nice! very nice, thank you


V5, popover not working on webpack project

Operating System: Windows 10
Browser: Chrome
Packages on package.json:
{
"@popperjs/core": "^2.6.0",
"bootstrap": "^5.0.0-beta1"
}

I'm creating a popover with this line:
import '@popperjs/core'
import 'bootstrap'
import {Popover} from 'bootstrap'

const powered = new Popover(document.querySelector('#label-powered'), {
        html: true,
        trigger: 'hover',
        container: 'body',
        title: 'test',
        content: 'test',
        placement: 'top'
})

No error in console, no content created on HTML when I hover

I also have a related problem, my Bootstrap V5 tabs are not working.

I also have a related problem, my Bootstrap V5 tabs are not working.

I had to uninstall the beta version and reinstall the alpha version "^5.0.0-alpha1".

I had to uninstall the beta version and reinstall the alpha version "^5.0.0-alpha1".

Closing as stale.


Dependency package glob has a new version available

We have identified a dependency on version 7.2.0 of glob. A new version (8.0.1) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.31968108,Service Bus:0.18660183,Azure.Identity:0.05010119'

[ ] common/tools/eslint-plugin-azure-sdk/package.json:75:    "glob": "^7.1.2",
[ ] sdk/core/core-http/package.json:155:    "glob": "^7.1.2",
[ ] sdk/servicebus/service-bus/package.json:152:    "glob": "^7.1.2",

Done in #21905. The major change is dropping of NodeJS v12, which should be fine for us.


How do I format cookies like that (netscape type formatting)?

.google.com   TRUE   /   FALSE<PHONE_NUMBER>   AEC   AakniGNIFMwgF1eKJNFD6vtQPXYaNnGdY6KyhFY1LK4JqWoP6yh
How can I format cookies in this format?

and yes bro u worked great and it really helped me a lot love from India
!!!!!!!!! THANKS

It's basically just:
string formatted_cock = $"{cookieHostname}\tTRUE\t{cookiePath}\tFALSE\t{cookieExpiry}\t{cookieName}\t{cookieValue}";

(You need to fill in the variables since I'm on my phone right now and Blink/Gecko cookies also vary)

THANKS !!!
I TRIED MY BEST TO GET THIS FORMAT BUT I AM NEW TO C # AND UNSUCCESSFUL TO GET THIS FORMAT THATS WHY I AM BACK IN THE LAST HOPE .
.google.com	TRUE	/	FALSE<PHONE_NUMBER>	AEC	AakniGNIFMwgF1eKJNFD6vtQPXYaNnGdY6KyhFY1LK4JqWoP
THANKS again

Cookie dates are formatted in Unix/Webkit time format. Cockygrabber currently stores times in C#'s TimeDateOffset format.
It isn't really possible to convert them to one another. I would recommend to write just some random valie in them. In most of the cases the expiry date is not important anyway.

okkk thats cool thanks BRO
cant i get this format default 2023-06-30T11:13:42.436Z
chrome  format ???
with any script or by makeing any changes to the code ???

Sadly it's currently not possible. It will be in the next versions though.

okk great so till who many days we need to wait for upgrade btw geco is not working i would like to contribute in geco portion ,
i will try my best to help this repo and push it
Thanks again !!!!

I don't know. To be honest I didn't work much on CockyGrabber in the last few days. I've kinda lost my motivation since I struggled with the custom SQLite reader class and Credit Card decrypter class.
If you know anything about how credit cards are encrypted please let me know. I've searched the whole web for any kind of documentation or documents that explain the encryption algorithm.

I have something for you it mayhelp you
If you are using telegram just text here ur telegram username i will send you some projects

Even I have some custom SQLite  they will help you for sure
And yes you are working good never loos the last hope see my self even I don't have any hope that will I be able to learn c# completely but I am try then bro you are a master creator of such a cool project the 1st day i text you was thanks remember it means a lot 😊😊


Refactor

Related issue: #124

should modify runner to add juzibot token, otherwise npm install cannot proceed.