Add qtcsv.qbs for easier inclusion in QBS based Projects

Hello, @MaAbt !
Thanks for your contribution!
Well, I never used .qbs files so I don't know much about them. But I have a few comments:

in .qbs file you set that we build static lib, but qtcsv by default is shared lib. Could you add a commented command or a special flag that would switch build type from shared to static? (Examples: qtcsv.pro, CMakeLists.txt). And also QTCSV_STATIC_LIB define should be added only in case of building of static lib.
qtcsv do not requires C++11
could you add a version of qtcsv?
could you add compiler flags for gcc? (Example: CMakeLists.txt)
could you add installation command?


Fix screenshot testing for flutter web integration_test

Fixes https://github.com/flutter/flutter/issues/117077

@yjbanov @Piinks This is ready for review. Please let me know what needs to be changed, and Kate, Yegor mentioned you might be able to help me move this PR over to using Skia Gold instead of the manual .png storage I have done here. Eager to get the changes to package:integration_test landed so we can use them in DevTools 👍  Thanks!

Yegor mentioned you might be able to help me move this PR over to using Skia Gold

Yeah, we can't check image files into this repo. Unfortunately, I can't set up integration tests to send images to Gold right now.
Someone did wire them up for tests in exmaples/api though, you may be able to use #99298 as a guide. :)

I followed the pattern in #99298 and added this to the test:
    await expectLater(
      find.byType(MaterialApp),
      matchesGoldenFile('platform_name.png'),
    );

When running the test: flutter drive --driver=test_driver/extended_integration_test.dart --target=integration_test/extended_test.dart -d chrome
this is what was output: Golden comparison requested for "platform_name.png"; skipping...

Did you push those changes? It won't work locally, it needs to be authenticated in CI.

Did you push those changes? It won't work locally, it needs to be authenticated in CI.

Ah okay. Pushed them up now, so we'll see if it worked 👍

I'm not sure if flutter_goldens will work on the web. flutter test sets up a local server that knows how to take screenshots and compare them. I'm not aware of flutter drive or package:integration_test attempting to do that. package:integration_test wants us to perform the comparison in the onScreenshot callback, which is not part of the test code. We may need to look for something we can use in the callback. My first intuition was to use SkiaClient directly.
Alternatively, we can keep it simple for now and instead of integrating with Skia Gold, use package:image to decode the PNG and spot check a few pixels.

Alternatively, we can keep it simple for now and instead of integrating with Skia Gold, use package:image to decode the PNG and spot check a few pixels.

Isn't the problem that we can't check PNGs into the codebase? how would we be able to use package:image to compare images without checking goldens in?

Isn't the problem that we can't check PNGs into the codebase? how would we be able to use package:image to compare images without checking goldens in?

Sorry, by "PNG" I meant the screenshot that the test takes and passes to the onScreenshot callback as screenshotBytes. The callback could parse the screenshot image and check a few known pixels in it.

The callback could parse the screenshot image and check a few known pixels in it.

How would we get the "known" pixels? This sounds a bit hand wavy. Would we expect the average flutter developer to know how to parse out image "hot spots" from byte code and store those as constants to compare the new screenshotBytes to? Whatever is here in this example is likely the resource that users will look at to figure out how to add screenshot testing through package:integration_test to their app.
Could we possibly separate this PR into two tasks:

land the changes to packages/integration_test/lib (which un-breaks screenshot testing for flutter web and makes the onScreenshot handler more flexible)
Add an up to date example to the onScreenshot callback in examples/ on how to actually do the image comparison? It may make more sense to do this once a formal support for flutter_goldens on the web or some other recommended way is decided upon. For projects that are not Flutter, keeping .pngs in a repo and comparing the bytes may be a fine solution. Please see my question here: https://github.com/flutter/flutter/pull/117114#discussion_r1051000311.

I would like to shift this PR to address task 1 and leave task 2 for a later day when this user journey is better addressed.

https://github.com/flutter/flutter/pull/117496 contains the same changes to dev/test.dart that this PR does - the changes to add the formerly failing tests to Linux_web_long_running_tests on the CI. https://github.com/flutter/flutter/pull/117496 demonstrates that these tests are failing at master, but passing in this PR after the changes contained here.


Checkbox label not properly lining out within a InlinePanel

Issue Summary
Using a FieldPanel with widget=CheckboxSelectMultiple within an InlinePanel styles the form not properly within the ModelAdmin.
Steps to Reproduce
For a model question, I have registered a ModelAdmin in the Wagtail admin. The question model panels field contains an InlinePanel with answers. The answer model panels field contains a FieldPanel to (m2m field) options.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes / no)
Looks like this is specific to 2.10.2. I could not reproduce this on 2.10.1 nor 2.10.

Technical details

Python version: 3.8.0
Django version: 3.1.2
Wagtail version: 2.10.2
Browser version: Chrome 87

Hi @leewesleyv - thanks for the report. This has been fixed in 2.11: https://github.com/wagtail/wagtail/pull/6441


Validator Window very slow while scrolling

This seems like a cool project but I can't really use it since the list that is being produces is so slow to scroll, I can't really get anywhere (really, like 1 frame per second or so is rendered). The project is not super huge but there are quite a few entries in the list from prefabs etc.

Thanks for opening an issue, I don't actively work on this project / with Unity anymore, but it sounds like implementing some sort of pagination for the validation menu window would solve this issue.


[Bug](date function) Fix date_add function

Proposed changes
Issue Number: close #14824
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.66 seconds
load time: 434 seconds
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221205104018_clickbench_pr_57896.html


HHH-14041 - H2Dialect: fix referential integrity constraint constraint name extraction

https://hibernate.atlassian.net/browse/HHH-14041
The problem is that h2 does not directly substitute the constraint name but wraps it in a description: https://github.com/h2database/h2database/blob/9e2e212cf806fa75cd42437a13a33cb3185f5fb1/h2/src/main/org/h2/constraint/ConstraintReferential.java#L312

Thanks @Gittenburg ! We normally require a test but this looks like trivial enough, I'll merge it.


Migrating single-tenant to multi-tenant (again .. sorry.... )

Hi,
We in the position where we have a large production app live at the moment serving in the order of several hundred clients and need to move to a multi-tenant solution. Currently we're segregating data via foreign keys to client models, but definitely need to move to a schema segregation approach like django-tenants provides.
The example in the docs #264 using dumpdata and loaddata definitely won't cut it for us, it'd involve days of downtime which we can't afford unfortunately. I saw it mentioned that a custom django management command would be the way to go to migrate single tenant data to multi - is there some example of a management command for this or a scaffold that we could start with?
Also - what are the actual implications of running migrate_schemas on a populated database? is it just impossible or is there some safe way to do it?
sincere thanks for any help!

There is no such magic, think how it could work? You need to create new django tenants application, with all code adjustments of your original code, then you have to migrate data.
On your place I would connect new db with old one, and do the data mapping, so in fact copy, it would be like creating db views of old data in the way to present it in new way. Then you can develop it without turning off the old one. And when it's ready, copy and switch. You could have less downtime if you would add triggers to copy data in real time.
But I would think if this is really good solution? Why you think django-tenants would solve your problems? What problems you are experiencing? This for example won't solve performance problems, this only isolates data, and allows you to easily add/delete/hold and partially backup (some of data are shared) clients. In fact performance can be worse in some cases.

It's more a compliance issue for us in terms of guaranteeing isolation of client data in a demonstrable way. That is the main issue we need to solve, our clients are in a bunch of different industries some with quite stringent security criteria. We're also pursuing ISO27001 certification for which we'd benefit from using schema segregation of client data.
Triggers to copy the data across does sound like something to look into though thanks

I'd still be interested to know the actual implications if running migrate_schemas on a populated database though from a technical perspective if any one has any insight into that?

Ok, if you want isolation then it's valid reason to migrate.
If you run migrate_schemas then what could happen? Your DB is public schema for default, you will have new public tables in your old DB, and when you will have some more schemas, that tables would be already isolated in there. You can dump DB, restore it somewhere and test this approach :)
You can also try alter public schema rename it to smth different like old_base and create new empty public schema to isolate new from old. In your old app, you would need to change search_path to use this old_base for default. Or do the opposite (which I do not recommend), change default django-tenant public to smth different like base.
Then you can migrate data.
In fact you can build app on your old code, you can add all existing code as shared apps, this means it will be in public schema, then create new  tenant apps, and migrate the data like this.
I don't know which approach is better (to share code or not), it's choice revolution over evolution. Both has good and bad sides. Sharing code and evolution would be a mess for some time ;) Especially that you are not experienced in working with schemas and will make some mistakes for sure. It's not that easy with migrating too, as migrations is slower - you need migrate each client schema. Without good approach and solutions like switching code version depending on schema migration state, you want be able to have almost no downtime updates, as you will have to down app, update code and wait till all schemas migrate, to not experience 500 errors with new code working on old tables or old code working on new tables.  I support app where we discussed this problems already, not to mention that sometimes migration can hang up when done on working app - that's worst thing for live updates.


[SPARK-7361][STREAMING] Throw unambiguous exception when attempting to start multiple StreamingContexts in the same JVM

Currently attempt to start a streamingContext while another one is started throws a confusing exception that the action name JobScheduler is already registered. Instead its best to throw a proper exception as it is not supported.

Merged build triggered.

Merged build started.

@JoshRosen Since you have done this before the SparkContext, could you quickly take a look at this?

Merged build finished. Test FAILed.

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

Test build #765 has started for   PR 5907 at commit 5870e2b.

Test build #765 has finished for   PR 5907 at commit 5870e2b.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Not(child: Expression) extends UnaryExpression with Predicate with ExpectsInputTypes
case class And(left: Expression, right: Expression)
case class Or(left: Expression, right: Expression)
abstract class BinaryComparison extends BinaryExpression with Predicate
trait StringRegexExpression extends ExpectsInputTypes
trait CaseConversionExpression extends ExpectsInputTypes
case class Substring(str: Expression, pos: Expression, len: Expression)

Build triggered.

Build started.

Test build #31985 has started for   PR 5907 at commit 5870e2b.

