[DO NOT MERGE YET] use angular2-seed to move to angular2

Signed-off-by: Arnav Gupta<EMAIL_ADDRESS>

I'll line up more commits before it's ready to merge.
Right now it is just the default angular2-seed source code.

@aayusharora if you want to understand the angular2 structure and get acquainted with the source,
Take a look at https://github.com/championswimmer/open-event-webapp/tree/angular2-seed-staging
npm install
npm run serve.dev

Merge?

Yes. Let's merge this if all looks good to you and @aayusharora
On Mon, May 30, 2016, 11:25 Justin Lee<EMAIL_ADDRESS>wrote:

Merge?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-webapp/pull/210#issuecomment-222416650,
or mute the thread
https://github.com/notifications/unsubscribe/ABQ_youDkzl3Qq2v9-wYHMYyo848lm0iks5qGnvEgaJpZM4Io3V2
.

Closing this for now :)


Update version on README

Thanks!
The release process should have bumped this version, but it looks like it didn't this time :/

Merged via https://github.com/coursier/coursier/commit/46a4f7f53f5bcc51c6a1292a7266a17fc25aaee8.


convert: Originals left behind on import when transcoding with "move: yes"

Given the following configuration, when importing a directory of ALAC albums:
convert:
  format: flac
  auto: yes
import:
  write: yes
  move: yes

beet import will convert imported files to FLAC as expected, but will leave behind the originals. I want it to delete the originals when files are imported successfully.
From google group: https://groups.google.com/forum/#!topic/beets-users/WvTmPWnmyrk

Thanks for reporting! To re-emphasize, the goal here is that move: yes in the user's config should have the same effect regardless of whether or not auto-convert is enabled. Specifically, in either case, it should look like the old file is gone and the new file is at its beets "destination".


Add Lunar app

Project URL
https://lunarapp.site
Category
Utilities
Description
Added Lunar app to the utilities category.
Why it should be included to Awesome macOS open source applications  (optional)
Probably, there aren't a lot of people who would need this app. But for those who do, it is a lifesaver.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in alphabetical order
[x] Appropriate language icon(s) added if applicable
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@alin23 Thank for your contribution!


username cant start with '_' or '.'

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Possible to modify specific plugin config at runtime?

