ngDevMode breaks again in Angular 7

Hello HackAfro, still love your spinners library! Just wanted to let you know that Angular 7 is breaking it again, with a very similar message to last time around:
ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
Whenever you get a chance to look at it, thank you!

Hello @jasefisher, I appreciate the update. I apologize for taking so long release support for Angular 7.
I've currently updated the package and can assure that your application should be running flawlessly.
Thank you


[Bug] Sakura, Maple and Peppy leaves do not match vanilla tags.

Sakura, Maple and Peppy leaves do not match vanilla leaf tags, making them not mineable via a hoe, not findable during tutorial, etc.

Currently working out a PR to fix this.

PR just submitted. If there's any problems, please let me know.


Allow DESC as default direction when sorting

As it is, whenever a table is ordered by a different column, it always defaults to ASC. This is not ideal in many situations, so it would be nice to have the option of setting that.
It looks lines 902 could be changed to field.sortDir or something like that. I'd have to dig around more to know for sure it would work though.
It would be great to have this feature added.

Well, 902 did not need changing, but a couple other lines did. See GH-461 for details.

I didn't consider multisort originall, but I added support for it too, which did require changing the line I referenced, which is 904 now in my pull request.


upgrade k8s client to v6.0.0

fixes: #3685
it was a big pain to update the client due to enormous dependency web

Note that while there is a tag for 1.11.0-alpha.0 that's an automatically generated tag, it doesn't say much about the stability of the code other than that's the version used to build the respective Kubernetes version. It's generally recommended to use the official version tags, latest for that would be: https://github.com/kubernetes/client-go/releases/tag/v6.0.0

@brancz thanks, changed to v6

@krasi-georgiev Is v6.0.0 being used in 2.2.0-rc.1?  I updated my Prom server to use 2.20-rc.1, and it has resolved my memory leak. If you would like further logs, I can get them to you.

@Mrcortez34 nope this hasn't been upgraded in a while.
did I read correctly that you upgraded from  prometheus 1.7.4?
if that is the case than there were enormous improvements since than.

@krasi-georgiev No, thats the version of my kubernetes.
I upgraded prom from 1.8 to 2.0(No issues). Then prometheus released 2.1, I upgraded to 2.1 and thats where I started to see the memory leak.
Now my current version for Prometheus is 2.2.0-rc.1

there was one major bug fix from 2.1 to 2.2 so there is a big chance you were hitting that one
https://github.com/prometheus/prometheus/issues/3715

Seems like there are still some problems with CI in travis, any idea what might be happening?

This need a rebase.

seems 2.2.0-rc.1 fixes the issue so best to close this one as it might brake other things.

prometheus.zip
attached for testing

Note that while there is a tag for 1.11.0-alpha.0 that's an automatically generated tag, it doesn't say much about the stability of the code other than that's the version used to build the respective Kubernetes version. It's generally recommended to use the official version tags, latest for that would be: https://github.com/kubernetes/client-go/releases/tag/v6.0.0

Unfortunately is seems kubernetes client noes not exist as a project with separate versioning anymore, the separate versionning in their repo is an historical artifact, other projects that interface with kubernetes now base themselves on the kubernetes_x_y_z tags
Which basically means choosing the major kubernetes version to target and building from the latest full minor release tag of that version.

kubernetes 1.9.6 if you target kubernetes 1.9 (that's what v 6.0.0 was + fixes)
kubernetes 1.10.0  if you target kubernetes 1.10 (what would have been v 7.0.0 with the old numbering convention)

too many conflicts. Needs to be started over so closing for now.

I'm still running this in staging but there will be lot of work regarding the recent PR with k8s SD refactor I suppose?
If there will be new version to test I'll be happy to do deploy it again.

I have moved my focus to tsdb so someone else needs to take over this one.


Force closed after attempt to read or type a mail.

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
5.913
Where did you get the app from?
No response
Android version
Android 9 - custom rom
Device model
S9 plus
Steps to reproduce
swipe to refresh for new mail
new mail is loaded correct
then try open the new mail
or
push the button on top to compose a new mail
Expected behavior
read the contents of the newly received mail
or
type new mail.
Actual behavior
app force closes.
Logs
log

Looks like you don't have a WebView implementation installed on your device.
Duplicate of #5835

Thank you! Just updated the android system webview. All works as intended.


Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.15.

Describe the bug
.gradle/caches/transforms-3/2f05c98b6903718c010da2ac0d901d9f/transformed/jetified-kotlin-stdlib-1.6.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.15.
To Reproduce
Steps to reproduce the behavior:

Go to 'Android Studio'
Click on 'Build Button'
See error in logs

Expected behavior
The App should be installed in Emulator And real device
Screenshots

Desktop:

OS: Mac OS 12.4
IDE: Android Studio
Version: 2021.2.1 Patch 1

@Saim-Hashmi take a look at this post maybe
https://stackoverflow.com/questions/67448034/module-was-compiled-with-an-incompatible-version-of-kotlin-the-binary-version

Already seen this one, it's of no use

@plutoless Please have a look, I used the latest version i.e. 1.7.0

@plutoless If any other contributor can help me out in this?


Adding injection list support via engine_deploy (We have a running project!)

will now run simple epl projects (.mon only)

Woot!


Feat/api kai 142

Description
[A brief description of the changes in this PR]
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Re-factoring without changing existing functionality

How Has This Been Tested?
[Describe the tests that you ran to verify your changes]
Checklist:

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

Related Issues
[Link any related issues here]
Additional Notes
[Add any additional information that might be helpful for reviewers]
Automated PR Description
Commits in this PR:

b51da33 refactor(crawler): add CrawlOptions model for better type safety
a7be66e WIP feat(api): implement end-to-end source ingestion via POST /sources

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 1.58730% with 62 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

src/models/content/firecrawl_models.py
0.00%
58 Missing :warning:

src/infrastructure/config/settings.py
33.33%
2 Missing :warning:

src/services/content_service.py
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

src/infrastructure/config/settings.py
82.81% <33.33%> (-2.68%)
:arrow_down:

src/services/content_service.py
0.00% <0.00%> (ø)

src/models/content/firecrawl_models.py
0.00% <0.00%> (-83.34%)
:arrow_down:

... and 6 files with indirect coverage changes


fixed video source serialization + a gui typo

Pull Requests
Please note that we accept pull requests from anyone, but that does not mean it will be merged.
What kind of change does this PR introduce?

Fix

Video sources were improperly serialized/deserialized due to the logger not being marked as transient
In the settings menu, changed "Inteface" to "Interface"

Codestyle

Just some code formatting

Did this PR introduce a breaking change?
A breaking change includes anything that breaks backwards compatibility either at compile or run time.

No

Glad I could help!

Thank you so much;)


Is there a way to check with commands if a player is wet?

I can't find anything about the moistness mechanic in player data

i'm reasonably sure the anwser to the title is no

very weird that it's not stored in player data xd


Convert Rust component to a workspace layout

So what started as wiring in the acars_vdlm2_parser library for encoding/decoding messages turned into reworking the codebase into a workspace layout.
This mostly meant moving a lot of code around, but then making sure that the required dependencies were pulled in as required for each of the new libraries.
Any un-needed dependencies were removed from the main binary in turn.
After doing this shuffling work, started to look at a more unified function layout and trying to cut down the amount of unique structs etc that seemed to be unique for the sake of it.
These new unified functions are as yet not implemented, mostly because it was starting to drag out getting a PR up and I had concerns with keeping track of changes on main (along with potentially blocking other work).
Next body of work after this will be to start moving towards more common code where possible, along with migrating the message queues from passing around String to passing around the new AcarsVdlm2Message coming from the acars_vdlm2_parser library.
Hopefully this layout will make sense and allow for easier maintenance going forward.

So, diving into the python based tests failing, it appears that you explicitly expect a line to end with \n.
Is this for some backwards compatibility or something?
After adding some extra print() debugging to the python tests I can see that the data is actually coming through perfectly fine, it just doesn't have \n at the end.

So, diving into the python based tests failing, it appears that you explicitly expect a line to end with \n.

Some of the decoders - I forget which ones - actually are appending new lines so it may break consumers of the data if it isn't there. Actually, it may be all of them.
I was also told new lines are a typical way of ending a data gram in TCP/UDP space, although I don't know enough to speak on that subject. wiedehopf on discord has a particularly strong opinion on the subject.

My initial impression is that this is really awesome. Once it passes the test suite I'll get it plugged in to my local test stack with real data and see how it does.
As far as worrying about changes in the master branch and conflicts there, I'll quit messing with it.


Dynamic require() in the worker

Hello,
Following https://github.com/substack/webworkify/issues/34 here
I've adapted my code to workerpoolify, but i'm hitting the exact same problem here:
The worker works fine when i'm doing some basic require:
var m = require('my-module');
But if i want to resolve a module dynamically:
var a = 'my-module'; var m = require(a);
It issues a "MODULE_NOT_FOUND" error, even though the module is defined in the bundle (with working require() calls). How can i make dynamic require() with workerpoolify?
Can you please explain how are the worker module dependencies managed? Is there a way i can modify the code (of workerpoolify or webworkify) to include all the modules loaded in the bundle?
ps: please don't close the thread yet

Hello,
I finally hacked this in webworkify. I think it would be a valuable feature to have an extra option parameter to include every source from the bundle in the worker.

Ah, I misunderstood the original issue. Workerpoolify resolves all dependencies at compile time, it just doesn't evaluate them on the worker side until they are used.


Update scalafmt-core to 3.0.2

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #178 (cd3b950) into master (713c97f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #178   +/-   ##
=======================================
  Coverage   84.04%   84.04%
=======================================
  Files          19       19
  Lines         282      282
  Branches        6        6
=======================================
  Hits          237      237
  Misses         45       45

Continue to review full report at Codecov.

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


What's the difference between 'relative time' and 'heading time' in planning

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution ( Ubuntu 14.04):
Apollo installed from (source):
Apollo version (3.５):