Test build #31985 has finished for   PR 5907 at commit 5870e2b.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

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

This build break is my fault; a patch that I merged depended on a file that was removed while reverting another patch.  Pushing a hotfix now to re-add that file.

Jenkins, retest this please.

Build triggered.

Build started.

Test build #32007 has started for   PR 5907 at commit 5870e2b.

Test build #32007 has finished for   PR 5907 at commit 5870e2b.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

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

Merged build triggered.

Merged build started.

Test build #32097 has started for   PR 5907 at commit 5fdfc0d.

Merged build triggered.

Merged build started.

Test build #32098 has started for   PR 5907 at commit a9cd5bb.

Test build #32097 has finished for   PR 5907 at commit 5fdfc0d.

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

Merged build finished. Test FAILed.

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

Test build #32098 has finished for   PR 5907 at commit a9cd5bb.

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

Merged build finished. Test FAILed.

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

Merged build triggered.

Merged build started.

Test build #32130 has started for   PR 5907 at commit fb81c4a.

Merged build finished. Test FAILed.

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

test this again

Test build #781 has started for   PR 5907 at commit fb81c4a.

Test build #781 has finished for   PR 5907 at commit fb81c4a.

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

@JoshRosen any more thoughts?

LGTM; thanks for adding the callsite.

Thanks @JoshRosen I am merging this.


Added Script to Download File from Internet

Python script that takes URL of the file to download and downloads it as FILENAME  to DEST
It manages memory for the download of large files by fetching content from the server in chunks specified via --chunk-size.

Sample run output:

Downloaded file:


[Object Detection] Add YOLOv11 Architecture and Presets

Draft PR for transparency.
Done

[x] Basic components
[x] CIoU Loss
[x] ImageObjectDetector Task
[x] ImageObjectDetectorPreprocessor

Planned

[] YOLOv11 Architecture
[] Object detection workflow
[] Weight conversion script
[] Utils for bounding boxes
[] Presets (n...xl)

Out of Scope

Instance segmentation
Pose estimation
Oriented Object Detection (i.e. rotated bounding boxes)

These will be exported as separate tasks (i.e. ImagePoseEstimator, ImageInstanceSegmentor, their respective preprocessors, etc.) in separate PRs.
API Considerations
There will be lots of reusability between YOLOv11 OD, YOLOv11 Pose, etc. Some functions such as the non-max-supression can be wrapped into generic public layers and reused between object detectors. We could benefit from refactoring these into general utils in KerasHub (currently, they belong to models, such as in the case of RetinaNet).
Some YOLO models are consistent with the same architecture but rely on a different config. Enabling v11 will enable v8 as well, for example. These can be handled through presets. We could turn YOLOv11 into a generic YOLO class, which is configurable through presets and layers. This lets us support multiple versions, but also easily port and publish YOLOv{N} and subsequent versions in the future with minimal code changes (i.e. a layer or two + config).
/cc @divyashreepathihalli @mattdangerw @fchollet for API discussions and considerations.

Haven't gone over the code yet, but re the API questions...

We could turn YOLOv11 into a generic YOLO class, which is configurable through presets and layers. This lets us support multiple versions, but also easily port and publish YOLOv{N} and subsequent versions in the future with minimal code changes (i.e. a layer or two + config).

I think this is probably the right call? If we think it will overall reduce the amount of code without becoming a spaghetti of if, sounds like a worthy clean up.

Some functions such as the non-max-supression can be wrapped into generic public layers and reused between object detectors.

In general if we are seeing the same layers being used across different models, and we can write a common one that covers both cases, that's a good time to consider pulling things out as a layer. Adding common routines as a layer will up the requirements a bit (solid testing, good docs with examples, etc.), but that's not an issue just something to keep in mind.
Random and not originating on this PR, but ImageObjectDetector feels a little redundant to me. It's not like there's a text object detector. Can we just name this task ObjectDetector and keep our code a little more concise? @divyashreepathihalli WDYT?

Thanks for weighing in @mattdangerw!

If we think it will overall reduce the amount of code without becoming a spaghetti of if, sounds like a worthy clean up.

The original repo is written to allow for this customizability, so in principle, it shouldn't be too hard to do it here. Though, the original repo has a lot of proprietary structures and code which we don't want to port, so we'll have to trim down a lot on the sides.

Random and not originating on this PR, but ImageObjectDetector feels a little redundant to me. It's not like there's a text object detector. Can we just name this task ObjectDetector and keep our code a little more concise?

Agreed. It was named ImageObjectDetector to keep consistent with ImageSegmenter, even though we don't have TextSegmenters either. Unless we refactor that, consistency would probably be preferable?

Agreed. It was named ImageObjectDetector to keep consistent with ImageSegmenter, even though we don't have TextSegmenters either. Unless we refactor that, consistency would probably be preferable?

Yeah, let's keep consistent for now! Leave as is for this PR.


Bump version to 1.15.5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 7 committers have signed the CLA.:x: pedroslopez:x: zahmadz:x: tuyuribr:x: shirser121:x: noamzaks:x: AxeemHaider:x: igortrustYou have signed the CLA already but the status is still pending? Let us recheck it.


MINOR: Align the uid inside/outside container

The root cause of causing permission issue is that the uid outside container is not 1000 so container (has uid 1000) can't modify the file of /opt/kafka-dev
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ijuma @hachikuji please take a look. I'd like to see all green from our QA.

@chia7712 , great to see you have the same thoughts to fix this issue. It's quite annoying to keep breaking the PR build. The change LGTM. Let's see the build results!

Tune the set of tests to address the timeouts
Figure out how to surface more convenient test output (logging and such)

The list is LGTM. BTW, #9673 is trying to fix failed connect_distributed_test.py. Please take a look :)

Tune the set of tests to address the timeouts
Figure out how to surface more convenient test output (logging and such)

@hachikuji Please ping me on the jira when you create related tickets :)


fix(storage): panic when test batch receipts get

What type of PR is this?
fix
What this PR does / why we need it:
panic when test batch receipts get
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


Update error handling in NotesDao.swift

This ticket is about to use of ZcashError. How to do it is described in #361.

Closed with #965


How do i quit og credit icons??

What is your question?
So what i wanna do is, quit the Main credits that appears on the credits
If you don't know what I'm talking about, I'm refering to this (and the icons below)

No

No

No 👍

If you mean add them in then head to the bottom of this.
If you mean remove them then that's kinda impossible...

No

No :+1:

No :+1: :+1:

No

No 👍

Don’t do it, if you use Psych Engine, you credit Psych Engine creators.
Only… NO

ok folks, as you say.

ok folks, as you say.

But if you want to put your credits, go here: https://github.com/ShadowMario/FNF-PsychEngine/wiki#q-how-can-i-create-a-custom-credits


Show other user status

Several places through out the app the status icon is shown.  But its always grey.  It would be great to have this reflect their actual status.
The one of biggest use would be the @ sign in the direct message.  It'd be nice to know if the person you are about to send a message is available... or if they are offline.

@geekgonecrazy Definitely, adding it as a feature! 👍

@geekgonecrazy can you post an example of this? I haven't found where to see anybody's status

In the Android app it only shows in the all users list.  Swiping from right side.  In the web app it shows several places

it would be great to have the user status both in the DM sidebar roster and on the DM room tab bar

it requires a slightly different management of the RealmUser repository as well as te roster rendering

Seems to be implemented for the top bar in 1.0.17, but it always show gray icon for all users(green in the member list and web).

@mmarif4u The status is showing wrong on the top bar for you in 1.0.17? That's new bug. Do you know how to reproduce it?

Those PR features that issue:
https://github.com/RocketChat/Rocket.Chat.Android/pull/416
https://github.com/RocketChat/Rocket.Chat.Android/pull/434
https://github.com/RocketChat/Rocket.Chat.Android/pull/408
Please, feel free to reopen it if you are facing a trouble...

@rafaelks i have to clear cache and data, then login again. Which then worked.

@mmarif4u Thank you, we're going to investigate the issue! 👍


Uncaught TypeError: Cannot read property 'file' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.4.0
System: Mac OS X 10.11.2
Thrown From: atom-ftp-editor package, v0.5.0
Stack Trace
Uncaught TypeError: Cannot read property 'file' of undefined
At /Users/turcuciprian/.atom/packages/atom-ftp-editor/lib/main.js:122

TypeError: Cannot read property 'file' of undefined
    at Object.module.exports.AtomFtpEditor.__getCurrentFile (/Users/turcuciprian/.atom/packages/atom-ftp-editor/lib/main.js:122:60)
    at atom-workspace.module.exports.AtomFtpEditor.currentDownload (/Users/turcuciprian/.atom/packages/atom-ftp-editor/lib/main.js:57:35)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1019:28)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
    at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:143:29)
    at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:156:33)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:250:47)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:00.7.0 ftp-editor:current-download (span.name.icon.icon-file-directory)

Config
{
  "core": {},
  "atom-ftp-editor": {}
}

Installed Packages
# User
atom-ftp-editor, v0.5.0
color-picker, v2.0.14
minimap, v4.19.0
quick-highlight, v0.3.10

# Dev
No dev packages

i have same problem

I am also facing same issue.
Can anyone help me out how to get resolve this issue.

ihave same problem

ditto on the problem

Same problem here

I have the same problem

I have the same problem,
atom version: 1.19.2
os: windows 10 x64


Improvement to action_check_compliance to avoid infinite loop.

Add check to action_check_compliance to avoid infinite loop.
Add helper method MiqAction.allowed_for_policies.

Fixes https://github.com/ManageIQ/manageiq/issues/20405
cc @h-kataria

@lfu does this PR prevent the action from running or prevent creating the policy in the first place?  Also, I do not see where the new method MiqAction.allowed_for_policies is being used.

@chessbyte Change in action_check_compliance would prevent the action from running.
The new helper method is for UI to be called as requested here.

Jansa backport details:
$ git log -1
commit 35390e85aceeba75ab4bcc5e41bb73956eb66d69
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Mon Aug 10 17:01:48 2020 -0400

    Merge pull request #20426 from lfu/compiance_action_loop

    Improvement to action_check_compliance to avoid infinite loop.

    (cherry picked from commit 484cf2c92946650b44703410f4f3fdb3f0337a66)