Problem
I'm looking to set up a centralized PostCSS watcher, that is able to compile across multiple projects.
This means postcss-partial-import plugin needs a different path parameter on every chokidar watch event postcss execution.
Details
console.log( plugins ) looks like difficult to find the plugin whose options I want to modify, since they seem to be listed as anonymous objects..
[ { [Function] postcssPlugin: 'postcss-utilities', postcssVersion: '5.2.17' },
  Processor {
    version: '6.0.8',
    plugins:
     [ [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object] ],
    postcssPlugin: 'precss',
    postcssVersion: '6.0.8' },
  { [Function] postcssPlugin: 'postcss-calc', postcssVersion: '6.0.8' },
  { [Function]
    postcssPlugin: 'postcss-media-minmax',
    postcssVersion: '6.0.8' },
  Processor {
    version: '5.2.17',
    plugins: [ [Function: appendInputDir], [Object] ],
    postcssPlugin: 'postcss-assets',
    postcssVersion: '5.2.17' },
  { [Function]
    postcssPlugin: 'postcss-inline-svg',
    postcssVersion: '5.2.17' },                                                                                { [Function]                                                                                postcssPlugin: 'postcss-modular-scale',                                                                                postcssVersion: '5.2.17' },                                                                                { [Function: plugin]
    options: { grid: false },
    info: [Function],
    postcssPlugin: 'autoprefixer',
    postcssVersion: '6.0.6' },
  { [Function]

I was expecting to be able to do something like plugins['precss'].import.path = 'foo/bar/', but there are no dictionary/array indexes available after configuration load.
Environment
See precss in particular.
$ [-] cat postcss.config.js
module.exports = (ctx) => ({
    parser: 'postcss-scss',
    plugins: {
        'postcss-utilities': {},
        'precss': {
            import: {
                extension: '.scss',
                prefix: '_'
            }
        },
        'postcss-calc': {
            mediaQueries: true
        },
        'postcss-media-minmax': {},
        'postcss-assets': {},
        'postcss-inline-svg': {},
        'postcss-modular-scale': {},
        'autoprefixer': {},
        'postcss-browser-reporter': {}
    }
});

Please provide information about your environment.

OS
Node
npm
PostCSS

Gentoo
6.9.4
3.10.10
6.0.8

Your thoughts?

postcss.config.js
+ module.exports = ({ options }) => ({ // ctx.options
    parser: 'postcss-scss',
    plugins: {
        'postcss-utilities': {},
        'precss': {
            import: {
+               path: options.path,
                extension: '.scss',
                prefix: '_'
            }
        },
        'postcss-calc': {
            mediaQueries: true
        },
        'postcss-media-minmax': {},
        'postcss-assets': {},
        'postcss-inline-svg': {},
        'postcss-modular-scale': {},
        'autoprefixer': {},
        'postcss-browser-reporter': {}
    }
});

watcher.js (Pseudo)
const path = require('path')

const watcher = require('chokidar')
const postcssrc = require('postcss-load-config')

const getPath = (path) => [ 'path/to/foo', 'path/to/bar' ].filter(path)

watcher.add(...dirs)

watcher.on('change', (file) => {
  const ctx = {
    options: {
      paths: getPath(path.dirname(file))
    }
  }

  postcssrc(ctx).then(({ options, plugins }) => {
    postcss(plugins).process(file, options)
      .then((result) => result.css)
  })
})

Is that in the direction your intended to go ?

In other words you can pass a custom context (ctx) with implementation specifics when using the Node API directly to make options/plugins/plugins options apply dynamically on config load
webpack.config.js
{
  loader: 'postcss-loader',
  options: {
    config: {
      ctx: { foo: 'bar' } // => ctx.options [options is the custom context {Object}]
    }
  }
}

postcss.config.js
module.exports = ({ file, options, env }) => ({
   parser: file.extname === '.sss' ? 'sugarss' : false
   plugins: {
     'postcss-plugin': { foo: options.foo },
     'cssnano': env === 'production' ? {} : false
   }
})

In your case and depending on which PostCSS Runner is used && Project Structure, its' maybe also sufficient to use ctx.file and @import relative to the current file processed, postcss-import && postcss-partoal-import both have an option for that.

Yes, I was also thinking ctx. I guess the main difference with my original approach is that I was thinking I could load 95% of the config once, and modify at runtime - and you're proposing to execute config load on every watch event. Will test in a few hours and report back.

cosmiconfig (*.config.js loader) caches the config(s), normally it should just evaluate the ctx after the first run

Did you find a workable solution? Anything from my side which is needs to be done? Reopen if that should be the case :)

@michael-ciniawsky thanks for following up.
I'm currently running postcssrc( ctx ).then( ( { plugins, options } ) => { ... } on every watch event. Whether it caches or not, is probably irrelevant for speed gains. Whatever the case, things work 👍


⚠ Bofrost.be has degraded performance

In f002e10, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1160 ms

Resolved: Bofrost.be performance has improved in c214e71 after 13 minutes.


Server-sent events aren't working anymore on Azure

The ASP server-sent events stopped working on Azure both the dashing demo http://dashingdotnet.azurewebsites.net/ and the original HTML5 push sample http://techbrij.com/real-time-chart-html5-push-sse-asp-net-web-api. We’ve had a similar problem that writing the response in chunks is somehow blocked by the new Azure load balancer. I guess the only fix for this would to use another messaging mechanism (SignalR?)

Having the same issue with node + express + azure

Also have the same issue with Azure

Had the same problem.
I fixed it by adding this to my web.config
<handlers>
     <!-- Indicates that the server.js file is a node.js site to be handled by the iisnode module -->
        <add name="iisnode" path="index.js" verb="*" modules="iisnode" responseBufferLimit="0" />
    </handlers>

@spiritinlife that fix worked for me as well.

I'm having this issue, fixing web.config didn't worked for me.
Any ideas on a work around or at least the reason?
Thanks!


Social widget

Adds a configurable social widget to get all of the components at once. Seems like a fairly common use-case, would be nice for this addon to provide that by default.  I didn't do any styling (such as making them display inline-block), as that's an app-level concern to customize.  Could eventually add hooks for some of the other widget params if necessary, but I figured the defaults were a good place to start. A good target for an additional configuration would be count, which applies to several of the components in similar layouts (top/right).
Depends on (or supersedes) #32.

Here's a screenshot of what the widget looks like when styled and integrated into my website:

Very cool!


Feature/biomedcentral

Just a note to explain what this is doing -- it now looks like biomedcentral is using Springer's API to expose its content. So, this PR replaces the old biomedcentral code with similar code to springer's harvester, and only normalizes those with the publisher "biomedcentral."

Ok! @MerlinZhang pass 1 finished!


[PURCHASE-2046] Add ConversationDetail component

The type of this PR is: Enhancement
This PR resolves PURCHASE-2046
Description
Implements conversation details screen
Note: this PR doesn't wire the screen to the conversation page. I will follow up with a separate PR to do that.
Because as I understood linking those two pages requires using NavigatorIOS and for that, I need to do some refactoring (move the Conversation component form container directory and replace it with a 'navigator') Since there is a parallel PR updating Conversation component I will wait to be able to pull those changes.

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.

[x] Test for ConversationDetail
[x] Test for AttachmentList
[x] Test for ArtworkInfo

In a followup PR: Move component to lib/Scenes

Really nice work 👏! I left a few comments that we can go through together if you want

Thank you @MounirDhahri for the thorough review and pointing me to the best practices 🙏

Maybe change the PR title to feat: new ConversationDetail component? 😬

Really great work @sepans! 👏


A question about  gaussian_score in the code

Hi， I have read this wonderful paper. When I look at the code， I have a question.
https://github.com/rivercold/BERT-unsupervised-OOD/blob/main/our_model.py#L181
In the our_model.py line 181,you define the gaussian score that:
gaussian_score = -0.5 * ((zero_f @ precision[i]) @ zero_f.t()).diag()
But in your paper, I gauss this gaussian_score is the $M_{l}(x_{i})$, But I wonder why you don't use the inverse of a matrix precision[i] in the code. I also wonder why there is a -0.5 before this equation.
Thanks a lot.

I also wonder why there is a -0.5 before this equation.

Hi,
The matrix inverse of the covariance matrix, is often called the precision matrix. You can check this link https://scikit-learn.org/stable/modules/generated/sklearn.covariance.EmpiricalCovariance.html#sklearn.covariance.EmpiricalCovariance for further details.
gaussian_score is  the $M_{l}(x_{i})$ feature. You can treat the Mahalanobis feature as the log of a density in multivariate Gaussian with a constant factor. It is fine if you drop -0.5 in training the one-class SVM.
Hope this helps.

OK, I got it. Thanks very much. But I still have two questions.
First in line 361 of the code ood_main.py you use X_score and -X_scores to calculate results and neg_resuls I wonder why do this operation.
  results = detection_performance(X_scores, Y_test, 'mah_logs', tag='TMP')    neg_resuls = detection_performance(-X_scores, Y_test, 'feats_logs', tag='TMP')    if sum(results["TMP"].values()) < sum(neg_resuls["TMP"].values()):        results = neg_resuls
https://github.com/rivercold/BERT-unsupervised-OOD/blob/main/ood_main.py#L361
another question is in line 89 of calculate_log.py when calculating DTACC why use the .max()  when I check the definition of DTACC in the paper in ICLR, I can't understand this max() operation.
https://github.com/rivercold/BERT-unsupervised-OOD/blob/main/calculate_log.py#L89
Thanks again.

Hi,

Regarding Scores
The scores provided by the oc-svm do not indicate that the outlier examples have smaller scores (assumptions made by the methods that use prediction probability as anomaly scores), so we try both side to see which one is better. I think most cases they share the same side.

Calculating DTACC
We use the calculate_log from the following repo:
https://github.com/pokaxpoka/deep_Mahalanobis_detector/blob/master/calculate_log.py#L88

OK, I know. Thanks a lot! I have learned a lot from your work!


Auto EAP Password not properly escaped

Testing the Auto EAP module with known good credentials it fails as the password contains a dollar sign ($):
[default][Auto EAP]# set Interface wlan0
[default][Auto EAP]# set SSID WiFi
[default][Auto EAP]# set Encryption WPA2
[default][Auto EAP]# set Key Management CCMP
[default][Auto EAP]# set Password 17GP4ttWYassA$!w
[default][Auto EAP]# exploit
Traceback (most recent call last):
File "./SniffAir.py", line 703, in
main_menu()
File "./SniffAir.py", line 138, in main_menu
choice()
File "./SniffAir.py", line 118, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 519, in use
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 474, in info
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 474, in info
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 597, in set
choice()
File "./SniffAir.py", line 128, in choice
exec_menu(choice)
File "./SniffAir.py", line 156, in exec_menu
menu_actionscmd
File "./SniffAir.py", line 639, in exploit
args = ' -s "'+ list1['SSID']+'" -K '+ list1['Key_Management'] +' -E '+list1['Encryption'] +' -U '+list1['Username_File']+' -p '+ list1['Password']+' -i '+ list1['Interface']+' -W '+workspace+''
TypeError: cannot concatenate 'str' and 'list' objects

It looks like your trying to authenticate to a PSK network if that is the case try using the auto_psk module. Auto_EAP is used for EAP/PEAP authentication where usernames and passwords are required (usually these are domain credentials). If it is a EAP network your missing some options and Key Management should be set to WPA-EAP and encryption should be set to PEAP.

It is definitely a PEAP network not PSK.  Don't you remember who I am? :-)
Are those particular combinations documented anywhere?  If so, I must have missed them.  I'll give the Key Management and Encryption changes a try.

Update:  Password is not properly escaped (note the difference to the variable as set, and the one noted to be sent):

[temp][Auto EAP]# info
Globally Set Varibles
=====================
Module: Auto EAP
Interface: wlan0
SSID: WiFi
Encryption: PEAP
Key Management: WPA-EAP
Password: 17GP4ttWYassA$!w
Username File: /root/SniffAir/userlist.txt
[temp][Auto EAP]# exploit
Initialized...
Trying Username user1 with Password 17GP4ttWYassAw: FAILED
Trying Username user2 with Password 17GP4ttWYassAw: FAILED
Trying Username user2 with Password 17GP4ttWYassAw: FAILED
Completed

You're probably thinking of wytshadow. In any event, yes this is a bug we need to address and will have a fix pushed out shortly. Thank you for bringing it to our attention.

Sorry for the delay but I've pushed a fix. Please feel free to let us know if you encounter any other issues.

Closed


Clue scrolls

🚀 Feature Proposal
I've been having a lot of fun on BSO lately, and one thing I'd like is if on OSB clues stacked like they do on BSO. To keep from making this super OP or devaluing items like Ranger boots mainly you could make it so they could still only complete 1 clue at a time?

In the main game clues are not stackable, and the main bot OSB tries to follow that concept.

In the main game clues are not stackable, and the main bot OSB tries to follow that concept.


3291f/Firass Semaan/https://github.com/Firass-Semaan

https://github.com/orgs/projets2017cl/teams/nfp103/members


docker image build

There is a docker image build script which walks through a set of the profects and builds the docker images.
This script can be done away with with the newer docker-compose 1.6.0 which allows you to have defined
image: rackhd/on-foo
build: ../on-foo

and issue the commands
docker-compose build
docker-compose up

This makes it a little tidier for build other images also
Ensure you use the new version: "2" format https://docs.docker.com/compose/compose-file/#version-2

Good point. I've started a branch where I'm trying to use the new version of docker-compose to bring up the services in a more correct order.
I remember you can now define both a image and build step which would allow us to remove the build-images.bash script.

@heckj I think this issue is resolved now. With PR #109


Investigate non-deterministic metal BERT output mismatches on CI

We are seeing metal BERT mismatches in frequent pipeline: https://github.com/tenstorrent-metal/tt-metal/actions/runs/6953525002/job/18918791714
Haven't seen this before yesterday personally.

@tt-rkim is this still an issue?

Not in a while, let's close and reopen if we see again.


Unexpected end of JSON input

Hi @dennisbruner ,
I have been testing since the last bump (thanks for doing that) and have noticed the following issue while testing:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at .../node_modules/minecraft-pinger/lib/packet.js:136:26
    at new Promise (<anonymous>)
    at decodeHandshakeResponse (.../node_modules/minecraft-pinger/lib/packet.js:127:10)
    at .../node_modules/minecraft-pinger/lib/packet.js:73:18
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

I am unsure why this is happening, but is specifically with the server ip HexicPrison.net port 25565. I have also pinged this server with mcsrvstat and cant see anything unusual: https://api.mcsrvstat.us/2/HexicPrison.net.
Thanks

I have fixed this issue. It was because of the old 1.12 protocol version HexicPrison somehow "rejected".


library dies if lib_curl is not enabled

Twilio falls back to file_get_contents(). Should we consider doing the same?
Feel free to close if this seems crazy.

If this crops up as an issue we can pursue it.


Unable to run my protractor test on android devices using appium

Hi there!
I am trying to run my protractor test on android devices using appium. It pops up the chrome browser on the devices and quit. Not sure what is the reason behind this. Any idea?
Configuration files:
exports.config = {
    seleniumAddress: 'http://localhost:4723/wd/hub',
    capabilities: {
        browserName: 'chrome',
        platformName: 'Android',
        platformVersion: '7.0',
        deviceName: 'ce10160a4445823514',
    },
onPrepare: function(){
        browser.ignoreSynchronization = true;
    },
specs: ['../test/nav.js'],
};

baseUrl = "http://www.thetestroom.com/";
sleep = 10*1000;

Test script:
describe('Load homepage', function () {
    it('Loading homepage', function () {
        browser.driver.get(baseUrl);
        browser.driver.sleep(sleep);
    });
});

Log:
09:43:56] I/hosted - Using the selenium server at http://localhost:4723/wd/hub
[09:43:56] I/launcher - Running 1 instances of WebDriver
[09:43:57] E/launcher - An unknown server-side error occurred while processing the command. Original error: Cannot read property 'forceStop' of undefined
[09:43:57] E/launcher - WebDriverError: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'forceStop' of undefined
    at WebDriverError (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
    at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:505:15)
    at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:440:13)
    at process._tickCallback (internal/process/next_tick.js:103:7)
From: Task: WebDriver.createSession()
    at Function.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:777:24)
    at Function.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:709:29)
    at createDriver (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:167:33)
    at Builder.build (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:623:16)
    at Hosted.getNewDriver (/usr/local/lib/node_modules/protractor/lib/driverProviders/driverProvider.ts:57:29)
    at Runner.createBrowser (/usr/local/lib/node_modules/protractor/lib/runner.ts:187:39)
    at driverprovider_.setupEnv.then (/usr/local/lib/node_modules/protractor/lib/runner.ts:279:27)
    at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:796:13)
[09:43:57] E/launcher - Process exited with error code 199
trv2457:conf skabir$ protractor conf.js
[09:46:18] I/hosted - Using the selenium server at http://localhost:4723/wd/hub
[09:46:18] I/launcher - Running 1 instances of WebDriver
[09:46:31] E/runner - Unable to start a WebDriver session.
[09:46:33] E/launcher - Error: WebDriverError: no such session
  (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.12.3 x86_64)
    at WebDriverError (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
    at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:505:15)
    at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:440:13)
    at process._tickCallback (internal/process/next_tick.js:103:7)
From: Task: WebDriver.manage().timeouts().setScriptTimeout(11000)
    at thenableWebDriverProxy.schedule (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:816:17)
    at Timeouts._scheduleCommand (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:1500:25)
    at Timeouts.setScriptTimeout (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:1483:17)
    at Runner.createBrowser (/usr/local/lib/node_modules/protractor/lib/runner.ts:215:49)
    at driverprovider_.setupEnv.then (/usr/local/lib/node_modules/protractor/lib/runner.ts:279:27)
    at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:796:13)
    at /usr/local/lib/node_modules/protractor/node_modules/q/q.js:556:49
    at runSingle (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:137:13)