Steps to reproduce the issue:
1、If ComputeReinitStitchingTrajectory function isn't called(no need to ReinitStitchingTrajectory) in trajectory_stitcher.cc, does the  prev_trajectory->header_time() will be changed?
２、prev_trajectory->StartPoint().relative_time(). What does the relative() mean?
if this means the time difference between startpoint and current point, prev_trajectory->StartPoint().relative_time() this value is always zero?
Supporting materials (screenshots, command lines, code/script snippets):

@ManXiaoMi relative_time is the "relative" time compared to "current" timestamp. relative_time=0.1 means 0.1sec ahead of current time. relative_time=-0.1 means 0.1sec before current time.

Hi @ManXiaoMi , hope our answer resolved your question. We will close the issue for now. If you have any additional question, please feel free to open a new issue. Our engineer team are more than happy to help that.
Thank you for supporting Apollo!


How to classify an image?

I want to classify an image, but the result is not correct. What is wrong with the operation?
input_image = tf.placeholder(tf.float32,  shape=(None, 3, 224, 224), name='input_placeholder')
outputs = SE_ResNet(input_image, 1000, is_training=False, data_format='channels_first')

saver = tf.train.Saver()

with tf.Session() as sess:
    init = tf.global_variables_initializer()
    sess.run(init)

    saver.restore(sess, "./seresnet50/se_resnet50.ckpt")
    img = cv2.imread('./person.jpg')
    img = cv2.resize(img, (224, 224))
    img = np.array(img, np.float32)
    img -= np.array([[[104., 117., 123.]]])
    img = np.transpose(img, (2, 0, 1))

    predict = sess.run(outputs, feed_dict={input_image: np.expand_dims(img, axis=0)})
    print(predict)
print(np.argmax(predict))

@HiKapok

@yangxue0827 what do you mean by uncorrect?

The input image is panda, but the network prediction is 168 ('redbone'). Is the above code handled incorrectly? @HiKapok

I don't, I just checked the output of logits to match the Caffe models


wiki: Go-Release-Cycle has an out of date statement on backporting policy

There is a statement in the Release Maintenance section of the Go Release Cycle wiki page that is out of date:

Minor releases to address non-security problems for Go 1.x stop once Go 1.x+1 is released.

I plan to edit the page to make it say:

Minor releases to address non-security problems for Go 1.x stop once Go 1.x+2 is released.

This is because we've accepted a backport policy clarification in proposal #34536, which makes it clear that the last two releases are supported equally.
(Filing this issue before making the change, as documented in the first paragraph of that wiki page.)
/cc @rsc @andybons @cagedmantis @toothrot

Note that the very next sentence in that section talks about security problems being fixed in the last two releases:

Minor releases to address non-security problems for Go 1.x stop once Go 1.x+1 is released.
 For more about security updates, see the security policy.

So there is also an option to combine the two into something like:

Minor releases to address non-security and security problems for Go 1.x stop once Go 1.x+2 is released. For more about security updates, see the security policy.

This issue has received 2 thumbs up from release team members, and no concerns have been raised. It's small and obvious fix, so it doesn't seem like more discussion is needed.
I'll proceed with making the change.

Fixed in wiki commit e05fa49b.

I think the text is now repetitive and confusing:

Minor releases to address non-security problems for Go 1.x stop once Go 1.x+2 is released.

Why have two almost exact sentences? I had to read them twice to make sure the only difference was security vs non-security. They should be merged, in my opinion.

I think the text is now repetitive and confusing:

Minor releases to address non-security problems for Go 1.x stop once Go 1.x+2 is released.

Why have two almost exact sentences? I had to read them twice to make sure the only difference was security vs non-security. They should be merged, in my opinion.

@mvdan Do you think the suggested combined phrasing in https://github.com/golang/go/issues/37097#issuecomment-583182330 would work well?

@mvdan Do you think the suggested combined phrasing in https://github.com/golang/go/issues/37097#issuecomment-583182330 would work well?

Sure. Though saying "non-security and security" feels a bit weird, like saying "all important and non-important bugs" when one could just say "all bugs".

Sure. Though saying "non-security and security" feels a bit weird, like saying "all important and non-important bugs" when one could just say "all bugs".


In-line swich() returns value

Dear Concerned Personnel,
With due respect,
As a former student of computer science and my little familiarity with C# language,
I like to know that is it possible to update C# switch() which
can return a value and be assigned to a variable,
and
can have an inline version of the function like inline If...Else function using Ternary Operator.
Please consider the example below,
int s = 7;
int s2 = 7;

int result = 			//Switch returns int value
switch(s){
            1/2/3:			//cases
		return 1;
	:
	s2/5:
		return 0;
}
;

switch(s){1/2/3:return 1; :s2/5:return 0; :default:return 0;} //In-line swich()

int result = switch(s){1/2/3:return 1; :s2/5:return 0; :default:return 0;} //In-line swich() returns value

============================================================
Looking forward to your precious reply. And, thank you in advance for spending your valuable time regarding my query.
Best regards

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

ID: fd278c65-14fb-2c27-966d-6e14c74fbcaa
Version Independent ID: e94a68f9-1a6c-a7e0-e1ee-4be1114bb8dc
Content: switch expression - C# reference
Content Source: docs/csharp/language-reference/operators/switch-expression.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@RashedulHaqueRonjon I think that you can accomplish your goals using nested switch expressions.
I think that this article will show some exmaples.
I hope that helps.
Closing as an answered question.

Dear BillWagner,
Thank you very much for your help.
Best regards


Doctsrings

Make all the docstrings in the project consistent to ease automatised documentation generation. Preferably in an established style e.g. numpy-like

Docstrings for ebisim.xs were added in 6a275ae88cf0e9b1eb4b55f5fbcaca27444a48ce

Progress (by module):

[ ] init
[ ] beams
[ ] elements
[ ] physconst
[ ] plasma
[ ] plotting
[ ] problems
[x] utils
[x] xs

All old docstrings have been updated. Closing issue.


Implementing Buy Bitcoin as per new Design

Design link https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/12c5e58b-8203-4b95-8638-a5bdd94e9e79/specs/

Verified this issue on keeper app v 1.2.0(319)


[Component Proposal] RuleBuilder

The original design has been significantly altered. The new prototype can be found here
This feature is made up of several components that will have their own issues to track. This issue will be used to track the completion and composition of the various pieces.
Summary
From @lukefirth via Internal Watson-IoT/pal-tracking#145

Is this an extension to an existing component, pattern, or a brand new asset?
This is an EDS item.
What is the rationale for this contribution.
In many patterns in the EDS, a semi-visual builder is used to form logical expressions (not to be confused with the expression builder...) for use in filters, rule monitors, and more.
This is a mega-component that allows users to type and click in order to formulate a logic tree which will do something when one full route becomes TRUE.
This can be found with its own page here: https://ibm.invisionapp.com/share/U2NYW8D7DFV#/screens/319100296
Detail the intended behavior
Strap in, this is a long one.

The user is greeted with a text input, and a + / - pair of actions (please ignore incorrect button ordering) and are invited to add a condition (term) to the rule.

When the user interacts with said text input, a number of options will be provided to them to select from, based on the resources (Keys) that the particular type of rule can work with.

Selecting a resource (key) will then add it as a 'block' to the input, and immediately create and apply focus to a second area inside the input for supplying the operator. To support in selection, the whole input will suggest valid values for this stage too below.

Once the initial resource (key) has been picked and the operator selected, a third input block will appear in the set, again with focus applied, and the dropdown below will provide selectable options.

Now a complete condition on the resource (key term) has been set, focus is applied back to the containing input, and the dropdown will suggest resources (keys) again.

Skipping ahead, multiple of these can be put together to create a more complex term, in this case a second has been added, and demonstrates an error state:

Clicking the [+] in the button pairing at the end will add a new row (default to OR but can be changed to AND, although this blurs when you'd add a new set vs keep adding to one big set...) of terms that can be added, allowing for complex rules to be built.

Specific timeline issues / requests
The internal issue issue has a comment with a potential partial contribution of this item coming from a product team in Q4. We should follow up on this.

This is much more of an epic item - there's many components within this that need to be built and individually tested to make up this much broader UX pattern/flow. Also major a11y implications throughout the entire flow.
When this becomes prioritized, we will need to break this apart into smaller deliverable pieces.

@lukefirth @davidicus I'm not sure if the design and functionality is already set for this feature, but I would love to be a part of this. I have plenty experience of creating visual business rule editors and can hopefully contribute here.

Is this only for rules or can this be leveraged for non-rule use cases (filtering, applying functions or scoring mechanisms)?

Design is in progress via Steven Chiang, @KarenGski

Design is in progress via @stevench, @KarenGski

Design is in progress via @stevench-tw, @KarenGski

Design requirements of E&U use case
https://ibm.invisionapp.com/share/UCNYY0FB34W#/319379303_Advanced_Filter_Design_Exploration
Initial prototype draft - design in progress
https://ibm.invisionapp.com/share/UCNYY0FB34W#/319623940_Query_Builder_-_Step_1_-_Default

@stevench-tw @KarenGski Thanks for posting the in flight design. Is there an ETA for a final design?

@tay1orjones
Sorry for updating this late!
The design has been reviewed with @dianatran18 @KarenGski and few of design leads, currently is under content review with Claudia. The expected final design date would be 10/2, which means after the content review.
Latest version 3
https://ibm.invisionapp.com/share/UCNYY0FB34W#/319379303_Advanced_Filter_Design_Exploration

I think this requires a lot much through than the simplified model being presented here.  I would strongly suggest that we look at open source rule engines and get a sense of the scale of what is being asked here.
Some things to consider here, is that there needs to be a well defined AST for what the this rules engine will be building and how it interacts with elements of the AST.  We also have to account for things like data types and the builder's operations (is, is not) needs to be contextual based on the data type.  I'm assume that there will be things like greater than, less and or equal, etc, but these things might not have meaning in the sense of text.  So, the builds needs to be aware of the data types being operated on.
I think we also need to determine how child objects will be supported.  ie, this fine for flat data, but what if I'm building a rule for work orders with an address city equal to London... I need to be able to say, "address.city" as the field and not just a flat structure.
A component like this is every developers fun to build component, but, given the usefulness of it, do we really want to invest 6 months building this, or should we just look for an off the shelf component and then style it, and update our designs to reflect what we found?  This is huge component that is going to tie up developers for quite some time.  By usefulness, I'm not saying it''s not useful, just that when you look at something like a table that is used in every application, this component(s) is a very niche and complex component, that will be used rarely across multiple applications.

Hi @stuckless
Thank you for your comments from technical perspective! Here are my two cents:
I can't comment on the technical directions. However, from design point of view, we cares more about the real use cases, which means that how user will use it, so we started with a real E&U case.
It is always depend on the balance between two sides of usability and flexibility, the points you raised are very valuable, which is why we leave the flexibility for the advanced value configuration dialogue -- to define the details. We've been revealed this design direction with sponsor user group, they seems like this direction. I recalled that one of the comments received from them is that current advanced query feature in their solutions today is too complicated to use.

Just a couple of other technical things to consider as you go through this exercise.   If you have a Rule Builder then it assumes that there is a Rule Parser (ie, how does one edit and existing rule, or go between the "simple" and "advanced" streams).  This is why having some sort of AST is important here, since, the building/parsing can be pluggable (not part of the component) while the UI can then be used for many types of rule grammars.  I'd also consider adding in drag/reorder, since in many cases, doing that is useful when trying to re-organize expensive OR conditions.
Something to look at.  https://ukrbublik.github.io/react-awesome-query-builder/

Closed by the above issues.


Request for section update of rewrite-the-worker-class about a bug for EventLog

Hello,
I recently used this page in order to make a Windows Service.
Great article, well explained until I encounter a little 'bug' during tests : the configuration of the appsettings about EventLog is not taken in account.
Adapting EventLog section of appsettings.json do nothing, this is not what I had expected when reading your article.
After some research, I found this bug report with a workarround (https://github.com/dotnet/runtime/issues/47303).
Is it possible to update "rewrite-the-worker-class" section in order to let know other people to take care about this point.
Best regards

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

ID: ed148088-4550-2788-0756-390eab15e3f6
Version Independent ID: 64d5cdf8-e50f-0c89-7f16-82645ba6383e
Content: Create a Windows Service using BackgroundService
Content Source: docs/core/extensions/windows-service.md
Product: dotnet-fundamentals
GitHub Login: @IEvangelist
Microsoft Alias: dapine

Hey @blueneosky, what exactly are you expecting to be mentioned or updated as part of that section you called attention to?


Add Data Point Model Class

Add a data point model class. That should tie a value, sensor, and location together. It should have the fields:
Value (double)
Point (foreignkey)
Sensor (foreignkey)

Also, it should tie to a specific user and django_team

Model added and migrations was successful


Copy for translations done signal and test

Adds a signal that triggers when a page is copied for translation, which then allows us to implement post processing of the data in the copied page, e.g. for machine translations.
See RFC: Copy for translation done signal

Thanks @ArnarTumi! We should document this at https://github.com/wagtail/wagtail/blob/main/docs/reference/signals.md.

Thanks @ArnarTumi! Merged in c700ed67ef97d8ff2ead5eb47e4a29cc3bbb3294.


make test failed with core dump

When run 'make test', get following error with core dump.
D0126 06:15:33.010985875   49112 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
E0126 06:15:33.011358531   49112 init.c:123]                 Could not initialize census.
I0126 06:15:33.011376734   49112 httpscli_test.c:78]         test_get
I0126 06:15:33.011384146   49112 httpscli_test.c:81]         requesting from localhost:43576
E0126 06:15:33.012602723   49112 tcp_client_posix.c:171]     failed to connect to 'ipv6:[::1]:43576': socket error: connection refused
E0126 06:15:33.025234955   49112 ssl_transport_security.c:190] ssl_info_callback: error occured.

E0126 06:15:33.025260279   49112 ssl_transport_security.c:877] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0126 06:15:33.025264788   49112 handshake.c:236]            Handshake failed with error TSI_PROTOCOL_FAILURE
E0126 06:15:33.025269445   49112 httpcli_security_connector.c:156] Secure transport setup failed with error 1.
E0126 06:15:33.025273951   49112 httpscli_test.c:62]         assertion failed: response

*******************************
Caught signal 6
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x4d84a3]
/lib64/libpthread.so.0(+0xf130)[0x7fcca6568130]
/lib64/libc.so.6(gsignal+0x37)[0x7fcca5db55d7]
/lib64/libc.so.6(abort+0x148)[0x7fcca5db6cc8]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x40f49b]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x410564]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x410bfd]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x47be85]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x47c31f]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x41ed8e]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test(grpc_exec_ctx_flush+0x5a)[0x4102aa]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test(grpc_pollset_work+0x1c5)[0x414815]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test(main+0x2d8)[0x40ef88]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fcca5da1af5]
/home/gpadmin/workspace/grpc/bins/opt/httpscli_test[0x40f27d]
/bin/sh: line 1: 49112 Aborted                 (core dumped) /home/gpadmin/workspace/grpc/bins/opt/httpscli_test
test httpscli_test failed
make: *** [test_c] Error 1

Were you able to resolve this?  I have the same problem with release-0_13_0.

Which operating system are you on?
Is Python installed?
On Sat, Feb 27, 2016 at 12:04 PM Haisam Ido<EMAIL_ADDRESS>wrote:

Were you able to resolve this? I have the same problem with release-0_13_0.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4878#issuecomment-189715264.

I get the above error on Centos7 and AWS Linux and yes I have python installed.

What happens if you run:
test/core/httpcli/test_server.py --ssl

Interesting!
test/core/httpcli/test_server.py --ssl
/home/haisamido/Development/staging/grpc/src/core/tsi/test_creds/server1.pem
server running on port 10080

and I am able to
telnet localhost 10080
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.

Weird. Can you post the log of doing:
make clean
make httpscli_test
bins/opt/httpscli_test
On Sat, Feb 27, 2016, 6:43 PM Haisam Ido<EMAIL_ADDRESS>wrote:

Interesting!
test/core/httpcli/test_server.py --ssl
/home/haisamido/Development/staging/grpc/src/core/tsi/test_creds/server1.pem
server running on port 10080
and I am able to
telnet localhost 10080
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4878#issuecomment-189767494.

Here are the results:
`
[CLEAN]   Cleaning build directories.

E0228 03:43:20.024911681    7760 ssl_transport_security.c:877] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0228 03:43:20.024917027    7760 handshake.c:237]            Handshake failed with error TSI_PROTOCOL_FAILURE
E0228 03:43:20.024920551    7760 httpcli_security_connector.c:156] Secure transport setup failed with error 1.
E0228 03:43:20.024924751    7760 httpscli_test.c:62]         assertion failed: response

Caught signal 6
bins/opt/httpscli_test[0x404623]
/lib64/libpthread.so.0(+0xf100)[0x7fe0ca4e3100]
/lib64/libc.so.6(gsignal+0x37)[0x7fe0c9f325f7]
/lib64/libc.so.6(abort+0x148)[0x7fe0c9f33ce8]
bins/opt/httpscli_test[0x4038db]
bins/opt/httpscli_test[0x40c2f4]
bins/opt/httpscli_test[0x40492d]
bins/opt/httpscli_test[0x404d95]
bins/opt/httpscli_test[0x40522f]
bins/opt/httpscli_test[0x41007e]
bins/opt/httpscli_test[0x40d1fa]
bins/opt/httpscli_test[0x40e125]
bins/opt/httpscli_test[0x4033c8]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fe0c9f1eb15]
bins/opt/httpscli_test[0x4036bd]
Aborted (core dumped)`

Can you try both of these separately:
 test/core/httpcli/test_server.py --ssl -p 37760

 test/core/httpcli/test_server.py --ssl -p 43576

Then from another console location, type the following appropriate for each port test:
 curl --insecure -X GET https://<IP_ADDRESS>:37760/get

 curl --insecure -X GET https://<IP_ADDRESS>:43576/get

You should get something like this:
<title>Hello world!</title>
This is a test

~p

Both returned
<title>Hello world!</title>
This is a test

and each test_server.py logged on the console:
<IP_ADDRESS> - - [28/Feb/2016 13:26:55] "GET /get HTTP/1.1" 200 -

I get the same error on the master checkout: 2596d8f7e786b22be2fba95c8ced4ec0ad017739

So after performing the following:
$ git clone https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init

Try changing the following line in the Makefile to this:
ifeq ($(HAS_CC),false)

Then run make test again and see if it works.  Basically the above forces it to use gcc/g++.
For me the errors are only because I have those ports blocked - below is the end of my test:
[RUN]     Testing httpcli_parser_test
D0229 03:35:58.454331604    7478 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
E0229 03:35:58.454441019    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454448370    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454452941    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454458425    7478 parser.c:96]                Didn't find ':' in header string
E0229 03:35:58.454463365    7478 parser.c:88]                Continued header lines not supported yet
E0229 03:35:58.454552575    7478 parser.c:154]               HTTP client max line length (4096) exceeded
E0229 03:35:58.454564425    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454568936    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454573475    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454580030    7478 parser.c:96]                Didn't find ':' in header string
E0229 03:35:58.454585805    7478 parser.c:88]                Continued header lines not supported yet
E0229 03:35:58.454848300    7478 parser.c:154]               HTTP client max line length (4096) exceeded
[RUN]     Testing httpcli_test
D0229 03:35:58.464606828    7481 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
/usr/bin/env: python2.7: No such file or directory
D0229 03:36:03.464945090    7481 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
D0229 03:36:03.465113715    7481 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
I0229 03:36:03.465135595    7481 httpcli_test.c:79]          test_get
I0229 03:36:03.465146382    7481 httpcli_test.c:82]          requesting from localhost:37481
E0229 03:36:03.466041141    7481 tcp_client_posix.c:173]     failed to connect to 'ipv4:<IP_ADDRESS>:37481': socket error: connection refused
E0229 03:36:03.466090104    7481 httpcli_test.c:63]          assertion failed: response