C++

cbse.txt
I cant compile this c++ program in VSCode in my desktop.
So how can I compile and run it?

Thanks @V-ed


Add support for the MELT mobile element insertion caller

We currently do not have support for it.

Closed by #181


Could we make regularised loss functions independent of the sample size?

Currently this package does ridge regression with the loss function |Xθ - y|₂²/2 + λ|θ|₂²/2.
I would be in favour, however, of |Xθ - y|₂²/2 + λ*n*|θ|₂²/2 where n is the number of samples (see also #81).
I find it more intuitive to think of the regularisation constant lambda as a model-specific parameter that is independent of the data size.
For example, I would prefer to get the same result for
julia> using MLJ, MLJLinearModel
julia> X, y = make_regression()
julia> X2 = MLJ.table(vcat(fill(MLJ.MLJBase.matrix(X), 5)...)); y2 = vcat(fill(y, 5)...);
julia> mach = fit!(machine(RidgeRegressor(lambda = 1), X, y)); fitted_params(mach)
[ Info: Training Machine{RidgeRegressor,…}.
(coefs = [:x1 => 0.9599766571815262, :x2 => 0.8847156587057124],
 intercept = 0.2977393976887245,)

julia> mach = fit!(machine(RidgeRegressor(lambda = 1), X2, y2)); fitted_params(mach)
[ Info: Training Machine{RidgeRegressor,…}.
(coefs = [:x1 => 0.9661422738548736, :x2 => 0.8912186012159028],
 intercept = 0.29999631435548496,)

But instead one has to scale the regularisation constant in the current version to obtain the same result
julia> mach = fit!(machine(RidgeRegressor(lambda = 5), X2, y2)); fitted_params(mach)
[ Info: Training Machine{RidgeRegressor,…}.
(coefs = [:x1 => 0.9599766571815265, :x2 => 0.8847156587057119],
 intercept = 0.29773939768872437,)

(The same applies also to other models with regularisation.)
If you are up for such a breaking change, I could start a PR.

Hello @jbrea, yeah it seems like it's a common stumbling point; thanks for the feedback
An issue here is that the package was designed to try to have well separated components and here what you would need is one of the following:

scale the loss function by n --> then it depends on the data,
multiply the penalty by n --> depends on the data

If you look at the constructor for Ridge: https://github.com/JuliaAI/MLJLinearModels.jl/blob/add29849c4f79a340c6d617090341270a52a87f0/src/glr/constructors.jl#L53-L59 you'll see that it calls the generic "GLR" constructor with
loss = L2Loss
penalty = L2Penalty * lambda
but at the constructor level, no data has been seen so there's no n (or indeed no p) here.
Use a parameter
What I think we could do that would be (imo) more elegant is to add a boolean parameter average_loss  (which we could default to true in a breaking release) so that the constructor for Ridge would become something like
RidgeRegression(...; average_loss=true)

this could be recuperated in the various d_* files in scaling the lambda as per your message so changing this https://github.com/JuliaAI/MLJLinearModels.jl/blob/add29849c4f79a340c6d617090341270a52a87f0/src/glr/d_l2loss.jl#L17
for
λ = getscale(glr.penalty) * ifelse(glr.average_loss, size(X, 1), 1)

I think that should work.
The function objective should also be adjusted accordingly so
this one could be kept and adjusted: https://github.com/JuliaAI/MLJLinearModels.jl/blob/add29849c4f79a340c6d617090341270a52a87f0/src/glr/utils.jl#L20-L21
but this one would probably need to be removed:
https://github.com/JuliaAI/MLJLinearModels.jl/blob/dev/src/glr/utils.jl#L11
If you want to start this, I'll be happy to review and gradually go through this; I think it's doable and potentially desirable.

@tlienart thanks a lot for the prompt and detailed response.
I'll start this asap (but maybe not before the end of the year...).

Just for completeness: I think the current implementation is problematic in a TunedModel that tunes the regularisation constant with e.g. cross-validation by fitting on a subset of the data and then uses the found optimal value without scaling to fit the whole data set (with train_best = true).

You mean the suggestion with average_loss right? Not the current implementation right? Also I guess for CV you would want a specialised method anyway (which I unfortunately never got to implementing)

imo the unscaled loss makes more sense for hyper parameter optimisation though but it's maybe just a matter of taste, and of course it would impact the range over which you optimise.

With respect to the issue you opened, would you have another suggestion for addressing it that doesn't require the loss function to depend upon the data?
One quick additional thought is that another approach could be to just rescale the data by sqrt(n) before fitting the model...

You mean the suggestion with average_loss not the current implementation right?

No, I mean the current implementation. In hyperparameter tuning one fits, say, 4/5 of the data for each fold and finds some optimal lambda. With train_best = true this lambda is used to fit all data at the end. This is wrong. One should use 5/4*lambda when fitting all data. This issue would be solved with the average_loss you suggested above, I think.

With respect to the issue you opened, would you have another suggestion for addressing it that doesn't require the loss function to depend upon the data?

No. But your suggestion above makes sense to me.

Also I guess for CV you would want a specialised method anyway (which I unfortunately never got to implementing)

Is there a specialised method for general CV? I am only aware of specialised methods for LOOCV...

One quick additional thought is that another approach could be to just rescale the data by sqrt(n) before fitting the model...

Not sure this is a good idea, as one would need to mutate the original data (very confusing for the user) or make a copy (not ideal for large datasets).

Thanks for the clarification and apologies for the confusion.
I agree that the scaling is not a good approach.
With respect to specialised methods yes LOO only, funnily enough I wrote a blog post 2y ago on trying to generalise it and why that's not as easy as LOO though you might still want to have a specialised method to recycle singular values... anyway that's for another issue.
Would you like to start a PR with the averageloss approach then? I think I'll have some time over the end of the year for help & reviews, this could be a good addition.
Thanks!


[BUG] Issue in signup process for customer.

Description
When I am go for signup button then select the customer option and try to signup with correct credential then it give "invalid email and number,axios error".
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

please assign this issue to me.


Terms and Conditions

Editing AskMe  Terms and conditions

Okay go ahead.

@LeonardoHobeni, When do you think you will be done with TnCs


Possible to disable Alt-Enter?

I have Alt-Enter mapped in nvim to LSP code actions, but nvy intercepts it and I don't see a way to disable that.

Sorry for the delay in fixing this, you can now run Nvy with --disable-fullscreen and it will not intercept Alt-Enter


On the subject of transactional triggers and detection of changes within a TriggerSession

Good day. I've come to report a few problems with the usability of transactional triggers provided by the library.
For the context of this issue, let the following be considered:

DbCtx - a DbContext type;
Entity - an entity type managed by instances of DbCtx;
EntityAuditTrigger - a registered trigger type that implements both IAfterSaveTrigger<Entity> and IBeforeCommitTrigger<Entity>;
TxInterceptor - an implementation of the IDbTransactionInterceptor interface.

All of the above are configured for use as follows, with services being an IServiceCollection instance:
services.AddDbContext<DbCtx>(dbOpts => dbOpts
   .UseSqlServer(...)
   .UseTriggers(trOpts => trOpts
       .UseTransactionalTriggers()
       .AddTrigger<EntityAuditTrigger>())
   .AddInterceptors(new TxInterceptor());

The following problems were found when attempting to fire the execution of transactional triggers from within the registered TxInterceptor instance:

if transactional triggers are raised without there ever occurring a call to DbCtx#SaveChanges() or DbCtx#SaveChangesAsync(), an InvalidOperationException stating Trigger discovery process has not yet started. Please ensure that TriggerSession.DiscoverChanges() or TriggerSession.RaiseBeforeSaveTriggers() has been called is thrown during discovery of those triggers;
EntityAuditTrigger#AfterSave() is invoked once for each instance of Entity that is managed during the execution of the transaction (as expected), but EntityAuditTrigger#BeforeCommit() is called, at most, a single time.

The first problem occurs because one of the discovery strategies in use, NonCascadingTriggerContextDiscoveryStrategy, always expects the existence of previously discovered changes. It is reasonable for transactional triggers to be raised without there ever being entity changes to detect, such as in the following cases:

an Exception is thrown before the first call to either DbCtx#SaveChanges() or DbCtx#SaveChangesAsync() is made during the transaction, and it is then rolled back;
a migration is being applied through the EntityFramework Core tools CLI.

Triggers implementing the following interface types are affected:

IBeforeCommitTrigger<>
IAfterCommitTrigger<>
IBeforeRollbackTrigger<>
IAfterRollbackTrigger

The exact cause of the second problem has yet to be determined. However, it is assumed that the proactive disposal of ITriggerSession instances handled by the library's TriggerSessionSaveChangesInterceptor type may pose an influence.
The problems described above were found with the following environmental setup:

EntityFramework Core 7
EntityFrameworkCore.Triggered 3.2.2

As an additional note, the TxInterceptor type is currently implemented as follows:
internal class TxInterceptor : DbTransactionInterceptor
{
    private ITriggerSession? _trSession;

    #region Synchronous method overrides
    public override InterceptionResult<DbTransaction> TransactionStarting(
        DbConnection connection, TransactionStartingEventData eventData,
        InterceptionResult<DbTransaction> result)
    {
        this.OnTransactionStarting(eventData);

        return base.TransactionStarting(connection, eventData, result);
    }

    public override InterceptionResult TransactionCommitting(
        DbTransaction transaction, TransactionEventData eventData,
        InterceptionResult result)
    {
        this.OnTransactionCommittingAsync().GetAwaiter().GetResult();
        return base.TransactionCommitting(transaction, eventData, result);
    }

    public override void TransactionCommitted(DbTransaction transaction, TransactionEndEventData eventData)
    {
        try
        {
            this.OnTransactionCommittedAsync().GetAwaiter().GetResult();
            base.TransactionCommitted(transaction, eventData);
        }
        finally
        {
            // End of the transaction's lifecycle. Destroy the active trigger session.
            this.DestroyTriggerSession();
        }
    }

    public override InterceptionResult TransactionRollingBack(
        DbTransaction transaction, TransactionEventData eventData,
        InterceptionResult result)
    {
        try
        {
            this.OnTransactionRollingBackAsync().GetAwaiter().GetResult();
            return base.TransactionRollingBack(transaction, eventData, result);
        }
        catch
        {
            // If an exception is thrown at this time, then the transaction rollback will never be complete; in a
            // way, this means the transaction's lifecycle has reached its end.
            // Destroy the active trigger session, and rethrow the caught exception.
            this.DestroyTriggerSession();
            throw;
        }
    }

    public override void TransactionRolledBack(DbTransaction transaction, TransactionEndEventData eventData)
    {
        try
        {
            this.OnTransactionRolledBackAsync().GetAwaiter().GetResult();
            base.TransactionRolledBack(transaction, eventData);
        }
        finally
        {
            // End of the transaction's lifecycle. Destroy the active trigger session.
            this.DestroyTriggerSession();
        }
    }
    #endregion

    #region Asynchronous method overrides
    public override ValueTask<InterceptionResult<DbTransaction>> TransactionStartingAsync(
        DbConnection connection, TransactionStartingEventData eventData,
        InterceptionResult<DbTransaction> result, CancellationToken cancelToken = default)
    {
        this.OnTransactionStarting(eventData);

        return base.TransactionStartingAsync(connection, eventData, result, cancelToken);
    }

    public override async ValueTask<InterceptionResult> TransactionCommittingAsync(
        DbTransaction transaction, TransactionEventData eventData,
        InterceptionResult result, CancellationToken cancelToken = default)
    {
        await this.OnTransactionCommittingAsync(cancelToken);
        return await base.TransactionCommittingAsync(transaction, eventData, result, cancelToken);
    }

    public override async Task TransactionCommittedAsync(
        DbTransaction transaction, TransactionEndEventData eventData,
        CancellationToken cancelToken = default)
    {
        try
        {
            await this.OnTransactionCommittedAsync(cancelToken);
            await base.TransactionCommittedAsync(transaction, eventData, cancelToken);
        }
        finally
        {
            // End of the transaction's lifecycle. Destroy the active trigger session.
            this.DestroyTriggerSession();
        }
    }

    public override async ValueTask<InterceptionResult> TransactionRollingBackAsync(
        DbTransaction transaction, TransactionEventData eventData,
        InterceptionResult result, CancellationToken cancelToken = default)
    {
        try
        {
            await this.OnTransactionRollingBackAsync(cancelToken);
            return await base.TransactionRollingBackAsync(transaction, eventData, result, cancelToken);
        }
        catch
        {
            // If an exception is thrown at this time, then the transaction rollback will never be complete; in a
            // way, this means the transaction's lifecycle has reached its end.
            // Destroy the active trigger session, and rethrow the caught exception.
            this.DestroyTriggerSession();
            throw;
        }
    }

    public override async Task TransactionRolledBackAsync(
        DbTransaction transaction, TransactionEndEventData eventData,
        CancellationToken cancelToken = default)
    {
        try
        {
            await this.OnTransactionRolledBackAsync(cancelToken);
            await base.TransactionRolledBackAsync(transaction, eventData, cancelToken);
        }
        finally
        {
            // End of the transaction's lifecycle. Destroy the active trigger session.
            this.DestroyTriggerSession();
        }
    }
    #endregion

    private ITriggerSession RequireTriggerSession()
        => this._trSession ?? throw new InvalidOperationException($"No active {nameof(ITriggerSession)}");

    private void CreateTriggerSession(DbContextEventData eventData)
    {
        if (this._trSession == null)
        {
            if (eventData.Context is not { } dbCtx)
            {
                throw new InvalidOperationException("No DbContext instance included in event data");
            }

            ITriggerService triggers = dbCtx.GetTriggerService();
            this._trSession = triggers.Current ?? triggers.CreateSession(dbCtx);
        }
    }

    private void DestroyTriggerSession()
    {
        this.RequireTriggerSession().Dispose();

        this._trSession = null;
    }

    private void OnTransactionStarting(TransactionStartingEventData eventData)
    {
        this.CreateTriggerSession(eventData);
    }

    private async Task OnTransactionCommittingAsync(CancellationToken cancelToken = default)
    {
        ITriggerSession session = this.RequireTriggerSession();

        await session.RaiseBeforeCommitStartingTriggers(cancelToken);
        await session.RaiseBeforeCommitTriggers(cancelToken);
        await session.RaiseBeforeCommitCompletedTriggers(cancelToken);
    }

    private async Task OnTransactionCommittedAsync(CancellationToken cancelToken = default)
    {
        ITriggerSession session = this.RequireTriggerSession();

        await session.RaiseAfterCommitStartingTriggers(cancelToken);
        await session.RaiseAfterCommitTriggers(cancelToken);
        await session.RaiseAfterCommitCompletedTriggers(cancelToken);
    }

    private Task OnTransactionRollingBackAsync(CancellationToken cancelToken = default)
        => this.RequireTriggerSession().RaiseBeforeRollbackTriggers(cancelToken);

    private Task OnTransactionRolledBackAsync(CancellationToken cancelToken = default)
        => this.RequireTriggerSession().RaiseAfterRollbackTriggers(cancelToken);
}

Thanks for the detailed bug report, much appreciated!
I have to admit that transactional triggers were once implemented but has seen little use (including by me). I will take a closer look at the issues raised here and come back with an update.

Same problem here, any update?


/slowllama/logs/prepare_model.log doesnt exist

Hi, when I try to run the prepare_model.py which is the first script I get
/slowllama/logs/prepare_model.log
does not exist. I cant find that log file anywhere.

let me double-check, thanks for reporting

logs folder didn't exist. I added it, so you can either pull updates, or just create empty directory yourself.

This should be resolved


Add diagonaloperator for abritrary basis

Coverage remained the same at 0.0% when pulling 7645e23769447f69aca119fee6ef0bd2433721d8 on david-pl:diagonaloperator into ad4ac759e3e393da24535082ee8587fc9823c6a0 on bastikr:master.

Coverage remained the same at 0.0% when pulling b64fce218a32c3c81905765a14bfe9f4eee2b514 on david-pl:diagonaloperator into ad4ac759e3e393da24535082ee8587fc9823c6a0 on bastikr:master.


PROXYv2 WIP

This is a raw WIP for downstream PROXYv2 support.
Progress:

[x] PROXYv2 support (per port) for plain UDP/TCP
[x] Configuration option (proxy-protocol-port)
[x] Test client (streamtcp.c)
[x] More logging than necessary
[x] PROXYv2 for TLS connections
[ ] ACL (deny/refuse) for the proxy itself
[ ] Refactoring for cleaner code and efficiency
[ ] Documentation
[ ] Clean up the code

How to use:
Take a normal Unbound configuration and add
proxy-protocol-port: <port number>

for the port you want to listen for PROXYv2.
The port needs to be an already defined listening port.
You can add the option multiple times for more ports.
Unbound will expect PROXYv2 there.
The proxied client information should be used for everything except for the actual network communication.

Closing this; it was merged in upstream


Congratulations for your AWESOME script!!!

Hello:
I am working on two projects, related to voice recognition. I am proudly using your script on both, on the browser and on a mobile phone. However your script has some issues using it on the cell phone, which mainly, has to do with the microphone going on and off.
Would you allow me to use your code, without the voice recognition module?   Just with the part that deals and handles the commands?
I hope I can count on you.
Best regards
Hugo Boarbosa

Thanks for the kind words Hugo.
Yes, there are some known issues with Chrome on mobile phones. These are known to Google, and actually seem to be by design.
Feel free to reuse the code in any way you see fit.

Thanks ... as a matter of fact... I did... but it makes conflict with the second library which also handles voice recognition.... so, since I've been using your code for a while... can you kindly tell me which lines to remove in order just to use the command recognition module? using * on keywords, (parenthesis), and parcial_text: recognition which are part of your code... in other words, for this project I just want to take advantage of the way you handle commands without the speech recognition module that is already included and working for mobile so far.  Thanks again... I am a GREAT fan of your work.

Thanks Hugo.
That's not an easy answer... you can find some of it around https://github.com/TalAter/annyang/blob/master/src/annyang.js#L56 and https://github.com/TalAter/annyang/blob/master/src/annyang.js#L106


Installer would copy the binary to root folder, although no sudo was used

In Fedora 37, I tried to install the service and it would copy the binary to /root/bin/.local, although I did run the script as non-root user.
Could it be that the $HOME variable points to root in Fedora? I don't know, it may be interesting to take a look at it/point it out in the README file.
I did fix the service by manually editing it and changing the path to my home folder instead.

Probably same as #39

@donfn ,
Issue is when we run script install.sh as root for first time, It updated HOME path to /root in service file.
So even if we run script as non-root afterwards, issue won't be fixed.
Instead we need to delete extracted folder and extract it again and install.
I'll fix the script to disallow running as root in next version, (though new version in not planned, cause there aren't any changes yet).


Remove puts in favour of Ruby.logger.info

Test runs get some puts statements thrown in from the email_processor.rb class.
This commit simply changes puts into Rails.logger.info instead to keep the test output clean while leaving the info visible during development.

Thanks for sending this!


Rendering on Knights Landing appears to use only a single core

I recently gained access to a KNL system and ran into a strange issue when I tried volume rendering with OSPRay on the KNL. I built OSPRay v1.1.2 with TBB, ISPC v1.9.1, and ICC 17.1 on CentOS 7. When I attempt to use the ray cast volume renderer, through ospBenchmark, I observe only a single core in use (according to htop) for the majority of the execution time when running on the KNL. I reproduced the build on a Haswell Xeon system and htop shows all cores in use when I render and the execution completes in much less time then on the KNL system.
output from Haswell run:
$ time ./ospBenchmark ~/csafe-heptane-302-volume/csafe-heptane-302-volume.osp -r raycast_volume_renderer --warmup 0 --bench 1 --image ~/out --width 4096 --height 2160 --eye 151 151 -200 --gaze 151 151 0 --up 0 1 0
Frame Time Statistics:
	max: 75.5423 ms
	min: 75.5423 ms
	median: 75.5423 ms
	median abs dev: 0 ms
	mean: 75.5423 ms
	std dev: 0 ms
	# of samples: 1
FPS Statistics:
	max: 13.2376 fps
	min: 13.2376 fps
	median: 13.2376 fps
	mean: 13.2376 fps

real	0m1.333s
user	1m14.918s
sys	0m0.702s

output from KNL run:
$ time ./ospBenchmark ~/csafe-heptane-302-volume/csafe-heptane-302-volume.osp -r raycast_volume_renderer --warmup 0 --bench 1 --image ~/out --width 4096 --height 2160 --eye 151 151 -200 --gaze 151 151 0 --up 0 1 0
Frame Time Statistics:
	max: 8836.13 ms
	min: 8836.13 ms
	median: 8836.13 ms
	median abs dev: 0 ms
	mean: 8836.13 ms
	std dev: 0 ms
	# of samples: 1
FPS Statistics:
	max: 0.113172 fps
	min: 0.113172 fps
	median: 0.113172 fps
	mean: 0.113172 fps

real	1m52.508s
user	4m16.404s
sys	2m57.652s

We also have our own volume renderer implemented as a module and I observe the same behavior; when running on the Haswell system all cores are in use and on the KNL system only a singe core is in use for the majority of the rendering process.
Any ideas regarding what might be going on? Thanks

I've run into this as well when using the Stampede KNL partition. It seems like some of the environment TBB uses to determine the available cores aren't set properly, your volume renderer may see this issue as well if it uses TBB or OpenMP. What worked for me on Stampede was setting I_MPI_PIN_DOMAIN=node you could also try setting I_MPI_PIN_DOMAIN=omp and OMP_NUM_THREADS=`nproc` . Although it's an Intel MPI environment variable I think it did also work for the single node non-mpi case, if not maybe try setting the OpenMP num threads?

Another idea to try is see if explicitly setting the number of threads by either setting the environment variable OSPRAY_THREADS=262 (or whatever number of hw threads nproc reports), or by passing --osp:numthreads 262. It's more likely to be an environment problem affecting thread affinity (above response), or perhaps you've found a bug in TBB: we default to passing -1 to TBB to indicate it should choose how many threads to spawn, which it may get confused with. Regardless, I haven't personally run into this problem, so please share what you discover should a solution be found.
Cheers,
Jeff

BTW: Since we now had several people running into this: could we make
sure that there's a few meaningful debug outputs (ie, num cores reported
by OS, num threads we choose to initialize tbb with (after env vars
taken into effect), etcpp) when --osp:verbose (or a similar env var) is
specified?
Cheers,
Ingo
On 12/29/2016 04:45 PM, Jefferson Amstutz wrote:

Another idea to try is see if explicitly setting the number of threads
by either setting the environment variable |OSPRAY_THREADS=262| (or
whatever number of hw threads nproc reports), or by passing
|--osp:numthreads 262|. It's more likely to be an environment problem
affecting thread affinity (above response), or perhaps you've found a
bug in TBB: we default to passing -1 to TBB to indicate it should
choose how many threads to spawn, which it may get confused with.
Regardless, I haven't personally run into this problem, so please
share what you discover should a solution be found.
Cheers,
Jeff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ospray/OSPRay/issues/114#issuecomment-269711258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwZtYMY5-DZsTubAcEbi2hhYoKL5ykLks5rNEYIgaJpZM4LX40H.

I originally built OSPRay against an external Embree installation (v2.13.0, installed with rpms from Embree website). I built OSPRay again after uninstalling Embree from the system so OSPRay would use its in-source copy. After making this change, it looks like all cores get used as expected.
I tried passing in the number of threads with --osp:numthreads and tried some of the environment changes suggested without any effect.

I think this may be related to the thread affinity introduced in v2.11.0 of Embree (https://github.com/embree/embree/releases/tag/v2.11.0). I did a little more investigation: building OSPRay against an external installation of Embree v2.10.0 results in the renderer using all cores while OSPRay built against an external installation of Embree v2.11.0 results in the renderer using only a single core.

Thanks for the detailed report!  We'll take a look at what changed.  @jeffamstutz is probably the best one to look into this, but I can look through it and add a check in OSPRay as needed.

Is this issues reproducible with our current release-1.2.x branch w/ Embree v2.13.0?


CSS and SVGs not loading, when including the CSS via

I have tried all sort of variations, including a base property, file:// absolute paths and relative paths.
And finally when using

Same here, nothing new ?

Same here, nothing new ?

I resorted to using a headless chrome version controlled by code, and that did the trick for generating PDFs for me.


tornado_fetcher:364: curl error  599: couldn't connect to host

This error comes when using phantomjs fetcher.

Did phantomjs fetcher start successfully?
Run pyspider phantomjs, you should find logs like Web server running on port 25555

Hi, phantomjs fetcher started successfully. Also when i ran pyspider phantomjs its showing web server running on port 25555

Can you connect to phantomjs via http://localhost:25555/, i.e. <IP_ADDRESS>    localhost in /ets/hosts

Hey hi sorry. Actually, i kept my custom port number for phantomjs proxy, thats the reason its failing. Do you know what are the requirements for custom port number to act like phantomjs proxy?. Also, i need to set xmlrpc to false for it to work.  But it was no where mentioned in the doc. Can you please add it to the doc.

How do you run pyspider?
Just command pyspider which is all mode or running each components like pyspider fetcher?
Maybe you have to set --phantomjs-proxy TEXT   phantomjs proxy ip:port in global config: http://docs.pyspider.org/en/latest/Command-Line/#global-config

I run the following command pyspider -c config.json all

what's the content of config.json?

Hi,
This is the content
{
"taskdb": "mysql+taskdb://root:omkar@localhost:3306/taskdb",
"projectdb": "mysql+projectdb://root:omkar@localhost:3306/projectdb",
"resultdb": "mysql+resultdb://root:omkar@localhost:3306/resultdb",
"fetcher": {
"xmlrpc": false
}
}

You didn't specify the port of phantomjs.
"phantomjs": {"port": 2333}

I thought it will there by default.


ModuleNotFoundError when trying to run example code for Pyglet on Python 3.8

When I try to run the example code for the Pyglet implementation I get the following error:
PS "C:/Program Files (x86)/Python38-32/python.exe" "f:/Jaap/imgui.py"
  File "f:/Jaap/imgui.py", line 7, in <module>
    import imgui
  File "f:\imgui.py", line 8, in <module>
    from imgui.integrations.pyglet import PygletRenderer
ModuleNotFoundError: No module named 'imgui.integrations'; 'imgui' is not a package

I have installed Pyimgui using Pip and that went without problems so I'm not shure where to search next.

Having this problem for py38 in general across all platforms. I guess a new release with 3.8 wheels needs to be released to solve this.

Thanks for your reply, but downgrading to Python 3.6 doesn't seem to fix the issue.

from imgui.integrations.pyglet import PygletRenderer works fine for me in win10 with python 3.7 64 bit.

@einarf you're right, the wheel for Python3.8 is not published yet. I will add it to the build matrix in incoming release.
@jaapiyo do you get exactly the same error on Python3.6? It should already work well on both Python3.6 and Python3.7. What do you get if you run following:
import imgui
print(imgui)

I found the problem! I named my test file imgui.py. After renaming it to imguitest.py it worked like a charm. Thank you for your help!


Azure Source Control failing from Github Repo | System.Management.Automation.PropertyNotFoundException: The property 'entries' cannot be found on this object. Verify that the property exists.

Hi all,
I believe this has been raised a couple of times, however this issue is still persisting. So far, I have tried updating all the modules to their latest versions in the automation account, but the following error is coming up when syncing runbooks
System.Management.Automation.PropertyNotFoundException: The property 'entries' cannot be found on this object. Verify that the property exists.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)    at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()

@louisruocco
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

Here is some documentation I found on these forums about this. I accept the error message is not the same, but it seems to be very similar to mine
https://github.com/MicrosoftDocs/azure-docs/issues/27702

@louisruocco
MicrosoftDocs Github issue is mainly related to the document issue. I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.
This would need one on one troubleshooting and if you have the support plan then I will suggest you to create the support requestt to engage us over one on one support request.
In case if you don't have the support plan then please create the QnA thread so we can assist you further.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Task#1 : Fixing review comments and accessibility

Task : 1-A

What is done well?
Well defined project architecture approach, keeping in mind scalability and maintainability.
External Google chart component created as shared library component.
Angular material has been utilized creating UX component.
Uses of ngrx to manage state.
What would you change?
Access modifiers should be used to define the scope of variables.
Added constants and interfaces to remove the hardcoding(Fixed).
Unused code and imports should be removed(Fixed).
Accessibility change has been done in app.component.html.
Are there any code smells or problematic implementation?
Chart data will not be shown as data are fetched from the async from the stock api, fixed in other tasks in chart.component.html.
Subscriptions has been unsubscribed in chart.component.ts.


update playbooks for running on multiple VMs

As part of the upgrade to jammy, we now have two VMs for all our applications - but there are several playbook steps that should be run only once per deploy. Review the playbooks and update these to use the ansible run_once directive everywhere appropriate, including:

[x] github deploy
[x] database setup and migration
[x] solr management (core creation/update, configset management)
[x] cron jobs - should run on a specific host

completed in #176


[xml2js] missing the Parser constructor on module

@paulsouche thank you your contribitions.
please fix travis ci failed. https://travis-ci.org/borisyankov/DefinitelyTyped/builds/50919733

Hi @vvakame,
Sorry for being late ! I was a little busy few days ago.
travis ci should be fine now...

@paulsouche thanks mate!

note
https://github.com/Leonidas-from-XIV/node-xml2js/blob/208dff5784dfed5951d4bebe9c4071935cfabbdc/src/xml2js.coffee#L172


Feature/301 contact seasonal addr

Critical Changes
Changes
Issues Closed
Fixes #301.

Ready for review and merge, @paulmalenke.


swatch changes

provides the ability to adjust the swatch size
(re-introduces the reverted merge from #855)
uncomment the needed scss
fixing errors from travis-ci
updated for errors from testing
changed swatches to have warning that swatches max at 150x150
e.g.:

👍


Add matrix documenting capabilities supported for each server connection type

Is your feature request related to a problem? Please describe.
We have a number of capabilities that are not available across all connection types and this is not always clear from the documentation.
Describe the solution you'd like
A matrix listing all the capabilities across one dimension and the connection types across the other dimension with a checkmark in the cell if that capability is supported for the specific connection type.
Describe alternatives you've considered
For connection types we have information about what options (autoexec statement, configuration options) are supported for ech connection type. (see https://github.com/sassoftware/vscode-sas-extension/blob/main/connect-and-run.md#additional-settings-in-a-profile). We could add info there about whether capabilities like Table Viewer, SAS log color-coding, ... are supported. But it is not easy to find and many users would not look there.
A dedicated documentation file containing a matrix of features supported for each connection type is much easier to read and understand. That doc could then have links to dedicated doc with more details.

I just took a try. Please see
https://scnwwu.github.io/vscode-sas-extension/matrix

@scnwwu That looks very nice! I made a draft table, as well, with links to more details. Can we include links once we have settled on all the content that needs to be included? I'll email you a link to my document.
cc: @clangsmith @snlwih

@scnwwu, I love the decision tree diagram! @jennifert-sas, I reviewed your draft doc and added some comments. Thank you both.

@scnwwu , can the columns showing the checkmarks be centered? Have added comments for the tree diagram in #865.


fix: resolve plugin crash when using nightly biome releases

fixes https://github.com/biomejs/biome-intellij/issues/111 by normalizing nightly biome package versions to the expected major.minor.patch format without the -nightly.hash postfix before splitting by ".".

@walkerdb Thank you! I'll merge it and release as a new nightly.
I'm wondering if we can release the next nightly version as the next.
Do you experience any other issues?

amazing thank you! No other issues that we've noticed

(also to note for my company's purposes we're unblocked either whe this bugfix is published to the actual live plugin or biome 1.9.5 gets an official release, so we can move off the nightly. Either way works for us!)


properly indicate involved working groups for a subset of projects

This very small PR involves mild changes in section 3 of the DC2 planning document to properly indicate that some of the planned DC2 analyses listed as science drivers will have heavy involvement by more than one working group.  The relevant collaborations are (WL, TJP) and (LSS, TJP) and (WL, LSS, TJP) as indicated in the document.  This addresses the issue that TJP did not appear to be represented previously (whereas really it was implicitly there in some of the projects).
Flagging this to TJP conveners, @jablazek @elikrause @philbull

@rmandelb : Looks like a good way to structure these XWG tasks. Should IA be specifically mentioned in this section (it is one of the two main astrophysical systematics TJP is thinking about for DC2)? Or is it sufficient to discuss that in more detail later in the document?

@jablazek - The purpose of the section is to briefly give a sense of the science that will come out of DC2, but I think going into more detail about the astrophysical systematics would lead to inconsistencies among the projects that are mentioned.  We are not explicitly going into further details of these projects later in the document either; however, if there are points at which IA is mentioned as a driver for some aspect of DC2 (e.g. because it leads to a need for different data products) I think it can simply be explained at that point.


Installation problems

Anyone lately installed this. i have a problem with Slack API. Didn't find it in app directory.

The installation guide is out of date for the latest version of slack. @brandonshin, could you update the install guide for this please. It really needs it!

https://api.slack.com/docs/oauth-test-tokens


...Text.propTypes,

v3.0.0
TypeError: Cannot read property 'propTypes' of undefined

      at createIconSet (node_modules/react-native-vector-icons/lib/create-icon-set.js:83:82)
      at Object.<anonymous> (node_modules/react-native-vector-icons/FontAwesome.js:9:28)

Please upgrade to latest version :-)

Breaking change: React Native 0.40 headers support, for older versions of RN use 3.0.
https://github.com/oblador/react-native-vector-icons/releases/tag/v4.0.0

This has since been fixed, you should be able to use 4.x with older versions of RN.


[Documentation Update]: Median of the Subarrays GFG Solution Addition

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Solution addition
Suggested Change
Solution addition
Rationale
Solution addition
Urgency
High
Acknowledgements

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository
[X] I have read and followed the Contribution Guidelines
[X] I have followed the code style guidelines of this project
[X] I have checked for any existing open issues that my pull request may address
[X] I have ensured that my changes do not break any existing functionality
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently
[X] I have read the resources for guidance listed below
[X] I have not used AI-generated content (e.g., ChatGPT, other AI tools)
[X] I have not used content from existing sites (e.g., text, images)
[X] I have followed all security rules and only shared trusted resources

@Damini2004  only open 4 issue not large


No location shows during creating a linux web app for Azure China accounts

OS: All
Node.js 10.13.0
Build Version:20190225.1
Repro Step:

Go to File -> Preferences -> Settings -> Type "appService.advancedCreation" and enable it.
Sign in with Azure China account -> Try to create a linux web app.
Check locations show well in the step "Select a location for new resources" or not.

Expect:
Locations show well.

Actual:
No location shows.

More Info:
This issue also  reproduces for Azure Germany accounts.

Add screenshot:

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


problem in compiling process.

[  4%] Built target extern_leveldb
[  9%] Built target extern_jsoncpp
[ 13%] Built target extern_gtest
[ 18%] Built target extern_xgboost
[ 22%] Built target extern_eigen
[ 23%] Performing build step for 'extern_paddle'
[  1%] Built target extern_snappy
[  2%] Built target extern_lib_any
[  3%] Built target extern_eigen3
[  4%] Built target extern_warpctc
[  4%] Built target extern_mklml
[  4%] Built target extern_gflags
[  5%] Built target framework_py_proto_init
[  5%] Built target extern_boost
[  5%] Built target extern_zlib
[  5%] Built target profiler_py_proto_init
[  6%] Performing configure step for 'swig'
[  7%] Built target extern_threadpool

test -d Tools/config
aclocal -I Tools/config
./autogen.sh: 11: ./autogen.sh: aclocal: not found
CMakeFiles/swig.dir/build.make:106: recipe for target 'third_party/swig/src/swig-stamp/swig-configure' failed
make[5]: *** [third_party/swig/src/swig-stamp/swig-configure] Error 127
CMakeFiles/Makefile2:370: recipe for target 'CMakeFiles/swig.dir/all' failed
make[4]: *** [CMakeFiles/swig.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[  7%] Built target extern_snappystream
[  8%] Built target extern_glog
[  9%] Built target extern_protobuf
Makefile:105: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/extern_paddle.dir/build.make:111: recipe for target 'third_party/paddle/src/extern_paddle-stamp/extern_paddle-build' failed
make[2]: *** [third_party/paddle/src/extern_paddle-stamp/extern_paddle-build] Error 2
CMakeFiles/Makefile2:511: recipe for target 'CMakeFiles/extern_paddle.dir/all' failed
make[1]: *** [CMakeFiles/extern_paddle.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

./autogen.sh: 11: ./autogen.sh: aclocal: not found

automake&autoconf is needed to compile swig using autogen.sh
you can install it and try again.
# how to install automake
# on Ubuntu
sudo apt-get install automake

I'm sorry these dependencies are not mentioned in README.md.

Thank you! And I have run demo successfully.


Joining a presentation goes to slidelist page instead of slideshow

Regression likely due to Flutter's change of behaviour with Navigators. We do a push of listslide page before pushing the slideshow so back button goes back to list, this is probably the cause of this issue.
if we can't find a easy solution for this, we don't need to have the back button go to slidelist page so we can just push the slideshow.

Accepted, can reproduce, looking into it.

Fixed in https://github.com/vanadium/syncslides/commit/839cee7af5cb94b28b28ca957787b6a9a81ad704.


feat: Implement rule for verifying that Trusted Microsoft Services' i…

…s enabled for Storage Account access

The new commit is supposed to be in another branch, kindly decline, thank you.


docs: Cross-cloud/cross-region/cross-datacenter support

We need to describe how to accomplish this, as it's a common scenario for hybrid environments.

closing as irrelevant for v2.


[WIP] Openssl 111 features

This contains 1.1.1 features I have
#2986
#6516
#11525
#11577
#11666
#11780
#11782
#11846
#11895
#11934
#11956
#11995
#12079

Some openssl speed results follow :-)
Summary: The AES speed is much higher with this PR, while HMAC speed is much slower in master.
This PR:
OpenSSL 1.1.1j-dev  xx XXX xxxx
built on: Tue Feb  2 15:12:39 2021 UTC
options:bn(64,64) rc4(8x,int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN
 -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
 -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
 -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
 -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
CPUINFO: OPENSSL_ia32cap=0x3e983a0b078bffff:0x8
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
hmac(md5)        16624.98k    48422.63k   129789.95k   218423.98k   272373.08k   241893.38k
aes-128 cbc     205035.68k   214994.01k   235380.27k   239841.96k   241369.09k   241325.40k
aes-192 cbc     182248.97k   182586.75k   197160.28k   200586.24k   201648.81k   201758.04k
aes-256 cbc     158688.05k   159745.43k   170027.52k   172667.56k   173509.29k   173533.87k

1.1.1 :
OpenSSL 1.1.1j-dev  xx XXX xxxx
built on: Tue Feb  2 14:44:59 2021 UTC
options:bn(64,64) rc4(8x,int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE
 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
 -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
 -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
 -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
hmac(md5)        15504.83k    46094.08k   125609.98k   213659.31k   270592.68k   252160.68k
aes-128 cbc      36293.51k    38649.39k    39906.90k    92897.96k    94401.88k    94546.60k
aes-192 cbc      30687.49k    32379.39k    33132.03k    79068.84k    79951.19k    79839.23k
aes-256 cbc      26539.78k    27727.89k    28413.87k    68765.01k    69186.90k    69216.94k

master:
version: 3.0.0-alpha12-dev
built on: built on: Tue Feb  2 13:28:43 2021 UTC
options:bn(64,64) rc4(8x,int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE
 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG
CPUINFO: OPENSSL_ia32cap=0x3e983a0b078bffff:0x8
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
hmac(md5)        11394.15k    36440.09k   103444.14k   188451.84k   262482.60k   246786.73k
aes-128 cbc      36293.51k    38649.39k    39906.90k    92897.96k    94401.88k    94546.60k
aes-192 cbc      30687.49k    32379.39k    33132.03k    79068.84k    79951.19k    79839.23k
aes-256 cbc      26539.78k    27727.89k    28413.87k    68765.01k    69186.90k    69216.94k

Here are some performance comparison between 1.1.1 / 3.0 / 3.1 and 111-feature branches:
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
OpenSSL-1_1_1-stable:
md5              43573.94k    87662.90k   191117.91k   251465.05k   281258.67k   258517.67k
hmac(md5)        16758.59k    48939.63k   126291.63k   219938.82k   275218.43k   258397.53k
sha1             37646.53k    92188.27k   178838.27k   227958.10k   255513.94k   258413.91k
aes-128 cbc      66135.31k    70324.05k    71131.82k    71556.44k    71644.50k    71734.61k
aes-192 cbc      58725.66k    61275.97k    62015.06k    62279.68k    62281.05k    62412.12k
aes-256 cbc      51050.83k    54148.50k    54832.90k    55150.59k    55184.04k    55186.77k
ghash           298329.37k   695077.12k   860462.59k   912843.78k   926602.58k   926367.74k
rand              4847.24k    19380.31k    74776.92k   253453.99k   806013.61k   936656.90k
openssl-3.0
md5              19422.70k    53796.22k   141357.57k   228241.75k   271570.26k   244673.19k
hmac(md5)        12483.87k    38686.25k   107670.44k   202653.35k   262086.66k   239501.31k
sha1             18220.48k    55591.94k   135932.92k   210595.36k   253468.67k   255726.93k
aes-128-cbc     159102.81k   194985.69k   228536.32k   238494.04k   241404.59k   241390.93k
aes-192-cbc     141001.41k   168883.03k   193639.34k   200615.30k   201921.88k   201845.42k
aes-256-cbc     126093.02k   148058.11k   166131.97k   171749.72k   173323.61k   173167.96k
ghash           146500.37k   399813.80k   678572.29k   831203.33k   907575.30k   860225.54k
rand              4254.77k    18199.42k    71241.90k   235458.22k   760930.30k   911491.07k
openssl-3.1:
md5              19114.52k    52154.58k   138810.11k   226335.06k   269927.77k   233226.24k
hmac(md5)        12532.00k    38253.63k   111140.61k   203133.95k   255210.84k   246841.34k
sha1             16512.47k    51129.39k   128558.25k   208005.12k   253364.91k   255546.71k
aes-128-cbc     162711.87k   198484.46k   229484.20k   238483.46k   241306.28k   241401.86k
aes-192-cbc     143788.28k   170974.27k   193470.12k   199916.89k   201880.92k   201932.80k
aes-256-cbc     128818.23k   149759.04k   166527.66k   171856.90k   173506.56k   173566.63k
ghash           147927.99k   407154.54k   704536.15k   861270.36k   916220.59k   919289.86k
rand              6790.09k    26879.96k   102099.54k   328147.63k   860678.83k   980456.79k
openssl-111-features:
md5              41955.29k    99535.00k   178449.21k   249150.50k   281231.36k   251363.33k
hmac(md5)        16805.88k    48477.35k   130934.02k   218656.43k   274713.26k   244979.03k
sha1             37298.41k    91881.05k   178288.30k   232750.42k   255481.17k   259566.25k
aes-128 cbc     213962.44k   214721.15k   235101.44k   240096.60k   241080.42k   240741.03k
aes-192 cbc     181611.29k   183663.77k   197467.31k   200948.05k   201845.42k   201708.89k
aes-256 cbc     158942.47k   160362.49k   169514.89k   172266.84k   173675.86k   173621.25k
ghash           298884.27k   693753.43k   860028.33k   912365.91k   925906.26k   924685.65k
rand              4867.63k    18975.70k    74597.80k   253489.83k   805063.34k   939141.80k
``'

Bernd, IMO at this point this branch is a fork of openssl-1.1.1 and so it should live outside of OpenSSL project.

Well, yeah, of course, since 1.1.1 is nearly at its EOL date, it is now time for some decisions to be made,
and I just wanted to share some numbers, and get an overview for myself how the different options compare.
To me it was new to see the performance of the rand function improved from 3.0 to 3.1 quite a bit.

To me it was new to see the performance of the rand function improved from 3.0 to 3.1 quite a bit.

Also see: https://github.com/openssl/openssl/pull/20929#issuecomment-1559745547

Yeah, that's interesting...
BTW: a major part of the speed-up between 3.0 3.1 is due to bbbccd7 which would to be easy to cherry-pick to 3.0

@bernd-edlinger why are the aes-cbc numbers for OpenSSL-1_1_1-stable much lower than for all other branches, including your 111 feature branch? Did you backport a new hardware implementation?

Is the speedup caused by the bit-sliced implementation?

I've added a patent-free bit-sliced implementation but only for CBC in decrypt mode and only for the constant time.
But the measured performance numbers are for the AES_encrypt case, where bit-slicing is not possible.
The better speed of the features branch is due to the fact that I've implemented a hardware-acceleration
for the legacy AES APIs, which the openssl speed command uses in 1.1.1 and in the features branch,
but the speed command in openssl-3.x accesses AES via EVP and/or provider APIs and is therefore
by definition slower, while 1.1.1 still uses the legacy API which is neither constant time, nor very performant.

@bernd-edlinger Given the 1.1.1 EOL I am going to close this PR.
People can still get the patches from:
https://github.com/bernd-edlinger/openssl/tree/openssl-111-features
if interested.


ML2 TA feedback

Hi Folks,
Great job on the dashboard! it looks great, easy to work with and lots of options to explore.
Few comments:

the texts in the drop down menus overlap
the region-preference chart goes outside the limits of the dashboard
You can add a line like "countries with no data are not visible" below the world map

Cheers,
Afshin

Thanks for the comments Afshin, we will try to fix there this week.

the texts in the drop down menus overlap - We have addressed this issue by moving the filter to the top of the dashboard, so the texts in the drop down menus are no longer overlapping. This also helps with general flow.

the region-preference chart goes outside the limits of the dashboard - We have addressed that as well when moving the filter to the top.

You can add a line like "countries with no data are not visible" below the world map - Updated accordingly.

Thank you for the feedback and help, Afshin! Hope you enjoy our app Milestone 4 version.


feat: Adding Default decorator for non-existing key value pairs on .env file

Add Default decorator to envied_base.dart
Remove the unnecessary package import, dotEnv, is removed
Add Parser function is taken from dotEnv
Update Default decorator check is added to generator.dart
Add tests for generator_tests.dart & envy_test.dart is added
Add examples under examples updated using the Default decorator
Update temporarily packages directed to the forked repository(commits will be reverted)
Readme updated with using Default decorator
Resolves #12

Why did you make changes to the pubspec? Specifically added publish_to: none and making it point to your forked version of envied?
Please fix those and revert them back.

I actually added publish_to: none to use in the example & in my personal project. Otherwise, I did not let to use it the projects.
I will revert it.

@petercinibulk You can check it

I am unsure if adding another annotation would be the way to go here.
Maybe another parameter inside the current @EnviedField might be preferable

@ThexXTURBOXx I agree with you. I'd like to keep the annotations to a minimum as a good practice

the ci is not passing since the defaultValue is not in version 0.2.4.

Since defaultValue is not version 0.2.4, dart analyze crates these outputs

@kaankoken I think, you can ignore these errors. They are normal in multi-project repos like this one :)

@kaankoken I think, you can ignore these errors. They are normal in multi-project repos like this one :)

Okay, thanks. I am waiting for approval.


Update validate.js

If you make your own validation (e.g. I had to compare the values of 2 fields) using
field.setCustomValidity(customErrorMessageOfSomeKind)
the generic error will currently be shown, just have to add these 3 lines to catch the right error message (I apologize for being lazy and just changing this one file and not in the dist folder etc.)

Possible duplicate of https://github.com/cferdinandi/validate/pull/46?

Maybe 2 sides of the same issue? #46 is just about the polyfill, but there's apparently also no support for it without the polyfill

Sorry for the delay. I'll merge this soon!


Copy alias to validation_alias for Form fields

Addresses #10024.
Without this change, the alias parameter of the form fields is disregarded when generating the OpenAPI documentation, though request bodies are still deserialized correctly. The change is copied from pydantic.

check #10319


Compressing leaves - improved DP

Description
Same as #146 but with the improved version of the DoublePass analyzer.
Type of change
Enhancement
Checklist:

[ ] Add comments to the code (make it easier for the community!).
[ ] Change the documentation.
[ ] Add tests.
[x] Your branch is updated to the main branch (dependent changes have been merged).

How Has This Been Tested? (Optional)
Without compression:

With compression:

On the roll-up implementation of the Improved Double Pass #141 , we saw that:

There's a slight benefit on reading tests of TPC-DS.
The penalty of the writing process is too much for considering the merge of this PR beneficial.

Since it can still be a good solution for high writing workloads, we will create a command that lets the user roll up leaves from outside base implementation.
I will close this PR and open an issue with next steps. 🙏


Rename permission

Fix cannot save embedded assets on non admin account because the permission. Issue #212

Thanks!


ST-4542: Upgrade jetty to address CVE-2020-27216

Note that Jersey needs to be upgraded as well to ensure compatibility.
See this word of caution that was included in AK before this upgrade was applied https://github.com/apache/kafka/blob/dbdd1b1bb72ab0e012f7a746cefb6e593da44683/gradle/dependencies.gradle#L71
Note that the CI build fails because of a few downstream repositories using Jersey's private Base64 for some tests. Those fixes will come later.

Note the related, but subtly different, pull requests #211, #212, #213, #214 against more recent branches.

lgtm with a green build.

Thanks. There are two downstream repositories that have a failed build. PRs are already out to fix those downstreams. I will merge those first, and then trigger another build here to vet the change.


fix(command-dev): change autoLaunch default to true

Fixes https://github.com/netlify/cli/issues/1200
Opening as draft to get some feedback since this might be considered a breaking change.
See https://github.com/netlify/cli/issues/1200#issuecomment-688207258

Thanks for the fix. I'd appreciate a release when it's ready.

Released https://github.com/netlify/cli/releases/tag/v2.61.3


Bump redis to 0.13

All tests are passing.

Thanks for the contribution but this has been overcome by events (namely #37) so I'm going to close it without merging.


Key Usage fields very strict

Most commercial CAs will not be able to issue KUFs that are this strict. Cut them some slack.

Fixed in #23


1.0.6 fails with “Output should contain full path to file”

Up to version 1.0.4, running dotnet warp in a folder with a project simply worked. Updating to 1.0.6 now fails with the message:
Output should contain full path to file.
Specify --help for a list of available options and commands.

Running with --help switch displays:
Packs project to single binary, with optional linking.

Usage: dotnet-warp [arguments] [options]

Arguments:
  ProjectFileOrFolder      Project path.

Options:
  -r|--rid <RID>           Optional. Sets RID passed to dotnet publish. Defaults to current portable RID (win-x64, linux-x64, osx-x64).
  -l|--link-level <LEVEL>  Optional. Enables linking with desired level. Available values: Normal, Aggressive. Aggressive means, that application assemblies will not be rooted, and can also be trimmed.
  -nc|--no-crossgen        Optional linker option. Disables Cross Gen during publish. Sometimes required for linker to work. See issue: https://github.com/mono/linker/issues/314
  -o|--output              Optional. Output exe path. Defaults to current directory + assembly name.
  -v|--verbose             Optional. Enables verbose output.
  -?|-h|--help             Show help information

Usage says arguments is optional and so is -o.

Sorry my bad. Fixed in 1.0.7

Thanks! Works again as advertised! :+1:

BTW, latest commit (5e9ad3dfe070b2bb38c003540a8da0420bfb56c8) still points to 1.0.6. Did you forget to push your changes that went into 1.0.7?


"Invalid HTTP Upgrade"

I am Parse / ParseLiveQuery and started receiving the following error yesterday. Parse LiveQueries do not seem to be functioning properly.
ParseLiveQuery: WebSocket did disconnect with error: Optional(Starscream.WSError(type: Starscream.ErrorType.upgradeError, message: "Invalid HTTP upgrade", code: 200))
Unfortunately, I don't have a terribly extensive background working with this type of framework, so any help is appreciated. The project is a Swift 4 project with Parse Server hosted on Back4App. I have tried switching from Parse Server 2.6.5 to 2.7.1 with no solution.

ParseLiveQuery uses it's own protocol on top of WebSockets. In fact, they appear to use Starscream under the hood. I would suggest using their library.
https://github.com/parse-community/ParseLiveQuery-iOS-OSX


Parse error for "2020 Mar TBD"

Starlink 5 has currently set "2020 Mar TBD" in Reddit launch manifest. But looks like there is some error during parsing and "tentative_max_precision" is set to null (should be Month).

Looks like they've changed it and everything works ok, but I let you know


Issues with Tabs not showing at the top

System Details

OS: Windows 11 Enterprise
Thorium Version Version 117.0.5938.157 (Official Build) (64-bit)

Problem
Tabs on my work machine are not showing and for the life of me I cannot figure out how to get them to show like normal.
I never changed a setting or option, it has been like this from the beginning.
I installed on my personal machine and it showed the tabs like normal from the start.
Screenshots

Additional Notes
If this is a user error please forgive me haha, thanks for the sick browser!

#91

Awesome, thanks for the quick response and help, after disabling Touch UI Layout we are good to go!


Want the renew logo design for Marp Next

I designed the Marp Next logo a year ago. It keeps the sharp "M" design and two blue colors from current Marp. By this logo, I wanted to represent the simplest way to "write" deck through Markdown.

▶

However, recently I found that Marp Next's logo is very similar to the logo of Vue Material. The shape and positional relation of two triangles is exactly same!

Marp Next
Vue Material

To avoid confusing, we think it might be necessary to change the logo of Marp Next. By reference to the current logo designs (below), please post your great new design if you have any ideas!
Resources about current design
The current Marp Next / Marpit (slide deck framework) logos

Logotype
Font of logotype are consisted by aligned lines, and arcs of completed circles.

Loading animation

I made two rounded versions based a current logo of Marp. They also have the heavy logotype.

Woah! I designed this logo a couple of years ago and it looks VERY similar:


Fix gofmt issues

@kubernetes-incubator/maintainers-service-catalog

LGTM

LGTM

LGTM. Trivial PR... merging.


Adding Transform Secrets Engine support

This feature is only available if your vault binary is an enterprise version 1.4 or higher.
The feature allows for FPE or just masking out some data. This is useful when sending sensitive information over the wire without requiring a schema change.
You can read more about the API and feature here: https://www.vaultproject.io/docs/secrets/transform
There's also the HTTP API that can be found here: https://www.vaultproject.io/api-docs/secret/transform
Let me know if there's anything else you'd like me to add to this feature support.
We (HashiCorp) are hoping to get this rolled out sooner rather than later, but quality comes before speed. Hopefully, I'll be able to help you all out in getting some of our newer features rolled out in this repo!
Cheers!

@Valarissa Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Thanks a lot for submitting a pull request. At first glance, this PR looks pretty decent, I've seen only a few super minor issues (inception year in the license headers should be 2020 only, some @since tags on methods that say version 1.1 instead on class level having @since 2.3) that we can sort out either during the PR phase or during the merge.
To be able to continue here, you'd need to sign the contributor license agreement.

@mp911de Thanks for the update. I work for HashiCorp, so, there's some issues with me signing the CLA right now. I'll make the changes you requested and wait until we hear back from our legal dept to understand how to move forward with the CLA. (I have every confidence that it will be signed eventually, we're just waiting to see how this works)

Hey there, is there an update regarding the CLA?

Not as of yet. All of us on the team are getting antsy with how long a resolution is taking :(

Sorry to hear.

@Valarissa Thank you for signing the Contributor License Agreement!

@mp911de It turns out HC had signed it previously and the problem was the visibility of my membership with the HashiCorp organization! We should be good to go.

Great to hear. I'm back in September in the office, I'll take care of the merge then.

I had a look at the PR. What about encoding values that return a generated tweak_source? Right now, the generated tweak isn't returned to the caller.
I prepared the merge already locally, so I can take care of any changes that result out of this discussion.

Taking a look right now. Thanks for the review.

So, you're correct that I forgot to include that. I'm thinking of extending the TransformCiphertext to accept a nullable tweak to be able to receive the tweak value from a generated tweak_source. Thoughts?

Thanks for having a look. I think we can model it by attaching the tweak to the ciphertext object. Let me apply that change and push all changes onto a branch next week.

Thanks a lot for the detail. I also came across the issue with TLS 1.3 in Java and for now (until the fixed Java version is available in all build environments), we pin the TLS version to 1.2 for our tests.
Thank you for your contribution. That's merged and polished now.

This ticket was the last one that we wanted to include in version 2.3 M1. We can ship 2.3 M1 by mid next week or so.


SCP SDK for iOS : HTTP 503: Service Unavailable

Hello
I have followed the steps of the tutorial for Creating an App using Assistant until step 6.
When I try to select the demo application in the "Use Existing" tab, I have a 503 error.

I have checked the mobile service in my trial account. I have access to the service and to the admin cockpit.

But when I enter the link for the service directly in a web browser, i have a service unavailable error too.

Could you help ?
Regards
Emmanuel Da Costa

Hello
I have followed the following tutorials but I am blocked.
https://www.sap.com/developer/groups/ios-sdk-setup.html
https://www.sap.com/developer/tutorials/fiori-ios-hcpms-sdk-assistant.html
Cloud you help ?
Regards
Emmanuel Da Costa

Hi @edacostacegb,
Apologies for not replying earlier (this issue log is actually meant for issues with the tutorials itself, and not the tools or products it covers. SAP Community would be the better place to ask these kind of questions, and make sure to tag your question with SAP Cloud Platform SDK for iOS 👍 )
Anyway, while we're here, it seems the service link is incorrect: it should be in the form https://hcpms-s0016713422trial.hanatrial.ondemand.com (note it starts with hcpms- and not hcpmsadmin-)
Hope this helps!


Fix issue #127

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

This looks perfect from a code perspective, thanks @JWo1F! Let's wait for @gaearon to merge this.

Does WDS auto refresh or CSS hot reloading still work after this? We are hardcoding localhost in dev Webpack config, would this break it?

I don't actually know! Would you mind trying those @JWo1F?

I just tried it, both still work @gaearon! This seems to be good to go, doesn't break anything for me.

Great, thanks for sending the PR!


Improve exports syntax

Summary
The current syntax for exports assumes both that the exported module is imported and also requires providing the full qualified name of the export. That seems silly, the solution should be:

Reexport a module by its imported name, or
Allow exporting a non-imported module.

Value
The export system is more intuitive and easier to use.
Specification

Decide on the approach
Implement the approach

Acceptance Criteria & Test Cases
The functionality is well tested.

The current implementation of export by the qualified name makes sense to me if we make import and export unrelated header directives, i.e. there's no requirement to import module before exporting.

import A.B imports the module B in scope, making it available in the body of the program
export A.B is a directive to include everything defined in A.B when this module is imported

There may be also a name clash when the module polyglot imports the type and re-exports it from another module. Consider the example project:
.
├── Duration
│   └── Extensions.enso
├── Duration.enso
└── Main.enso

Main.enso
import Test.Duration brings two java.time.Duration in scope and crashes the compiler.
from Base import all
import Test.Duration

main = 1.second

Duration.enso
Module polyglot imports java.time.Duration, and at the same time re-exports java.time.Duration from the Test.Duration.Extensions.
To fix the issue we need to hide the extra duration from Test.Duration.Extensions export all hiding Duration.
from Base import all
import Test.Duration.Extensions

from Test.Duration.Extensions export all

polyglot java import java.time.Duration

Extensions.enso
from Base import all

polyglot java import java.time.Duration

Integer.second = Duration.ofSeconds [this]

Issues
There are a couple of issues:

ambiguity is not handled in compiler
should we export polyglot imports at all?