[09:46:33] E/launcher - Process exited with error code 100

Hi there!
Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!


Users can not download purchases product form customer dashboard

Issue Description
Order status completed and invoice status also paid but if I want to download a downloadable product from customer dashboard then show a warning message- "Warning! Payment has not been done for this download"
Bagisto Version

[ ] 1.4.4

Hi there,
Is it possible to share the screen recording for the same because I am not getting this issue in our V1.4.4?

Can we join in zoom/google meet?

Please check this video using bellow link. I hope you will understand. If still not understand please let me know. thank you
https://drive.google.com/file/d/1M8QXGBUkpbdiyrOYJy10GgP_VRHbmSsG/view?usp=sharing

Hi there,
Thanks for reporting, we will fix this issue in our next release.

Please check this video using bellow link. I hope you will understand. If still not understand please let me know. thank you
https://drive.google.com/file/d/1M8QXGBUkpbdiyrOYJy10GgP_VRHbmSsG/view?usp=sharing

Actually, the transaction is not created for the order so the customer is getting the warning message.


[2.5] Backport: Unable to view resources in downstream clusters when my user is associated with a group from an external auth provider

Backport issue for https://github.com/rancher/rancher/issues/33912

Verified on v2.5-head b5dacbe

Enabled openldap auth and created an rke1 cluster as admin.
As an admin, added a group as cluster owner.
Logged in as the cluster owner.
verified from cluster explorer by installing cert-manager and verifying all the resources were accessible.
Enabled github auth and logged in as group member.
Verified installed kubernetes services are accessible and https://ip/k8s/clusters/c-7bk2l/apis is accessible.


Doesn't register non-upper-case ACKs

Not sure if this would cause unintended side-effects, but my "Ack" here was missed:
https://github.com/bitcoin/bitcoin/pull/26257#pullrequestreview-1172862157

See also:

https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review
https://github.com/bitcoin-core/bitcoin-maintainer-tools/blob/78ab16ae88af7a5ef886ae8cef6df2e9ef3f6085/github-merge.py#L214

Good point(s)!

@willcl-ark at it again with the lowercase acks. This https://github.com/bitcoin/bitcoin/pull/27559#issuecomment-1532773174 is not picked up by @DrahtBot.


Coverage cleanups

Coverage increased (+0.3%) to 92.408% when pulling 904f327900cc7e64c204faaf565e289f3328736e on DavidS:coverage-cleanups into 3ac8b45ace5e0c3f83c926aec35bd676dafc2cfb on rodjek:master.

Currently debugging the 1.8/2.14 failure on travis - please do not merge

Coverage increased (+0.3%) to 92.411% when pulling 3d37d8735be663bcbad12f9237a9604444a0db0a on DavidS:coverage-cleanups into 3ac8b45ace5e0c3f83c926aec35bd676dafc2cfb on rodjek:master.

Coverage increased (+0.2%) to 92.305% when pulling 22bae326ef8626cf4d2c5264acceb87b4edfe9bb on DavidS:coverage-cleanups into 3ac8b45ace5e0c3f83c926aec35bd676dafc2cfb on rodjek:master.

Coverage increased (+0.3%) to 92.377% when pulling c52c3b32f15c190b0af250971865492ed3296997 on DavidS:coverage-cleanups into 3ac8b45ace5e0c3f83c926aec35bd676dafc2cfb on rodjek:master.


feat: add a fast cython init path for BluetoothServiceInfoBleak

This is ~14% speed up to processing raw adv data

additional code and complexity doesn't justify the speed up here

Probably makes more sense to avoid _cython_init completely and set the values one at a time


Support for user defined bundles

Is it possible to define additional bundles in an angular-cli project? I thought it may be possible by defining a second app in the angular-cli.json file but this does not appear to be the case. Currently to achieve this I have an external webpack.config.js file and I'm running webpack to create the separate bundles alongside what angular-cli produces. The end goal would be to be able to create them all with just one command.

I would also like a way to add my own plugins to the build process also. For example I would like to add a plugin that will write a .htaccess file to configure HTTP/2 push.

In my particular use case I am building a browser extension. The extension consists on a popup when clicking the extension button which opens an angular application. It also uses injected scripts to enhance the current web page the user is viewing. I would like to use Typescript and have code reuse with the popup window. Currently I am accomplishing it with the separate webpack/gulp script but this requires another command-line and additional tools to be running.

+1

https://github.com/angular/angular-cli/pull/1633 allows adding more files to be compiled.


Using two touches on two different blocks leads to crazy results

Possibly made worse by the drag surface - not sure

Closing as duplicate of general multi-touch support


feat: persist intercepts to localstorage

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


deploy.sh: Fix regexps to use better matching

https://github.com/trozet/bgs_vagrant/blob/master/deploy.sh#L263
I use regexp [a-Z] which looks like it can vary depending on whatever version of regexp a user has.  We should change this everywhere to be [a-zA-Z] when using grep -E for better support.

Fixed and closed


Constructor packages for building Kubernetes API workload objects

Constructing a graph for Kubernetes objects require tedious steps of specifying each entries in the graph. Often, this forces and requires the code writer to have to look up how to assemble the pieces so that the graph can be constructed properly.
For instance, the following code snippet shows how to programmatically create an object graph for a simple Deployment. As you can see, it takes many entries to create a complex object structure to satisfy the object graph for Deployment.

Example pulled from here.

func NewDeployment() *appV1.Deployment {
    return &appsv1.Deployment{
		ObjectMeta: metav1.ObjectMeta{
			Name:   "my-deployment",
			Labels: podLabels,
		},
		Spec: appsv1.DeploymentSpec{
			Replicas: &replicas,
			Selector: &metav1.LabelSelector{MatchLabels: podLabels},
			Strategy: appsv1.DeploymentStrategy{
				Type: appsV1.RecreateDeploymentStrategyType,
			},
			Template: v1.PodTemplateSpec{
				ObjectMeta: metav1.ObjectMeta{
					Labels: podLabels,
				},
				Spec: v1.PodSpec{
					TerminationGracePeriodSeconds: &zero,
					Containers: []v1.Container{
						{
							Name:            containerName,
							Image:           image,
							SecurityContext: &v1.SecurityContext{},
						},
					},
				},
			},
		},
	}
}

As a test writer, it would be helpful and convenient if there exists an e2e-framework package that makes it easy to easily create objects without any knowledge of graph structure (as is required in the above example).  For instance, given a set of constructor packages, such as constructor/deployment, constructor/pod, constructor/meta, etc, the previous object graph could be created as follows:

import (
    "sigs.k8s.io/e2e-framework/klient/constructors/deployment"
    "sigs.k8s.io/e2e-framework/klient/constructors/meta"
)

func NewDeployment() appsV1.Deployment {
    return deployment.Deployment(
        meta.Object("test-deployment").Namespace(meta.DefaultNamespace),
        deployment.Replicas(2),
        meta.MatchLabels(map[string]string{"server-type": "web"}),
        deployment.StrategyDefault,
        pod.Template(meta.ObjectMetaNone, pod.Spec(container.Name("server").Image("nginx").Commands("/start"))),
    )
}

/remove-lifecycle stale

The examples you give are deceptive since you can write structs in a single line and span function calls across multiple lines.
The top example also specifies more information and is more flexible.
It's impossible to reduce the amount of information by moving to a "constructor" model since information density doesn't change.
You just get functions instead of structs. Function that has 5-10 parameters and the reader can't have any idea what any positional argument is. Or alternatively doing a function for each field which the same amount of chars as just specifying the field struct.
This problem can't be solved generically since you can't compress the information further.
What people usually do in tests is create builder for their common use cases which is also a struct.
deployment, statefulSet := FooTestResources{
   NamePrefix: "foo",
   Namespace: "default",
}.Build()

This works because in this specific context you know what parts don't need to be tuned or how the different fields relate to each other in your use case.

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

Thank you @ShwethaKumbla I still want to work on this (soon i hope).

Closing this for now until I can think of a better (code generated way) of doing this instead of manually.


Snakemake prints job information multiple times

Snakemake version

7.32.3
Describe the bug

During my workflows, particularly when there are run directives present, Snakemake will re-print information into the terminal
Logs

Job 7: Creating naibr config file: 2
Reason: Missing output files: Variants/naibr-pop/configs/2.config; Input files updated by another job: Variants/naibr-pop/input/2.bam

Building DAG of jobs...
Building DAG of jobs...
Using shell: /usr/bin/bash
Using shell: /usr/bin/bash
Provided cores: 10
Provided cores: 10
Rules claiming more threads will be scaled down.
Rules claiming more threads will be scaled down.
Select jobs to execute...
Select jobs to execute...

Minimal example

Not sure if this would be helpful, but it's a basic run directive
rule create_config:
    input:
        bam_dir + "/{sample}.bam"
    output:
        outdir + "/configs/{sample}.config"
    message:
        "Creating naibr config file: {wildcards.sample}"
    params:
        lambda wc: wc.get("sample")
    run:
        argdict = process_args(extra)
        with open(output[0], "w") as conf:
            _ = conf.write(f"bam_file={input[0]}\n")
            _ = conf.write(f"prefix={params[0]}\n")
            _ = conf.write(f"outdir=Variants/naibr/{params[0]}\n")
            for i in argdict:
                _ = conf.write(f"{i}={argdict[i]}\n")

Additional context

Thanks for reporting! This is already fixed in the upcoming Snakemake 8.0.


WW-4920 fix java.net.JarURLConnection#parseSpecs

I inspired such fix from Spring Framework when I found it during my research at here.
Oracle WebLogic may report jar urls like "zip:C:/web-app-lib-path/some-jar.jar" but JDK's JarURLConnection#parseSpecs breaks on such urls.
While JDK's JarURLConnection#parseSpecs is private then I had to extend URLConnection instead.
@apache/struts-committers , I hope we can deliver this fix in Struts 2.5.15 instead of 2.6, please (?)