*******************************
Caught signal 6
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x42899b]
/lib64/libpthread.so.0[0x377be0f7e0]
/lib64/libc.so.6(gsignal+0x35)[0x377ba32625]
/lib64/libc.so.6(abort+0x175)[0x377ba33e05]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x4033cb]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x404917]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x40582a]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x406720]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x4036f9]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x377ba1ed5d]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x40313d]
/bin/sh: line 1:  7481 Aborted                 /home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test
test httpcli_test failed
make: *** [test_c] Error 1
$

Hope it helps,
~p

So after performing the following:
$ git clone https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init

Try changing the following line in the Makefile to this:
ifeq ($(HAS_CC),false)

Then run make test again and see if it works.  Basically the above forces it to use gcc/g++.
For me the errors are only because I have those ports blocked - below is the end of my test:
[RUN]     Testing httpcli_parser_test
D0229 03:35:58.454331604    7478 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
E0229 03:35:58.454441019    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454448370    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454452941    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454458425    7478 parser.c:96]                Didn't find ':' in header string
E0229 03:35:58.454463365    7478 parser.c:88]                Continued header lines not supported yet
E0229 03:35:58.454552575    7478 parser.c:154]               HTTP client max line length (4096) exceeded
E0229 03:35:58.454564425    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454568936    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454573475    7478 parser.c:68]                Failed parsing response line
E0229 03:35:58.454580030    7478 parser.c:96]                Didn't find ':' in header string
E0229 03:35:58.454585805    7478 parser.c:88]                Continued header lines not supported yet
E0229 03:35:58.454848300    7478 parser.c:154]               HTTP client max line length (4096) exceeded
[RUN]     Testing httpcli_test
D0229 03:35:58.464606828    7481 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
/usr/bin/env: python2.7: No such file or directory
D0229 03:36:03.464945090    7481 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
D0229 03:36:03.465113715    7481 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
I0229 03:36:03.465135595    7481 httpcli_test.c:79]          test_get
I0229 03:36:03.465146382    7481 httpcli_test.c:82]          requesting from localhost:37481
E0229 03:36:03.466041141    7481 tcp_client_posix.c:173]     failed to connect to 'ipv4:<IP_ADDRESS>:37481': socket error: connection refused
E0229 03:36:03.466090104    7481 httpcli_test.c:63]          assertion failed: response

*******************************
Caught signal 6
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x42899b]
/lib64/libpthread.so.0[0x377be0f7e0]
/lib64/libc.so.6(gsignal+0x35)[0x377ba32625]
/lib64/libc.so.6(abort+0x175)[0x377ba33e05]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x4033cb]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x404917]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x40582a]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x406720]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x4036f9]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x377ba1ed5d]
/home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test[0x40313d]
/bin/sh: line 1:  7481 Aborted                 /home/pgrosu/me/grpc/grpc/bins/opt/httpcli_test
test httpcli_test failed
make: *** [test_c] Error 1
$

Hope it helps,
~p

I tried your method still does not work.
[RUN]     Testing httpcli_test
/home/zhitingz/Documents/grpc/src/core/tsi/test_creds/server1.pem
server running on port 38224
D0229 16:58:16.174217696    8224 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
I0229 16:58:16.174355266    8224 httpcli_test.c:79]          test_get
I0229 16:58:16.174364776    8224 httpcli_test.c:82]          requesting from localhost:38224
<IP_ADDRESS> - - [29/Feb/2016 16:58:16] "GET /get HTTP/1.0" 200 -
I0229 16:58:16.175185502    8224 httpcli_test.c:110]         test_post
I0229 16:58:16.175205739    8224 httpcli_test.c:113]         posting to localhost:38224
<IP_ADDRESS> - - [29/Feb/2016 16:58:16] "POST /post HTTP/1.0" 200 -
[RUN]     Testing httpscli_test
/home/zhitingz/Documents/grpc/src/core/tsi/test_creds/server1.pem
server running on port 38304
D0229 16:58:21.177982180    8304 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
I0229 16:58:21.178134034    8304 httpscli_test.c:79]         test_get
I0229 16:58:21.178145423    8304 httpscli_test.c:82]         requesting from localhost:38304
E0229 16:58:21.185577062    8304 ssl_transport_security.c:190] ssl_info_callback: error occured.
E0229 16:58:21.185607107    8304 ssl_transport_security.c:877] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0229 16:58:21.185615638    8304 handshake.c:241]            Handshake failed with error TSI_PROTOCOL_FAILURE
E0229 16:58:21.185622715    8304 httpcli_security_connector.c:156] Secure transport setup failed with error 1.
E0229 16:58:21.185630551    8304 httpscli_test.c:63]         assertion failed: response

Interesting, I'm getting something similar after looking deeper at the code, though usually the verification can be ignored:
$ export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/home/pgrosu/me/grpc/grpc/etc/roots.pem
$
$ bins/opt/httpscli_test
D0301 03:31:42.842991376    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
/home/pgrosu/me/grpc/grpc/src/core/tsi/test_creds/server1.pem
server running on port 33463
D0301 03:31:47.843582571    3463 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
D0301 03:31:47.843775662    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
I0301 03:31:47.843801819    3463 httpscli_test.c:79]         test_get
I0301 03:31:47.843815260    3463 httpscli_test.c:82]         requesting from localhost:33463
D0301 03:31:47.844749797    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
E0301 03:31:47.867957328    3463 ssl_transport_security.c:190] ssl_info_callback: error occured.

E0301 03:31:47.868002371    3463 ssl_transport_security.c:877] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0301 03:31:47.868016084    3463 handshake.c:241]            Handshake failed with error TSI_PROTOCOL_FAILURE
E0301 03:31:47.868029951    3463 httpcli_security_connector.c:156] Secure transport setup failed with error 1.
E0301 03:31:47.868042618    3463 httpscli_test.c:63]         assertion failed: response

I then tried the following, which seems valid:
$ openssl x509 -inform PEM -in etc/roots.pem -text -out certdata
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 903804111 (0x35def4cf)
    Signature Algorithm: sha1WithRSAEncryption
        Issuer: C=US, O=Equifax, OU=Equifax Secure Certificate Authority
        Validity
            Not Before: Aug 22 16:41:51 1998 GMT
            Not After : Aug 22 16:41:51 2018 GMT
        Subject: C=US, O=Equifax, OU=Equifax Secure Certificate Authority
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (1024 bit)
                Modulus:
                    00:c1:5d:b1:58:67:08:62:ee:a0:9a:2d:1f:08:6d:
                    91:14:68:98:0a:1e:fe:da:04:6f:13:84:62:21:c3:
                    d1:7c:ce:9f:05:e0:b8:01:f0:4e:34:ec:e2:8a:95:
                    04:64:ac:f1:6b:53:5f:05:b3:cb:67:80:bf:42:02:
                    8e:fe:dd:01:09:ec:e1:00:14:4f:fc:fb:f0:0c:dd:
                    43:ba:5b:2b:e1:1f:80:70:99:15:57:93:16:f1:0f:
                    97:6a:b7:c2:68:23:1c:cc:4d:59:30:ac:51:1e:3b:
                    af:2b:d6:ee:63:45:7b:c5:d9:5f:50:d2:e3:50:0f:
                    3a:88:e7:bf:14:fd:e0:c7:b9
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 CRL Distribution Points:

                Full Name:
                  DirName: C = US, O = Equifax, OU = Equifax Secure Certificate Authority, CN = CRL1

            X509v3 Private Key Usage Period:
                Not After: Aug 22 16:41:51 2018 GMT
            X509v3 Key Usage:
                Certificate Sign, CRL Sign
            X509v3 Authority Key Identifier:
                keyid:48:E6:68:F9:2B:D2:B2:95:D7:47:D8:23:20:10:4F:33:98:90:9F:D4

            X509v3 Subject Key Identifier:
                48:E6:68:F9:2B:D2:B2:95:D7:47:D8:23:20:10:4F:33:98:90:9F:D4
            X509v3 Basic Constraints:
                CA:TRUE
            1.2.840.1135<IP_ADDRESS>:
                0...V3.0c....
    Signature Algorithm: sha1WithRSAEncryption
         58:ce:29:ea:fc:f7:de:b5:ce:02:b9:17:b5:85:d1:b9:e3:e0:
         95:cc:25:31:0d:00:a6:92:6e:7f:b6:92:63:9e:50:95:d1:9a:
         6f:e4:11:de:63:85:6e:98:ee:a8:ff:5a:c8:d3:55:b2:66:71:
         57:de:c0:21:eb:3d:2a:a7:23:49:01:04:86:42:7b:fc:ee:7f:
         a2:16:52:b5:67:67:d3:40:db:3b:26:58:b2:28:77:3d:ae:14:
         77:61:d6:fa:2a:66:27:a0:0d:fa:a7:73:5c:ea:70:f1:94:21:
         65:44:5f:fa:fc:ef:29:68:a9:a2:87:79:ef:79:ef:4f:ac:07:
         77:38
$

This requires a bit more investigation.
~p

TLDR: I think that it's not anything broken with gRPC per-se.
Suspect the OpenSSL that's linked with Python doesn't support the cypher
suites that we need.
This test runs a Python web server that it tries to connect to via HTTP/0.9

as a test that we have an avenue to fetch OAUTH tokens.

Probably the correct answer is to disable this test on this platform, or to
develop a HTTP/0.9 server in C that we can link with our SSL implementation
and test against.
On Tue, Mar 1, 2016 at 12:52 AM Paul Grosu<EMAIL_ADDRESS>wrote:

Interesting, I'm getting something similar after looking deeper at the
code, though usually the verification can be ignored:
$ export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/home/pgrosu/me/grpc/grpc/etc/roots.pem
$
$ bins/opt/httpscli_test
D0301 03:31:42.842991376    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
/home/pgrosu/me/grpc/grpc/src/core/tsi/test_creds/server1.pem
server running on port 33463
D0301 03:31:47.843582571    3463 test_config.c:159]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
D0301 03:31:47.843775662    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
I0301 03:31:47.843801819    3463 httpscli_test.c:79]         test_get
I0301 03:31:47.843815260    3463 httpscli_test.c:82]         requesting from localhost:33463
D0301 03:31:47.844749797    3463 env_linux.c:77]             Warning: insecure environment read function 'getenv' used
E0301 03:31:47.867957328    3463 ssl_transport_security.c:190] ssl_info_callback: error occured.
E0301 03:31:47.868002371    3463 ssl_transport_security.c:877] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0301 03:31:47.868016084    3463 handshake.c:241]            Handshake failed with error TSI_PROTOCOL_FAILURE
E0301 03:31:47.868029951    3463 httpcli_security_connector.c:156] Secure transport setup failed with error 1.
E0301 03:31:47.868042618    3463 httpscli_test.c:63]         assertion failed: response
I then tried the following, which seems valid:
$ openssl x509 -inform PEM -in etc/roots.pem -text -out certdata
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 903804111 (0x35def4cf)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, O=Equifax, OU=Equifax Secure Certificate Authority
Validity
Not Before: Aug 22 16:41:51 1998 GMT
Not After : Aug 22 16:41:51 2018 GMT
Subject: C=US, O=Equifax, OU=Equifax Secure Certificate Authority
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (1024 bit)
Modulus:
00:c1:5d:b1:58:67:08:62:ee:a0:9a:2d:1f:08:6d:
91:14:68:98:0a:1e:fe:da:04:6f:13:84:62:21:c3:
d1:7c:ce:9f:05:e0:b8:01:f0:4e:34:ec:e2:8a:95:
04:64:ac:f1:6b:53:5f:05:b3:cb:67:80:bf:42:02:
8e:fe:dd:01:09:ec:e1:00:14:4f:fc:fb:f0:0c:dd:
43:ba:5b:2b:e1:1f:80:70:99:15:57:93:16:f1:0f:
97:6a:b7:c2:68:23:1c:cc:4d:59:30:ac:51:1e:3b:
af:2b:d6:ee:63:45:7b:c5:d9:5f:50:d2:e3:50:0f:
3a:88:e7:bf:14:fd:e0:c7:b9
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 CRL Distribution Points:
            Full Name:
              DirName: C = US, O = Equifax, OU = Equifax Secure Certificate Authority, CN = CRL1

        X509v3 Private Key Usage Period:
            Not After: Aug 22 16:41:51 2018 GMT
        X509v3 Key Usage:
            Certificate Sign, CRL Sign
        X509v3 Authority Key Identifier:
            keyid:48:E6:68:F9:2B:D2:B2:95:D7:47:D8:23:20:10:4F:33:98:90:9F:D4

        X509v3 Subject Key Identifier:
            48:E6:68:F9:2B:D2:B2:95:D7:47:D8:23:20:10:4F:33:98:90:9F:D4
        X509v3 Basic Constraints:
            CA:TRUE
        1.2.840.1135<IP_ADDRESS>:
            0...V3.0c....
Signature Algorithm: sha1WithRSAEncryption
     58:ce:29:ea:fc:f7:de:b5:ce:02:b9:17:b5:85:d1:b9:e3:e0:
     95:cc:25:31:0d:00:a6:92:6e:7f:b6:92:63:9e:50:95:d1:9a:
     6f:e4:11:de:63:85:6e:98:ee:a8:ff:5a:c8:d3:55:b2:66:71:
     57:de:c0:21:eb:3d:2a:a7:23:49:01:04:86:42:7b:fc:ee:7f:
     a2:16:52:b5:67:67:d3:40:db:3b:26:58:b2:28:77:3d:ae:14:
     77:61:d6:fa:2a:66:27:a0:0d:fa:a7:73:5c:ea:70:f1:94:21:
     65:44:5f:fa:fc:ef:29:68:a9:a2:87:79:ef:79:ef:4f:ac:07:
     77:38

$
This requires a bit more investigation.
~p
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4878#issuecomment-190618175.

What is your version of Python ?
Python 2 has by default notoriously old OpenSSL bindings (because Python 2 is itself, old), hence the reason of existence of pyOpenSSL.
$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1f 6 Jan 2014'
>>> ssl.PROTOCOL_SSLv3
1
>>> ssl.PROTOCOL_SSLv23
2
>>> ssl.PROTOCOL_TLSv1
3
>>> ssl.PROTOCOL_TLSv1_1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_1'
>>> ssl.PROTOCOL_TLSv1_2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'

$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.PROTOCOL_TLSv1_1
4
>>> ssl.PROTOCOL_TLSv1_2
5

Another answer would maybe to see if pyOpenSSL could be used to overcome the shortcomings of python2's ssl.

So after some further digging some unexpected things seem to happen.  So I start an openssl s_server with the certificate and key for server1 on port 10080:
$ cd grpc/src/core/tsi/test_creds
$ openssl s_server -cert server1.pem -key server1.key -accept 10080
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT

Then on another terminal I did the following:
$ curl https://<IP_ADDRESS>:10080
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
$

Then on the server terminal I see the following error:
$ openssl s_server -cert server1.pem -key server1.key -accept 10080
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
ERROR
140737353992008:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1259:SSL alert number 48
shutting down SSL
CONNECTION CLOSED
ACCEPT

My version of Python 2 is 2.7.11, but I get a slightly different result for ssl.PROTOCOL_TLSv1_1:
$ python2.7
Python 2.7.11 (default, Dec 17 2015, 08:39:42)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1e-fips 11 Feb 2013'
>>> ssl.PROTOCOL_SSLv3
1
>>> ssl.PROTOCOL_SSLv23
2
>>> ssl.PROTOCOL_TLSv1
3
>>> ssl.PROTOCOL_TLSv1_1
4
>>>

But are we now support Python 3?  Based on the following post it does not seem so:
https://github.com/grpc/grpc/issues/5280#issuecomment-185122438
I get similar results as the output for Python 3:
$ python3
Python 3.5.1 (default, Dec 17 2015, 08:52:20)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.PROTOCOL_TLSv1_1
<_SSLMethod.PROTOCOL_TLSv1_1: 4>
>>> ssl.PROTOCOL_TLSv1_2
<_SSLMethod.PROTOCOL_TLSv1_2: 5>
>>>

~p

Even if I try to connect like this to simulate httpscli_test, it does not work - though it probably is more proper to also have --key filled with something, but the file does not seem to be available for that:
$ curl https://<IP_ADDRESS>:10080 --cert-type pem --cert etc/roots.pem
curl: (58) unable to load client key: -8178 (SEC_ERROR_BAD_KEY)
$

The server side posts the following:
$ openssl s_server -cert server1.pem -key server1.key -accept 10080
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
ERROR
shutting down SSL
CONNECTION CLOSED

(Janitoring the issue tracker: could someone in this discussion update the issue title to reflect the current understanding of what needs to be done here, and maybe set an assignee?)

Timed out without requested update; closing.


Does MLAPI have rooms?

Does MLAPI have rooms? like in photon, so could host multiple rooms on same server instance

What do you mean with ”server instance”? Are you refering to a executable instance?
If so, no. I’m not sure how this would even be concidered. You would face so many problems with physics and rendering. Having multiple servers coexist in one scene. Just spin another executable.

Would be simplier to developers who want migrate from photon. My server don't simulate physics, just raycasts and visibility checks

Raycasts are physics.

I though you mean physics simulation but anyway.
Photon have very neat system, you can create Rooms there, rooms have keyvalue called "customproperty" where you can define room specific settings, you can filter rooms with specific customproperties.

In Photon-speak, "rooms" are game servers.  When a room is created, a new game server process (executable) is started and players connect to that to play together isolated from all the other game servers.
In Photon, Lobbies are just a grouping mechanism to let players filter the rooms down to certain criteria.
What @friuns2 is asking for is a matchmaking system, and there are open source systems like Master Server Framework that provide those back-end services.

From my understanding this is just some terminology used to abstract server hosting. In that case, the MLAPI supports this. If I missunderstood. please reopen

FYI anyone from the future reading this, you might want to look at https://github.com/MidLevel/MLAPI.ServerList


Transriptions fails using large-v2 model

Not sure if this is related to loading the model, or the transcription process. Also it seems restoring the checkpoint into VRAM takes much longer compared to Python version.
RUST_BACKTRACE=1 cargo run --release audio.wav large-v2
Caused by:
    In Device::create_bind_group
    Buffer binding 0 range 265548800 exceeds `max_*_buffer_binding_size` limit 134217728

', /home/username/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.17.0/src/backend/direct.rs:3056:5
stack backtrace:
   0: rust_begin_unwind
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:593:5
   1: core::panicking::panic_fmt
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/panicking.rs:67:14
   2: core::ops::function::Fn::call
   3: <wgpu::backend::direct::Context as wgpu::context::Context>::device_create_bind_group
   4: <T as wgpu::context::DynContext>::device_create_bind_group
   5: wgpu::Device::create_bind_group
   6: burn_wgpu::context::base::Context::execute
   7: burn_wgpu::kernel::index::select::select
   8: burn_tensor::tensor::ops::modules::base::ModuleOps::embedding
   9: whisper::model::TextDecoder<B>::forward
  10: whisper::transcribe::waveform_to_text
  11: whisper::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

The issue is that burn doesn't currently use the maximum available device memory limits so larger models may fail to run. I'm hoping to resolve this within the next day or two.


Remove debug write

Description
Removes debug write introduced in previous commit: e57e29b96b75ff7fc04abb7f9db73920b2a5894a
Issues Resolved
Removes erroneous output during compilation phase, eg:
Compiling Cookbooks...
python
platform
python
platform
platform

Obvious fix.

Merging before tests because oops. Thanks for catching this.

i should really setup a precommit hook that looks for "puts"


How can I tell if a hand landmark point is self-occluded?