Coverage decreased (-0.01%) to 46.628% when pulling 4718dccd1c09570efd66dae975f0a8d37e7c4e07 on yasserzamani:struts_user_mbox_201802 into def4adacd6eb2e6a298cbb0ab59ed4dceda98248 on apache:master.

@yasserzamani 2.5.15 is already built. <IP_ADDRESS> can be released.
Is it still the same issue as in WW-4869? Maybe we just need to drop this fs stuff? We can refactor it later into its own plugin.

@aleksandr-m , thank you for your comments and review. As Struts 2.5.15 is in test build status and release voting does not started yet, I thought maybe it's possible to rebuild a test build :)
I think WW-4869 isn't same. That was Struts itself issue but this one is either JDK issue or WebLogic issue. WebLogic reports jar as "zip:C:/..." but JDK's JarUrlConnection expects "zip:file:/C:/...".
During my research I saw frameworks (e.g. Spring) also have such issue with WebLogic<->JDK. They adapted themselves with both by their own implementation as JDK and WebLogic are bully 😉

This is a bit over-engineered solution - basically the idea behind this solution (FileManager and so on) is to allow reload classes placed in a JAR (or ZIP in case of Weblogic) when working in devMode. If we cannot handle given type of a file we should ignore it, that's the proper solution.
Also, I was planning to drop this whole layer as it in mose case is useless.

👍  So I think I can close this, right? because it seems Struts already warns a message and ignores when cannot handle.

... and then closing WW-4920 as not a problem and continuing the release of 2.5.15.

Nah... we can merge it as is, maybe someone is using it. I would double check if this happens only in devMode

:+1:   you're right. here is a good time to fix that also. In previous user reports, I remember this happens also in devMode=false but I'll check if I can fix it also here.

4b890345e8b7a7f760b170672782296e9113d445 has deleted if (isReloadingConfigs()) { from all implemented FileManager#monitorFile methods. This causes Struts to monitor all loaded files always, regardless of if the value of STRUTS_CONFIGURATION_XML_RELOAD = "struts.configuration.xml.reload" is true or false. i.e. Struts may reload a file even when that constant is set to false because if (revision == null) { is false and Struts will use monitored revision in FileManager#fileNeedsReloading. As FileManager interface documents:
    /**
     * Adds file to list of monitored files if {@link #setReloadingConfigs(boolean)} is true
     *
     * @param fileUrl {@link URL} to file to be monitored
     */
    void monitorFile(URL fileUrl);

I think we must revert this change (other changes of this commit looks good). I'm just worry about:
        //watch class file
        if (isReloadEnabled()) {
            URL classFile = actionClass.getResource(actionClass.getSimpleName() + ".class");
            fileManager.monitorFile(classFile);
            loadedFileUrls.add(classFile.toString());
        }

in \convention\PackageBasedActionConfigBuilder.java. This piece of code seems expects monitorFile method always monitor but I think if it wants to monitor .class files, then it must use it's own internal mechanism because as documents say, the monitorFile method will monitor if STRUTS_CONFIGURATION_XML_RELOAD = "struts.configuration.xml.reload" is set to true by user.
Any way I feel OK to revert back that if statement and adding more heavy test covering all possible situations i.e. when that constant is set to true or false (two states) and when file is modified or not (two states) so total four states. @lukaszlenart , @apache/apache-committers :question:

Please do not mention apache/apache-committers as that groups contains roughly 2000 members. Not all of those are interested in getting mail about struts issues.

I wonder ehy I am CC on this mail, I have no connection to struts.
rgds
jan i
On Mon, 19 Feb 2018 at 21:59, Yasser Zamani<EMAIL_ADDRESS>wrote:

4b89034
https://github.com/apache/struts/commit/4b890345e8b7a7f760b170672782296e9113d445
has deleted if (isReloadingConfigs()) { from all implemented
FileManager#monitorFile methods. This causes Struts to monitor all loaded
files always, regardless of if the value of STRUTS_CONFIGURATION_XML_RELOAD
= "struts.configuration.xml.reload" is true or false. i.e. Struts may
reload a file even when that constant is set to false because if
(revision == null) { is false and Struts will use monitored revision in
FileManager#fileNeedsReloading. As FileManager interface documents:
/**     * Adds file to list of monitored files if {@link #setReloadingConfigs(boolean)} is true     *     * @param fileUrl {@link URL} to file to be monitored     */
void monitorFile(URL fileUrl);

I think we must revert this change (other changes of this commit looks
good). I'm just worry about:
    //watch class file
    if (isReloadEnabled()) {
        URL classFile = actionClass.getResource(actionClass.getSimpleName() + ".class");
        fileManager.monitorFile(classFile);
        loadedFileUrls.add(classFile.toString());
    }

in \convention\PackageBasedActionConfigBuilder.java. This piece of code
seems expects monitorFile method always monitor but I think if it wants to
monitor .class files, then it must use it's own internal mechanism
because as documents say, the monitorFile method will monitor if STRUTS_CONFIGURATION_XML_RELOAD
= "struts.configuration.xml.reload" is set to true by user.
Any way I feel OK to revert back that if statement and adding more heavy
test covering all possible situations i.e. when that constant is set to
true or false (two states) and when file is modified or not (two states) so
total four states. @lukaszlenart https://github.com/lukaszlenart ,
@apache/apache-committers
https://github.com/orgs/apache/teams/apache-committers ❓
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/struts/pull/209#issuecomment-366801166, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF5hr14rsAvjLxg5VtoRTKIdDsvpGaPpks5tWeDGgaJpZM4SIJ5U
.

--
Sent from My iPad, sorry for any misspellings.

unsubscribe

Same here.
On Mon, Feb 19, 2018 at 4:02 PM, jan iversen<EMAIL_ADDRESS>wrote:

I wonder ehy I am CC on this mail, I have no connection to struts.
rgds
jan i
On Mon, 19 Feb 2018 at 21:59, Yasser Zamani<EMAIL_ADDRESS>wrote:

4b89034
<https://github.com/apache/struts/commit/4b890345e8b7a7f760b17067278229
6e9113d445>
has deleted if (isReloadingConfigs()) { from all implemented
FileManager#monitorFile methods. This causes Struts to monitor all loaded
files always, regardless of if the value of STRUTS_CONFIGURATION_XML_
RELOAD
= "struts.configuration.xml.reload" is true or false. i.e. Struts may
reload a file even when that constant is set to false because if
(revision == null) { is false and Struts will use monitored revision in
FileManager#fileNeedsReloading. As FileManager interface documents:
/** * Adds file to list of monitored files if {@link
#setReloadingConfigs(boolean)} is true * * @param fileUrl {@link URL} to
file to be monitored */
void monitorFile(URL fileUrl);
I think we must revert this change (other changes of this commit looks
good). I'm just worry about:
//watch class file
if (isReloadEnabled()) {
URL classFile = actionClass.getResource(actionClass.getSimpleName() +
".class");
fileManager.monitorFile(classFile);
loadedFileUrls.add(classFile.toString());
}
in \convention\PackageBasedActionConfigBuilder.java. This piece of code
seems expects monitorFile method always monitor but I think if it wants
to
monitor .class files, then it must use it's own internal mechanism
because as documents say, the monitorFile method will monitor if
STRUTS_CONFIGURATION_XML_RELOAD
= "struts.configuration.xml.reload" is set to true by user.
Any way I feel OK to revert back that if statement and adding more heavy
test covering all possible situations i.e. when that constant is set to
true or false (two states) and when file is modified or not (two states)
so
total four states. @lukaszlenart https://github.com/lukaszlenart ,
@apache/apache-committers
https://github.com/orgs/apache/teams/apache-committers ❓
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/struts/pull/209#issuecomment-366801166, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AF5hr14rsAvjLxg5VtoRTKIdDsvpGaPpks5tWeDGgaJpZM4SIJ5U>
.

--
Sent from My iPad, sorry for any misspellings.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/struts/pull/209#issuecomment-366801957, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADwoQGxqRPPA7RTACERGku5BPCG1dNGks5tWeGAgaJpZM4SIJ5U
.

--
Darryl L. Pierce<EMAIL_ADDRESS>"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord
Downie

@apache/apache-committers , Ach! I'm really sorry :sob: github auto completed my at-sign :cry: please excuse me, sorry for inconvenience :(

@yasserzamani Why have you done it again? Even if it is for saying sorry this is not appropriate for a group containing 2000 people! Please stop this!

Just unsubscribed twice. Please don’t do it again.

+1
To Yasser: Don't be so sloppy in future. Pay attention to what you're doing
and spare us all the annoyance.
On Mon, Feb 19, 2018 at 4:11 PM, Konrad Windszus<EMAIL_ADDRESS>wrote:

@yasserzamani https://github.com/yasserzamani Why have you done it
again? Even if it is for saying sorry this is not appropriate for a group
containing 2000 people! Please stop this!
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/struts/pull/209#issuecomment-366803587, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADwoWVjndt2Drv33pQKbQGmNh84E0CZks5tWeN_gaJpZM4SIJ5U
.

--
Darryl L. Pierce<EMAIL_ADDRESS>"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord
Downie

@kwin Last time I checked apologizing for a fault and giving context to those wondering why they received unrelated mail could rightfully be considered polite and friendly. And yes, even for 2000 recipients.
@mcpierce your harsh order to stop being sloppy might feel suitable in some corporate environments. As an Apache community and foundation member I would ask you to reconsider this attitude. Raising awareness and being supportive to help avoiding future mistakes is great. Finger pointing, blaming and patronizing is as much an annoyance as mistakenly posting to 2000 users.

@rgielen, in defense for @kwin: he was pointing out that in @yasserzamani's apology he actually did re-mention the entire group again, causing the already unsubscribed people to be resubscribed yet again, if I get his point right. But anyway, these mistakes happen and if infra can do something about it from their side, it should be resolved for good in the future anyway. So no big deal IMO.

Please stop perpetuating this conversation.
On Mon, Feb 19, 2018 at 5:22 PM, René Gielen<EMAIL_ADDRESS>wrote:

@kwin https://github.com/kwin Last time I checked apologizing for a
fault and giving context to those wondering why they received unrelated
mail could rightfully be considered polite and friendly. And yes, even for
2000 recipients.
@mcpierce https://github.com/mcpierce your harsh order to stop being
sloppy might feel suitable in some corporate environments. As an Apache
community and foundation member I would ask you to reconsider this
attitude. Raising awareness and being supportive to help avoiding future
mistakes is great. Finger pointing, blaming and patronizing is as much an
annoyance as mistakenly posting to 2000 users.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/struts/pull/209#issuecomment-366816527, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADwoTQfhFJmnLMCxH9BPHbOcWMJ592rks5tWfQxgaJpZM4SIJ5U
.

--
Darryl L. Pierce<EMAIL_ADDRESS>"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord
Downie

@Luke1410 point taken. But we should rather blame the tool and maybe our setup here instead of a person acting in good faith.

unsubscribe
Sent from my iPhone

On Feb 19, 2018, at 2:49 PM, René Gielen<EMAIL_ADDRESS>wrote:
@Luke1410 point taken. But we should rather blame the tool and maybe our setup here instead of a person acting in good faith.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Please merge and/or delete this PR so 2,000 people don't have to manually mute the thread.


keep generic info in inferring and aliasing in type decl statements

Suggestion
🔍 Search Terms
generic, infer, type alias
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
TBH, I don't know whether this feature is possible/worth to implement or not.
Suppose there is a type type Test<T> = T extends (p: infer P) => any ? P : never.
My suggestion is, keep generic info in inferring, so type A = Test<(<T>(p: T) => any)> is equal to type A<T> = T.
And a similar scenario is to alias generic types: type B = Test is equal to type B<T> = Test<T>
They can be regarded as declaring a generic type without declaring type parameters, and its type parameters are derived from conditional types.
📃 Motivating Example
At present, generic information is lost during inferring. Playground Link
type FirstParameter<T> = T extends (p: infer P) => any ? P : never

function someFn<T>(p: {
  msg: T
  tag: T
}) {}

function check(p: FirstParameter<typeof someFn>) {}

check({
  msg: '123',
  tag: 123
}) // no error because generic info is lost and msg/tag are both of unknown type

And type alias without type parameters for generic type is not supported.
type Some<T> = { value: T }

type Another = Some // not supported

💻 Use Cases
See above.
As a supplement, my real use case is, Playground
type AllowedProps<T> = T extends {props: any} ? T["props"] : T extends (props: infer P, ctx: undefined|infer C) => any ?
  P | (P & C) : T extends (props: infer P, ctx: infer C) => any ?
    P & C
    : never

function someFn<T>(p: {
  payload: T
}) {}

type Props = AllowedProps<typeof someFn> // { payload: unknown }

I believe what you're looking for is #1213.


Add node modules troubleshooting and centralize troubleshooting docs

Description
This PR adds a node modules troubleshooting section to the docs/ directory within a new troubleshooting doc. The new troubleshooting doc centralizes other troubleshooting-related tasks from other docs.

Additional Changes

Add a new troubleshooting section related to NATS Jetstream not being enabled
Refactor architecture diagram to include the rebaser and modernize descriptions
Drop unnecessary parts of the architecture diagram (e.g. external services and naive depictions of the function execution flow)
Remove irrelevant or outdated docs sections
Fix a grammatical issue in the root README

bors merge


When upgaring C# project -> add "EnableDynamicLoading" to .csproj

Godot version
Godot4 Beta2 net6
System information
Windows10, Vulkan, RTX2080
Issue description
When upgrading an existing C# project to Godot4,
"<EnableDynamicLoading>true</EnableDynamicLoading>" wont get added automatically, which seems to be prerequisite to run c# scripts in general. Else Godot wont be able to find the classes.
This should be done automatically i think.
Steps to reproduce
Have a C# project without "EnableDynamicLoading" enabled in .csproj.
Minimal reproduction project
No response

I don't think we support opening Godot 3 C# projects transparently in Godot 4. You'll have to let Godot recreate the .csproj or fix it manually. To fix the .csproj you'll need to change the TFM to net6.0 and add <EnableDynamicLoading>true</EnableDynamicLoading>.


Exits to command after "Do you want to continue?"

npm-windows-upgrade version 2.3.0. Have just tested this out on 2 different machines - same result.
Following the instructions perfectly, I get to the step where you run the "npm-windows-upgrade" command:
PS C:\WINDOWS\system32> npm-windows-upgrade
npm-windows-upgrade 2.3.0
? This tool will upgrade npm. Do you want to continue? Yes
PS C:\WINDOWS\system32>

Same happens to me.
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\James> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
PS C:\Users\James> npm install --global --production npm-windows-upgrade
C:\Users\James\AppData\Roaming\npm\npm-windows-upgrade -> C:\Users\James\AppData\Roaming\npm\node_modules\npm-windows-up
grade\bin\npm-windows-upgrade
<EMAIL_ADDRESS>C:\Users\James\AppData\Roaming\npm\node_modules\npm-windows-upgrade
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>pinkie-prom
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>PS C:\Users\James> npm-windows-upgrade
npm-windows-upgrade 2.3.0
? This tool will upgrade npm. Do you want to continue? Yes
PS C:\Users\James>

Thanks, something is clearly off - I'm also getting reports via E-Mail. I'll probably have a fix out today.

And fixed! Again, thanks for the reports!

Thanks for the quick fix Felix :D

Of course!


Only allow squash merge

https://lists.apache.org/thread.html/r1661a81117d2ed6ed5bbc1e8b4a7542ac94bb6d56eb2d0abcc3545aa%40<dev.dolphinscheduler.apache.org>

Codecov Report

Merging #6274 (f6e7b87) into dev (58da46b) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #6274      +/-   ##
============================================
+ Coverage     38.70%   38.72%   +0.02%
+ Complexity     3216     3213       -3
============================================
  Files           641      637       -4
  Lines         25374    25321      -53
  Branches       2752     2752
============================================
- Hits           9820     9805      -15
+ Misses        14673    14638      -35
+ Partials        881      878       -3

Impacted Files
Coverage Δ

...er/master/processor/queue/TaskResponseService.java
40.00% <0.00%> (-15.30%)
:arrow_down:

...rver/master/processor/queue/TaskResponseEvent.java
93.54% <0.00%> (-6.46%)
:arrow_down:

...dolphinscheduler/spi/task/request/TaskRequest.java
0.00% <0.00%> (ø)

...nscheduler/server/entity/TaskExecutionContext.java
45.08% <0.00%> (ø)

...phinscheduler/spi/task/request/SQLTaskRequest.java

...r/server/entity/ProcedureTaskExecutionContext.java

...heduler/spi/task/request/ProcedureTaskRequest.java

...inscheduler/spi/task/request/DataxTaskRequest.java

...inscheduler/spi/task/request/SqoopTaskRequest.java

...pi/task/request/ProcedureTaskExecutionContext.java
0.00% <0.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


Remove device memory allocation out of memory pool

This PR removes device memory allocation out of memory pool form cupy.sort.

LGTM!


tr_image: disable tiled renderer if float image are unavailable, fix #745

do not load tiled renderer images if tiled renderer is disabled
disable tiled renderer if float image are unavailable

fix #745

This also avoids to run some light code when the tiled renderer is disabled.

LGTM


The Github account link asociated to Patricia Istrate is missing from the "Echipa" section

URL: https://oportunitatisicariere.ro/
Browser: Chrome
Device: Laptop
OS: Windows 11 PRO
STEPS TO REPRODUCE:
1 .Open the URL in the browser
2. Scroll down and click "Echipa" section.
3. Observe that the Github account link asociated to Patricia Istrate is missing.
EXPECTED RESULTS:
Patricia Istrate should have Github account on "Echipa" section.
ACTUAL RESULTS:
Patricia Istrate doesn't have Github account on "Echipa" section.

Since Patricia is a UI/UX Expert, she doesn't have a Github account.


API key usage regarding authenticating with package source

The API key is only used for publishing and consuming packages but not for authenticating with the package source.

Docs Build status updates of commit eb984e1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/cli-reference/cli-ref-setapikey.md
:white_check_mark:Succeeded
View

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


Added Score Counter and Practice Key Advisor

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes # 3464

Added Counters to give user information about the correct Key Strokes.
Added Key advisor which will tell the user about the key which was pressed incorrectly most number of times and needs more practice at the end of the game.

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & 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 have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @KrishnaKalra ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @KrishnaKalra,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @KrishnaKalra , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Sloth as library for generation prometheus rules

I use sloth as generator prometheus rules by my specification.
MySpec -> SlothSpec -> PrometheusRule
Code of generation is placed to internal  and i cant import it in my project. To generate prometheus rules i have to generate yaml slothSpec and run binary.
It would be cool if the code from directory internal moved to directory pkg. And Service.Generate will become available for import.

Hi @paragor!
I thought about this in the past and would be nice, I would need to think about how to expose a usable and easy-to-use API to the public.


Complete object option encapsulation

Here my completion of the encapsulation of each object option byte into an specific struct. Fast reviews are welcome to merge this fast.

Hey @JannesBrands, the test case read_working_set_test seems to fail, could you take a look at that?

Hey @JannesBrands, the test case read_working_set_test seems to fail, could you take a look at that?

It's a todo. For that reason it's failing. The actual test is working.

not yet implemented: Test working set object with invalid data

So I could fix that inside this PR, but since this PR is about something else I would like to keep it inside a new PR. @GwnDaan let me know your opinion, if not, I'll fix it here.

I wanted to implement that inside the other PR that you merged last week.

That PR has been "unmerged", so basically this PR is that one + any additions you made since then. I don't mind a failing test for now since the target branch is not develop

I wanted to implement that inside the other PR that you merged last week.

That PR has been "unmerged", so basically this PR is that one + any additions you made since then. I don't mind a failing test for now since the target branch is not develop

Ahhhhhh, my bad. I didn't understand that point or better said: I forgot what actually happened at the end with the PR and merge haha.
Let me change the description and title later.
I'll hit you up when I complete something significant here.

Merging this now to allow us to faster iterate on it in main 😄


Add code for Radix Sort.

Radix Sort implementation added.

@memr5 Added Code for Radix sort. Please check! Thanks.

@memr5 What about this PR?


add more detailed information

Explain another case in which this website is shown.
See also #23.

@DerVogel2020 Thanks for the suggestion. It is rather like: ... if the browser does not redirect to the CWA. This might be  due to preference settings of the browser app and/or OS settings.

@dsarkar I just updated the PR. Feel free to merge it.


Add pytz

Without pytz, you will get an error when visiting Django Admin page for Events

@vinamelody Can you please provide the error message, which pops up?

@vinamelody Ah got it. Thanks a lot.

ImproperlyConfigured at /admin/calendarium/event/
This query requires pytz, but it isn't installed.
Request Method:	GET
Request URL:	http://localhost:8000/admin/calendarium/event/
Django Version:	1.9.7
Exception Type:	ImproperlyConfigured
Exception Value:
This query requires pytz, but it isn't installed.

I'm also getting blank page on /calendar after setting up my own base.html and home.html . I'm not django expert but would you take a look at my code? haven't done anything much from fresh django project.

@vinamelody Sure. It's important to have a {% block main %} (https://github.com/bitmazk/django-calendarium/blob/master/calendarium/templates/base.html#L15) in your base.html. If you still need help contact me at<EMAIL_ADDRESS>


Fix deactivating/canceling freehand while drawing is not working #784

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
Updated the freehand example to demonstrate the functionality/fix
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix deactivating/canceling freehand while drawing is not working #784

What is the current behavior? (You can also link to an open issue here)
Error in the debugger

What is the new behavior (if this is a feature change)?
Fix the error in the debugger and delete the freehand if not enough handles to close.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:
To make merging easier, this branch is forked from the "freehand-fireModifiedEvent-774" branch and is to be merged there.

Coverage decreased (-0.01%) to 6.981% when pulling<PHONE_NUMBER>e29aac4610c80da47531842c86ffa2 on freehand-canceldrawing-784 into 0be1a7369bfe7790d9b482e78eb353eee53a1fbf on freehand-fireModifiedEvent-774.


After the intelligent configuration is stopped normally, starting the smart configuration again will cause the app to crash.

After starting the smart config, stop the config before getting the callback, The app will crash.
I compared the latest code of github on Esp 8266 and found that one of its files has changed. Because my project is more urgent, I cloned your project to handle this problem, submitted it to my repository, and it works fine now. You can view and update your code against the change record. It just modified the code of about 4 lines in a file.
my github:
https://github.com/13546777510/cordova-plugin-smartconfig
Sent from PPHub For GitHub

Yes.. Im also tracking other plugin at https://github.com/coloz/cordova-plugin-esptouch
Will do changes after compiling all latest updates.

@bkrajendra well, good luck!


Error querying the database: Unknown authentication plugin 'mysql_clear_password'.

Problem
Getting "Error querying the database: Unknown authentication plugin `mysql_clear_password'." when trying to connect to an AWS RDS proxy (I can connect fine in other clients with proxy and I can connect fine with prisma directly to the database).
Think its because you have to send the password a certain way when using the mysql_clear_password plugin
Suggested solution
I couldn't find where we make mysql connections in the project (didn't spend a lot of time looking), but we need add a way to switch auth when making a connection.
mysql2 has the ability to do this with the authPlugins or on the connection config itself as authSwitchHandler. See below which I got from here https://gist.github.com/btbytes/cf1a1e4a90582924833f4d0a15acc1e9
connectionConfig.authSwitchHandler = (data, cb) => {
  if (data.pluginName === 'mysql_clear_password') {
	// See https://dev.mysql.com/doc/internals/en/clear-text-authentication.html
	console.log("pluginName: "+data.pluginName);
	let password = token + '\0';
	let buffer = Buffer.from(password);
	cb(null, password);
  }
};

I don't think there is alternative solution using prisma

Hey @shayaantx - have you found any workaround for this? I'm facing the same issue

@cmonaghan1 unfortunately I never did. I switched to another framework for my needs that let use an authPlugin in mysql2 (which lets me use clear text auth)
If there is a way in prisma to manually create the connection and also change the authentication then that would solve it I think (I think prisma def supports mysql2 so it should be possible).

This is an issue for me with Google Cloud also (I'm guessing the same for other cloud providers). This limitation means I can't use service accounts to connect to MySQL instances (effectively limiting security).
@janpio I'm happy to take a look at implementing something like this, could you give me an idea of where to start in the codebase? There is very little plugin-ability currently in Prisma (in this case for creating connections), maybe that's here I should start?

It'll be fairly tricky to reproduce (as my example is with Google Cloud specifically). I believe it's because some forms of MySQL authentication (token-based perhaps) use a clear text password, which is supported by MySQL via a flag:
https://dev.mysql.com/doc/refman/8.0/en/cleartext-pluggable-authentication.html
Here are the Google Cloud docs (which mention to enable the clear text plugin for auth to work). Specifically the section:

For these steps, you must: Use the --enable-cleartext-plugin mysql option.` line.

An example of how this can work in the mysql2 library (mentioned above) is here. If there was just a way to plug into the Prisma MySQL connection (not sure if that's in JS world in Prisma or not), we could basically implement this ourselves in our connection config/code.

Unfortuantely the database connection is in the Rust part which uses a Rust MySQL driver.
What could help us is a Docker setup that shows the same behavior and configuration as the Google Cloud one you linked to, as it would make it significantly less effort and simpler for us to reproduce. We will still get to this one day directly with Google Cloud, but that will definitely take longer than if we can just use a Docker container that someone already tested to show the same problem.

@janpio It's very simple to setup this kind. I am also getting same kind error like:
Error querying the database: Unknown authentication plugin `sha256_password'.

Steps to setup:
Install any version of MySQL(5.7 or 8) and update mysql.conf file as below:
[mysqld]
default_authentication_plugin=sha256_password

https://dev.mysql.com/doc/refman/8.0/en/sha256-pluggable-authentication.html
https://stackoverflow.com/questions/341608/mysql-config-file-location-redhat-linux-server
I really wants prisma team to look into this issue, but unfortunately, team is relactant to accept this as bug,
https://github.com/prisma/prisma/discussions/14181
https://github.com/prisma/prisma/issues/14219
https://github.com/prisma/prisma/issues/14149
This kind of issue is already resolved in mysql2 npm library. But I want to use prisma as ORM.

@Jolg42 Is there any reason why it is removed from process/candidate ?

@ansarizeeshan So, after a second read, this issue is about mysql_clear_password and your related issue should probably have its own issue as it might be a different problem.

@ansarizeeshan I created an issue https://github.com/prisma/prisma/issues/14417 from your GitHub discussion https://github.com/prisma/prisma/discussions/14181. (a candidate label was on your discussion, unfortunately during our processes we only look at issues and not discussions, so that fixes it).
Let's continue there, we would need to reproduce it first.

We are running into this too, trying to connect to RDS using IAM authentication, which also requires --enable-cleartext-plugin. (See https://aws.amazon.com/premiumsupport/knowledge-center/users-connect-rds-iam/)

Unfortuantely the database connection is in the Rust part which uses a Rust MySQL driver.
What could help us is a Docker setup that shows the same behavior and configuration as the Google Cloud one you linked to, as it would make it significantly less effort and simpler for us to reproduce. We will still get to this one day directly with Google Cloud, but that will definitely take longer than if we can just use a Docker container that someone already tested to show the same problem.

Hi @janpio rust mysql support mysql_clear_password now! https://github.com/blackbeam/rust-mysql-simple/releases .please help implement prisma config for that.
We really need it cuz mysql 8.0 ref set it as default way and more and more DB provider set it to mandatory for service account.

That's not the MySQL library we use, but it seems https://github.com/blackbeam/mysql_async which we do use also supports this now 🥳
The situation is a bit more complicated, as we in reality use a fork from https://github.com/prisma/mysql_async/tree/vendored-openssl with small changes and that is not fully up to date - so if someone wants to try to fix that making sure all the upstream changes are included is the first step here. And then this can be attempted to be implemented in https://github.com/prisma/prisma-engines/

NP, let me create a reproduce dockerfile.

Via https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html#option_mysql_enable-cleartext-plugin it seems that one has to start MySQL with --enable-cleartext-plugin, or via https://dev.mysql.com/doc/refman/8.0/en/cleartext-pluggable-authentication.html setting the env var LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1 might also be enough. So maybe a change here is enough: https://github.com/prisma/prisma/blob/dcbc3c3b3204650c45ce8cb9c1bfbccd3cb2527c/docker/docker-compose.yml#L59

Hey guys, I currently want to integrate Prisma to our current project at my company and would need the fix to be hopefully available ASAP. I created a PR mentioned here and hope Team will review and deploy it. Thanks!

Changing our Docker container setup is not enough to fix the problem, it is just the requirement that someone can test what is being described as not working. The PR unfortunately does not even show that in the failing tests.

Is there any updates?
I am currently trying to connect to aws rds via iam auth. And I got
Error querying the database: Unknown authentication plugin `mysql_clear_password'.

I understand mysql_clear_password is not supported yet in inner engine of prisma.
Maybe the error message is from here.
https://github.com/prisma/mysql_async/blob/master/src/conn/mod.rs#L461
https://github.com/prisma/mysql_async/blob/0778dea4c9a9f851ff41753e92208dcdf3824c40/src/error.rs#L145
I am searching alternative way to query aws rds via iam auth in prisma.

Any updates? I think I have to learn Rust and find a way to fix it 😭

https://github.com/sidorares/node-mysql2/pull/1552 some other libs PR about it

Just ran into this in an environment where we are trying to use AWS RDS w/ IAM authentication. Has anyone managed to get this working?

Not really, if your project just bootstrap, you could try drizzle which base on mysql2 that support 'mysql_clear_password'

It seems to me the vendored openssl branch at https://github.com/prisma/mysql_async/tree/vendored-openssl is already 110 commits behind master of https://github.com/blackbeam/mysql_async so even though the relevant commit https://github.com/blackbeam/mysql_async/commit/2842af3595c2e30fe97bf2208ce31bb9cc5ed114 which would allow you to do mysql://localhost/db?enable_cleartext_plugin=true happened around 1.5 years ago, it's not available in Prisma. So Prisma can not be used with AWS, at least in the AWS RDS IAM configuration.
There is also another issue already fixed in upstream (https://github.com/prisma/prisma/issues/24010). So I think it would be good to update the fork to the latest version. Or even re-evaluate if the fork is really necessary. I have a hard time seeing how exactly the Rust code ends up in the final package and how to verify changes in mysql_async together with Prisma.


Copy edit Dex v2 page, §Rethinking registration

https://dexidp.io/docs/v2/#rethinking-registration

Cannot see it now so the issue is probably fixed


GCE instance Context menu show properties won't show the property panel at first click

I must click it twice to show the properties.

Not repro.


SilentCMD new feature

SilentCMD [BatchFile [BatchArguments]] [Options]
Options:
/LOG:file :: output status to LOG file (overwrite existing log).
/LOG+:file :: output status to LOG file (append to existing log).
/DELAY:seconds ( delay the execution of BAT/CMD file by xxxx seconds )
Examples
SilentCMD c:\DoSomething.bat
SilentCMD c:\MyBatch.cmd MyParam1 /LOG:c:\MyLog.txt
SilentCMD c:\MyBatch.cmd /LOG+:c:\MyLog.txt
SilentCMD c:\MyBatch.cmd /DELAY:3600 /LOG+:c:\MyLog.txt
--- Very useful at boot for NET commands

@DatamationNet, thanks for submitting. Good proposal. I will implement it soon.

@stbrenner thank you for such a great tool!
I tried to use rubyw.exe (runs windowless) but if inside I use something like this
system "mogrify -resize 1024x1024 img.jpg" — it creates a visible cmd window when running.
SilentCMD made everything silent 👍

@stbrenner thank you for such a great tool!
I tried to use rubyw.exe (runs windowless) but if inside I use something like this
system "mogrify -resize 1024x1024 img.jpg" — it creates a visible cmd window when running.
SilentCMD made everything silent 👍


CallOutcome memory_offset is confusing/hard to use

CallOutcome is used to override the outcome of a call in Inspector::call
CalOutcome now takes a memory_offset:
https://github.com/bluealloy/revm/blob/c93be448896bb9fc8390af1cd1937364b38638c5/crates/interpreter/src/call_outcome.rs#L16-L16
previously it was possible to return the output as value, for example manually reverting:
 return (InstructionResult::Revert, Gas::new(0), err.to_string().into());

It's unclear how to achieve the same behaviour, imo ideally we can return a InterpreterResult here

memory_offset represents where to write data in the parent frame, output is still present in InterpreterResult

memory_offset represents where to write data in the parent frame, output is still present in InterpreterResult

Having output inside InterpreterResult does not mean that all of it going to be written to parent frame.

hmm,
so what I want is to return a revert with an error, I know how to construct the appropriate InterpreterResult, but Idk what to use for the memory_offset

I see, i really need to revisit call/create inputs outputs they are messy. In bank rn, will check it later


[feature request] Archive tasks in their correct completed dates instead of use the date that a task was archived

These are my current settings:

Now imagine that I have these tasks:

I am using https://github.com/obsidian-tasks-group/obsidian-tasks plugin.
As you can see, the plugin automatically adds the done date to the end of the task line.
It would be great if the Obsisian Task Archiver could identify the done date and archive the tasks to their correct dates.
If I archive the mentioned tasks, I'll get the following behavior:

While my expected behavior is:

I understand that it's an odd request, since it's using a feature of a third party plugin.
I would suggest to create an option to enable/disable the feature.
And instead of rely on the third party plugin, the rule would be:

"try to find the last date present in the task-line and use it when archiving, if there isn't a date, use the current date when archiving"

First of all, thank you for the wonderful add-on 👍
I use a combination of Task Archiver and Tasks as well and have the same request.
Some of my projects are longer running and currently have a long list of archived tasks that are not sorted by any means.
Hopefully this can become possible.


Target profile page rewrite: Create collapsed and sticky target information block

Use case(s)

As a user that has scrolled down the dashboard on the target profile page, I want to see basic information about the target to ensure I am on the correct page - this information includes:

HGNC symbol
Full gene name
Ensembl ID
UniProt ID
Link to the gene profile page on the Open Targets Genetics Portal

Note: this use case is based on the analytics reports from 1 September to 30 November 2018 which show that more than 25% of our traffic comes from browsers where the screen size is 768px or less. It is also based on the fact that, in production, we are likely to have at least 4 rows of widgets to accommodate all of the existing accordion tabs on the target profile page
Component design

Full size version
Key design and interaction notes

Once a user has scrolled down the page and the target description and synonyms are no longer in view, please collapse and hide the header component, the target description blog, and the target synonym block
Once the blocks have been collapsed, the target-info-block should be no more than 130px in height with only the following information:

Target icon
HGNC symbol
Full target name
Ensembl and UniProt IDs
Link to gene page on OT Genetics
Tabs allowing user to toggle between Associations View and Target Profile Overview*

If the user then scrolls back up the page to a point where the target description or synonyms are in the browser window, please expand and show these blocks
One of the inspirations for this feature is the interaction pattern found on the Carter digital agency website

*Note: to maximise the space available for widgets and target data, we can consider removing the tabs from the collapsed information block
Design assets

The icons are available on the OT Core Platform Team Google Drive
Colour codes are available on the OT Core Platform Team Google Drive

@andrewhercules could you evaluate if any of this still makes sense with the new design. I would advice against a sticky information block as it's some valuable space that you can not take back. Space might be valuable in small screens.

@d0choa, I agree that it does take up valuable space which could be better used by showing actual content.
If we find that users are uncertain about the context of the page they are on (e.g. what target or disease?), perhaps we can alter the menu box to include contextual information. But I would recommend that we explore this once the majority of the pages are complete to see if its a scalable and sustainable solution, particularly for the evidence pages.


Unstable hot

Let go💃✈
On Thu, Mar 9, 2023 at 12:29 AM Christian Mortaro @.***>
wrote:

Closed #324 https://github.com/nullstack/nullstack/pull/324.
—
Reply to this email directly, view it on GitHub
https://github.com/nullstack/nullstack/pull/324#event-8701746663, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6GENWJWOATZ3YXVCW6GYYTW3EI5JANCNFSM6AAAAAAUSFMOPQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


ja: Make docs/reference/glossary/container.md follow v1.19 of the original text

This is a Feature Request

What would you like to be added
Update docs/reference/glossary/container.md to follow v1.19 of the original (English) text.
Why is this needed
content/ja/docs/reference/glossary/container.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/tree/dev-1.19-ja.2/content/ja/docs/reference/glossary/container.md
Original
https://github.com/kubernetes/website/tree/release-1.19/content/en/docs/reference/glossary/container.md
diff between translated and v1.19
https://gist.github.com/779ce162592f5e22f6c915f49a85ad19
Note
Currently, we use dev-1.19-ja.2 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel

Hugoシステム上の変更だけっぽいので日本語でも対応が必要がどうか確認

/triage accepted

full_linkはjaの方にもありそうなので、とりあえず直しておいた方が無難なのでは？という感じです

/assign

/close


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1122 ms

Resolved: Bofrost.at performance has improved in da218ca after 34 minutes.


Code quality improvements - adress findings from www.codefactor.io

Please create PRs for addressing code quality issues reported by codefactor scans
https://www.codefactor.io/repository/github/oneapi-src/onedal
Some problems are simple fixes and i would expect that they can be fixed across entire repo and not one by one
Other might be super complex and i don't think can be fixed without serious refactoring - code complexity

@napetrov I have raised a PR fixing an if/elif issue. #2308
If you can review it once and give your feedback, I will fix other such issues as well.

@napetrov feel free to assign any of the refactoring issues to me and @saiteja13427, would be happy to contribute.

@napetrov I want to refactor the code, but can you tell me the testing procedure. Particularly I want to refactor those large number if-elif conditions in /docs/dalapi/doxypy/parser/compound.py

@shekhar-chauhan  @Amruta789  - sorry, missed notifications here. Be free to raise PRs with fixes.


python3.9-pikepdf-2.12.2 fails to build on unstable-small

Describe the bug
building '/nix/store/vx0xf1j59m829ml37izwadrz130ziahg-python3.9-pikepdf-2.12.2.drv'...
builder for '/nix/store/vx0xf1j59m829ml37izwadrz130ziahg-python3.9-pikepdf-2.12.2.drv' failed with exit code 1; last 10 log lines:
  >       assert Name('/xyz') == b'/xyz'
  E       assert pikepdf.Name("/xyz") == b'/xyz'
  E        +  where pikepdf.Name("/xyz") = Name('/xyz')

  tests/test_object.py:196: AssertionError
  =========================== short test summary info ============================
  FAILED tests/test_object.py::test_unicode_fails - UnicodeEncodeError: 'utf-8'...
  FAILED tests/test_object.py::TestName::test_name_equality - assert pikepdf.Na...
  FAILED tests/test_object.py::test_bytes - assert pikepdf.Name("/xyz") == b'/xyz'
  ============= 3 failed, 440 passed, 8 skipped, 1 xfailed in 7.70s ==============
cannot build derivation '/nix/store/xx89191099n4h192jbx0cy1ajhff967s-python3.9-img2pdf-0.4.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/389048kx1gwb6jyi8h50w431da5q27c4-system-path.drv': 1 dependencies couldn't be built

Steps To Reproduce
Steps to reproduce the behavior:
Try to install or build the derivation.
Expected behavior
Successful update.
Additional context
$ sudo nixos-rebuild boot -Q --upgrade
Notify maintainers
@Kiwi
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.52, NixOS, 21.11pre304909.d0044b0e7d5 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.14`
 - channels(root): `"nixos-21.11pre305784.151c2f5a20c"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Can confirm: I see the same on nixpkgs-unstable. Looks like a unicode string representation problem?


Update darabonba-openapi for meeting compliance requirements

Problem
https://github.com/alibabacloud-go/darabonba-openapi currently uses https://github.com/alibabacloud-go/alibabacloud-gateway-spi which is unlicensed. There is an active PR in the repository to add an Apache license, https://github.com/alibabacloud-go/alibabacloud-gateway-spi/pull/1
To do

track updating alibabacloud-gateway-spi in darabonba-openapi
update darabonba-openapi version in this repository

Ref https://github.com/dapr/dapr/issues/4158

@beiwei can you help eith

@beiwei30 can you help getting this PR merged? https://github.com/alibabacloud-go/alibabacloud-gateway-spi/pull/1

/assign

Hi @beiwei30, can you please have a look at https://github.com/alibabacloud-go/alibabacloud-gateway-spi/pull/1?

/cc @yaron2 @artursouza, can you please help here in getting some traction on the PR?

External PRs

https://github.com/alibabacloud-go/alibabacloud-gateway-spi/pull/2
https://github.com/alibabacloud-go/darabonba-openapi/pull/2


Change the name of the special fetch function

Describe the problem
Since fetch from the Fetch API is a global variable, using the exact same name for the special context-specific SvelteKit fetch is error prone and unfriendly to beginners. For example, say we meant to write the following code in routes/+page.server.ts:
export const load: PageServerLoad = ({ fetch }) => {
 fetch('/example');
};

But instead, we accidentally wrote the code as such:
export const load: PageServerLoad = () => {
 fetch('/example');
};

The compiler will not complain, and we will be none the wiser about anything being wrong until encountering a run-time error. Then, when trying to debug the source of said error, it will likely take some time and/or previous experience with this type of error to find where the problem is. To make matters worse, there is a chance the error will be intermittent, making it even harder to catch.
The docs are also unclear about this. Take for example the documentation for handleFetch. It states:

This function allows you to modify (or replace) a fetch request that happens inside a load or action function that runs on the server (or during pre-rendering).

There is no mention that this fetch request cannot come from the global fetch.
Describe the proposed solution
There are a few ways to easily remedy the issue. My preferred is to simply rename the SvelteKit fetch to something else, for example svetch. Then the following will lead to a compiler error:
export const load: PageServerLoad = () => {
 svetch('/example');
};

And the docs will refer to svetch rather than fetch, removing all ambiguity from code and documentation alike.
Alternatives considered
Some other form of compile-time error or warning could be used. For example, there could be an eslint rule to error/warn whenever the global fetch is referenced within a load or action function. With this solution, I'm not sure if it's possible to manage the cases where such a reference is made within a helper function, so perhaps a clear runtime error/warning in these cases might be more realistic. Perhaps instead eslint can complain whenever global fetch appears in any server file at all.
Alternatively, global fetch could be disabled by default within SvelteKit projects, requiring an explicit import to use. While this should be enough for more experienced users of SvelteKit to avoid the mistake, it does not necessarily discourage beginners from importing global fetch when learning from the docs. I'm also not sure if this is even possible to do on a browser.
Importance
would make my life easier
Additional Information
No response

ESLint has this pretty well covered.
// eslint.config.js

/** @type {import('eslint').Linter.FlatConfig} */
const safeFetch = {
	files: ['**/+*'],
	ignores: ['**/+*.svelte'],
	rules: {
		'no-restricted-globals': [
			'error',
			{
				name: 'fetch',
				message: 'Use SvelteKit load fetch instead. Docs: https://kit.svelte.dev/docs/load#making-fetch-requests',
			},
		],
	},
};

export default config = [otherStuff, safeFetch]

But it would be nice as a default lint instead of relying on the browser console warnings.

Thanks for the reply. This looks like a decent solution, but I think it comes with a couple of caveats:

load is not the only place where you may want to use the special fetch request, other examples include form actions or using event.fetch in an API endpoint. So the error message might be misleading. This can probably be fixed by just changing the message however.
There might be times where you do want to use global fetch, for example if you want to explicitly bypass the logic in handleFetch. Disabling the error line by line is one solution, but it's ugly.

Thanks for the suggestion, but we're not going to change the name of the fetch method, even if it may sometimes cause a bit of confusion - the dev time warnings will catch it quickly.

@dummdidumm what do you mean by dev time warnings? I have never seen any warnings to do with this. I also don't quite understand the resistance to changing the name of fetch, given you failed to provide a compelling reason to keep it as is.

There might be times where you do want to use global fetch, for example if you want to explicitly bypass the logic in handleFetch. Disabling the error line by line is one solution, but it's ugly.

You can write globalThis.fetch.

That rule will not catch the error in the following case:

Change includes to be all files and change your function to
export const loadHelper = () => {
fetch('/example');
};
export const load: PageServerLoad = () => {
loadHelper();
};

You can write globalThis.fetch

Change includes to be all files

Yep, this is the way to go about it, since it doesn't seem like they're keen on changing the name. It's a shame, because I've never seen another framework/library override a global variable name like this, and for good reason - it's so obviously an anti-pattern to do so.

@dummdidumm I think I understand why I'm not seeing warnings, the warning only appears when using a relative URL, but the following will not yield any warning:
export const load: PageServerLoad = () => {
 fetch('example.com');
};

When, for example, using this as a proxy for an external API, you will run into cookie issues. Debugging the source of the cookie issues is often a pain.


.pre-commit-config.yaml Template file not found

cfn-lint version: 0.24.2
pre-commit 1.18.3
Description of issue.
Template file not found
Contents of .pre-commit-config.yaml
repos:
- repo: https://github.com/aws-cloudformation/cfn-python-lint
  rev: master
  hooks:
  - id: cfn-python-lint
#    entry: cfn-lint --ignore-templates .pre-commit-config.yaml -t templates/nlb.yaml
    args: [-t templates/nlb.yaml --debug]

When using pre-commit this does not work:
git add .pre-commit-config.yaml ; pre-commit
AWS CloudFormation Linter................................................Failed
hookid: cfn-python-lint

E0000 Template file not found:  templates/nlb.yaml --debug
 templates/nlb.yaml --debug:1:1
2019-09-27 08:15:27,900 - cfnlint.decode - ERROR - Template file not found:  templates/nlb.yaml --debug

However when I do pip install cfn-lint  then comment out the args line and uncomment out the entry line it then works:
git add .pre-commit-config.yaml ; pre-commit
AWS CloudFormation Linter................................................Failed
hookid: cfn-python-lint

W2001 Parameter VpcName not used.
templates/nlb.yaml:18:3

E3012 Property Resources/NetworkLoadBalancer/Properties/LoadBalancerAttributes/0/Value should be of type String
templates/nlb.yaml:94:10

And when trying this way as per your README.md https://github.com/aws-cloudformation/cfn-python-lint/blob/master/README.md#pre-commit
  - id: cfn-python-lint
#    entry: cfn-lint --ignore-templates .pre-commit-config.yaml -t templates/nlb.yaml
#    args: [-t templates/nlb.yaml --debug]
    files: templates/.*\.(json|yml|yaml)$

This is presented back:
git add .pre-commit-config.yaml ; pre-commit
AWS CloudFormation Linter............................(no files to check)Skipped

Looks like it is how the pre commit sends the command to cfn-lint.  So this worked for me.  Looks like you would just need to add commas to separate the parameters in that array.
repos:
  - repo: https://github.com/aws-cloudformation/cfn-python-lint
    rev: master
    hooks:
      - id: cfn-python-lint
        #    entry: cfn-lint --ignore-templates .pre-commit-config.yaml -t templates/nlb.yaml
        args: [-t, templates/vpc.yaml, --debug]

Your last one is interesting.  This works for me and my files are being checked.  I may need to know a little bit more here.  OS, Python Version?
repos:
  - repo: https://github.com/aws-cloudformation/cfn-python-lint
    rev: master
    hooks:
      - id: cfn-python-lint
        files: templates/.*\.(json|yml|yaml)$


Add driver support to specify an overriding output path to record in the index data

The frontend supports this via new options -index-unit-output-path and -index-unit-output-path-filelist that mirror -o and -output-filelist. These are intended to allow sharing index data across builds in separate directories (so different -o values) that are otherwise equivalent as far as the index data is concerned (e.g. an ASAN build and a non-ASAN build) by supplying the same -index-unit-output-path for both.
This change updates the driver to add these new options to the frontend invocation 1) when a new "index-unit-output-path" entry is specified for one or more input files in the -output-file-map json or 2) when -index-file is specified (guaranteeing a single primary input) and a new -index-unit-output-path driver option is passed.
Equivalent change for the old driver here: https://github.com/apple/swift/pull/36272
Resolves rdar://problem/74816412

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci test and merge

@swift-ci please test


Release notes for Aug 20 release.

Closing, since I realized this doesn't actually need a version bump.


fix: show indicator for stage environment AB#7065

@gulfaraz works locally (when I change the value around)

is 'stage' the right value for this instead of 'staging'? (doesn't matter too much obviously)
is this value already set as such on the staging-server?


Closes #3005 by using the correct relative path while generating .d.ts files

See #3005

Thanks! Merged


what is the point of state?

state doesn't seem to be used anywhere
https://github.com/yoshuawuyts/microcomponent/blob/master/index.js#L19
nanocomponent doesn't make use of it either

Referring to yoshuawuyts/nanocomponent#25 the intention of state is to keep track of the internal state of the component. Everything that can not be computed from the outer application state and passed through the props params of the render method can be stored there. For example you could keep track if the cursor is hovering over your component.


Update zio-config, zio-config-magnolia, ... to 1.0.0

Updates

dev.zio:zio-config
dev.zio:zio-config-magnolia
dev.zio:zio-config-typesafe

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-pre-release

Superseded by #235.