Hi!
I want to use Mediapipe Hands to find self-occluded points.
For example, when we are performing sign language. There are some hand joints that are occluded by a certain part of the hands. My goal is to find those points that are occluded by hands that are holding nothing.
Note: some images contain both hands of a person, and all images include only one person. Therefore, it is possible that some points are occluded by the hand itself or another hand of the person.

From the above gesture, the points labelled as 5, 9, and 13 should be outputted as self-occluded points.
I would appreciate any ideas you have. Thank you in advance!

Hi @mpuu00001,
Is it implemented through Python, Javascript or other solutions available? Could you please elaborate your query with complete details. Thank you!

Hi @kuaashish,
I would like to implement it through Python. My original idea is to compute the Euclidean distances between each point and set a threshold to determine if they overlapped with each other. However, there are many flaws in this idea. For example, this method cannot tell whether two points are just too close to each other or which point is the occluded point or which point is the one that causes the occlusion of another point.

Hi @bazarevsky,
Is it possible to get it done using some sort of algorithm? seems like a new model will need to be trained which is aware of occlusion.

Hello @mpuu00001,
We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.
You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you


Close #135, Filter stories less than x points

This is still a work in progress and would like feedback. I have added the preference and the setting works initially.
The issue is that we are removing stories from the queue after the data comes back.
There arrives a point where we have eliminated the entire queue due to for example a filter score too high. And we only load more stories in the onScrolled(). So we practically reach a dead end. This is also glaringly visible when the filter was applied to types such as Ask HN where stories count is low.
Perhaps we should fetch more stories based on the number of stories visible rather than onScrolled() only?

It appears Top, New, Best, Ask, Show and Job from the HN API only serves 200 or 500 top posts. So not much one can do about those.


'HttpDataSource' can't transfer binary data

Bug Report
Describe the Bug
When binary data is sent using the provider-push-transfer the data is modified by the HttpDataSource such that calculated checksums are not the same for the sent and received data.
Expected Behavior
Binary data can be transfered such that the checksums of sent and received data are equal.
Observed Behavior
Checksums of sent and received data are not the same.
Context Information
Related: https://github.com/eclipse-edc/Connector/discussions/2360
Detailed Description
The issue is caused by converting the received response into a string (applying the encoding) and then reading the bytes from the string:
https://github.com/eclipse-edc/Connector/blob/8126bcdc292980f9fd9b1372b108aa982229b29a/extensions/data-plane/data-plane-http/src/main/java/org/eclipse/edc/connector/dataplane/http/pipeline/HttpDataSource.java#L51-L56

The current implementation is not a bug and is part of the design. The HTTP sink/source is intended for small string-based document transfers, e.g., "events," not streaming binary data. The suggested approach assumes the default Java platform encoding, which is not guaranteed to be correct.
The recommended approach is to use a binary-efficient protocol for data transfers via an extension to the DPF or a custom data plane.


[Help / Resource] Building queries with custom scalars?

Hi there! I'm looking for examples on building queries with custom scalars. Currently, I have a custom UuidType called UuidType that looks like this (assertions omitted for brevity):
class UuidType {
  late String _uuid;

  UuidType(String uuid) {
    _uuid = uuid;
  }

  String get uuid => _uuid;
}

here's my type serializer (if it matters... I'm not really sure)
class UuidTypeSerializer implements PrimitiveSerializer<UuidType> {
  @override
  UuidType deserialize(
    Serializers serializers,
    Object serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    assert(serialized is String,
        "UuidTypeSerializer expected 'String' but got ${serialized.runtimeType}");
    return UuidType(serialized as String);
  }

  @override
  Object serialize(
    Serializers serializers,
    UuidType uuidType, {
    FullType specifiedType = FullType.unspecified,
  }) =>
      uuidType.uuid;

  @override
  Iterable<Type> get types => [UuidType];

  @override
  String get wireName => 'uuid';
}

and I have my build.yaml:
targets:
  $default:
    builders:
      gql_build|schema_builder:
        enabled: true
        options:
          type_override:
              uuid:
                  name: UuidType
                  import: 'package:fe/helpers/uuid_type.dart'
      gql_build|ast_builder:
        enabled: true
      gql_build|data_builder:
        enabled: true
        options:
          schema: fe|lib/gql/schema.graphql
          type_override:
              uuid:
                  name: UuidType
                  import: 'package:fe/helpers/uuid_type.dart'
      gql_build|var_builder:
        enabled: true
        options:
          schema: fe|lib/gql/schema.graphql
          type_override:
              uuid:
                  name: UuidType
                  import: 'package:fe/helpers/uuid_type.dart'
      gql_build|serializer_builder:
        enabled: true
        options:
          schema: fe|lib/gql/schema.graphql
          custom_serializers:
          - import: 'package:fe/helpers/uuid_type.dart'
            name: UuidTypeSerializer
      ferry_generator|req_builder:
        enabled: true
        options:
          schema: fe|lib/gql/schema.graphql
          type_override:
              uuid:
                  name: UuidType
                  import: 'package:fe/helpers/uuid_type.dart'

but when I try to build a query using a UuidType userId, it expects a GuuidBuilder instead of a UuidType. I'm trying to do the following:
    final q = GGetSelfGroupsReq(
      (b) => b..vars.self_id = self_id
    );

but it errors with A value of type 'UuidType' can't be assigned to a variable of type 'GuuidBuilder?'. Try changing the type of the variable, or casting the right-hand type to 'GuuidBuilder?'. I'm not familiar with the built_values package, but I went ahead and looked at the GuuidBuilder constructor and it seems to not take any values at all.
How do I make a query using a Uuid?
Thanks for the help and the awesome package - I'm sure I'm missing something. It would be helpful to have examples of a custom scalar type.
Other info:

my query:

query GetSelfGroups($self_id: uuid!) {
 	 user_to_groups(where: {
    user_id: {
    	_eq: $self_id
    }
  }) {
   	group {
      group_name
    }
  }
}

Flutter sdk version >=2.12.0 < 3
ferry: ^0.10.1-0.1.nullsafety.0

CLOSED - my mistake. I had type_override instead of types_override in my build.yaml and it failed silently. Updated.


Incorrect water rendering at ultrawide and superwide resolutions

Water rendering is bugged with 21:9 and 32:9 aspect ratios.
Here is comparison video with the 1.0 build of Hd project mod and without mod:
https://www.youtube.com/watch?v=I0FfWEVc60E
In both cases, the FOV fix using RE4 Tweak mod has been applied.
It seems like the problem only appears after installing the HD project mod.

Don't know if I should make a separate thread for this, but few particular blur filters are broken on ultrawide [or basically anything beyond 16:9] aspect ratios. Here are some example screenshots:
https://cdn.discordapp.com/attachments/663406242085077022/938551332250464346/unknown.png
https://cdn.discordapp.com/attachments/663406242085077022/938551532432015400/unknown.png
The issues in the attached screenshots are not tied to HD project mod. This happens regardless it being installed or not.

@RiasatSalminSami could you check if disabling EnableGCBlur in dinput8.ini gets rid of that blur issue? Good chance it's that effect which causes it, unfortunately.

There's no issue if re4_tweaks is used without the HD project, then? I'm a bit confused.

@RiasatSalminSami could you check if disabling EnableGCBlur in dinput8.ini gets rid of that blur issue? Good chance it's that effect which causes it, unfortunately.

Yeah, it was already disabled. The examples screenshots were taken with GCblur disabled.

There's no issue if re4_tweaks is used without the HD project, then? I'm a bit confused.

Yeah the water reflection bug is tied to HD mod as seen in the comparison video.
The blur effect bug [as shown in my 2nd comment] is there even without the HD mod.
I think I should just make a separate issue for the 2nd post here since that doesn't seem to be related to the water bug.

Something about reflections got broken when using a 21:9 with the HD project 1.0


SILGen: Fix emission of materializeForSet for subscripts with weird index types

The index type might be a one-element tuple, either with a label
or a vararg element. We have to deal with these cases explicitly
since getLoweredType() doesn't.
Fixes rdar://problem/43237821.

@swift-ci Please smoke test

@swift-ci Please test source compatibility


Add small overworld floor decorations

Small crystals decoration
Small Merrymellow Marsh marshmallows decoration
Surround the large overworld crystals with small crystals

Lemony Thickets now supports these kinds of decorations.
Issue #1365 captures migrating them to Merrymellow Marsh.


Updated to tModLoader 0.10

Thanks for the help. As I already said on the forums, I had a problem with my hard drive, so I couldn't update my mods earlier. Now that's sorted out, so I'm updating everything.


Please change file dependency file: ^0.5.4 replace it with file: ^6.0.0

plz change this because i m facing issue

I have the same issue.


ARTEMIS-2694 Document NO-JIRA use cases

funny enough.. this one wouldn't need a JIRA.
I'm not sure I would document things that are not part of the user's release note.


Ability to distribute optional extras

I am creating an executable that will optionally use database drivers (using SQLAlchemy). I would like to create optional extra packages that can be installed on demand.
Is there a way to compile these drivers as separate packages and add them to the dist dir on demand? I was not clear if the extension module mechanism is meant for that or there is another way to provide them.
For example, consider the following:
from sqlalchemy import create_engine
import sqlalchemy.sql.default_comparator
db_string = "postgresql://postgres:postgres@localhost:5432/postgres"

db = create_engine(db_string)

# Read
result_set = db.execute("SELECT * FROM emp")
for r in result_set:
    print(r)

Ability to compile the base program without psycopg2 and optionally add it post-install as a separate .so or package.

You can include packages that are used dynamically, but the result will be static.
I assume, what would be nice, if wheels could be installed into a dist folder, I accept it as a feature request, but I do not see it happening unless somebody qualified hacks pip to do it for us.
I am keeping this open and add the help wanted tag, so people find this. But for now, the way to go is to use --include-package on all drivers you mean to support.

can you explain what you mean by 'result will be static'?
can I remove the compiled drivers from the dist folder when shipping my
binary and optionally add them later? would that work or break the
installation?
I am mostly looking to reduce the install size of the basic package once
there are many drivers and dependencies in there.
On Wed, Oct 12, 2022, 12:31 Kay Hayen @.***> wrote:

You can include packages that are used dynamically, but the result will be
static.
I assume, what would be nice, if wheels could be installed into a dist
folder, I accept it as a feature request, but I do not see it happening
unless somebody qualified hacks pip to do it for us.
I am keeping this open and add the help wanted tag, so people find this.
But for now, the way to go is to use --include-package on all drivers you
mean to support.
—
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/1839#issuecomment-1275868307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAS5QKTUNMSDBCGCAPFL3WC2AOBANCNFSM6AAAAAARC7YVTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

No, you cannot at this time. Maybe somebody will add support for it.

Am willing to look into contributing a PR. Can you give me a pointer into where to start looking?

https://github.com/Nuitka/Nuitka/blob/develop/CONTRIBUTING.md

@zalmane what is your status with this, there is nothing visible here

hello,
we opted not to use Nuitka since we couldn't find a solution for optional
extras.
On Sun, Mar 12, 2023, 14:29 Kay Hayen @.***> wrote:

@zalmane https://github.com/zalmane what is your status with this,
there is nothing visible here
—
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/1839#issuecomment-1465184039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAS5Q2YDFJ55NVKDNVHRLW3W6TRANCNFSM6AAAAAARC7YVTU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Gaps in employment not needed for non-legal exercises

Is your feature request related to a problem? Please describe.
As an admin user running a non-legal exercise, I get frustrated when the application form for my exercise includes the question on ‘Gaps in employment’ under section ‘3. Qualifications and experience’. I seems that this is a manditory question within the application that I can't remove while setting up my applicaiton.
The question and response data is also included within the ‘full information’ tab within the ‘Application’ view on admin and I don’t need to see it.
Describe the solution you'd like
I would like the ‘Gaps in employment’ question removed from the application form and the application view if the ‘Non legal’ option is selected under the ‘Vacancy information’ section on admin.
Describe alternatives you've considered
The non-legal team are currently telling candidates to ignore the question and deleting the section manually from information provided to panels. This has been time consuming since the platform has been launched.
Additional context
How 'Gaps in employment' information displays on Admin:

How the question displays on Apply:

This has been provided to the UTG, feedback to follow.


Feature/gh 1283

work in process to resolve GH-1283

@ryanjbaxter I just wanted to quickly propose something in case there were any concerns with where and how I am catching the exception. I will polish the branch asap.


[BUG]: Last commit broke something: No such file or directory #include<nanobind/nanobind.h>

Problem description
I had two projects up and running with Nanobind, up until yesterday everything was working (I've tested 8 hours ago).
Today the pip install . cannot find the nanobind, this happend in both projects without changing anything CMake related, just wanted to let you know
Reproducible example code
No response

I'm on 1.9.1 (checked the init inisde src folder) and no luck :(

Can you try again with 1.9.2 I release just now?

Should the diff between 1.9.1 and 1.9.2 be indeed nothing more than a patch version bump? :thinking:

@wjakob 1.9.2 Fixes it! Thank you so much for the prompt response and fix! Keep up this amazing project :)

@torokati44 yes, because I made a bad wheel that was missing some files. And you cannot re-release the same version with fixes on PyPI.

Ah, okay, I see.


Snapshot version dependency won't update

When I publish an updated snapshot, coursier won't  refetch that update

@alexarchambault  Is it possible to automatically fetch updates if I run sbt update

@jilen What do mean? Setting the TTL to 0s (and keeping the default modes) should do just that.


Fuzzing: test tau scaling less than 1

...once core PR merged allowing taus scaling less than 1. Ensure fuzzed markets ranges are updated.
Also duplicate plots from PR with new tau scaling values.

I wonder if we want to start randomising minimum probability of trading netparam between say 1e-7 and 1e-1.

Add scenario to registry and then can be called done.


Ceil integration

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock
[ ] Style conformance: stylish-haskell

I think so. I could move the new .k test to a different PR, but this PR does not do anything without the frontend change anyway, so there's no hurry.
Still, I think it should be merged quickly after the frontend PR.


Add users to group

Hey,
I have recently discovered this little gem and it´s exactly what I needed to connect an external student tracking website with Moodle. The only issue I´m having is user enrolment into groups. I can see that creation/updating of groups is possible, but there is no user enrolment into groups? or am I missing something. Hope you can point me in the right direction and happy new year :)

I'm not back at work until next week, RolliMK, but I will do some reading in the meantime so I can get this added for you. Shouldn't be a big deal if the web services support it.

Just published v0.12 with Add-MoodleGroupMember and Remove-MoodleGroupMember!
I've given it a cursory test and both functions appear to work, feel free to reopen this issue or make a new one if anything goes awry!


Add option to not hold entire dataset in memory at once

Some dataset items must be held in memory as context to read future tags/values properly. But, we can have an option where only the essential tags are held in memory, and if you're using incremental parsing (Parser.Next()) you can process things 1 element at a time if appropriate for your use case.

For example for a pipeline you could do something like
for err != dicom.EndOfDICOM {
    elem, err := parser.Next()
    newElem := doSomeProcessing(elem)
    writer.WriteElement(elem)
}

and possibly don't have to hold the all of the DICOMs elements in memory at one time

#267 has a draft of this!


refactor: add constants package to extension

Try out Leather build bec753a — Extension build, Test report, Storybook, Chromatic

This pr adds constants package and migrate most of constants out of extension, also removed currencies, blockchains models

Sorry @alter-eggo, you will have to rebase just on this one line change. I accidentally merged an early return I added just for testing. https://github.com/leather-wallet/extension/pull/5528


Signature Verification

Full implementation depends on #1025 but initial work on the crypto code does not.
Would be possible to use OpenSSL (via the openssl crate) update-engine does, but there's also the RSA crate which provides a pure-Rust implementation of signing and verification. I think the RSA crate is the better idea to start with, and we should only resort to OpenSSL if the RSA crate doesn't work for us.

A draft PR https://github.com/flatcar/ue-rs/pull/7

PR https://github.com/flatcar/ue-rs/pull/7 was merged.


feat(implementations/c): Add Infineon Optiga Trust X

Add support for the following operations:
Random Number Generation
NIST P-256 Key Pair Generation
ECDH
SHA-256

When we merge this ... 53ddf20 would need to be handled with case since its also present in #101 and this pr branch is not rebased to the branch in #101

merged https://github.com/ockam-network/ockam/commit/48713d4c17528782daec805b79afff1958227511


use homebrew/science/pcl instead of just pcl to resolve ambiguity

otherwise this issue arises https://github.com/ros-infrastructure/rosdep/issues/339

Thanks!


Bitmapfontloader not reusing loaded textures

Bitmapfontloader dont reuse properly already loaded textures when loading .png and .fnt with the loader. To try this load an image with multiple bitmapfonts inside and other assets, then load the fnts relative to that image.
To patch this go to the function:
exports.default = function () {
return function bitmapFontParser(resource, next) {
and look in this.resources for the texture instead of utils.TextureCache, that is empty at that moment.
line 72 from bitmapFontParser.js
for my code to work i did other fixes, like the way the image url it built and searched.
if other people want and have this problem i can post my code.

At this point in the middleware you have could change it to instead check if that resource already exists in the loader, and if it does use it and if not perform the loading behavior that is there.


Test map in different browsers

The application is being build and tested in Chrome. Its is necessary to also test in the following browsers:

[ ] Edge
[ ] Firefox
[ ] Safari

I used browserstack to test the map hosted on the surge url. I was looking for:

Map interaction - zoom, pan, click on a feature
Pop-up positioning - does the pop-up make itself visible
Filters

Windows 10:

✅ Edge 18 - latest
❌ IE 11 gets a 'Your browser is out-of-date'
✅ Firefox 64

Mac High Sierra:

✅Safari 11.1

Mac Mojave

✅Safari 12
✅Firefox 64
✅Firefox 63

Thats good to know, @geohacker, thank you. We still have to implement and deploy some changes on the interface, so I'll leave this issue until the last browser check.


WinExe (win-x64) app publishing is host OS dependent

I am working Avalonia app MinMe and found that dotnet publish produce different results on Windows and macOS
My project file target netcoreapp3.1
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <LangVersion>8</LangVersion>
    <Nullable>enable</Nullable>
    <ApplicationIcon>Assets/minme-logo.ico</ApplicationIcon>
    <PublishTrimmed>true</PublishTrimmed>
  </PropertyGroup>

and global.json
{
  "sdk": {
    "version": "3.1.200"
  }
}

dotnet publish -r win-x64 -c release /p:PublishSingleFile=true works  perfectly when executed on Windows but when it executed on macOS it works differently:

it generate file is smaller
exe does not have application icon
it starts as console app on windows

In thee same time compilation of WPF app on macOS does not work completely. It fails with error

/usr/local/share/dotnet/sdk/3.1.200/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(59,5): error NETSDK1100: Windows is required to build Windows desktop applications. [/Users/sergey/github/test/WpfApp1/WpfApp1/WpfApp1.csproj]

Is there a workaround to build WinExe application that starts as windows app with app icon?
p.s. my MinMe contains build scripts ./build.sh and .\build.cmd that compile application for macOS and Windows and copy build results to bin folder. (just in case you need a reproducible sample)

Please, report any "single file" publish issues at https://github.com/dotnet/runtime/issues


Add doc comments for filter attributes (e.g. RequireHttpsAttribute)

RequireHttpsAttribute is definitely missing it. Not sure about other attributes.

eda647e into release
Also merged into dev


Update TS definitions for v1.10

See https://github.com/ReactTraining/react-media/issues/110#issuecomment-491997585

@joefiorini, should be fixed and publish in react-media@next, or<EMAIL_ADDRESS>if you will.
Would you mind installing that version and checking whether these types work for you?


issue with statusBar overlapping with toolBar

Hello,
Is it possible to hide the statusBar? I'm having issue with statusBar overlapping with toolBar. Or anyway we can push toolBar to the bottom. I'm testing on iPhone6 Plus iOS8.3

I will appreciate on any suggestion.
Thank you,
Ray

Hi, perhaps you can try using the statusbar plugin to hide your app's statusbar just before you invoke the documenthandler plugin.

@EddyVerbruggen, I will try that.
Thank you so much!


Upgrade graphiql from 1.4.6 to 1.4.7

This should remove one High vulnerability
Ran yarn install to update yarn.lock file.
Tested the app manually locally.

Duplicated by #1020


Add outstanding endpoints

Coverage remained the same at 96.8% when pulling 7f14ca9e6544cb1fba306a88255336a520236c6b on feature/outstanding-endpoints into c16cb21d812b66135ca1420dca6c454e73ec17aa on master.

Ready to merge, waiting for tests/coverage

Coverage increased (+0.05%) to 96.85% when pulling de575ed1d319418c4b7c8572cfe45a824244d88c on feature/outstanding-endpoints into c16cb21d812b66135ca1420dca6c454e73ec17aa on master.


Add check for duplicate table aliases

This error is common on self-joins. We can easily detect it.

Coverage remained the same at 100.0% when pulling 3fafae17b35d8b8e0f755454017fbdec0dc21475 on jeffgbutler:duplicate-alias-exception into 0562ade0b86c73d084d88ec8be356040e4d6956f on mybatis:master.


Categorise fixes as safe or maybe_incorrect

Part of #4181 and depends on #4183
#4183 introduced the new Fix::safe and Fix::maybe_incorrect constructors. The goal of this task is to go through all usages of  Fix::unspecified, Fix::unspecified_edits, Diagnostic::try_set_from_edit, and Diagnostic::set_from_edit and replace them with Fix::safe* or Fix::maybe_incorrect depending on whether the fix is safe or unsafe (may introduce semantic changes).
I recommend creating individual PRs per rule because it makes discussing the safety properties of individual fixes easier.

Note the constructor names have changed:

safe -> automatic
maybe_incorrect -> suggested or manual

See https://github.com/charliermarsh/ruff/pull/4303 or the Applicability enum for details.

@MichaReiser I was going through the codebase and it seems all of the code has been migrated, is there something that I am missing with this migration.

#5119  depends on all Fix::unspecified instances being refactored to an applicable (pun intended :P ) Applicability. Currently, ripgrep says there are occurrences in:

flake8_commas: fixed in #5127
flake8_logging_format: fixed in #5129
flake8_pytest_style:
flake8_quotes: fixed in #5130
`flake8_simpilfy:
flake8_tidy_imports:
flynt
isort
pandas_vet
pycodestyle
pydocstyle
pyflakes
pylint
pyupgrade

@charliermarsh I believe there are two more linters that need to be completed - pycodestyle and flake8_pytest_style. May want to reopen until those are done, though I plan on completing them by the end of the weekend.

Oh sorry, did this get closed accidentally by a PR? Anyway, reopened!

I think this is done now! @evanrittenhouse let me know if that's wrong.

Yup! On to the fun part ;)

Wohoo. Nice work @evanrittenhouse.


Rename "Command Handler" to "Command Assignee"

We use the term "Command Handler" to describe an entity or a "free-range" object which accepts a command and produces one or more events, or a rejection.
However, there are two problems with this name:

Signal handler methods also have "handler" in the name, but their contract is broader yet similar. This creates a constant need to add more adjectives when describing those two things in the documentation.
By itself, the word "handler", much like "processor", "manager", and "service", may mean almost anything.

My suggestion is to make the name more consistent with the way we describe other similar subjects: Subscribers @Subscribe, Reactors @React, and Assignees are @Assign-ed. I realize the analogy is not ideal due to the passive voice, yet this option seems better to me than the current naming.

@alexander-yevsyukov, @armiol, PTAL.

I support. It would make things easier to understand. Please proceed when time permits.


fix: correctly intend operate migration envs

Which problem does the PR fix?
Small fix that corrects the indentation of the operate migration envs when configuring those to e.g. overwrite the Elasticsearch URL.
Otherwise it will be interpreted as additional init container.
Example:
helm template camunda camunda/camunda-platform --set-string 'operate.migration.env[0].name=test' --set-string 'operate.migration.env[0].value=test'

will result in the following with latest and alpha:
      initContainers:
        - name: migration
          image: camunda/operate:8.5.5
          command: ['/bin/sh', '/usr/local/operate/bin/migrate']
          securityContext:
            allowPrivilegeEscalation: false
            privileged: false
            readOnlyRootFilesystem: true
            runAsNonRoot: true
            runAsUser: 1001
            seccompProfile:
              type: RuntimeDefault
          env:
            - name: CAMUNDA_OPERATE_ELASTICSEARCH_HOST
              value: "camunda-elasticsearch"
            - name: CAMUNDA_OPERATE_ELASTICSEARCH_HTTP_PORT
              value: "9200"
        - name: test
          value: test

The proposed fix will correctly align it to:
          env:
            - name: CAMUNDA_OPERATE_ELASTICSEARCH_HOST
              value: "camunda-elasticsearch"
            - name: CAMUNDA_OPERATE_ELASTICSEARCH_HTTP_PORT
              value: "9200"
            - name: test
              value: test

What's in this PR?
This PR contains a small fix to correctly align the environment variables of the new migration initcontainer in Operate.

Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[x] In the repo's root dir, run make go.update-golden-only.
[x] There is no other open pull request for the same update/change.
[ ] Tests for charts are added (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[x] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[x] Did all checks/tests pass in the PR?

thanks for the quick review, will merge it then 👍
looking forward to the next patch release.


Fixed #279.

Added property conversion between non_ref and ref types.

Codecov Report

Merging #283 into master will decrease coverage by 1.63%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
- Coverage   84.62%   82.98%   -1.64%
==========================================
  Files          33       32       -1
  Lines        4753     4626     -127
==========================================
- Hits         4022     3839     -183
- Misses        731      787      +56


Translate CEP extension to UXP

Is there an existing issue for this?

[x] I have searched the existing issues and added correct labels.

Please describe the feature you have in mind and explain what the current shortcomings are?
CEP approach is slowly being replaced by new UXP platform, addon's extension should be modified to it too.
UXP would probably issues with PS not showing extension like these https://community.ynput.io/t/photoshop-addon-on-arm/1938
It seems that UXP support is since Photoshop 2021, so it is reasonable switching. CEP plugins would be available only with older versions of ayon-photoshop.
Suggested implementation?
No response
Describe alternatives you've considered:
No response

Hello! I started working on that. I'll make a draft PR once I'm further into it.


fcitx5 in xfce4-terminal dropdown window can not show candidates in 0.39

Hyprland Version
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460
flags: (if any)
System Information:
System name: Linux
Node name: vincent-laptop
Release: 6.6.26-1-MANJARO
Version: #1 SMP PREEMPT_DYNAMIC Wed Apr 10 20:11:08 UTC 2024
GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
os-release: NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
VERSION=rolling
plugins:
hyprscroller by dawser ver 1.0
Bug or Regression?
Regression
Description
fcitx5 did not show candidates in xfce4-terminal dropdown window which is not a normal window(not listed in clients or obey window rules ) after I upgrade hyprland from 0.36 to 0.39 in manjaro.
xfce4-terminal dropdown is weird, fcitx is tricky, many apis change, I cannot figure out the cause why candidates not shown, but I do know the same fcitx5 works normally before in hyprland 0.36.
How to reproduce
use fcitx5 in xfce4-terminal dropdown in hyprland 0.39
Crash reports, logs, images, videos
No response

have you tried -git?

no, I think the version I used is pretty close to git. highly likely the problem remains.
since dropdown window is quite out of law, I decide not to rely on it, I have figure out a workaround, use alacritty with class open a tmux session, with size , move ,stayfocused rule.
works almost the same.
just report a regression, hell know where could be wrong.

no, I think the version I used is pretty close to git. highly likely the problem remains. since dropdown window is quite out of law, I decide not to rely on it, I have figure out a workaround, use alacritty with class open a tmux session, with size , move ,stayfocused rule. works almost the same. just report a regression, hell know where could be wrong.

Please do try git, some fcitx-5 related issues were fixed between 0.39 and 0.40. Usually it's good courtesy to make sure your issue hasn't been fixed already before posting (even if they case it hasn't, just for the future).


Timeout for incorrect login attempts?

Is there are way to enable incorrect login attempt timeouts? As of the latest version, it seems there is no way to do this. Users are allowed infinite login attempts when inputting wrong usernames/passwords.
A login timeout should be enforced to cripple bruteforcing scripts.

Hi,
Thanks for your suggestion. This option was just added to v7.9.0. You can update and try it out.
See how lockout options are used in configuration.php here: https://github.com/filegator/filegator/blob/master/configuration_sample.php

That was fast! Was going through the source to implement a half baked pull request. Timeout works now, security probably just went up tenfold vs script kiddies (on the rise as of late). Nice work.

Ah, there was a bug in this, you should update to 7.9.1

Thank you. Tested it, works well on my end.


Bug: can't insert space between Chinese and math equation correctly

I turn on the function "Space between Chinese and English or numbers" and try to lint the file.
But I found it can only insert a space before a math equation but can't insert a space between the equation.
Sample:

Before:

这是一个数学公式$f(x)=x^2$这是一个数学公式

After：

这是一个数学公式 $f(x)=x^2$这是一个数学公式

@15040941306 , this sounds like it is a feature request, but I will see what I can find out relating to this.

@pjkaufman I'm sure that is a bug instead of a feature, because it either both add space to the left and right of math equations, or leave this case alone in normal conditions. It won't add only one space in the left but no in the right.

Found an easy fix to the issue:
swapping tail to be (\[[^[]*\]\(.*\)|[^`]`|\w+|[-+;:'"°%)$]}]|[^]*)( *)([\u4e00-\u9fa5])` seems to fix the issue.

I will see about getting this merged after the refactor changes get merged.

This issue should be resolved on master. Please let us know if this is not resolved on master or in the next release.